/* --------------------------------------------------------------
   FAQ Hero
-------------------------------------------------------------- */

.page-hero--faq {
  min-height: 420px;
  height: 48vh;
  background:
    linear-gradient(
      to right,
      rgba(5, 6, 23, 0.85) 0%,
      rgba(5, 6, 23, 0.70) 32%,
      rgba(5, 6, 23, 0.35) 68%,
      rgba(5, 6, 23, 0.08) 100%
    ),
    url("../assets/q-mark.png") center/cover no-repeat; /* update image if needed */
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  position: relative;
}

.page-hero--faq .page-hero__inner {
  display: flex;
  align-items: center;
  height: 100%;
}

.page-hero__text {
  max-width: 640px;
}

/* Eyebrow pill (matching other pages) */

.page-hero__eyebrow-box {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  background: rgba(5, 6, 23, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.35),
    0 0 12px rgba(255, 255, 255, 0.08);
}

.page-hero--faq .page-hero__eyebrow {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e5e7eb;
  font-weight: 500;
}

.page-hero--faq .page-hero__title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #f8fafc;
  margin-top: 0.65rem;
  margin-bottom: 0.35rem;
}

.page-hero--faq .page-hero__lead {
  font-size: 1.05rem;
  line-height: 1.55;
  color: #cbd5e1;
  max-width: 580px;
  margin-top: 0.4rem;
}

/* --------------------------------------------------------------
   FAQ main wrapper
-------------------------------------------------------------- */

.section--faq {
  padding: 0;
  background: transparent;
  position: relative;
}

.faq-content {
  width: 100%;
}

/* Inner container for each full-width band */
.faq-topic__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.4rem 0;
}

/* --------------------------------------------------------------
   Alternating FULL-WIDTH background rows
-------------------------------------------------------------- */

.faq-topic {
  width: 100%;
}

/* Match registration’s alternating colors */
.faq-topic:nth-of-type(odd) {
  background-color: #050617; /* hero darkest tone */
}

.faq-topic:nth-of-type(even) {
  background-color: #0a1124; /* hero mid-blue tone */
}

/* --------------------------------------------------------------
   Generic topic section typography
-------------------------------------------------------------- */

.faq-topic__header {
  margin-bottom: 0.9rem;
}

.faq-topic__title {
  font-size: 1.35rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 0.3rem;
}

.faq-topic__intro {
  color: #cbd5e1;
}

.faq-topic__body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

/* --------------------------------------------------------------
   Layout variants
-------------------------------------------------------------- */

.faq-topic__body--split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 1.6rem;
  align-items: stretch;
}

.faq-topic__body--grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

/* --------------------------------------------------------------
   Cards
-------------------------------------------------------------- */

.faq-card {
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.98);
  padding: 1.1rem 1.2rem 1.05rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.faq-card__heading {
  font-size: 1.0rem;
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 0.1rem;
}

.faq-card__text {
  margin: 0;
  color: #cbd5e1;
}

.faq-card__list {
  margin: 0.25rem 0 0;
  padding-left: 1.1rem;
  color: #cbd5e1;
  font-size: 0.94rem;
}

/* Primary contact card emphasis */

.faq-card--primary {
  position: relative;
  border-color: rgba(129, 140, 248, 0.9);
  background: radial-gradient(circle at top left,
    rgba(15, 23, 42, 0.98),
    rgba(15, 23, 42, 0.96));
}

.faq-card--primary::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(129, 140, 248, 0.8);
  opacity: 0.6;
  pointer-events: none;
}

.faq-card__email {
  display: inline-flex;
  margin-top: 0.25rem;
  font-size: 1.0rem;
  font-weight: 600;
  color: #e5e7eb;
  text-decoration: none;
  padding: 0.25rem 0.55rem;
  border-radius: 0.5rem;
  background: rgba(30, 64, 175, 0.85);
}

.faq-card__email:hover {
  text-decoration: underline;
}

.faq-card__note {
  margin: 0.4rem 0 0;
  font-size: 0.86rem;
  color: #9ca3af;
}

/* Side card */

.faq-card--side {
  background: rgba(15, 23, 42, 0.96);
}

/* Outline cards in the second row */

.faq-card--outline {
  border-style: dashed;
  border-color: rgba(148, 163, 184, 0.8);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.85);
}

/* --------------------------------------------------------------
   Responsive adjustments
-------------------------------------------------------------- */

@media (max-width: 900px) {
  .faq-topic__inner {
    padding: 2.0rem 0;
  }

  .faq-topic__body--split {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-topic__body--grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --------------------------------------------------------------
   Side decorations (reuse other pages)
-------------------------------------------------------------- */

.side-decorated::before,
.side-decorated::after {
  content: "";
  position: absolute;
  top: 0;
  width: 240px;
  height: 100%;
  filter: blur(60px);
  z-index: -1;
}

.side-decorated::before {
  left: -80px;
  background: linear-gradient(
    to bottom,
    rgba(59, 130, 246, 0.18),
    rgba(99, 102, 241, 0.12),
    rgba(147, 51, 234, 0.10)
  );
}

.side-decorated::after {
  right: -80px;
  background: linear-gradient(
    to bottom,
    rgba(147, 51, 234, 0.12),
    rgba(99, 102, 241, 0.10),
    rgba(59, 130, 246, 0.18)
  );
}

@media (max-width: 900px) {
  .side-decorated::before,
  .side-decorated::after {
    display: none;
  }
}


/* Ensure FAQ content aligns exactly with hero text */

.page-hero--faq .main-container,
.faq-topic__inner {
  max-width: 960px;     /* same width for hero + content */
  margin-left: auto;
  margin-right: auto;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Remove unintended padding from outer wrapper */
.section--faq,
.faq-content,
.faq-topic {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/* If any row still shifts slightly */
.faq-topic__inner {
  padding-left: 0 !important;
}
