/* ======================================================
   ARTICLE PAGE STYLES
   Built on top of the shared tokens/nav/footer in styles.css
   ====================================================== */

nav.links a.is-active{
  color: var(--gold-bright);
}
nav.links a.is-active::after{
  transform: scaleX(1);
}

/* ---------- PAGE HEAD ---------- */
.articles-head{
  padding: 150px 0 60px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 55% at 50% 10%, rgba(180,145,91,0.10), transparent 60%),
    var(--void);
}
.articles-head .tag{
  display: block;
  font-size: 0.82rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.articles-head h1{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4rem);
  color: var(--ivory);
}
.articles-head .lede{
  margin: 18px auto 0;
  max-width: 48ch;
  color: var(--ivory-dim);
  font-size: 1.05rem;
}

/* ---------- ARTICLE SECTION ---------- */
.article-section{
  padding: 20px 0 120px;
}
.article-wrap{
  max-width: 760px;
}

.article-header{
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--hairline);
}
.article-header h2{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  line-height: 1.15;
  color: var(--ivory);
}
.article-meta{
  margin-top: 14px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--gold);
}
.article-dek{
  margin-top: 18px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--gold-bright);
  font-weight: 400;
}

.article-body p{
  color: var(--ivory-dim);
  font-size: 1.04rem;
  line-height: 1.75;
  margin-bottom: 22px;
}
.article-body > p:first-of-type{
  color: var(--ivory);
  font-size: 1.14rem;
}
.article-body h3{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--ivory);
  margin: 46px 0 18px;
}
.article-body h3:first-child{
  margin-top: 0;
}

.article-list{
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.article-list li{
  position: relative;
  padding-left: 26px;
  color: var(--ivory-dim);
  font-size: 1.02rem;
  line-height: 1.7;
}
.article-list li::before{
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: var(--gold);
  transform: rotate(45deg);
}
.article-list li strong{
  color: var(--ivory);
  font-weight: 600;
}

/* ---------- TABLES ---------- */
.table-wrap{
  overflow-x: auto;
  margin: 0 0 30px;
  border: 1px solid var(--hairline);
}
.compare-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 440px;
  font-size: 0.95rem;
}
.compare-table th,
.compare-table td{
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--hairline);
}
.compare-table thead th{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--gold-bright);
  background: var(--panel);
}
.compare-table tbody th{
  color: var(--ivory);
  font-weight: 600;
  background: var(--panel);
  white-space: nowrap;
}
.compare-table tbody td{
  color: var(--ivory-dim);
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td{
  border-bottom: none;
}
.compare-table--two-col thead th:first-child{
  color: var(--ivory);
}

.pill{
  display: inline-block;
  padding: 5px 14px;
  border-radius: 2px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pill--lab{
  background: rgba(180,145,91,0.14);
  color: var(--gold-bright);
  border: 1px solid var(--hairline-bright);
}
.pill--natural{
  background: rgba(47,107,70,0.18);
  color: var(--emerald-bright);
  border: 1px solid rgba(75,143,104,0.4);
}

/* ---------- CTA ---------- */
.article-cta{
  margin-top: 48px;
  padding: 40px;
  background: var(--panel);
  border: 1px solid var(--hairline);
  text-align: center;
}
.article-cta p{
  color: var(--ivory-dim);
  font-size: 1.04rem;
  max-width: 52ch;
  margin: 0 auto 26px;
}
.article-cta-actions{
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- SOURCES ---------- */
.article-sources{
  margin-top: 54px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
}
.article-sources h4{
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  margin-bottom: 14px;
}
.article-sources ul{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.article-sources li{
  font-size: 0.85rem;
  color: var(--ivory-dim);
  opacity: 0.75;
}

@media (max-width: 640px){
  .articles-head{ padding: 130px 0 50px; }
  .article-cta{ padding: 30px 22px; }
}
