/* Article page styles — Eva Maria Mantziou */

/* Article Hero */
.article-hero {
  background: var(--navy);
  color: var(--ivory);
  padding: clamp(72px, 9vw, 128px) 0 clamp(56px, 7vw, 96px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.article-hero .hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.article-hero .eyebrow { color: var(--gold-soft); display: inline-block; }
.article-hero h1 {
  color: var(--ivory);
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin-top: 22px;
  text-wrap: balance;
}
.article-hero .hero-subtitle {
  color: rgba(245,242,236,0.78);
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.45;
  margin-top: 24px;
  max-width: 54ch;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.article-hero .hero-meta {
  margin-top: 36px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.6);
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.article-hero .hero-meta .author { color: var(--gold-soft); }

.article-hero .hero-art {
  position: relative;
  aspect-ratio: 4/5;
  max-height: 540px;
  width: 100%;
}
.article-hero .hero-art svg {
  width: 100%;
  height: 100%;
  display: block;
}
.article-hero .hero-art .art-frame {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(196,168,120,0.35);
  pointer-events: none;
}
.article-hero .hero-art .art-frame::before,
.article-hero .hero-art .art-frame::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border: 1px solid var(--gold);
}
.article-hero .hero-art .art-frame::before {
  top: -1px; left: -1px;
  border-right: 0; border-bottom: 0;
}
.article-hero .hero-art .art-frame::after {
  bottom: -1px; right: -1px;
  border-left: 0; border-top: 0;
}

@media (max-width: 900px) {
  .article-hero .hero-grid { grid-template-columns: 1fr; }
  .article-hero .hero-art { aspect-ratio: 4/3; max-height: 380px; order: -1; }
}

/* Variant: full-width backdrop image with overlapping headline card */
.article-hero--bg {
  background: var(--paper);
  padding: 0;
  overflow: visible;
  border-bottom: 0;
}
.article-hero--bg .hero-backdrop {
  width: 100%;
  aspect-ratio: 3 / 1;
  max-height: 560px;
  overflow: hidden;
  position: relative;
  background: #0c1822;
}
.article-hero--bg .hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Inline SVG backdrop — for articles without a hero image yet */
.article-hero--bg .hero-backdrop svg {
  position: absolute;
  top: 50%;
  right: 6%;
  transform: translateY(-50%);
  height: 88%;
  width: auto;
  max-width: 40%;
  display: block;
  opacity: 0.85;
}
@media (max-width: 900px) {
  .article-hero--bg .hero-backdrop svg {
    right: 50%;
    transform: translate(50%, -50%);
    max-width: 60%;
    opacity: 0.6;
  }
}
.article-hero--bg .hero-backdrop--svg {
  background: linear-gradient(180deg, #1E2B38 0%, #142230 100%);
}
.article-hero--bg .hero-backdrop--svg::before,
.article-hero--bg .hero-backdrop--svg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.article-hero--bg .hero-backdrop--svg::before {
  background:
    radial-gradient(circle at 20% 30%, rgba(196,168,120,0.08) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(196,168,120,0.05) 0%, transparent 50%);
}
.article-hero--bg .hero-backdrop--svg::after {
  background-image:
    linear-gradient(90deg, rgba(196,168,120,0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(196,168,120,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
}
.article-hero--bg .container {
  position: relative;
  margin-top: clamp(-160px, -13vw, -110px);
  padding-bottom: clamp(40px, 5vw, 72px);
}
.article-hero--bg .hero-card {
  background: var(--paper);
  padding: clamp(36px, 4.5vw, 64px) clamp(32px, 4vw, 72px);
  max-width: 820px;
  margin: 0 auto;
  box-shadow: 0 40px 80px -40px rgba(20, 32, 46, 0.28);
  border: 1px solid rgba(20, 32, 46, 0.06);
  position: relative;
}
.article-hero--bg .hero-card .eyebrow {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 24px;
  white-space: nowrap;
}
.article-hero--bg .hero-card h1 {
  color: var(--navy);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 0;
  text-wrap: balance;
}
.article-hero--bg .hero-card .hero-subtitle {
  color: var(--muted);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.5;
  margin-top: 22px;
  max-width: 58ch;
  font-weight: 400;
  letter-spacing: -0.003em;
}
.article-hero--bg .hero-card .hero-meta {
  margin-top: 32px;
  padding-top: 22px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--rule);
}
.article-hero--bg .hero-card .hero-meta .author { color: var(--gold); }

/* On dark paper sites, keep the crumb above this variant styled accordingly */
.article-hero--bg + section { margin-top: 0; }

@media (max-width: 900px) {
  .article-hero--bg .hero-backdrop { aspect-ratio: 16 / 9; }
  .article-hero--bg .container { margin-top: -60px; }
  .article-hero--bg .hero-card { padding: 32px 24px; }
}

/* Crumb / Back link */
.article-crumb {
  padding: 24px 0 0;
  background: var(--navy);
  color: rgba(245,242,236,0.55);
}
.article-crumb a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.55);
  transition: color .2s ease;
}
.article-crumb a:hover { color: var(--gold-soft); }
.article-crumb--light {
  background: var(--paper);
  padding: 20px 0 20px;
}
.article-crumb--light a { color: var(--muted); }
.article-crumb--light a:hover { color: var(--gold); }

/* Article body */
.article-body {
  padding: clamp(60px, 8vw, 120px) 0;
  background: var(--paper);
}
.article-body .reading-col {
  max-width: 720px;
  margin: 0 auto;
}
.article-body .reading-col > p,
.article-body .reading-col > ol,
.article-body .reading-col > ul {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.68;
  color: var(--ink);
  margin: 0 0 22px;
  letter-spacing: -0.003em;
}
.article-body .reading-col > p.first::first-letter {
  font-family: var(--sans);
  font-size: 3.2em;
  line-height: 0.9;
  font-weight: 500;
  float: left;
  color: var(--gold);
  margin: 6px 10px 0 0;
  letter-spacing: -0.02em;
}
.article-body .reading-col h2 {
  font-size: clamp(26px, 2.4vw, 32px);
  line-height: 1.2;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin: 56px 0 20px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
  position: relative;
}
.article-body .reading-col h2::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--gold);
}
.article-body .reading-col h3 {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.015em;
  margin: 36px 0 14px;
}
.article-body .reading-col ol,
.article-body .reading-col ul { padding-left: 24px; }
.article-body .reading-col li { margin-bottom: 16px; }
.article-body .reading-col li strong { color: var(--navy); font-weight: 500; }

.article-body .reading-col a {
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  transition: color .2s ease, border-color .2s ease;
}
.article-body .reading-col a:hover {
  color: var(--gold);
}

/* Pullquote */
.pullquote {
  margin: 56px -40px;
  padding: 40px;
  border-left: 2px solid var(--gold);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.3;
  color: var(--navy);
  letter-spacing: -0.015em;
  font-weight: 400;
  text-wrap: balance;
}
.pullquote cite {
  display: block;
  margin-top: 20px;
  font-size: 12px;
  font-style: normal;
  font-family: var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 820px) {
  .pullquote { margin: 40px 0; padding: 28px; }
}

/* Data figure (inline graphic) */
.data-figure {
  margin: 48px -40px;
  padding: 32px;
  background: var(--ivory);
  border: 1px solid var(--rule);
}
.data-figure svg { width: 100%; height: auto; display: block; }
.data-figure .fig-caption {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.5;
}
.data-figure .fig-caption .fig-num {
  color: var(--gold);
  font-weight: 600;
  margin-right: 10px;
}
@media (max-width: 820px) {
  .data-figure { margin: 36px 0; padding: 20px; }
}

/* References */
.article-refs {
  max-width: 720px;
  margin: 80px auto 0;
  padding-top: 40px;
  border-top: 2px solid var(--navy);
}
.article-refs h2 {
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.015em;
  margin: 0 0 24px;
}
.article-refs ol {
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: ref;
}
.article-refs li {
  counter-increment: ref;
  padding: 14px 0 14px 36px;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  position: relative;
  word-break: break-word;
}
.article-refs li::before {
  content: counter(ref, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.article-refs li a {
  color: var(--navy);
  border-bottom: 1px solid var(--rule-strong);
  transition: color .2s, border-color .2s;
  word-break: break-all;
}
.article-refs li a:hover {
  color: var(--gold);
  border-color: var(--gold);
}
.article-refs .ref-source {
  color: var(--navy);
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}

/* Author box */
.article-author {
  max-width: 720px;
  margin: 56px auto 0;
  padding: 32px;
  background: var(--navy);
  color: var(--ivory);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
}
.article-author .au-avatar {
  width: 80px;
  height: 100px;
  background: linear-gradient(135deg, #3D5268 0%, #1E2B38 100%);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.article-author .au-avatar::after {
  content: "EMM";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--sans);
  color: var(--gold-soft);
  font-size: 18px;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.article-author h3 {
  color: var(--ivory);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}
.article-author .au-role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 14px;
}
.article-author p {
  color: rgba(245,242,236,0.78);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0 0 14px;
}
.article-author .au-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  border-bottom: 1px solid rgba(196,168,120,0.4);
  padding-bottom: 3px;
}
.article-author .au-cta:hover { color: var(--ivory); border-color: var(--gold); }
@media (max-width: 640px) {
  .article-author { grid-template-columns: 1fr; }
}

/* More writing strip */
.more-writing {
  padding: clamp(72px, 8vw, 120px) 0;
  background: var(--ivory);
  border-top: 1px solid var(--rule);
}
.more-writing .eyebrow { display: block; margin-bottom: 12px; }
.more-writing h2 { margin-bottom: 48px; }
.more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.more-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .25s ease, transform .25s ease;
  position: relative;
}
.more-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.more-card .more-topic {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.more-card h3 {
  font-size: 19px;
  line-height: 1.25;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
.more-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  flex-grow: 1;
}
.more-card .more-date {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}
@media (max-width: 900px) {
  .more-grid { grid-template-columns: 1fr; }
}

/* Statistic callout (inline highlight in text) */
.stat-callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  margin: 36px -20px;
  padding: 24px 28px;
  border-left: 3px solid var(--gold);
  background: rgba(176,141,87,0.06);
}
.stat-callout .s-num {
  font-family: var(--sans);
  font-size: clamp(40px, 4vw, 52px);
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-callout .s-label {
  font-size: 15px;
  color: var(--navy);
  line-height: 1.45;
  margin: 0;
}
@media (max-width: 820px) {
  .stat-callout { margin: 28px 0; }
}
