body[data-marketing-service="baidu-q-and-a"] {
  --qa-blue: #2563eb;
  --qa-blue-deep: #123b91;
  --qa-ink: #101827;
  --qa-muted: #617087;
  --qa-line: #cdd8e8;
  --qa-surface: #f1f5fb;
}

html.qa-example-dialog-open {
  overflow: hidden;
}

.qa-examples {
  padding: clamp(86px, 10vw, 152px) 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 89% 10%, rgb(37 99 235 / 13%), transparent 30%),
    linear-gradient(180deg, #f8faff 0%, var(--qa-surface) 100%);
  color: var(--qa-ink);
}

.qa-examples__heading {
  display: grid;
  margin-bottom: clamp(42px, 6vw, 78px);
  align-items: end;
  gap: 24px clamp(34px, 6vw, 92px);
  grid-template-columns: minmax(190px, 0.48fr) minmax(0, 1.15fr);
}

.qa-examples__heading > div {
  align-self: start;
}

.qa-examples__heading > div::before {
  display: block;
  width: 48px;
  height: 4px;
  margin-bottom: 22px;
  background: var(--qa-blue);
  content: "";
}

.qa-examples__heading > div p,
.qa-examples__heading > div span {
  display: block;
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.qa-examples__heading > div p {
  color: var(--qa-blue);
}

.qa-examples__heading > div span {
  margin-top: 14px;
  color: var(--qa-muted);
  letter-spacing: 0.04em;
  text-transform: none;
}

.qa-examples__heading h2 {
  max-width: 930px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.2vw, 76px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.qa-examples__heading > p {
  max-width: 860px;
  margin: 0;
  color: var(--qa-muted);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.85;
  grid-column: 2;
}

.qa-example-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.qa-example-card {
  display: grid;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
  color: var(--qa-ink);
  border: 1px solid var(--qa-line);
  border-radius: 4px;
  box-shadow: 0 18px 60px rgb(27 57 103 / 8%);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.qa-example-card:hover,
.qa-example-card:focus-visible {
  border-color: var(--qa-blue);
  box-shadow: 0 24px 70px rgb(37 99 235 / 15%);
  transform: translateY(-5px);
}

.qa-example-card:focus-visible {
  outline: 3px solid rgb(37 99 235 / 32%);
  outline-offset: 3px;
}

.qa-example-card__meta {
  display: flex;
  min-height: 46px;
  padding: 0 18px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--qa-line);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.qa-example-card__meta span {
  color: var(--qa-blue);
}

.qa-example-card__meta em {
  color: var(--qa-muted);
  font-style: normal;
}

.qa-example-card__screen {
  display: block;
  min-height: 292px;
  padding: 0 24px 24px;
  background:
    linear-gradient(135deg, rgb(37 99 235 / 7%), transparent 44%),
    #f8faff;
  border-bottom: 1px solid var(--qa-line);
}

.qa-example-card__browser {
  display: flex;
  height: 45px;
  align-items: center;
  gap: 6px;
  color: #7a8aa1;
  border-bottom: 1px solid #dce4ef;
}

.qa-example-card__browser > i {
  width: 7px;
  height: 7px;
  background: #b9c5d6;
  border-radius: 50%;
}

.qa-example-card__browser small {
  margin-left: auto;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.qa-example-card__question {
  display: grid;
  padding: 24px 0 20px;
  align-items: start;
  gap: 13px;
  grid-template-columns: 30px minmax(0, 1fr);
}

.qa-example-card__question b {
  display: grid;
  width: 30px;
  height: 30px;
  background: var(--qa-blue);
  color: #fff;
  border-radius: 3px;
  font-size: 15px;
  place-items: center;
}

.qa-example-card__question strong {
  padding-top: 2px;
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.55;
}

.qa-example-card__answer {
  display: block;
  margin-left: 43px;
  padding: 18px;
  background: #fff;
  border: 1px solid #dce4ef;
  box-shadow: 0 10px 28px rgb(19 48 94 / 6%);
}

.qa-example-card__answer > span:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--qa-blue-deep);
  font-size: 11px;
}

.qa-example-card__answer > span:first-child i {
  font-size: 18px;
}

.qa-example-card__lines {
  display: grid;
  margin-top: 15px;
  gap: 8px;
}

.qa-example-card__lines i {
  display: block;
  width: 100%;
  height: 6px;
  background: #dfe6f0;
  border-radius: 999px;
}

.qa-example-card__lines i:nth-child(2) {
  width: 91%;
}

.qa-example-card__lines i:nth-child(3) {
  width: 68%;
}

.qa-example-card__copy {
  display: grid;
  min-height: 190px;
  padding: 28px;
  align-content: start;
}

.qa-example-card__copy strong {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.45;
}

.qa-example-card__copy > span {
  margin-top: 13px;
  color: var(--qa-muted);
  font-size: 14px;
}

.qa-example-card__copy em {
  display: flex;
  margin-top: auto;
  padding-top: 22px;
  align-items: center;
  gap: 8px;
  color: var(--qa-blue);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.qa-examples__note {
  display: grid;
  margin-top: 28px;
  padding: 20px 22px;
  align-items: start;
  gap: 12px;
  background: rgb(255 255 255 / 68%);
  border: 1px solid var(--qa-line);
  grid-template-columns: auto 1fr;
}

.qa-examples__note i {
  margin-top: 4px;
  color: var(--qa-blue);
  font-size: 19px;
}

.qa-examples__note p {
  margin: 0;
  color: var(--qa-muted);
  font-size: 12px;
  line-height: 1.8;
}

.qa-example-dialog {
  width: min(1180px, calc(100vw - 36px));
  max-width: none;
  max-height: calc(100svh - 36px);
  padding: 0;
  overflow: auto;
  background: #f7f9fd;
  color: var(--qa-ink);
  border: 0;
  border-radius: 6px;
  box-shadow: 0 40px 120px rgb(4 14 33 / 42%);
}

.qa-example-dialog::backdrop {
  background: rgb(6 15 31 / 76%);
  backdrop-filter: blur(10px);
}

.qa-example-dialog__shell > header {
  position: sticky;
  z-index: 3;
  top: 0;
  display: flex;
  min-height: 92px;
  padding: 20px clamp(22px, 3vw, 38px);
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: rgb(255 255 255 / 94%);
  border-bottom: 1px solid var(--qa-line);
  backdrop-filter: blur(14px);
}

.qa-example-dialog__shell > header small {
  color: var(--qa-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.qa-example-dialog__shell > header h2 {
  margin: 7px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.2;
}

.qa-example-dialog__shell > header button {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  background: #edf2fa;
  color: var(--qa-ink);
  border: 1px solid var(--qa-line);
  border-radius: 50%;
  cursor: pointer;
  place-items: center;
}

.qa-example-dialog__shell > header button:hover,
.qa-example-dialog__shell > header button:focus-visible {
  background: var(--qa-blue);
  color: #fff;
}

.qa-example-dialog__content {
  display: grid;
  padding: clamp(22px, 4vw, 48px);
  align-items: start;
  gap: clamp(28px, 4vw, 54px);
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.62fr);
}

.qa-example-dialog__screen {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--qa-line);
  border-radius: 5px;
  box-shadow: 0 24px 70px rgb(27 57 103 / 12%);
}

.qa-example-dialog__browser {
  display: flex;
  height: 54px;
  padding: 0 20px;
  align-items: center;
  gap: 7px;
  background: #f2f5fa;
  color: #79889e;
  border-bottom: 1px solid var(--qa-line);
}

.qa-example-dialog__browser i {
  width: 8px;
  height: 8px;
  background: #afbdcf;
  border-radius: 50%;
}

.qa-example-dialog__browser span {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.qa-example-dialog__screen article {
  padding: clamp(24px, 4vw, 48px);
}

.qa-example-dialog__question {
  display: grid;
  margin: 0;
  align-items: start;
  gap: 16px;
  grid-template-columns: 36px minmax(0, 1fr);
}

.qa-example-dialog__question b {
  display: grid;
  width: 36px;
  height: 36px;
  background: var(--qa-blue);
  color: #fff;
  border-radius: 3px;
  place-items: center;
}

.qa-example-dialog__question strong {
  font-family: var(--font-serif);
  font-size: clamp(23px, 2.5vw, 34px);
  line-height: 1.45;
}

.qa-example-dialog__answer {
  margin: 32px 0 0 52px;
  padding: clamp(22px, 3vw, 34px);
  background: #f7f9fd;
  border: 1px solid #d9e2ef;
  border-left: 4px solid var(--qa-blue);
}

.qa-example-dialog__answer > div {
  display: flex;
  align-items: center;
  gap: 13px;
}

.qa-example-dialog__answer > div > span {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  background: #dce8ff;
  color: var(--qa-blue-deep);
  border-radius: 50%;
  place-items: center;
}

.qa-example-dialog__answer > div > span i {
  font-size: 22px;
}

.qa-example-dialog__answer > div p {
  display: grid;
  margin: 0;
  gap: 4px;
}

.qa-example-dialog__answer > div small {
  color: var(--qa-blue);
  font-size: 11px;
  font-weight: 800;
}

.qa-example-dialog__answer > div strong {
  font-size: 13px;
}

.qa-example-dialog__answer > p {
  margin: 24px 0 0;
  color: #34445b;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.95;
}

.qa-example-dialog__copy {
  display: grid;
  gap: 17px;
}

.qa-example-dialog__copy > p {
  margin: 0;
  color: var(--qa-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.qa-example-dialog__copy > strong {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.7vw, 36px);
  line-height: 1.4;
}

.qa-example-dialog__copy > div {
  display: grid;
  margin-top: 10px;
  padding: 20px;
  align-items: start;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--qa-line);
  grid-template-columns: auto 1fr;
}

.qa-example-dialog__copy > div i {
  margin-top: 3px;
  color: var(--qa-blue);
  font-size: 20px;
}

.qa-example-dialog__copy > div span {
  color: var(--qa-muted);
  font-size: 12px;
  line-height: 1.8;
}

.qa-example-dialog__copy > div b {
  display: block;
  margin-bottom: 5px;
  color: var(--qa-ink);
}

.qa-example-dialog__copy > a {
  display: flex;
  min-height: 58px;
  margin-top: 8px;
  padding: 14px 18px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--qa-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .qa-examples__heading {
    grid-template-columns: 1fr;
  }

  .qa-examples__heading > p {
    grid-column: 1;
  }

  .qa-example-dialog__content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .qa-examples {
    padding: 72px 0;
  }

  .qa-example-grid {
    grid-template-columns: 1fr;
  }

  .qa-example-card__screen {
    min-height: 260px;
    padding-inline: 18px;
  }

  .qa-example-card__copy {
    min-height: 170px;
    padding: 24px 20px;
  }

  .qa-example-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100svh - 20px);
  }

  .qa-example-dialog__shell > header {
    min-height: 78px;
    padding: 15px 16px;
  }

  .qa-example-dialog__content {
    padding: 16px;
  }

  .qa-example-dialog__screen article {
    padding: 22px 18px;
  }

  .qa-example-dialog__answer {
    margin: 24px 0 0;
    padding: 20px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .qa-example-card,
  .qa-example-card__screen,
  .qa-example-dialog__shell > header button {
    transition: none;
  }

  .qa-example-card:hover,
  .qa-example-card:focus-visible {
    transform: none;
  }
}
