:root {
  --article-ink: var(--heading-text, #243447);
  --article-muted: var(--muted-text, #64748b);
  --article-line: var(--line, #d8e3e0);
  --article-surface: rgba(255, 255, 255, 0.92);
  --article-accent: var(--primary-green, #0f6b57);
  --article-gold: var(--accent-gold, #a66a00);
}

.article-hero {
  overflow: hidden;
  position: relative;
  border-color: rgba(var(--primary-green-rgb), 0.18);
  background:
    linear-gradient(135deg, rgba(var(--primary-green-rgb), 0.1), rgba(255, 255, 255, 0.96) 48%, rgba(166, 106, 0, 0.08)),
    var(--article-surface);
}

.article-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  padding: clamp(10px, 2vw, 22px) 0;
  margin-left: 0;
  margin-right: auto;
}

.article-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--article-accent);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.article-eyebrow-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--article-gold);
  box-shadow: 0 0 0 5px rgba(166, 106, 0, 0.13);
}

.article-title {
  max-width: 880px;
  margin: 14px 0 0;
  color: var(--article-ink);
  font-size: clamp(2.45rem, 5vw, 5rem);
  font-weight: 850;
  line-height: 0.98;
}

.article-subtitle {
  max-width: 820px;
  margin: 20px 0 0;
  color: var(--article-muted);
  font-size: clamp(1.04rem, 1.4vw, 1.28rem);
  line-height: 1.75;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: var(--article-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.article-meta-divider {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(var(--primary-green-rgb), 0.36);
}

.article-related-chips {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.article-related-chips a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(var(--primary-green-rgb), 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-dark, #084c3f);
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.article-related-chips a:hover,
.article-related-chips a:focus-visible {
  border-color: rgba(var(--primary-green-rgb), 0.36);
  background: rgba(var(--primary-green-rgb), 0.08);
  outline: none;
}

.article-wrapper {
  width: min(100%, 1040px);
  display: grid;
  gap: 18px;
  border: 1px solid var(--article-line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(251, 254, 253, 0.92)),
    #ffffff;
  padding: clamp(18px, 4vw, 52px);
  box-shadow: 0 24px 70px rgba(var(--heading-text-rgb), 0.09);
}

.article-hero-picture {
  display: block;
  width: 100%;
}

.article-hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 853;
  max-height: 420px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(var(--primary-green-rgb), 0.16);
  border-radius: 8px;
  margin-bottom: clamp(10px, 2vw, 24px);
  box-shadow: 0 20px 50px rgba(var(--heading-text-rgb), 0.14);
}

.article-wrapper > p,
.article-footer p {
  max-width: 760px;
  margin: 0;
  color: var(--text, #334155);
  font-size: clamp(1.02rem, 1.12vw, 1.13rem);
  line-height: 1.85;
}

.article-wrapper > h2 {
  max-width: 760px;
  margin: clamp(26px, 5vw, 54px) 0 4px;
  color: var(--article-ink);
  font-size: clamp(1.72rem, 2.8vw, 2.45rem);
  font-weight: 850;
  line-height: 1.14;
}

.article-wrapper > h2::before {
  content: "";
  display: block;
  width: 46px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--article-accent), var(--article-gold));
  margin-bottom: 14px;
}

.article-wrapper blockquote {
  max-width: 820px;
  margin: clamp(20px, 3vw, 34px) 0;
  border: 1px solid rgba(var(--primary-green-rgb), 0.18);
  border-left: 5px solid var(--article-accent);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(var(--primary-green-rgb), 0.08), rgba(166, 106, 0, 0.05)),
    #ffffff;
  color: var(--article-ink);
  padding: clamp(18px, 3vw, 30px);
  font-size: clamp(1.14rem, 1.6vw, 1.42rem);
  font-weight: 760;
  line-height: 1.62;
  box-shadow: 0 14px 34px rgba(var(--heading-text-rgb), 0.08);
}

.article-list {
  max-width: 760px;
  margin: 8px 0 4px;
  padding-left: 22px;
  color: var(--text, #334155);
  font-size: clamp(1.02rem, 1.12vw, 1.13rem);
  line-height: 1.78;
}

.article-list li {
  margin-bottom: 8px;
}

.article-list.compact {
  display: grid;
  gap: 8px;
  padding-left: 0;
  list-style: none;
}

.article-list.compact li {
  width: fit-content;
  border: 1px solid rgba(var(--primary-green-rgb), 0.16);
  border-radius: 8px;
  background: rgba(var(--primary-green-rgb), 0.06);
  padding: 8px 12px;
  color: var(--article-ink);
  font-weight: 800;
}

.article-snapshot,
.article-decision-grid {
  max-width: 820px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: clamp(24px, 4vw, 42px) 0 0;
}

.article-snapshot > div,
.article-decision-grid > div {
  border: 1px solid rgba(var(--primary-green-rgb), 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(var(--primary-green-rgb), 0.07), rgba(255, 255, 255, 0.94)),
    #ffffff;
  padding: clamp(16px, 2.5vw, 24px);
  box-shadow: 0 14px 32px rgba(var(--heading-text-rgb), 0.07);
}

.article-snapshot span {
  color: var(--article-gold);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.article-snapshot strong,
.article-decision-grid h3 {
  display: block;
  margin: 8px 0;
  color: var(--article-ink);
  font-size: 1.08rem;
  line-height: 1.35;
}

.article-snapshot p {
  margin: 0;
  color: var(--article-muted);
  line-height: 1.65;
}

.article-decision-grid ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--text, #334155);
  line-height: 1.65;
}

.article-pros-cons {
  max-width: 920px;
  display: grid;
  gap: 16px;
  margin: clamp(22px, 4vw, 38px) 0 0;
}

.article-pros-cons article {
  border: 1px solid rgba(var(--primary-green-rgb), 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(var(--primary-green-rgb), 0.06), rgba(255, 255, 255, 0.96)),
    #ffffff;
  padding: clamp(16px, 3vw, 26px);
  box-shadow: 0 14px 34px rgba(var(--heading-text-rgb), 0.07);
}

.article-pros-cons h3 {
  margin: 0 0 16px;
  color: var(--article-ink);
  font-size: clamp(1.22rem, 2vw, 1.55rem);
  line-height: 1.25;
}

.pros-cons-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pros-cons-columns > div {
  border: 1px solid rgba(var(--primary-green-rgb), 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  padding: 14px 16px;
}

.pros-cons-columns h4 {
  margin: 0 0 10px;
  color: var(--article-accent);
  font-size: 0.88rem;
  font-weight: 850;
  text-transform: uppercase;
}

.pros-cons-columns div:last-child h4 {
  color: var(--article-gold);
}

.pros-cons-columns ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text, #334155);
  line-height: 1.62;
}

.pros-cons-columns li {
  margin-bottom: 8px;
}

.article-table-wrap {
  max-width: 820px;
  overflow-x: auto;
  margin: clamp(22px, 4vw, 36px) 0;
  border: 1px solid var(--article-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(var(--heading-text-rgb), 0.08);
}

.article-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.article-table th,
.article-table td {
  border-bottom: 1px solid var(--article-line);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

.article-table th {
  background: rgba(var(--primary-green-rgb), 0.08);
  color: var(--article-ink);
  font-size: 0.86rem;
  font-weight: 850;
  text-transform: uppercase;
}

.article-table td {
  color: var(--text, #334155);
  line-height: 1.55;
}

.article-table tr:last-child td {
  border-bottom: 0;
}

.rhythm-text {
  position: relative;
  padding-left: 20px;
}

.rhythm-text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.86em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(var(--primary-green-rgb), 0.64);
}

.article-wrapper .related-links {
  max-width: 760px;
  width: auto;
  margin: 34px 0 !important;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
}

.article-wrapper .related-links a {
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(var(--primary-green-rgb), 0.08), rgba(255, 255, 255, 0.96)),
    #ffffff;
  padding: 10px 16px;
  text-align: center;
  font-weight: 800;
  flex: 0 1 auto;
}

.article-wrapper .insight-box {
  max-width: 820px;
  margin: clamp(28px, 4vw, 48px) 0 0;
  padding: clamp(18px, 3vw, 28px);
}

.insight-box-label {
  margin-bottom: 8px;
  color: var(--article-accent);
  font-size: 0.86rem;
  font-weight: 850;
  text-transform: uppercase;
}

.article-footer {
  max-width: 820px;
  width: 100%;
  margin: clamp(28px, 4vw, 48px) 0 0;
  border-top: 1px solid var(--article-line);
  padding-top: 20px;
}

.article-footer p {
  max-width: none;
  color: var(--article-muted);
  font-size: 0.96rem;
}

.article-footer a {
  padding-block: 4px;
  line-height: 1.7;
  text-underline-offset: 3px;
}

:root[data-theme="dark"] .article-hero,
:root[data-theme="dark"] .article-wrapper {
  background:
    linear-gradient(145deg, rgba(var(--primary-green-rgb), 0.12), rgba(13, 36, 33, 0.94)),
    var(--surface);
  border-color: rgba(125, 184, 168, 0.22);
}

:root[data-theme="dark"] .article-related-chips a,
:root[data-theme="dark"] .article-wrapper blockquote,
:root[data-theme="dark"] .article-wrapper .related-links a,
:root[data-theme="dark"] .article-snapshot > div,
:root[data-theme="dark"] .article-decision-grid > div,
:root[data-theme="dark"] .article-pros-cons article,
:root[data-theme="dark"] .pros-cons-columns > div,
:root[data-theme="dark"] .article-table-wrap,
:root[data-theme="dark"] .article-list.compact li {
  background: rgba(10, 31, 28, 0.88);
  border-color: rgba(125, 184, 168, 0.26);
  color: var(--text);
}

:root[data-theme="dark"] .article-table th {
  background: rgba(var(--primary-green-rgb), 0.14);
}

:root[data-theme="dark"] .article-hero-image {
  border-color: rgba(125, 184, 168, 0.26);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.32);
}

:root[data-theme="dark"] .article-wrapper > p,
:root[data-theme="dark"] .article-footer p {
  color: var(--text);
}

@media (max-width: 900px) {
  .article-title {
    line-height: 1.04;
  }

  .article-wrapper .related-links {
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .article-hero {
    padding: 22px;
  }

  .article-title {
    font-size: clamp(2.05rem, 12vw, 2.85rem);
  }

  .article-wrapper {
    padding: 18px;
  }

  .article-wrapper > p,
  .article-footer p {
    font-size: 1rem;
    line-height: 1.78;
  }

  .article-wrapper blockquote {
    padding: 18px;
    font-size: 1.08rem;
  }

  .article-snapshot,
  .article-decision-grid,
  .pros-cons-columns {
    grid-template-columns: 1fr;
  }
}
