/* ── Offerings ────────────────────────────────────────────── */
.offerings-section {
  /* === Typography defaults — overridden by ACF per-instance === */
  --atg-eyebrow-size: 12px;
  --atg-eyebrow-color: var(--primary, #ffff);
  --atg-section-title-size: clamp(36px, 5vw, 56px);
  --atg-section-title-plain-color: var(--text-white, #ffffff);
  --atg-subtitle-size: 16px;
  --atg-subtitle-color: var(--text-muted, #8b949e);
  --atg-number-size: clamp(120px, 16vw, 200px);
  --atg-card-title-size: clamp(22px, 2.2vw, 30px);
  --atg-card-title-color: var(--text-white, #ffffff);
  --atg-card-content-size: 16px;
  --atg-card-content-color: var(--text-light, #e2e8f0);
  /* (--atg-section-title-accent-color and --atg-number-color intentionally
      undeclared — accent uses solid --primary, number uses a gradient;
      PHP emits inline overrides if user sets them.) */

  position: relative;
  padding: 120px 0;
}

/* ── Header ───────────────────────────────────────────────── */
.offerings__header {
  text-align: center;
  margin-bottom: 64px;
}

.offerings__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 18px;
  font-family: var(--font-heading, "Inter", system-ui, sans-serif);
  font-size: var(--atg-eyebrow-size);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--atg-eyebrow-color);
}
.offerings__eyebrow::before,
.offerings__eyebrow::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(
    91.21deg,
    #278fb9 -4%,
    rgba(13, 13, 13, 0) 95.04%
  );
}
.offerings__eyebrow::before {
  transform: rotate(180deg);
}
.offerings__title {
  margin: 0;
  font-family: var(--font-heading, "Inter", system-ui, sans-serif);
  font-size: var(--atg-section-title-size);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-white, #ffffff);
}
.offerings__title-plain {
  color: var(--atg-section-title-plain-color);
}
.offerings__title-accent {
  background: linear-gradient(90deg, #00c3d0 71.9%, #ffffff 100.1%);
  webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.offerings__subtitle {
  margin: 16px auto 0;
  max-width: 700px;
  font-family: var(--font-body, "Inter", system-ui, sans-serif);
  font-size: var(--atg-subtitle-size);
  line-height: 1.6;
  color: var(--atg-subtitle-color);
}

/* ── Card list ────────────────────────────────────────────── */
.offerings__list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.offerings__card {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 60px;
  background: rgba(8, 18, 35, 0.6);
  border: 1px solid rgba(0, 195, 208, 0.15);
  border-radius: 32px;
}
.offerings__card--reverse {
  flex-direction: row-reverse;
}

.offerings__media,
.offerings__content {
  flex: 1 1 0;
  min-width: 0;
}

.offerings__media {
  display: flex;
  align-items: center;
  justify-content: center;
}
.offerings__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  border-radius: 16px;
}

/* ── Card content ─────────────────────────────────────────── */
.offerings__number {
  margin: 0 0 16px;
  font-family: var(--font-heading, "Inter", system-ui, sans-serif);
  font-size: var(--atg-number-size);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  background: linear-gradient(
    180deg,
    #00c3d0 0.14%,
    rgba(30, 38, 47, 0.7) 58.62%,
    rgba(1, 5, 9, 0) 83.75%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.offerings__card-title {
  margin: 0 0 24px;
  font-family: var(--font-heading, "Inter", system-ui, sans-serif);
  font-size: var(--atg-card-title-size);
  font-weight: 700;
  line-height: 1.25;
  color: var(--atg-card-title-color);
}

/* Rich content from WYSIWYG — styles any element the editor outputs */
.offerings__rich-content {
  color: var(--atg-card-content-color);
  font-size: var(--atg-card-content-size);
  line-height: 1.65;
}

/* Paragraphs */
.offerings__rich-content p {
  margin: 0 0 16px;
}
.offerings__rich-content p:last-child {
  margin-bottom: 0;
}

/* Unordered list — cyan-dot bullets, matching the original design */
.offerings__rich-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.offerings__rich-content ul li {
  position: relative;
  padding-left: 22px;
}
.offerings__rich-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary, #00c3d0);
}

/* Ordered list — cyan numbers */
.offerings__rich-content ol {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  counter-reset: offerings-ol;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.offerings__rich-content ol li {
  position: relative;
  padding-left: 28px;
  counter-increment: offerings-ol;
}
.offerings__rich-content ol li::before {
  content: counter(offerings-ol) ".";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary, #00c3d0);
  font-weight: 600;
}

/* Inline elements */
.offerings__rich-content strong,
.offerings__rich-content b {
  color: var(--text-white, #ffffff);
  font-weight: 700;
}
.offerings__rich-content em,
.offerings__rich-content i {
  font-style: italic;
}
.offerings__rich-content a {
  color: var(--primary, #00c3d0);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 195, 208, 0.3);
  transition: border-color 0.2s ease;
}
.offerings__rich-content a:hover {
  border-bottom-color: rgba(0, 195, 208, 0.8);
}

/* Last child has no bottom margin (clean card edges) */
.offerings__rich-content > *:last-child {
  margin-bottom: 0;
}

/* ── Tablet ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .offerings-section {
    padding: 80px 0;
  }
}
@media (max-width: 1024px) and (min-width: 768px) {
  .offerings__header {
    margin-bottom: 48px;
  }
  .offerings__card {
    padding: 40px;
    gap: 40px;
  }
  .offerings__img {
    max-height: 420px;
  }
}

/* ── Mobile ───────────────────────────────────────────────── */
@media (max-width: 767px) {
  .offerings-section {
    --atg-subtitle-size: 15px;
    --atg-card-title-size: 22px;
    padding: 60px 0;
  }
  .offerings__header {
    margin-bottom: 36px;
  }
  .offerings__eyebrow {
    gap: 12px;
  }
  .offerings__eyebrow::before,
  .offerings__eyebrow::after {
    width: 36px;
  }

  .offerings__card,
  .offerings__card--reverse {
    flex-direction: column;
    align-items: stretch;
    padding: 32px;
    gap: 32px;
  }
  .offerings__media {
    width: 100%;
  }
  .offerings__img {
    max-height: 320px;
  }

  .offerings__number {
    margin-bottom: 8px;
  }
  .offerings__card-title {
    margin-bottom: 18px;
  }
}
