/* FIA Page Styles (consolidated, ASCII only)
   Breakpoints:
   >=768px:
     - Rates section: top 3.25rem, bottom 2.5rem
     - FAQ area: top 7.5rem (approx 120px), bottom 7.5rem
   <768px:
     - Rates section: bottom 9rem (clear pill overlap)
     - FAQ area: top 14rem
*/

/* Rates section wrapper */
.annuity-rates-section.fia-rates-enhanced {
  position: relative;
  background-color: var(--main-light-blue);
  padding-top: 3.25rem;
  padding-bottom: 2.5rem;
  overflow: visible;
}

/* Inner padding wrapper */
.annuity-rates-padding {
  padding-top: 3rem;
  padding-bottom: 5rem;
}

/* Overlapping pill container (straddles bottom border) */
#fiainfocontainer.fiax-info-pill {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%) translateY(-50%);
  width: 100%;
  max-width: 1000px;
  padding: 0 1rem;
  z-index: 10;
  pointer-events: auto;
}

/* Pill list (3D card) */
.fiax-list {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 45%, #ffffff 90%);
  border-radius: 28px;
  border: none;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  overflow: hidden;
  backdrop-filter: blur(3px);
  box-shadow:
    0 -10px 24px -12px rgba(31,58,86,0.35),
    0 26px 48px -18px rgba(0,0,0,0.38),
    0 12px 28px -10px rgba(0,0,0,0.25),
    0 4px 10px -2px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.95),
    inset 0 -2px 4px -1px rgba(0,0,0,0.10);
}

@media (min-width: 768px) {
  .fiax-list { grid-template-columns: repeat(3, 1fr); }
}

/* Glow + floor shadow */
.fiax-list::before,
.fiax-list::after {
  content: "";
  position: absolute;
  left: 10%;
  width: 80%;
  pointer-events: none;
  border-radius: 40px;
}
.fiax-list::before {
  top: -18px;
  height: 36px;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 70%);
  filter: blur(6px);
  opacity: 0.7;
}
.fiax-list::after {
  bottom: -22px;
  height: 38px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0) 65%);
  filter: blur(8px);
  opacity: 0.55;
}

/* Pill items (desktop) */
.fiax-item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.9rem;
  padding: 1.25rem 1.15rem 1.15rem;
  min-height: 120px;
  text-align: left;
  transition: background 0.25s ease;
}
.fiax-item + .fiax-item {
  border-top: 1px solid rgba(0,0,0,0.06);
}
@media (min-width: 768px) {
  .fiax-item + .fiax-item {
    border-top: none;
    border-left: 1px solid rgba(0,0,0,0.06);
  }
}
.fiax-item:hover {
  background: linear-gradient(145deg, rgba(31,58,86,0.06), rgba(31,58,86,0));
}
.fiax-item:focus-within {
  outline: 2px solid var(--main-light-blue);
  outline-offset: 2px;
}

/* Text block */
.fiax-textblock {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

/* Icon + text styling */
.fiax-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--main-light-blue) 0%, var(--main-bold-blue) 95%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  flex-shrink: 0;
}
.fiax-title {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.35px;
  color: var(--main-light-blue);
}
.fiax-text {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #333;
}

/* FAQ area spacing (desktop baseline) */
.fia-faq-padding {
  padding-top: 7.5rem;
  padding-bottom: 7.5rem;
}

/* Mobile adjustments <768px */
@media (max-width: 767.98px) {
  .annuity-rates-section.fia-rates-enhanced {
    padding-bottom: 9rem;
  }
  #fiainfocontainer.fiax-info-pill {
    max-width: 370px;
    width: 100%;
  }
  .fiax-list {
    /* single column by default, no need to redefine grid-template-columns */
  }
  .fia-faq-padding {
    padding-top: 14rem;
  }
  .fiax-item {
    justify-content: flex-start;  /* left align horizontally */
    align-items: center;           /* center vertically within min-height */
  }
  .fiax-textblock {
    align-items: flex-start;
    text-align: left;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .fiax-item { transition: none !important; }
  .fiax-list::before,
  .fiax-list::after { display: none; }
}

.faq-area .container {
    padding: 0;
}

.about-right {
    padding-left: 20px;
}

.about-text {
    padding-top: 1.5rem;
}

body > main > div.faq-area.fia-faq-padding > div.container > div.row.py-5 > div:nth-child(2) {
    padding: 0;
}

    body > main > div.faq-area.fia-faq-padding > div.container > div.row.py-5 > div:nth-child(2) > div > div.site-heading.mb-3 > h2 > sup {
        font-size: .65em;
    }