/* NivAk FAQ V3 — Animated Q&A Screen */

.faq-v3-page .faq-hero > .container {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: center;
  gap: 32px;
}

.faq-v3-page .faq-hero .page-hero__content {
  min-width: 0;
}

.faq-v3-page .faq-hero h1 {
  font-size: clamp(33px,3.6vw,49px);
}

.faq-v3-screen {
  width: min(100%,440px);
  min-height: 250px;
  justify-self: center;
  overflow: hidden;
  border: 1px solid #416d9e;
  border-radius: 19px;
  background: linear-gradient(145deg,#12335c,#0b1c35);
  box-shadow: 0 20px 55px rgba(0,0,0,.22);
}

.faq-v3-screen__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.faq-v3-screen__header strong {
  color: #fff;
  font-size: 13px;
}

.faq-v3-screen__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #ff7417;
  color: #fff;
  font-weight: 800;
}

.faq-v3-screen__badge {
  margin-left: auto;
  color: #ffb57f;
  font-size: 11px;
  font-weight: 800;
}

.faq-v3-screen__body {
  padding: 22px;
}

.faq-v3-screen__label {
  color: #ffb57f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
}

.faq-v3-screen__body p {
  margin: 9px 0 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.faq-v3-screen__answer {
  min-height: 92px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  background: rgba(255,255,255,.06);
}

.faq-v3-screen__answer p {
  margin: 8px 0 0;
  color: #d6e6f8;
  font-size: 13px;
  font-weight: 500;
}

@media (max-width: 900px) {
  .faq-v3-page .faq-hero > .container {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .faq-v3-screen {
    width: min(100%,440px);
  }
}

@media (max-width: 600px) {
  .faq-v3-screen__body {
    padding: 17px;
  }
}

/* NIVAK STABLE FAQ HERO STEP 91 */

/* Prevent typing from changing the hero height */

.faq-v3-page .faq-hero {
  min-height: 350px;
  padding: 38px 0 !important;
}

.faq-v3-page .faq-hero > .container {
  align-items: center;
}

/* Fixed Q&A screen dimensions */

.faq-v3-page .faq-v3-screen {
  height: 274px;
  min-height: 274px;
  max-height: 274px;
  display: flex;
  flex-direction: column;
}

.faq-v3-page .faq-v3-screen__header {
  flex: 0 0 auto;
}

.faq-v3-page .faq-v3-screen__body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Reserve space for question text */

.faq-v3-page #faq-v3-animated-question {
  height: 48px;
  min-height: 48px;
  max-height: 48px;
  margin: 7px 0 12px;
  overflow: hidden;
}

/* Reserve space for answer text */

.faq-v3-page .faq-v3-screen__answer {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #42648d transparent;
}

.faq-v3-page #faq-v3-animated-answer {
  margin: 8px 0 0;
  overflow-wrap: anywhere;
}

/* Mobile stability */

@media (max-width: 900px) {
  .faq-v3-page .faq-hero {
    min-height: 0;
  }
}

@media (max-width: 600px) {
  .faq-v3-page .faq-v3-screen {
    height: 290px;
    min-height: 290px;
    max-height: 290px;
  }

  .faq-v3-page #faq-v3-animated-question {
    height: 60px;
    min-height: 60px;
    max-height: 60px;
  }
}
