.faq-page {
  --faq-pink: #d07494;
  --faq-dark: #a02d55;
  --faq-soft: #fceaf0;
  --faq-grid: linear-gradient(#f4f4f4 2px, transparent 2px), linear-gradient(90deg, #f4f4f4 2px, transparent 2px);
}
.faq-page [hidden] { display: none !important; }
.faq-page ruby { ruby-position: over; ruby-align: center; }
.faq-page rt { font-size: max(.625em, .625rem); font-weight: inherit; line-height: 1; }
.faq-page .faq-heading__text { min-width: 0; line-height: 1.9; text-wrap: pretty; }
.faq-audiences h2 { padding-top: .5em; line-height: 1.8; }
/* Small pink annotations need solid white behind them, including over grid lines. */
.faq-audiences h2 > span rt { background: #fff; }
.faq-audience-card__label { padding-top: .6em; line-height: 2; }
.faq-page .faq-chip, .faq-page .faq-reset, .faq-page .faq-item__target, .faq-page .faq-results__count { line-height: 2; }
.faq-page .section-container, .faq-page .breadcrumb { width: min(calc(100% - 40px), var(--content-width)); margin-inline: auto; }
.faq-page .breadcrumb { margin-block: 15px; }
.content-top-hero--faq { --content-top-hero-bg: var(--faq-soft); --content-top-hero-title-outline: #333; }
.faq-page .content-top-hero__intro { min-height: 400px; padding: 48px 20px 115px; }
.faq-page .content-top-hero__copy { width: min(50%, 620px); }
.faq-page .content-top-hero__title { font-size: clamp(1.75rem, 3.4vw, 3.5rem); white-space: normal; }
.faq-page .faq-hero__title-break { display: none; }
@media (min-width: 1025px) {
  .faq-page .faq-hero__title-break { display: inline; }
}
.faq-page .content-top-hero__lead { max-width: 740px; }
.faq-hero__visual--left { width: clamp(140px, 19vw, 260px); left: max(20px, calc((100% - 1360px) / 2)); bottom: 5px; }
.faq-hero__visual--right { width: clamp(155px, 22vw, 300px); right: max(20px, calc((100% - 1360px) / 2)); bottom: 0; }
.faq-tools { padding: 0 0 50px; background-image: var(--faq-grid); background-size: 36px 36px; }
.faq-audiences h2 { margin: 0 0 30px; text-align: center; font-size: clamp(1.5rem, 2.5vw, 2.25rem); }
.faq-audiences h2 > span { color: #d43b65; }
.faq-audience-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 38px; padding-top: 30px; }
.faq-audience-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 0; border: 0; background: transparent; color: #fff; font: inherit; cursor: pointer; }
.faq-audience-card::before { position: absolute; inset: 28% 0 0; background: #fff; border-radius: 20px; content: ''; }
/* One outer frame spans image and label; its selected ring never changes layout. */
.faq-audience-card::after { position: absolute; z-index: 1; inset: 28% 0 0; border: 1px solid #777; border-radius: 20px; pointer-events: none; content: ''; }
.faq-audience-card > img { position: relative; z-index: 2; display: block; flex: 0 0 auto; width: 100%; height: 220px; margin: 0 auto; object-fit: contain; object-position: bottom; }
/* Reserve two text lines plus the existing vertical padding and separator. */
.faq-audience-card > span { position: relative; display: flex; flex: 1 0 auto; width: 100%; min-height: calc(3em + 26px); padding: 12px 30px 12px 16px; align-items: center; justify-content: center; color: #341923; background: #f4b5c7; border: 0; border-top: 1px solid #777; border-radius: 0 0 20px 20px; font-weight: 700; font-size: 1rem; line-height: 1.5; }
.faq-audience-card__arrow { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); font-size: 1.75rem; }
.faq-audience-card[aria-pressed='true']::after { border-color: var(--faq-dark); box-shadow: inset 0 0 0 2px var(--faq-dark); }
.faq-audience-card[aria-pressed='true'] > span, .faq-audience-card:hover > span { color: #fff; background: #d43b65; }
.faq-page button:focus-visible, .faq-page summary:focus-visible, .faq-page a:focus-visible { outline: 3px solid #192896; outline-offset: 4px; }
.faq-search { margin-top: 48px; padding: 30px 40px 24px; border-radius: 12px; background: var(--faq-soft); }
.faq-search__heading { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.faq-search__heading h2 { display: flex; gap: 8px; align-items: center; margin: 0; font-size: clamp(1.25rem, 2.5vw, 2rem); }
.faq-search__heading h2 img { width: 40px; height: 40px; object-fit: contain; }
.faq-search__heading h2 .faq-search__accent { color: var(--faq-dark); background: #fff; }
.faq-search__heading p { margin: 0; font-size: .9375rem; font-weight: 700; }
.faq-search__form { display: flex; max-width: 1100px; margin-inline: auto; gap: 16px; }
.faq-search__input-wrap { display: flex; flex: 1; min-width: 0; gap: 12px; align-items: center; padding: 8px 16px; background: #fff; border: 1px solid #888; border-radius: 8px; }
.faq-search__input-wrap > img { flex: 0 0 30px; width: 30px; height: 30px; object-fit: contain; }
.faq-search__input-wrap:focus-within { outline: 3px solid #192896; outline-offset: 2px; }
.faq-search__input-wrap input { width: 100%; min-width: 0; min-height: 40px; padding: 0; border: 0; outline: none; background: transparent; font: inherit; }
.faq-search__input-wrap input::-webkit-search-cancel-button { display: none; }
.faq-search__clear { flex: 0 0 36px; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; color: #555; background: #eee; font-size: 1.5rem; cursor: pointer; }
.faq-search__submit { display: flex; min-height: 58px; padding: 12px 30px; gap: 12px; align-items: center; justify-content: center; border: 0; border-radius: 8px; background: #d43b65; color: #fff; font: inherit; font-size: 1.25rem; font-weight: 700; cursor: pointer; }
.faq-search__submit img { width: 28px; height: 28px; object-fit: contain; }
.faq-search__help { margin: 12px 0; font-size: .8125rem; }
.faq-conditions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.faq-conditions > p { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--faq-dark); font-weight: 700; }
.faq-conditions > p img { width: 25px; height: 28px; object-fit: contain; }
.faq-conditions__chips { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.faq-chip, .faq-reset { min-height: 44px; max-width: 100%; padding: 8px 20px; border: 1px solid var(--faq-dark); border-radius: 999px; color: var(--faq-dark); background: #fff; font: inherit; font-size: .875rem; overflow-wrap: anywhere; cursor: pointer; }
.faq-chip { color: #fff; background: #d43b65; }
.faq-results { padding-block: 25px 110px; }
.faq-results__count { margin: 0 0 18px; text-align: right; font-size: .875rem; color: #555; }
.faq-list { display: grid; gap: 24px; }
.faq-item { min-width: 0; border: 1px solid #777; border-radius: 20px; background: #fff; }
.faq-item__question { display: grid; grid-template-columns: 64px minmax(110px, auto) 1fr 24px; align-items: center; gap: 24px; padding: 24px 30px; list-style: none; cursor: pointer; }
.faq-item__question::-webkit-details-marker { display: none; }
.faq-letter { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--faq-pink); color: #fff; font-size: 2rem; font-weight: 700; }
.faq-item__target { max-width: 230px; padding: 12px 20px; border: 1px solid var(--faq-pink); border-radius: 999px; color: var(--faq-dark); text-align: center; font-size: .9375rem; overflow-wrap: anywhere; }
.faq-item__target ruby { position: relative; top: 0.17em; }
.faq-item__title { min-width: 0; font-size: clamp(1.0625rem, 1.65vw, 1.5rem); font-weight: 700; line-height: 1.6; overflow-wrap: anywhere; }
.faq-chevron { width: 18px; height: 18px; border-right: 3px solid var(--faq-pink); border-bottom: 3px solid var(--faq-pink); transform: rotate(45deg); margin-top: -8px; }
.faq-item[open] .faq-chevron { transform: rotate(225deg); margin-top: 8px; }
.faq-answer { padding: 0 36px 30px; }
.faq-answer__columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.faq-answer__column { display: flex; min-width: 0; flex-direction: column; gap: 28px; }
.faq-block { padding: 24px; border-radius: 10px; }
.faq-block h3, .faq-sources h3 { display: flex; align-items: center; gap: 16px; margin: 0 0 16px; color: var(--faq-dark); font-size: 1.125rem; line-height: 1.5; }
.faq-block h3 > img, .faq-sources h3 > img { width: 40px; height: 40px; object-fit: contain; flex: 0 0 40px; }
.faq-block h3 .faq-letter { width: 48px; height: 48px; font-size: 1.5rem; }
.faq-block--conclusion, .faq-block--contacts { background: var(--faq-soft); }
.faq-block--grid { background-image: var(--faq-grid); background-size: 24px 24px; }
.faq-check-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; background: var(--faq-pink); color: #fff; font-size: 2rem; border-radius: 4px; }
.faq-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.9; }
.faq-text a { color: #8e254a; text-decoration: underline; text-underline-offset: 3px; }
.faq-contact-card { display: flex; align-items: flex-start; gap: 10px; background: #fff; padding: 16px; border-radius: 8px; }
.faq-contact-card > img { width: 20px; height: 24px; object-fit: contain; flex: 0 0 20px; margin-top: 3px; }
.faq-sources { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; margin-top: 36px; padding: 24px; background: #f4b5c7; border-radius: 10px; }
.faq-sources h3 { margin: 0; color: #341923; align-self: start; }
.faq-sources .faq-text { color: #341923; font-size: .875rem; }
.faq-sources .faq-text a { color: #341923; }
.faq-item__meta { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 20px 0 0; color: #555; font-size: .8125rem; overflow-wrap: anywhere; }
.faq-empty { padding: 40px 20px; text-align: center; line-height: 1.8; background: var(--faq-soft); border-radius: 12px; }
.faq-page .related-content-list--faq { background: #cfe3f2; }
@media (max-width: 1100px) {
  .faq-page .content-top-hero__intro { min-height: 490px; padding-bottom: 190px; }
  .faq-page .content-top-hero__copy { width: min(100%, 720px); }
  .faq-hero__visual--left { width: 180px; bottom: 0; }
  .faq-hero__visual--right { width: 210px; bottom: 0; }
  .faq-audience-grid { gap: 24px; }
  .faq-audience-card > img { height: 185px; }
  .faq-audience-card > span { font-size: .875rem; }
  .faq-item__question { grid-template-columns: 52px minmax(100px, auto) 1fr 18px; gap: 16px; padding: 22px; }
  .faq-letter { width: 52px; height: 52px; font-size: 1.625rem; }
  .faq-item__target { max-width: 160px; padding: 10px; font-size: .8125rem; }
  .faq-answer { padding: 0 22px 24px; }
  .faq-answer__columns { gap: 24px; }
  .faq-block { padding: 20px; }
}
@media (min-width: 1025px) and (max-width: 1100px) {
  .faq-page .content-top-hero__intro { min-height: 550px; }
}
@media (max-width: 1024px) {
  .faq-audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; max-width: 780px; margin-inline: auto; }
  .faq-audience-card > img { height: 220px; }
  .faq-audience-card > span { font-size: 1rem; }
  .faq-search { padding: 24px; }
  .faq-answer__columns { grid-template-columns: 1fr; gap: 28px; }
  .faq-sources { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 767px) {
  .faq-page .section-container, .faq-page .breadcrumb { width: calc(100% - 30px); }
  .faq-page .content-top-hero__intro { min-height: 490px; padding: 36px 15px 190px; }
  .faq-page .content-top-hero__title { font-size: clamp(1.5rem, 6vw, 2.375rem); }
  .faq-page .content-top-hero__lead { font-size: .8125rem; }
  .faq-hero__visual--left { width: 130px; left: 12px; }
  .faq-hero__visual--right { width: 160px; right: 12px; }
  .faq-audiences h2 { margin-bottom: 20px; }
  .faq-audience-grid { grid-template-columns: 1fr; gap: 30px; max-width: 360px; padding-top: 10px; }
  .faq-audience-card > img { height: 210px; }
  .faq-search { margin-top: 32px; padding: 20px 16px; }
  .faq-search__heading { gap: 12px; }
  .faq-search__heading h2 { gap: 5px; font-size: 1.25rem; }
  .faq-search__heading h2 img { width: 28px; height: 28px; }
  .faq-search__heading p { font-size: .8125rem; }
  .faq-search__form { flex-direction: column; gap: 12px; }
  .faq-search__input-wrap { padding-inline: 10px; gap: 6px; }
  .faq-search__input-wrap > img { width: 22px; height: 22px; flex-basis: 22px; }
  .faq-search__input-wrap input { font-size: 1rem; }
  .faq-search__submit { font-size: 1rem; min-height: 48px; }
  .faq-search__clear { width: 30px; height: 30px; flex-basis: 30px; }
  .faq-tools { padding-bottom: 30px; }
  .faq-results { padding-block: 24px 65px; }
  .faq-list { gap: 16px; }
  .faq-item { border-radius: 14px; }
  .faq-item__question { grid-template-columns: 40px 1fr 16px; gap: 12px; padding: 18px 16px; }
  .faq-item__question > .faq-letter { width: 40px; height: 40px; font-size: 1.375rem; grid-row: 1; }
  .faq-item__target { justify-self: start; max-width: 100%; padding: 6px 12px; grid-row: 1; font-size: .75rem; }
  .faq-item__title { grid-row: 2; grid-column: 1 / -1; font-size: 1.0625rem; }
  .faq-chevron { width: 12px; height: 12px; grid-row: 1; grid-column: 3; }
  .faq-answer { padding: 0 14px 20px; }
  .faq-answer__columns, .faq-answer__column { gap: 20px; }
  .faq-block { padding: 16px 12px; }
  .faq-block h3, .faq-sources h3 { gap: 10px; font-size: 1rem; }
  .faq-block h3 > img, .faq-sources h3 > img, .faq-check-icon { width: 30px; height: 30px; flex-basis: 30px; }
  .faq-block h3 .faq-letter { width: 36px; height: 36px; font-size: 1.25rem; }
  .faq-text { font-size: .9375rem; }
  .faq-contact-card { padding: 12px; gap: 8px; }
  .faq-sources { padding: 18px 12px; margin-top: 24px; }
}
