@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,400&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --navy: #0f1923;
  --navy-mid: #1a2a3a;
  --navy-light: #243447;
  --amber: #d4872a;
  --amber-light: #e8a04a;
  --slate: #8096aa;
  --cream: #f5f0e8;
  --warm-white: #faf8f4;
  --text: #1e2d3d;
  --text-light: #5a6e80;
  --border: #ddd6c8;
  --red-pill: #c0392b;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Serif 4', Georgia, serif;
  background: var(--warm-white);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ─── COOKIE BANNER ─── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--navy); color: #fff;
  padding: 1rem 0; z-index: 9999;
  border-top: 3px solid var(--amber);
  display: none;
}
.cookie-banner.visible { display: block; }
.cookie-banner .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.cookie-banner p { font-family: 'DM Sans', sans-serif; font-size: 0.875rem; color: #c8d4df; }
.cookie-banner a { color: var(--amber-light); text-decoration: underline; }
.cookie-btns { display: flex; gap: 0.5rem; flex-shrink: 0; }
.btn-accept { background: var(--amber); color: #fff; border: none; padding: 0.4rem 1.1rem; border-radius: 3px; font-family: 'DM Sans', sans-serif; font-size: 0.85rem; cursor: pointer; font-weight: 500; }
.btn-decline { background: transparent; color: #8096aa; border: 1px solid #3a4e62; padding: 0.4rem 1rem; border-radius: 3px; font-family: 'DM Sans', sans-serif; font-size: 0.85rem; cursor: pointer; }

/* ─── TOPBAR ─── */
.topbar {
  background: var(--navy);
  border-bottom: 1px solid var(--navy-light);
  padding: 0.45rem 0;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  font-family: 'DM Sans', sans-serif; font-size: 0.78rem; color: var(--slate);
}
.topbar-date { letter-spacing: 0.05em; text-transform: uppercase; }
.topbar-tag { color: var(--amber); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }

/* ─── HEADER ─── */
.site-header {
  background: var(--navy);
  padding: 1.5rem 0 1.2rem;
  border-bottom: 3px solid var(--amber);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.site-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.85rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}
.site-logo span { color: var(--amber); }
.logo-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  color: var(--slate);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}
.site-nav ul { display: flex; list-style: none; gap: 0.25rem; }
.site-nav a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #c8d4df;
  padding: 0.45rem 0.9rem;
  border-radius: 3px;
  letter-spacing: 0.03em;
  transition: color 0.2s, background 0.2s;
}
.site-nav a:hover, .site-nav a.active { color: #fff; background: var(--navy-light); }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.4rem; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: #c8d4df; margin: 4px 0; border-radius: 2px; transition: 0.3s; }

/* ─── CONTAINER ─── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }

/* ─── PAGE HEADER ─── */
.page-header {
  background: var(--navy-mid);
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--navy-light);
}
.page-header .breadcrumb {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  color: var(--slate);
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}
.page-header .breadcrumb a { color: var(--amber-light); }
.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.page-header p {
  font-family: 'DM Sans', sans-serif;
  color: var(--slate);
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

/* ─── ARTICLES GRID ─── */
.articles-section { padding: 3.5rem 0 4rem; }
.section-header {
  display: flex; align-items: baseline; justify-content: space-between;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 0.75rem;
  margin-bottom: 2rem;
}
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.section-header h2 span { color: var(--amber); }
.section-meta {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  color: var(--text-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 900px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .articles-grid { grid-template-columns: 1fr; } }

/* ─── CARD ─── */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex; flex-direction: column;
}
.card:hover { box-shadow: 0 6px 28px rgba(15,25,35,0.13); transform: translateY(-3px); }
.card-img { overflow: hidden; aspect-ratio: 16/9; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.card-cat {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.5rem;
  display: block;
}
.card-cat.hot { color: var(--red-pill); }
.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.card h3 a:hover { color: var(--amber); }
.card p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 1rem;
}
.card-foot {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin-top: auto;
}
.card-foot span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  color: var(--text-light);
}
.card-read {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--amber);
  transition: color 0.2s;
}
.card-read:hover { color: var(--navy); }

/* ─── EDUCATIONAL NOTICE ─── */
.edu-notice {
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.edu-notice p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  color: var(--text-light);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.edu-notice a { color: var(--amber); text-decoration: underline; }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--navy);
  color: #c8d4df;
  padding: 3.5rem 0 0;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--navy-light);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { }
.footer-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
}
.footer-logo-text span { color: var(--amber); }
.footer-brand p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.84rem;
  color: var(--slate);
  margin-top: 0.75rem;
  line-height: 1.6;
}
.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: #8096aa;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--amber-light); }
.footer-contact-item {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.84rem;
  color: var(--slate);
  margin-bottom: 0.4rem;
}
.footer-contact-item a { color: var(--slate); }
.footer-contact-item a:hover { color: var(--amber-light); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 0;
  flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  color: #4a5e70;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  color: #4a5e70;
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--slate); }
.footer-disclaimer {
  background: rgba(0,0,0,0.2);
  padding: 0.75rem 0;
}
.footer-disclaimer p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  color: #3a4e62;
  text-align: center;
}

/* ─── ARTICLE PAGE ─── */
.article-header {
  background: var(--navy-mid);
  padding: 2.5rem 0 2rem;
  border-bottom: 3px solid var(--amber);
}
.art-breadcrumb {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  color: var(--slate);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}
.art-breadcrumb a { color: var(--amber-light); }
.art-breadcrumb a:hover { text-decoration: underline; }
.art-cat-pill {
  display: inline-block;
  background: var(--amber);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}
.article-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  max-width: 780px;
  margin-bottom: 1rem;
}
.art-meta-strip {
  display: flex; gap: 1rem; flex-wrap: wrap;
}
.art-meta-pill {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: var(--slate);
  background: rgba(255,255,255,0.06);
  padding: 0.3rem 0.8rem;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.08);
}
.art-meta-pill strong { color: #c8d4df; }

.article-body { padding: 3rem 0 4rem; }
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; }
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } }

.art-feat-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 3px;
  margin-bottom: 0.5rem;
}
.art-img-caption {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-style: italic;
}

.article-content .lead {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--navy-mid);
  line-height: 1.7;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  font-style: italic;
}
.article-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
}
.article-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy-mid);
  margin: 1.5rem 0 0.5rem;
}
.article-content p { margin-bottom: 1.2rem; }
.article-content ul { margin: 0 0 1.2rem 1.5rem; }
.article-content ul li { margin-bottom: 0.5rem; }
.article-content strong { font-weight: 600; color: var(--navy); }
.article-content em { font-style: italic; }

/* stat row */
.stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; margin: 2rem 0;
  background: var(--navy);
  border-radius: 4px;
  padding: 1.5rem;
}
@media (max-width: 580px) { .stat-row { grid-template-columns: 1fr; } }
.stat-row .s-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-row .s-lbl {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  color: var(--slate);
}

/* info box */
.info-box {
  background: var(--cream);
  border-left: 4px solid var(--amber);
  border-radius: 0 4px 4px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}
.info-box h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.info-box p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 0; }
.info-box a { color: var(--amber); font-weight: 600; }

/* warning box */
.warning-box {
  background: #fff8f0;
  border-left: 4px solid #d4872a;
  border-radius: 0 4px 4px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}
.warning-box h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.4rem;
}
.warning-box p { font-size: 0.875rem; color: var(--text-light); margin-bottom: 0; }

/* ad box */
.ad-box {
  background: #f0f7ff;
  border: 1px solid #bfdbfe;
  border-left: 4px solid #1d4ed8;
  border-radius: 0 4px 4px 0;
  padding: 1.4rem 1.6rem;
  margin: 2rem 0;
}
.ad-box h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: #1e3a8a;
  margin-bottom: 0.6rem;
}
.ad-box p { font-size: 0.88rem; color: #374151; margin-bottom: 0.75rem; }
.ad-box a { color: #1d4ed8; font-weight: 600; font-family: 'DM Sans', sans-serif; }

/* art tags */
.art-tags {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
}
.art-tags strong { color: var(--text-light); margin-right: 0.5rem; }
.tag {
  display: inline-block;
  background: var(--cream);
  color: var(--text-light);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.2rem 0.6rem;
  margin: 0.2rem 0.2rem 0.2rem 0;
  font-size: 0.78rem;
  transition: background 0.2s, color 0.2s;
}
.tag:hover { background: var(--amber); color: #fff; border-color: var(--amber); }

/* sidebar */
.article-sidebar {}
.sidebar-widget {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.sidebar-widget h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--navy);
}
.rel-list { list-style: none; }
.rel-list li { padding: 0.6rem 0; border-bottom: 1px solid var(--border); }
.rel-list li:last-child { border-bottom: none; padding-bottom: 0; }
.rel-cat {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.2rem;
}
.rel-list a {
  font-family: 'Source Serif 4', serif;
  font-size: 0.88rem;
  color: var(--navy);
  line-height: 1.35;
  transition: color 0.2s;
}
.rel-list a:hover { color: var(--amber); }
.author-row { display: flex; align-items: center; gap: 0.85rem; }
.author-av {
  width: 42px; height: 42px;
  background: var(--navy);
  color: var(--amber);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.author-info h4 { font-family: 'DM Sans', sans-serif; font-size: 0.88rem; font-weight: 600; color: var(--navy); }
.author-info p { font-family: 'DM Sans', sans-serif; font-size: 0.78rem; color: var(--text-light); margin: 0; }

/* pullquote */
.pullquote {
  border-left: 4px solid var(--amber);
  margin: 2rem 0;
  padding: 0.5rem 0 0.5rem 1.5rem;
}
.pullquote p {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 0.4rem;
}
.pullquote cite {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  color: var(--text-light);
  font-style: normal;
}

/* responsive nav */
@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-mid); border-top: 1px solid var(--navy-light); z-index: 100; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding: 0.5rem; }
  .site-nav a { display: block; padding: 0.75rem 1rem; }
  .site-header { position: relative; }
  .header-inner { flex-wrap: wrap; }
  .article-header h1 { font-size: 1.5rem; }
}
