.faq-v2 {
  --faq-transition-duration: 320ms;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 32px) 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.faq-v2__container {
  height: 50vh;
  overflow: hidden;
  padding-right: 20px;
}

.faq-v2__content {
  height: 100%;
  overflow-y: scroll;
  padding-right: 17px;
  margin-right: -17px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.faq-v2__content::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

.faq-v2__scrollbar {
  position: absolute;
  top: 0;
  right: 42px; /* 32px (FAQ padding) + 10px (distance from container edge) */
  width: 8px;
  height: 50vh;
  background: rgba(146, 173, 187, 0.20); /* #92ADBB at 20% opacity */
  border-radius: 100px;
  z-index: 10;
}

.faq-v2__scrollbar-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  min-height: 10px;
  background: var(--Color-Palette-Light-Subheading, #004061);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 11;
}

.faq-v2__scrollbar-thumb:hover {
  background: #003050; /* Slightly darker shade of #004061 */
}

.faq-v2__scrollbar-thumb:active {
  background: #002040; /* Even darker for active state */
}

body.scrollbar-dragging {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.faq-v2__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 8px 40px 8px;
}

.faq-v2__item {
  border-radius: 15px;
  backdrop-filter: blur(17.5px);
  background: rgba(212, 212, 212, 0.1);
  border: 3px solid rgba(189, 189, 189, 0.5);
  overflow: hidden;
}

.faq-v2__question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 32px;
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  column-gap: 20px;
  font-family: 'Inter', sans-serif;
  color: #0c2335;
  font-weight: 600;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
  transition: background 0.25s ease;
}

.faq-v2__question:hover,
.faq-v2__question:focus-visible {
  background: rgba(255, 255, 255, 0.15);
}

.faq-v2__item.is-active .faq-v2__question {
  padding: 20px 32px;
}

.faq-v2__number {
  font-weight: 600;
  font-size: 18px;
  min-width: 30px;
  display: inline-flex;
  justify-content: flex-start;
  color: transparent;
  background-image: linear-gradient(135deg, #29c8ff, #6a5cff);
  -webkit-background-clip: text;
  background-clip: text;
}

.faq-v2__label {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: #051344;
}

.faq-v2__icon {
  position: relative;
  width: 24px;
  height: 24px;
  transition: transform 0.25s ease;
}

.faq-v2__icon::before,
.faq-v2__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: #00585a;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}

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

.faq-v2__item.is-active .faq-v2__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-v2__answer {
  font-family: 'Inter', sans-serif;
  color: #505862;
  font-size: 14px;
  line-height: 1.4;
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--faq-transition-duration) ease;
}

.faq-v2__answer-inner {
  padding: 0 32px 32px 82px;
  display: grid;
  row-gap: 24px;
}

.faq-v2__cta {
  margin: 0;
}

.faq-v2__cta a {
  color: #006d6f !important;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.faq-v2__cta a:hover,
.faq-v2__cta a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 640px) {
  /* Customizer CSS - Mobile padding overrides */
  .faq-v2 {
    padding-left: 0px !important;
  }

  .faq-v2__list {
    padding: 0px !important;
  }

  .faq-v2__container {
    height: 50vh;
    padding-right: 15px;
  }

  .faq-v2__scrollbar {
    width: 4px;
    height: 50vh;
    right: 26px; /* 16px (mobile FAQ padding) + 10px (distance from container edge) */
  }

  .faq-v2__scrollbar-thumb {
    min-height: 40px;
  }

  .faq-v2__scrollbar-thumb:hover {
    width: 6px;
    left: -1px;
  }

  /* FAQ question flex layout for icon positioning (Customizer CSS) */
  .faq-v2__question {
    display: flex !important;
    grid-template-columns: 32px 1fr;
    padding-inline: 20px;
  }

  .faq-v2__icon {
    justify-self: end;
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-v2__item,
  .faq-v2__question,
  .faq-v2__icon::before,
  .faq-v2__icon::after {
    transition: none;
  }
}
