/* ─────────────────────────────────────────────────────────────
   ALLIANCE INSURANCE — INNER PAGES CSS
   Styles for all inner page components (non-homepage).
   Depends on base.css and components.css being loaded first.
   ───────────────────────────────────────────────────────────── */

/* ════════════════════════════════════════════════════════════
   INNER PAGE HERO
   • Dark gradient background (--grad-hero-page)
   • 340px min-height, content aligned to bottom
   • Diamond decorative element on the right
   ════════════════════════════════════════════════════════════ */

.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-hero-page);
  min-height: 340px;
  display: flex;
  align-items: flex-end;
}

.page-hero__card {
  position: relative;
  width: 100%;
  z-index: 2;
}

.page-hero__inner {
  position: relative;
  padding-top: 52px;
  padding-bottom: 60px;
}

.page-hero__eyebrow {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-hero__title {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.1rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.page-hero__text {
  max-width: 540px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.6;
}

.page-hero__actions {
  margin-top: 26px;
}

/* Diamond ring (outer decorative) */
.page-hero__diamond-ring {
  position: absolute;
  z-index: 0;
  width: 1060px;
  height: 1060px;
  left: calc(50% + 310px);
  top: 50%;
  margin-top: -495px;
  border-radius: 84px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
  pointer-events: none;
}

/* Diamond photo frame */
.page-hero__diamond {
  position: absolute;
  z-index: 1;
  width: 900px;
  height: 900px;
  left: calc(50% + 280px);
  top: 50%;
  margin-top: -415px;
  border-radius: 72px;
  border: 18px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
  transform: rotate(45deg);
  transform-origin: center center;
}

.page-hero__diamond img,
.page-hero__diamond-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: rotate(-45deg) scale(1.47);
  transform-origin: center center;
}

.page-hero__diamond-fill {
  background-color: var(--color-secondary);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath d='M0 0l32 32M32 0L0 32' stroke='%23fff' stroke-width='0.5' stroke-opacity='0.2'/%3E%3C/svg%3E"),
    linear-gradient(135deg, rgba(92, 196, 206, 0.35) 0%, rgba(0, 60, 113, 0.4) 100%);
}

/* Blog post hero variant — taller */
.page-hero--blog {
  min-height: 420px;
}

/* Breadcrumb */
.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-hero__breadcrumb a {
  color: inherit;
  transition: color 0.15s;
}

.page-hero__breadcrumb a:hover {
  color: var(--white);
}

.page-hero__breadcrumb-sep {
  opacity: 0.4;
}

/* Post meta (date, reading time, tags) */
.page-hero__post-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.page-hero__tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyprus);
  background: var(--downy);
  padding: 4px 10px;
  border-radius: 4px;
}

.page-hero__post-date,
.page-hero__post-read {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}


/* ════════════════════════════════════════════════════════════
   PAGE SECTION WRAPPERS
   Light/muted alternating bands for inner pages
   ════════════════════════════════════════════════════════════ */

.inner-section {
  padding: 80px 0;
}

.inner-section--white {
  background: var(--white);
}

.inner-section--sand {
  background: var(--sand);
}

.inner-section--mist {
  background: var(--mist);
}

.inner-section--dark {
  background: var(--cyprus);
  color: var(--white);
}

.inner-section__head {
  max-width: 720px;
  margin-bottom: 48px;
}

.inner-section__head h2 {
  margin: 8px 0 0;
  color: var(--cyprus);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.inner-section__head p {
  margin: 14px 0 0;
  color: rgba(31, 45, 48, 0.78);
  font-size: 16px;
  line-height: 1.65;
}

.inner-section__head--center {
  margin-inline: auto;
  text-align: center;
}


/* ════════════════════════════════════════════════════════════
   SPLIT CONTENT SECTION
   Two-column image + text layout used across insurance pages
   ════════════════════════════════════════════════════════════ */

.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.content-split--reverse .content-split__media {
  order: -1;
}

.content-split__copy h2 {
  margin: 0 0 18px;
  color: var(--cyprus);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.022em;
}

.content-split__copy p {
  color: rgba(31, 45, 48, 0.8);
  line-height: 1.65;
}

.content-split__copy p + p {
  margin-top: 14px;
}

.content-split__copy .btn {
  margin-top: 24px;
}

.content-split__copy .text-link {
  display: inline-flex;
  margin-top: 18px;
}

.content-split__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--mist);
  min-height: 340px;
}

.content-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.content-split__media--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(92, 196, 206, 0.28), rgba(0, 60, 113, 0.16));
}


/* ════════════════════════════════════════════════════════════
   INSURER LOGOS BAND
   Carrier/insurer logo display row
   ════════════════════════════════════════════════════════════ */

.insurer-band {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.insurer-band__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--downy);
  margin-right: 4px;
}

.insurer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  font-weight: 800;
  font-size: 14px;
  color: var(--cyprus);
  letter-spacing: -0.01em;
}

.insurer-badge--italic {
  font-style: italic;
}


/* ════════════════════════════════════════════════════════════
   CTA BAND (inner page variant)
   Used to call out specific actions between content sections
   ════════════════════════════════════════════════════════════ */

.inner-cta-band {
  padding: 48px 56px;
  border-radius: var(--radius-xl);
  background: var(--grad-brand);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.inner-cta-band h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
}

.inner-cta-band p {
  color: rgba(255, 255, 255, 0.78);
}

.inner-cta-band__actions {
  flex-shrink: 0;
}


/* ════════════════════════════════════════════════════════════
   PLAN ACCORDION (Health page)
   Provider-grouped plan accordions with benefit lists
   ════════════════════════════════════════════════════════════ */

.plan-groups {
  display: grid;
  gap: 20px;
}

.plan-group {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.plan-group__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  background: var(--sand);
  border-bottom: 1px solid var(--border);
}

.plan-group__name {
  margin: 0;
  color: var(--cyprus);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.plan-group__toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--mosque);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.plan-group__toggle::after {
  content: "⌄";
  font-size: 16px;
  transition: transform 0.2s ease;
}

.plan-group.is-open .plan-group__toggle::after {
  transform: rotate(-180deg);
}

.plan-group__body {
  display: none;
}

.plan-group.is-open .plan-group__body {
  display: block;
}

.plan-item {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
}

.plan-item:last-child {
  border-bottom: 0;
}

.plan-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 16px;
}

.plan-item__name {
  margin: 0;
  color: var(--cyprus);
  font-size: 1rem;
  font-weight: 700;
}

.plan-item__toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--mosque);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}

details.plan-item summary {
  list-style: none;
  cursor: pointer;
}

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

.plan-item__name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.plan-item__expand {
  color: var(--mosque);
  font-size: 22px;
  font-weight: 300;
  transition: transform 0.2s ease;
}

details[open] .plan-item__expand {
  transform: rotate(45deg);
}

.plan-item__detail {
  padding: 0 0 16px;
}

.plan-item__detail p {
  color: rgba(31, 45, 48, 0.8);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.plan-item__benefits {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.plan-item__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(31, 45, 48, 0.82);
  line-height: 1.5;
}

.plan-item__benefits li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--downy);
  margin-top: 6px;
  flex-shrink: 0;
}

.plan-cta-note {
  display: block;
  margin-top: 18px;
  padding: 14px 18px;
  background: var(--mist);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--downy);
  color: var(--mosque);
  font-size: 14px;
  font-weight: 600;
}

.plan-cta-note a {
  color: var(--mosque);
  text-decoration: underline;
}


/* ════════════════════════════════════════════════════════════
   SAVINGS CARDS (Auto page)
   ════════════════════════════════════════════════════════════ */

.savings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.savings-card {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.savings-card__icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.savings-card h3 {
  margin: 0 0 10px;
  color: var(--cyprus);
  font-size: 1.05rem;
  line-height: 1.2;
}

.savings-card p {
  color: rgba(31, 45, 48, 0.78);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}


/* ════════════════════════════════════════════════════════════
   FEATURE CHECKLIST
   Used for bullet-point feature lists in coverage sections
   ════════════════════════════════════════════════════════════ */

.feature-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: rgba(31, 45, 48, 0.82);
  line-height: 1.5;
}

.feature-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(92, 196, 206, 0.2);
  border: 2px solid var(--downy);
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
}

.feature-list li::after {
  content: "";
  position: absolute;
  /* checkmark via box-shadow trick - using before/after pseudo elements */
}

/* Simpler tick version */
.feature-list--ticked li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mosque);
  font-size: 10px;
  font-weight: 800;
}


/* ════════════════════════════════════════════════════════════
   CLIENT STORIES
   Story entries with alternating photo + text layout
   ════════════════════════════════════════════════════════════ */

.story-entries {
  display: grid;
  gap: 2px;
}

.story-entry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360px;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.story-entry + .story-entry {
  margin-top: 24px;
}

.story-entry--reverse .story-entry__copy {
  order: 2;
}

.story-entry--reverse .story-entry__media {
  order: 1;
}

.story-entry__copy {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-entry__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--downy);
}

.story-entry__name {
  margin: 0 0 18px;
  color: var(--cyprus);
  font-size: 1.65rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.story-entry__quote {
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(31, 45, 48, 0.82);
  font-style: italic;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--downy);
}

.story-entry__body {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(31, 45, 48, 0.78);
}

.story-entry__media {
  background: linear-gradient(135deg, rgba(92, 196, 206, 0.25), rgba(0, 60, 113, 0.18));
  min-height: 320px;
}

.story-entry__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-entry__media--tint {
  background: linear-gradient(135deg, rgba(111, 173, 19, 0.18), rgba(92, 196, 206, 0.14));
}

.story-entry__media--warm {
  background: linear-gradient(135deg, rgba(248, 237, 145, 0.4), rgba(92, 196, 206, 0.2));
}


/* ════════════════════════════════════════════════════════════
   QUOTE PATHS (Get a Quote page)
   ════════════════════════════════════════════════════════════ */

.quote-paths {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.quote-path-card {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quote-path-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(92, 196, 206, 0.4);
}

.quote-path-card__icon {
  font-size: 32px;
  line-height: 1;
}

.quote-path-card h3 {
  margin: 0;
  color: var(--cyprus);
  font-size: 1.2rem;
  line-height: 1.2;
}

.quote-path-card p {
  margin: 0;
  color: rgba(31, 45, 48, 0.78);
  font-size: 14.5px;
  line-height: 1.6;
}

.quote-path-card .text-link {
  margin-top: auto;
}


/* ════════════════════════════════════════════════════════════
   STEPS / PROCESS (Claims Center)
   Numbered step sequence
   ════════════════════════════════════════════════════════════ */

.steps {
  display: grid;
  gap: 0;
  counter-reset: steps;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.step:last-child {
  border-bottom: 0;
}

.step__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(92, 196, 206, 0.15);
  border: 2px solid rgba(92, 196, 206, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mosque);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.step__body h3 {
  margin: 0 0 10px;
  color: var(--cyprus);
  font-size: 1.05rem;
  line-height: 1.2;
}

.step__body p {
  color: rgba(31, 45, 48, 0.78);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}


/* ════════════════════════════════════════════════════════════
   DOCUMENT DOWNLOAD CENTER (Forms & Brochures)
   Grouped document lists with download links
   ════════════════════════════════════════════════════════════ */

.download-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}

.download-nav {
  position: sticky;
  top: 100px;
}

.download-nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.download-nav__list li + li {
  margin-top: 4px;
}

.download-nav__link {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  color: var(--mosque);
  font-weight: 600;
  font-size: 15px;
  transition: background 0.15s;
}

.download-nav__link:hover,
.download-nav__link.is-active {
  background: rgba(92, 196, 206, 0.12);
  color: var(--cyprus);
}

.download-groups {
  display: grid;
  gap: 40px;
}

.download-group {
  scroll-margin-top: 100px;
}

.download-group__title {
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  color: var(--cyprus);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.download-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.download-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  text-decoration: none;
  color: var(--cyprus);
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.download-item:hover {
  transform: translateX(3px);
  border-color: rgba(92, 196, 206, 0.4);
  box-shadow: var(--shadow-soft);
}

.download-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(92, 196, 206, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.download-item__icon--pdf {
  background: rgba(220, 60, 60, 0.1);
  color: var(--color-danger);
}

.download-item__info {
  flex: 1;
}

.download-item__name {
  display: block;
  line-height: 1.3;
}

.download-item__meta {
  display: block;
  margin-top: 2px;
  color: rgba(31, 45, 48, 0.55);
  font-size: 12px;
  font-weight: 500;
}

.download-item__arrow {
  color: var(--downy);
  font-size: 18px;
  flex-shrink: 0;
}


/* ════════════════════════════════════════════════════════════
   PAYMENT METHODS (Make a Payment page)
   ════════════════════════════════════════════════════════════ */

.payment-methods {
  display: grid;
  gap: 24px;
}

.payment-method {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

.payment-method:last-child {
  border-bottom: 0;
}

.payment-method--reverse .payment-method__copy {
  order: 2;
}

.payment-method--reverse .payment-method__media {
  order: 1;
}

.payment-method__copy h2 {
  margin: 0 0 16px;
  color: var(--cyprus);
  font-size: 1.65rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.payment-method__copy p {
  color: rgba(31, 45, 48, 0.8);
  line-height: 1.65;
}

.payment-method__copy p + p {
  margin-top: 12px;
}

.payment-method__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--mist);
  min-height: 280px;
}

.payment-method__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bank-details {
  margin-top: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.bank-details__header {
  padding: 14px 20px;
  background: var(--sand);
  border-bottom: 1px solid var(--border);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyprus);
}

.bank-details__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.bank-details__row {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.bank-details__row:nth-child(even) {
  border-right: 0;
}

.bank-details__row:last-child,
.bank-details__row:nth-last-child(2):nth-child(odd) {
  border-bottom: 0;
}

.bank-details__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mosque);
  margin-bottom: 4px;
}

.bank-details__value {
  font-size: 14.5px;
  color: var(--cyprus);
  font-weight: 600;
}


/* ════════════════════════════════════════════════════════════
   TEAM CARDS (Our Team page)
   ════════════════════════════════════════════════════════════ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.team-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.team-card__photo {
  height: 260px;
  background: linear-gradient(135deg, rgba(92, 196, 206, 0.3), rgba(0, 60, 113, 0.2));
  overflow: hidden;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.team-card__info {
  padding: 22px 20px;
}

.team-card__name {
  margin: 0 0 6px;
  color: var(--cyprus);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.team-card__role {
  color: var(--mosque);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.team-card__bio {
  margin-top: 12px;
  color: rgba(31, 45, 48, 0.75);
  font-size: 14px;
  line-height: 1.6;
}


/* ════════════════════════════════════════════════════════════
   CARRIER NETWORK (Our Network page)
   ════════════════════════════════════════════════════════════ */

.carrier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.carrier-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 36px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.carrier-card:hover {
  transform: translateY(-3px);
  border-color: rgba(92, 196, 206, 0.4);
}

.carrier-card__logo {
  width: 100%;
  max-width: 120px;
  height: 48px;
  object-fit: contain;
}

.carrier-card__name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--cyprus);
  letter-spacing: -0.01em;
}

.carrier-card__name--italic {
  font-style: italic;
}

.carrier-card__type {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--downy);
}

.carrier-card__desc {
  font-size: 14px;
  color: rgba(31, 45, 48, 0.72);
  line-height: 1.5;
  margin: 0;
}


/* ════════════════════════════════════════════════════════════
   CONTACT LAYOUT (Contact Us page)
   ════════════════════════════════════════════════════════════ */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-block {
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.contact-block h2 {
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  color: var(--cyprus);
  font-size: 1.3rem;
  line-height: 1.2;
}

.contact-details {
  display: grid;
  gap: 18px;
}

.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-detail__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(92, 196, 206, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-detail__body strong {
  display: block;
  color: var(--cyprus);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-detail__body p,
.contact-detail__body a {
  color: rgba(31, 45, 48, 0.78);
  font-size: 15px;
  line-height: 1.5;
}

.contact-detail__body a:hover {
  color: var(--mosque);
}

.contact-hours {
  margin-top: 6px;
  display: grid;
  gap: 4px;
}

.contact-hours__row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: rgba(31, 45, 48, 0.78);
}

.contact-map-placeholder {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--mist);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: rgba(31, 45, 48, 0.45);
  font-size: 14px;
  font-weight: 600;
}


/* ════════════════════════════════════════════════════════════
   HISTORY TIMELINE (Alliance History page)
   ════════════════════════════════════════════════════════════ */

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  padding-left: 32px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--downy), rgba(92, 196, 206, 0.2));
}

.timeline-entry {
  position: relative;
  padding: 0 0 40px 40px;
}

.timeline-entry::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--downy);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--downy);
}

.timeline-entry__year {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(92, 196, 206, 0.15);
  color: var(--mosque);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.timeline-entry h3 {
  margin: 0 0 10px;
  color: var(--cyprus);
  font-size: 1.15rem;
  line-height: 1.2;
}

.timeline-entry p {
  color: rgba(31, 45, 48, 0.78);
  font-size: 15px;
  line-height: 1.6;
  max-width: 600px;
  margin: 0;
}


/* ════════════════════════════════════════════════════════════
   FAQs (Enhanced styling for inner page FAQ)
   ════════════════════════════════════════════════════════════ */

.faq-section {
  max-width: 860px;
}

.faq-category {
  margin-bottom: 48px;
}

.faq-category__title {
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  color: var(--cyprus);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

details.faq-item {
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: box-shadow 0.15s;
}

details.faq-item[open] {
  box-shadow: var(--shadow);
}

details.faq-item summary {
  padding: 20px 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--cyprus);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.4;
  list-style: none;
}

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

details.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 300;
  color: var(--downy);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

details.faq-item[open] summary::after {
  transform: rotate(45deg);
}

details.faq-item .faq-item__body {
  padding: 0 22px 22px;
  border-top: 1px solid var(--border);
}

details.faq-item .faq-item__body p {
  margin: 16px 0 0;
  color: rgba(31, 45, 48, 0.8);
  font-size: 15px;
  line-height: 1.65;
}

.faq-list + .faq-list {
  margin-top: 12px;
}


/* ════════════════════════════════════════════════════════════
   PRE-FOOTER CTA SECTION
   "Ready to get insured?" block before the site footer
   ════════════════════════════════════════════════════════════ */

.pre-cta {
  padding: 0 0 32px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 50%, var(--cyprus) 50%, var(--cyprus) 100%);
}

.pre-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 52px 56px;
  border-radius: var(--radius-xl);
  background: var(--grad-brand);
  color: var(--white);
  box-shadow: var(--shadow);
}

.pre-cta__copy .section-kicker {
  display: block;
  margin-bottom: 10px;
}

.pre-cta__copy h2 {
  margin: 0;
  color: var(--color-text-on-dark);
  font-size: var(--heading-2);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-snug);
}

.pre-cta__subtitle {
  margin: var(--space-xs) 0 0;
  color: var(--color-text-on-dark-muted);
  font-size: var(--body-base);
}

.pre-cta__actions {
  flex-shrink: 0;
}


/* ════════════════════════════════════════════════════════════
   CONTACT FORM CARD
   ════════════════════════════════════════════════════════════ */

.contact-form-card {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--color-surface-warm);
}

.contact-form-card h3 {
  margin: 0 0 var(--space-xs);
  color: var(--color-heading);
}

.contact-form-card__hint {
  margin-block-end: var(--space-md);
  color: var(--color-text-muted);
  font-size: var(--body-sm);
}

.contact-form-card__fallback {
  margin: 0 0 var(--space-md);
  color: var(--color-text);
  font-size: var(--body-base);
}

.contact-form-card__call {
  margin-block-start: var(--space-md);
}


/* ════════════════════════════════════════════════════════════
   BLOG POST TEMPLATE (single.php)
   ════════════════════════════════════════════════════════════ */

.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
  padding: 64px 0;
}

.post-content {
  min-width: 0;
}

.post-content__body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
}

.post-content__body h2 {
  margin: 2em 0 0.6em;
  color: var(--cyprus);
  font-size: 1.6rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.post-content__body h3 {
  margin: 1.6em 0 0.5em;
  color: var(--cyprus);
  font-size: 1.2rem;
  line-height: 1.25;
}

.post-content__body p {
  margin-bottom: 1.2em;
}

.post-content__body ul,
.post-content__body ol {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
}

.post-content__body li + li {
  margin-top: 0.5em;
}

.post-content__body img {
  border-radius: var(--radius-lg);
  margin: 2em 0;
}

.post-content__body a {
  color: var(--mosque);
  text-decoration: underline;
}

.post-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.post-sidebar-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.post-sidebar-card h3 {
  margin: 0 0 16px;
  color: var(--cyprus);
  font-size: 1rem;
  font-weight: 800;
}

.post-related-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.post-related-list a {
  color: var(--mosque);
  font-weight: 600;
  font-size: 14.5px;
  transition: color 0.15s;
}

.post-related-list a:hover {
  color: var(--cyprus);
}


/* ════════════════════════════════════════════════════════════
   ARTICLES ARCHIVE (archive.php / page-articles.php)
   ════════════════════════════════════════════════════════════ */

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.article-card__media {
  display: block;
  height: 210px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(92, 196, 206, 0.3), rgba(0, 60, 113, 0.18));
}

.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article-card:hover .article-card__media img {
  transform: scale(1.04);
}

.article-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 22px;
}

.article-card__cat {
  display: inline-flex;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--downy);
}

.article-card__date {
  color: rgba(31, 45, 48, 0.55);
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 10px;
}

.article-card__title {
  margin: 0 0 12px;
  color: var(--cyprus);
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.article-card__excerpt {
  flex: 1;
  color: rgba(31, 45, 48, 0.72);
  font-size: 14.5px;
  line-height: 1.6;
}

.article-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--mosque);
  font-size: 14px;
  font-weight: 700;
}

.article-card__link::after {
  content: "->";
  transition: transform 0.15s ease;
}

.article-card:hover .article-card__link::after {
  transform: translateX(3px);
}

.articles-pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.articles-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--mosque);
  font-weight: 700;
  transition: background 0.15s, border-color 0.15s;
}

.articles-pagination .current,
.articles-pagination .page-numbers:hover {
  background: var(--downy);
  border-color: var(--downy);
  color: var(--white);
}


/* ════════════════════════════════════════════════════════════
   INTRO SPLIT (used for intro sections with lead/body text)
   ════════════════════════════════════════════════════════════ */

.intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 56px;
  border-radius: var(--radius-xl);
  background: var(--sand);
  border: 1px solid var(--border);
}

.intro-split__lead {
  color: var(--cyprus);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.015em;
}

.intro-split__body {
  color: rgba(31, 45, 48, 0.8);
  font-size: 16px;
  line-height: 1.7;
}


/* ════════════════════════════════════════════════════════════
   SPECIALTY PLAN CARDS (Other Insurance Plans page)
   ════════════════════════════════════════════════════════════ */

.specialty-grid {
  display: grid;
  gap: 24px;
}

.specialty-entry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

.specialty-entry:first-child {
  padding-top: 0;
}

.specialty-entry:last-child {
  border-bottom: 0;
}

.specialty-entry--reverse .specialty-entry__copy {
  order: 2;
}

.specialty-entry--reverse .specialty-entry__media {
  order: 1;
}

.specialty-entry__copy h2 {
  margin: 0 0 18px;
  color: var(--cyprus);
  font-size: 1.65rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.specialty-entry__copy p {
  color: rgba(31, 45, 48, 0.8);
  line-height: 1.65;
}

.specialty-entry__copy .text-link {
  margin-top: 18px;
}

.specialty-entry__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(92, 196, 206, 0.25), rgba(0, 60, 113, 0.18));
  min-height: 300px;
}

.specialty-entry__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ════════════════════════════════════════════════════════════
   ALL PLANS OVERVIEW — PLAN TYPE CARDS
   ════════════════════════════════════════════════════════════ */

.plan-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.plan-type-card {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}

a.plan-type-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(92, 196, 206, 0.45);
}

.plan-type-card__icon {
  font-size: 36px;
  line-height: 1;
}

.plan-type-card h3 {
  margin: 0;
  color: var(--cyprus);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.plan-type-card p {
  margin: 0;
  color: rgba(31, 45, 48, 0.75);
  font-size: 14.5px;
  line-height: 1.6;
  flex: 1;
}

.plan-type-card .text-link {
  margin-top: auto;
}


/* ════════════════════════════════════════════════════════════
   STAT BAND (used on About and other pages)
   ════════════════════════════════════════════════════════════ */

.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
}

.stat-band__item {
  padding: 32px 28px;
  background: var(--white);
  border-right: 1px solid var(--border);
}

.stat-band__item:last-child {
  border-right: 0;
}

.stat-band__value {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--cyprus);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-band__label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--mosque);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.stat-band__desc {
  color: rgba(31, 45, 48, 0.68);
  font-size: 13.5px;
  line-height: 1.5;
}


/* ════════════════════════════════════════════════════════════
   HEALTH INSURANCE QUOTE PAGE
   ════════════════════════════════════════════════════════════ */

.quote-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.quote-plan-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quote-plan-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}

.quote-plan-item:hover {
  border-color: rgba(92, 196, 206, 0.5);
  transform: translateX(3px);
}

.quote-plan-item__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--downy);
  flex-shrink: 0;
}

.quote-plan-item__name {
  font-weight: 700;
  color: var(--cyprus);
}

.quote-plan-item__carrier {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: rgba(31, 45, 48, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.quote-form-placeholder {
  padding: 48px;
  border: 2px dashed rgba(92, 196, 206, 0.4);
  border-radius: var(--radius-xl);
  background: var(--mist);
  text-align: center;
}

.quote-form-placeholder h3 {
  margin: 0 0 12px;
  color: var(--cyprus);
}

.quote-form-placeholder p {
  color: rgba(31, 45, 48, 0.65);
  margin-bottom: 20px;
}


/* ════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ════════════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .carrier-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-band__item:nth-child(2) {
    border-right: 0;
  }

  .stat-band__item:nth-child(3) {
    border-right: 1px solid var(--border);
  }

  .stat-band__item:nth-child(3),
  .stat-band__item:nth-child(4) {
    border-top: 1px solid var(--border);
  }

  .download-layout {
    grid-template-columns: 1fr;
  }

  .download-nav {
    position: static;
    display: none;
  }

  .plan-type-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .post-layout {
    grid-template-columns: 1fr;
  }

  .post-sidebar {
    position: static;
  }
}

@media (max-width: 860px) {
  .content-split,
  .payment-method,
  .specialty-entry,
  .story-entry,
  .contact-layout,
  .quote-intro,
  .intro-split {
    grid-template-columns: 1fr;
  }

  .content-split--reverse .content-split__media,
  .payment-method--reverse .payment-method__copy,
  .payment-method--reverse .payment-method__media,
  .specialty-entry--reverse .specialty-entry__copy,
  .specialty-entry--reverse .specialty-entry__media,
  .story-entry--reverse .story-entry__copy,
  .story-entry--reverse .story-entry__media {
    order: unset;
  }

  .story-entry__copy {
    padding: 36px 28px;
  }

  .inner-cta-band {
    flex-direction: column;
    padding: 36px 28px;
  }

  .pre-cta__inner {
    flex-direction: column;
    padding: 36px 28px;
  }

  .savings-grid {
    grid-template-columns: 1fr;
  }

  .quote-paths {
    grid-template-columns: 1fr;
  }

  .bank-details__grid {
    grid-template-columns: 1fr;
  }

  .bank-details__row {
    border-right: 0;
  }

  .page-hero__diamond,
  .page-hero__diamond-ring {
    left: calc(50% + 80px);
    width: 480px;
    height: 480px;
    margin-top: -240px;
  }

  .page-hero__diamond-ring {
    width: 560px;
    height: 560px;
    margin-top: -280px;
    left: calc(50% + 90px);
  }
}

@media (max-width: 640px) {
  .inner-section {
    padding: 56px 0;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .carrier-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .plan-type-grid {
    grid-template-columns: 1fr;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .stat-band {
    grid-template-columns: 1fr;
  }

  .stat-band__item {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .stat-band__item:last-child {
    border-bottom: 0;
  }

  .stat-band__item:nth-child(3),
  .stat-band__item:nth-child(4) {
    border-top: 0;
  }

  .page-hero__diamond,
  .page-hero__diamond-ring {
    display: none;
  }

  .intro-split {
    padding: 28px;
  }

  .story-entry {
    grid-template-columns: 1fr;
  }

  .story-entry__media {
    min-height: 220px;
  }
}
