.article-hero {
  padding: 5rem 0 2.5rem;
  background: linear-gradient(165deg, var(--brand), var(--brand-strong));
  color: #fff;
}

/* Full-bleed image hero (e.g. diabetic retinopathy article) */
.article-hero--banner {
  position: relative;
  padding: 0;
  min-height: clamp(300px, 46vw, 520px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--brand-strong);
}

.article-hero--banner .article-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.article-hero--banner .article-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% center;
}

.article-hero--banner .article-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(
      120% 90% at 12% 88%,
      rgba(8, 32, 14, 0.78) 0%,
      rgba(12, 48, 20, 0.35) 42%,
      transparent 68%
    ),
    linear-gradient(
      105deg,
      rgba(18, 72, 32, 0.45) 0%,
      rgba(18, 65, 22, 0.12) 48%,
      rgba(14, 50, 18, 0.25) 100%
    );
  pointer-events: none;
}

.article-hero--banner .article-hero-inner {
  position: relative;
  z-index: 2;
  align-self: flex-end;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 clamp(1rem, 4vw, 2rem) clamp(1.25rem, 3.5vh, 2.25rem) clamp(1rem, 10vw, 7.5rem);
  box-sizing: border-box;
}

.article-hero--banner .article-hero-heading {
  margin: 0;
  max-width: min(36rem, 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12em;
  text-align: left;
  line-height: 1.12;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.article-hero--banner .article-hero-heading-line1 {
  display: block;
  color: #fff;
  font-size: clamp(1.35rem, 2.8vw + 0.55rem, 2.35rem);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.article-hero--banner .article-hero-heading-line2 {
  display: block;
  color: var(--brand-yellow);
  font-size: clamp(1.55rem, 3.2vw + 0.65rem, 2.85rem);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.article-hero--banner .article-lead,
.article-hero--banner .article-meta {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.article-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.2;
}

.article-hero h1 span:not(.article-hero-heading-line1) {
  color: var(--brand-yellow);
}

.article-hero p {
  margin: 0;
  max-width: 640px;
  color: #e4efe6;
  font-size: 1.05rem;
}

.article-hero .article-lead {
  margin-top: 0.5rem;
  opacity: 0.95;
}

.article-meta {
  margin-top: 1rem;
  font-size: 0.88rem;
  opacity: 0.9;
}

.article-meta a {
  color: var(--brand-yellow);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-meta a:hover {
  color: #fff;
}

.article-feature {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.article-feature img {
  width: 100%;
  height: auto;
  display: block;
}

.article-body {
  max-width: min(1200px, 92%);
  width: 100%;
  margin: 0 auto;
}

.article-body h2 {
  margin-top: 2rem;
  margin-bottom: 0.65rem;
  font-size: 1.35rem;
  color: var(--brand-strong);
}

.article-body h3 {
  margin-top: 1.35rem;
  margin-bottom: 0.45rem;
  font-size: 1.1rem;
}

.article-body p,
.article-body li {
  color: var(--text);
  line-height: 1.7;
}

.article-body ul {
  padding-left: 1.25rem;
}

.article-body li + li {
  margin-top: 0.35rem;
}

/* “What is diabetic retinopathy?” — enhanced layout */
.article-what-is {
  text-align: center;
}

.article-what-is-header {
  margin: 0 0 1.35rem;
}

.article-what-is-header h2 {
  margin: 0;
  padding: 0.7rem 1.35rem;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.8vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #fff;
  background: linear-gradient(135deg, #0a2412 0%, var(--brand-strong) 42%, var(--brand) 100%);
  border-radius: var(--radius-md);
  box-shadow:
    0 4px 18px rgba(18, 65, 22, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.article-what-is-lead {
  margin: 0 auto 2rem;
  max-width: min(48rem, 100%);
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
}

.article-retina-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
  justify-items: stretch;
  max-width: min(56rem, 100%);
  margin: 0 auto;
}

.article-retina-compare-item {
  margin: 0;
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.article-retina-compare-item > img {
  width: 100%;
  height: auto;
  display: block;
}

.article-retina-compare-item figcaption {
  margin: 0;
  padding: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.35;
  text-align: center;
}

.article-retina-compare-note {
  margin: 1.35rem auto 0;
  max-width: min(48rem, 100%);
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.55;
  text-align: center;
}

.article-body .article-good-news {
  margin: 1.4rem auto 0;
  max-width: min(980px, 100%);
  padding: 0.72rem 1.4rem;
  font-size: 0.92rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  color: var(--brand-yellow);
  background: #0b4f1a;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(11, 79, 26, 0.18);
}

.article-body .article-what-is-header h2 {
  margin: 0;
  color: #fff;
}

@media (max-width: 420px) {
  .article-retina-compare {
    gap: 1.25rem;
  }

  .article-body .article-good-news {
    padding: 1rem 1.15rem;
    font-size: 0.95rem;
    border-radius: var(--radius-lg);
  }
}

/* Stages of diabetic retinopathy — infographic-style columns */
.article-stages {
  text-align: center;
}

.article-stages-header {
  margin-bottom: 1.75rem;
}

.article-stages-header h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.8vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--brand-strong);
}

.article-stages-intro {
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted);
}

.article-stages-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: stretch;
  text-align: left;
}

.article-stages-col {
  margin: 0;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.article-stages-col:hover {
  box-shadow: var(--shadow-md);
}

.article-stages-visual {
  width: 100%;
  margin: 0 0 1rem;
  aspect-ratio: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-soft);
  border-radius: var(--radius-sm);
}

.article-stages-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.article-stages-name {
  margin: 0 0 0.75rem;
  width: 100%;
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted);
  line-height: 1.35;
}

.article-stages-desc {
  margin: 0;
  width: 100%;
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
}

.article-stages-desc strong {
  color: var(--brand-strong);
}

.article-stages-desc-icon {
  flex-shrink: 0;
  width: 1.85rem;
  height: 1.85rem;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand) 0%, var(--brand-strong) 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(27, 94, 32, 0.25);
}

.article-stages-desc-icon svg {
  display: block;
}

.article-body .article-stages-header h2 {
  margin-top: 0;
  color: var(--brand-strong);
}

@media (max-width: 640px) {
  .article-stages-grid {
    grid-template-columns: 1fr;
  }

  .article-stages-col {
    max-width: none;
    margin-inline: 0;
  }
}

.article-takeaway {
  text-align: center;
}

/* Single green panel: heading, copy, promos, and CTA in one width-limited box */
.article-takeaway-panel {
  width: 100%;
  max-width: min(720px, 100%);
  margin-inline: auto;
  padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.25rem, 3vw, 2rem);
  text-align: center;
  background: linear-gradient(165deg, #071a0c 0%, #0d2814 42%, #143821 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(7, 26, 12, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-takeaway-panel h2 {
  margin-top: 0;
  margin-bottom: 0.85rem;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.8vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.article-body .article-takeaway-panel > p {
  margin: 0;
  max-width: none;
  color: rgba(255, 255, 255, 0.92);
}

.article-takeaway-panel .article-promo {
  margin-top: 1.5rem;
  padding: 1.35rem 0 0;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.article-takeaway-panel .article-promo li {
  color: var(--brand-yellow);
}

.article-takeaway-panel .article-promo .article-promo-note {
  color: rgba(255, 255, 255, 0.82);
}

.article-takeaway-panel .article-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.5rem;
  padding: 1.35rem 0 0;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.article-takeaway-panel .article-cta p {
  margin: 0 0 1rem;
  font-weight: 600;
  color: #fff;
}

/* Yellow button reads clearly on dark green */
.article-takeaway-panel .btn.btn-primary {
  background: var(--brand-yellow);
  color: var(--brand-strong);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.article-takeaway-panel .btn.btn-primary:hover {
  background: #fff;
  color: var(--brand-strong);
}

/* Center the list block without splitting bullets from text */
.article-takeaway-panel .article-promo ul {
  display: inline-block;
  margin: 0.5rem auto 0;
  padding-left: 1.35rem;
  text-align: left;
  list-style-position: outside;
}

.article-cta {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--surface-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.article-cta p {
  margin: 0 0 1rem;
  font-weight: 600;
  color: var(--brand-strong);
}

.article-takeaway .article-cta p {
  margin-left: auto;
  margin-right: auto;
}

.article-promo {
  margin-top: 2rem;
  padding: 1.35rem 1.5rem;
  background: linear-gradient(135deg, #fff9e6 0%, #fff3c4 100%);
  border: 1px solid rgba(253, 216, 53, 0.5);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.article-promo ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.article-promo li {
  font-weight: 600;
  color: var(--brand-strong);
}

.article-promo .article-promo-note {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
}


@media (max-width: 680px) {
  .article-hero {
    padding: 4rem 0 2rem;
  }

  .article-hero--banner {
    min-height: 260px;
  }

  .article-hero--banner .article-hero-media img {
    object-position: center center;
  }

  .article-hero--banner .article-hero-heading {
    max-width: none;
  }
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0 2.5rem;
}

.article-card {
  padding: 1.5rem;
  background: #f8faf9;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.article-card h3 {
  margin-top: 0 !important;
  color: var(--brand-strong);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.article-card p {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
}

.article-comparison {
  margin: 2.5rem 0;
  text-align: center;
}

.comparison-image-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 1rem;
}

.comparison-image-container img {
  width: 100%;
  height: auto;
  display: block;
}

.comparison-label {
  font-weight: 600;
  color: var(--brand-strong);
  font-size: 0.95rem;
}

.article-comparison-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1rem 0 0;
  text-align: center;
}

.article-comparison-item {
  margin: 0;
}

.article-comparison-item img {
  width: 100%;
  height: auto;
  display: block;
}

.article-comparison-item figcaption {
  margin-top: 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  text-align: center;
}

.article-adjacent {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.article-adjacent-link {
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}

.article-adjacent-link:hover {
  text-decoration: underline;
}

/* Who is at risk? — dark panel + icon grid */
.article-at-risk {
  margin: 0;
}

.article-risk-panel {
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1rem, 2.5vw, 1.75rem);
  background: linear-gradient(165deg, #071a0c 0%, #0d2814 38%, #143821 100%);
  border-radius: var(--radius-lg);
  box-shadow:
    0 12px 40px rgba(7, 26, 12, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.article-risk-head {
  text-align: center;
  margin-bottom: clamp(1.35rem, 3vw, 2rem);
}

.article-risk-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.article-risk-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.article-risk-badge svg {
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.article-risk-head h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.8vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--brand-yellow);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.article-body .article-risk-sub {
  margin: 0.65rem 0 0;
  font-size: clamp(0.92rem, 1.8vw, 1.02rem);
  line-height: 1.5;
  color: #fff;
  max-width: min(52rem, 100%);
  margin-inline: auto;
}

.article-risk-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.35rem) 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-risk-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0.35rem 0.2rem;
}

.article-risk-icon {
  width: clamp(58px, 6.8vw, 78px);
  height: clamp(58px, 6.8vw, 78px);
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.article-risk-label {
  font-size: clamp(0.58rem, 1.1vw, 0.68rem);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.94);
  max-width: 11rem;
}

.article-at-risk-vision {
  margin-top: 2.25rem;
}

.article-body .article-risk-head h2 {
  margin-top: 0;
  color: var(--brand-yellow);
}

@media (max-width: 1100px) {
  .article-risk-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .article-risk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-risk-label {
    max-width: none;
  }
}

.article-body section {
  margin-bottom: 3rem;
}

.article-body section:last-child {
  margin-bottom: 0;
}

.image-full {
  margin: 2rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.image-full img {
  width: 100%;
  height: auto;
  display: block;
}

.highlight-box {
  background: #f0f7f2;
  border-left: 4px solid var(--brand-strong);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
  color: var(--brand-strong);
}

/* Treatment options — dark panel + icon row */
.article-treatment-wrap {
  margin: 0;
}

.article-treatment-panel {
  padding: clamp(1.5rem, 3vw, 2.1rem) clamp(1rem, 2.5vw, 1.5rem);
  background: linear-gradient(165deg, #071a0c 0%, #0d2814 40%, #143821 100%);
  border-radius: var(--radius-lg);
  box-shadow:
    0 12px 40px rgba(7, 26, 12, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.article-treatment-head {
  text-align: center;
  margin-bottom: clamp(1.25rem, 2.5vw, 1.85rem);
}

.article-treatment-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.article-treatment-badge svg {
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.article-treatment-head h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.8vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--brand-yellow);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.article-treatment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.35rem) 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-treatment-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0.25rem 0.15rem;
}

.article-treatment-icon {
  width: clamp(64px, 8.2vw, 96px);
  height: clamp(64px, 8.2vw, 96px);
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.article-treatment-label {
  font-size: clamp(0.55rem, 1vw, 0.66rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.94);
  max-width: 12rem;
}

.article-treatment-note {
  margin: 1.25rem 0 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
  text-align: center;
}

.article-body .article-treatment-head h2 {
  margin: 0;
  color: var(--brand-yellow);
}

@media (max-width: 900px) {
  .article-treatment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .article-treatment-label {
    max-width: none;
  }
}

/* Prevention is possible */
.article-prevention {
  text-align: center;
}

.article-prevention h2 {
  margin: 0 0 1.35rem;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.8vw, 1.65rem);
  font-weight: 700;
  color: var(--brand-strong);
  letter-spacing: -0.02em;
}

.article-prevention-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.article-prevention-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  min-width: 0;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--text);
}

.article-prevention-item span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.article-prevention-check {
  flex-shrink: 0;
  margin-top: 0.12rem;
  display: flex;
}

.article-prevention-check svg {
  display: block;
}

.article-prevention-item--wide {
  grid-column: auto;
  justify-self: stretch;
  max-width: none;
}

@media (max-width: 1024px) {
  .article-prevention-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .article-prevention-list {
    grid-template-columns: 1fr;
  }

  .article-prevention-item--wide {
    grid-column: auto;
    justify-self: stretch;
    max-width: none;
  }
}
