.hd-faq-page,
.hd-faq-page * {
  box-sizing: border-box;
}

.hd-faq-page {
  width: 100%;
  min-width: 0;
  max-width: none !important;
  display: block !important;
  gap: 0 !important;
  margin: clamp(52px, 9vw, 104px) 0 !important;
  padding: clamp(28px, 6vw, 68px) 0 !important;
  overflow: hidden;
  border: 1px solid var(--hd-line);
  border-radius: 32px;
  background: var(--hd-white);
  color: var(--hd-ink);
  font-family: "Montserrat", system-ui, sans-serif;
  line-height: 1.6;
}

.hd-faq-page > .e-con-inner {
  width: 100%;
  max-width: none;
  display: block;
  gap: 0;
  padding: 0;
}

.hd-faq-page .elementor-widget {
  min-width: 0;
  margin: 0;
}

.hd-faq-page a {
  color: inherit;
}

.hd-faq-page h1,
.hd-faq-page h2 {
  color: var(--hd-ink);
  font-family: inherit;
  text-wrap: balance;
}

.hd-faq-shell {
  width: min(calc(100% - 48px), 1180px);
  min-width: 0;
  margin-inline: auto;
}

.hd-faq-breadcrumb-wrap {
  padding-top: 2px;
}

.hd-faq-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--hd-secondary);
  font-size: 0.78rem;
}

.hd-faq-breadcrumb a {
  color: var(--hd-ink);
  font-weight: 650;
  text-decoration: none;
}

.hd-faq-hero {
  margin-top: 34px;
}

.hd-faq-eyebrow {
  margin: 0;
  color: var(--hd-pink-text);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hd-faq-hero h1 {
  max-width: 12ch;
  margin: 10px 0 18px;
  font-size: clamp(2.25rem, 6vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hd-faq-introduction {
  max-width: 680px;
  margin: 0;
  color: var(--hd-muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hd-faq-topics {
  margin-top: 48px;
}

.hd-faq-preview-label {
  margin: 0 0 12px;
  color: var(--hd-secondary);
  font-size: 0.75rem;
  font-weight: 750;
}

.hd-faq-theme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hd-faq-theme {
  min-width: 0;
  padding: 48px;
  border: 1px solid var(--hd-line);
  border-radius: 32px;
  background: var(--hd-white);
}

.hd-faq-theme-heading {
  position: relative;
  min-height: 128px;
  display: flex;
  align-items: flex-start;
  padding-right: 112px;
}

.hd-faq-theme-heading > div {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hd-faq-theme-heading p {
  margin: 0 0 8px;
  color: var(--hd-pink-text);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hd-faq-theme-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3.3vw, 2.75rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.hd-faq-theme-number {
  position: absolute;
  top: -10px;
  right: 0;
  color: #edf0ef;
  font-size: clamp(5rem, 8vw, 7.2rem);
  font-weight: 800;
  letter-spacing: -0.085em;
  line-height: 0.9;
  user-select: none;
}

.hd-faq-stack {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.hd-faq-item {
  overflow: hidden;
  border: 1px solid var(--hd-line);
  border-radius: 18px;
  background: var(--hd-soft);
}

.hd-faq-item[open] {
  background: var(--hd-white);
}

.hd-faq-item summary {
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  align-items: center;
  gap: 18px;
  padding: 12px 18px;
  color: var(--hd-ink);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
}

.hd-faq-item summary::-webkit-details-marker {
  display: none;
}

.hd-faq-item summary:focus-visible {
  border-radius: 14px;
  outline: 3px solid var(--hd-pink);
  outline-offset: -3px;
}

.hd-faq-icon {
  position: relative;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #c8cfcd;
  border-radius: 50%;
  color: var(--hd-secondary);
}

.hd-faq-icon::before,
.hd-faq-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
}

.hd-faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.hd-faq-item[open] .hd-faq-icon::after {
  transform: translate(-50%, -50%) rotate(0);
}

.hd-faq-answer {
  padding: 0 68px 18px 18px;
  color: var(--hd-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
}

.hd-faq-answer > :first-child {
  margin-top: 0;
}

.hd-faq-answer > :last-child {
  margin-bottom: 0;
}

.hd-faq-answer a {
  color: var(--hd-ink);
  font-weight: 700;
}

.hd-faq-empty {
  margin-block: 48px;
  padding: 24px;
  border: 1px dashed var(--hd-line);
  border-radius: 18px;
  color: var(--hd-muted);
}

@media (max-width: 820px) {
  .hd-faq-page {
    border-radius: 24px;
  }

  .hd-faq-theme-grid {
    grid-template-columns: 1fr;
  }

  .hd-faq-theme {
    padding: 28px 20px;
    border-radius: 24px;
  }

  .hd-faq-theme-heading {
    min-height: 96px;
    padding-right: 72px;
  }

  .hd-faq-theme-heading h2 {
    font-size: 1.8rem;
  }

  .hd-faq-theme-number {
    top: -4px;
    font-size: 4.4rem;
  }

  .hd-faq-stack {
    margin-top: 18px;
  }

  .hd-faq-item summary {
    grid-template-columns: minmax(0, 1fr) 30px;
    gap: 12px;
    padding: 11px 14px;
    font-size: 0.875rem;
  }

  .hd-faq-icon {
    width: 30px;
    height: 30px;
  }

  .hd-faq-answer {
    padding: 0 56px 16px 14px;
    font-size: 0.84rem;
  }
}

@media (max-width: 390px) {
  .hd-faq-shell {
    width: min(calc(100% - 32px), 1180px);
  }

  .hd-faq-theme-heading {
    padding-right: 62px;
  }

  .hd-faq-theme-number {
    font-size: 3.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hd-faq-page *,
  .hd-faq-page *::before,
  .hd-faq-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
