.faq-page {
  --faq-accent: #ad294e;
  --faq-line: #edced5;
  --faq-paper: #fff7f8;
  --faq-surface: #fffafb;
  background: linear-gradient(115deg, #fff4f6, #fbf0f2);
}

.faq-page .catalogue-hero-title {
  /* Restore the visible heading hidden by the older SEO stylesheet. */
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
}

.faq-page .catalogue-eyebrow { display: none; }
.faq-page .catalogue-hero-title-line, .faq-page .catalogue-hero-title > em { display: inline; white-space: normal; }
.faq-page .catalogue-hero-title-line::after { content: " "; }
.faq-page .catalogue-hero-description { max-width: 49ch; }
.faq-page .catalogue-hero { height: auto; }
.faq-breadcrumb { position: absolute; z-index: 2; top: 87px; left: 5.4%; display: flex; align-items: center; justify-content: flex-start; gap: 10px; width: max-content; max-width: calc(100% - 36px); margin: 0; padding: 0; color: var(--site-muted); font: 400 12px/1.4 Inter, Arial, sans-serif; }
.faq-breadcrumb a { min-height: 26px; padding: 4px 0; color: var(--site-ink); }
.faq-breadcrumb a:hover { color: var(--faq-accent); text-decoration: underline; }
.faq-breadcrumb svg { width: 12px; height: 12px; }
.faq-page > .faq-hero { position: relative; }

.faq-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  align-items: start;
  gap: clamp(22px, 3vw, 40px);
  width: min(100% - 40px, 1500px);
  margin: 0 auto;
  padding: 26px 0 42px;
  color: var(--site-ink);
}

.faq-layout h2, .faq-layout h3, .faq-layout p { margin: 0; }
.faq-layout svg { display: block; flex: 0 0 auto; }
.faq-sidebar { position: sticky; top: 20px; display: grid; gap: 24px; }
.faq-categories { display: grid; gap: 9px; }
.faq-category {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 12px;
  min-height: 51px;
  padding: 10px 14px;
  border: 1px solid var(--faq-line);
  border-radius: 14px;
  background: linear-gradient(105deg, #fff9fa, #fbedf0);
  box-shadow: 0 2px 3px rgb(107 35 57 / .05);
  color: var(--site-ink);
  font: 600 14px/1.2 Inter, Arial, sans-serif;
  text-decoration: none;
}

.faq-category > svg { width: 26px; height: 26px; color: #ba3058; }
.faq-category .faq-category-arrow { width: 14px; height: 14px; opacity: 0; }
.faq-category-arrow svg { width: 14px; height: 14px; }
.faq-category:hover { border-color: #ce8da1; color: var(--faq-accent); }
.faq-category[aria-current="true"] { color: #fff; background: linear-gradient(150deg, #d64b70, #ad294e); border-color: #d64b70; box-shadow: 0 4px 12px rgb(156 38 76 / .12); }
.faq-category[aria-current="true"] > svg { color: #fff; }
.faq-category[aria-current="true"] .faq-category-arrow { opacity: 1; }

.faq-support { display: grid; justify-items: center; gap: 10px; padding: 20px 14px; border: 1px solid var(--faq-line); border-radius: 14px; background: linear-gradient(135deg, #fff8fa, #fae9ee); text-align: center; box-shadow: 0 2px 4px rgb(107 35 57 / .05); }
.faq-support > svg { width: 38px; height: 38px; color: #ba3058; }
.faq-support h2 { font: 600 27px/1.05 "Cormorant Garamond", Georgia, serif; letter-spacing: -.035em; }
.faq-support p { color: var(--site-muted); font: 400 13px/1.45 Inter, Arial, sans-serif; }
.faq-support a { display: flex; align-items: center; justify-content: center; gap: 16px; width: 100%; min-height: 43px; padding: 10px 14px; border-radius: 999px; color: #fff; background: linear-gradient(105deg, #d64b70, #ad294e); font: 600 13px/1.2 Inter, Arial, sans-serif; }
.faq-support a:hover { background: #9d2246; }
.faq-support a svg { width: 20px; height: 20px; }

.faq-panels { min-width: 0; }
.faq-topic { scroll-margin-top: 24px; }
.faq-topic:not([hidden]) ~ .faq-topic:not([hidden]) { margin-top: 30px; }
.faq-topic[hidden] { display: none; }
.faq-topic-header { display: flex; align-items: flex-start; gap: 15px; margin: 0 0 20px; }
.faq-topic-header > svg { width: 40px; height: 40px; margin-top: 2px; color: #ba3058; }
.faq-topic-header h2 { color: #25191e; font: 600 clamp(29px, 3vw, 40px)/1.04 "Cormorant Garamond", Georgia, serif; letter-spacing: -.035em; }
.faq-topic-header p { margin-top: 6px; color: var(--site-muted); font: 400 14px/1.45 Inter, Arial, sans-serif; }
.faq-topic-header h2:focus { outline: none; }

.faq-topic details { overflow: hidden; border: 1px solid var(--faq-line); border-radius: 13px; background: linear-gradient(110deg, var(--faq-surface), #fceef2); box-shadow: 0 2px 3px rgb(107 35 57 / .05); }
.faq-topic details + details { margin-top: 9px; }
.faq-topic summary { position: relative; display: block; padding: 14px 52px 14px 20px; color: #2d2027; font: 650 clamp(15px, 1.45vw, 19px)/1.3 Inter, Arial, sans-serif; list-style: none; cursor: pointer; }
.faq-topic summary::-webkit-details-marker { display: none; }
.faq-topic summary::after { content: ""; position: absolute; top: 18px; right: 22px; width: 11px; height: 11px; border-right: 2px solid #b83059; border-bottom: 2px solid #b83059; transform: rotate(45deg); }
.faq-topic details[open] summary { background: linear-gradient(100deg, #f8dce5, #f6d2de); }
.faq-topic details[open] summary::after { top: 25px; width: 18px; height: 0; border: 0; border-top: 2px solid #b83059; transform: none; }
.faq-answer { padding: 14px 20px 18px; color: #4c3941; font: 400 15px/1.6 Inter, Arial, sans-serif; }
.faq-answer p { max-width: 83ch; }
.faq-answer p + p { margin-top: 10px; }
.faq-answer a { color: var(--faq-accent); text-decoration: underline; text-underline-offset: 2px; }
.faq-answer a:hover { color: #86203f; }
.faq-page :focus-visible { outline: 2px solid #b63761; outline-offset: 3px; }

@media (max-width: 1100px) {
  .faq-layout { grid-template-columns: 235px minmax(0, 1fr); }
  .faq-sidebar { top: 82px; }
  .faq-topic { scroll-margin-top: 83px; }
  .faq-category { padding-inline: 12px; gap: 9px; font-size: 13px; }
}

@media (max-width: 760px) {
  .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; width: calc(100% - 28px); padding: 20px 0 30px; }
  .faq-sidebar { display: contents; }
  .faq-categories { grid-row: 1; order: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .faq-panels { grid-row: 2; }
  .faq-category { grid-template-columns: 23px minmax(0, 1fr); min-height: 48px; padding: 9px 10px; font-size: 12px; }
  .faq-category > svg { width: 23px; height: 23px; }
  .faq-category .faq-category-arrow { display: none; }
  .faq-support { grid-row: 3; max-width: 380px; justify-self: center; width: 100%; }
  .faq-topic-header { margin-bottom: 15px; gap: 10px; }
  .faq-topic-header > svg { width: 32px; height: 32px; }
  .faq-topic-header p { font-size: 13px; }
  .faq-topic summary { padding: 13px 41px 13px 14px; font-size: 15px; }
  .faq-topic summary::after { right: 17px; width: 9px; height: 9px; }
  .faq-topic details[open] summary::after { top: 22px; right: 15px; width: 15px; }
  .faq-answer { padding: 12px 14px 15px; font-size: 14px; }
}

@media (max-width: 700px) {
  .faq-breadcrumb { left: 18px; top: 87px; }
}

@media (prefers-reduced-motion: reduce) {
  .faq-page { scroll-behavior: auto; }
}
