/* EATTA – News article page (news-article.html and copies). Load after base.css. */

/* ---------- Header ---------- */
.article-hero h1 { max-width: 48rem; }
.article-meta { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; color: rgba(255,255,255,.8); font-size: .95rem; }
.article-meta li + li::before { content: "\2022"; color: var(--gold-500); margin-right: 1.5rem; margin-left: -.9rem; }

/* ---------- Figures ---------- */
.article-figure { margin: 2rem 0; }
.article-figure img { display: block; width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--green-100); }
.article-figure figcaption { font-size: .88rem; color: var(--muted); margin-top: .6rem; padding-left: .75rem; border-left: 3px solid var(--gold-500); }
.lead-figure { margin-top: 0; }
.lead-figure img { aspect-ratio: 16/9; object-fit: cover; }

/* ---------- Body text ---------- */
.article-body { font-size: 1.1rem; line-height: 1.8; max-width: 44rem; }
.article-body p { margin-bottom: 1.3rem; }
.article-body .article-lead { font-size: 1.3rem; line-height: 1.6; color: var(--green-900); }
.article-body .article-lead::first-letter {
  float: left; font-family: var(--font-display); font-size: 4.4rem; line-height: .8;
  padding: .4rem .6rem 0 0; color: var(--gold-600); font-weight: 700;
}
.article-body h2 { font-size: 1.9rem; margin: 2.5rem 0 1rem; }
.article-body ul, .article-body ol { margin-bottom: 1.4rem; padding-left: 1.3rem; }
.article-body li { margin-bottom: .5rem; }
.article-body li::marker { color: var(--gold-600); }

.pull-quote {
  border-left: 4px solid var(--gold-500); padding: .5rem 0 .5rem 1.4rem; margin: 2.25rem 0;
  font-family: var(--font-display); font-size: 1.7rem; font-style: italic; line-height: 1.35; color: var(--green-800);
}
.pull-quote cite { display: block; margin-top: .6rem; font-family: var(--font-body); font-size: .95rem; font-style: normal; color: var(--muted); }
.pull-quote cite::before { content: "\2014\00a0"; }

/* ---------- Share + back ---------- */
.article-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
  margin-top: 2.5rem; padding: 1.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.share { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.share > span:first-child { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); margin-right: .25rem; }
.share a, .share button {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--gold-500); background: var(--paper); color: var(--green-800); padding: 0;
}
.share a:hover, .share button:hover { background: var(--green-800); color: var(--gold-200); }
.share svg { width: 16px; height: 16px; fill: currentColor; }
.share button svg { fill: none; }
.copied { font-size: .85rem; color: var(--green-800); font-weight: 600; }

/* ---------- Previous / next ---------- */
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.75rem; }
.pn { display: block; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; }
.pn:hover { border-color: var(--gold-500); }
.pn small { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); font-weight: 700; }
.pn span { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--green-900); line-height: 1.25; }
.pn.next { text-align: right; }

/* ---------- Sidebar ---------- */
.side-block { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.side-block h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.related { display: flex; gap: .9rem; align-items: center; text-decoration: none; padding: .75rem 0; border-top: 1px dashed var(--line); }
.related:first-of-type { border-top: 0; padding-top: 0; }
.related img { flex: 0 0 84px; width: 84px; height: 64px; object-fit: cover; border-radius: 4px; background: var(--green-100); }
.related strong { display: block; color: var(--green-900); font-size: .97rem; line-height: 1.35; margin-top: .3rem; }
.related:hover strong { color: var(--gold-600); }

.side-block.media-panel { background: var(--green-900); border-color: var(--green-900); color: #fff; }
.side-block.media-panel h3 { color: var(--gold-500); }
.side-block.media-panel p { color: rgba(255,255,255,.82); }
.side-block.media-panel a { color: var(--gold-200); }

@media (min-width: 992px) {
  aside .side-block:first-child { position: sticky; top: 110px; }
}
@media (max-width: 575.98px) {
  .prev-next { grid-template-columns: 1fr; }
  .pn.next { text-align: left; }
  .article-body { font-size: 1.05rem; }
  .pull-quote { font-size: 1.4rem; }
}
