:root {
  --navy: #0D1B2A;
  --navy-mid: #1C3349;
  --blue: #1A5FB4;
  --blue-bright: #2B7DE3;
  --red: #C0392B;
  --cream: #F7F4EF;
  --off-white: #FDFCFA;
  --muted: #7A8A99;
  --border: rgba(13,27,42,0.10);
  --card: #FFFFFF;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', sans-serif; background: var(--off-white); color: var(--navy); overflow-x: hidden; }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 5%;
  background: rgba(253,252,250,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.logo { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; }
.logo-mark { width: 32px; height: 32px; background: var(--navy); border-radius: 8px; display: grid; place-items: center; }
.logo-mark svg { width: 17px; height: 17px; }
.logo-text { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.15rem; color: var(--navy); letter-spacing: -0.02em; }
.logo-text span { color: var(--blue-bright); font-style: italic; }
nav ul { list-style: none; display: flex; align-items: center; gap: 1.8rem; }
nav ul a { font-size: 0.85rem; font-weight: 500; color: var(--navy); text-decoration: none; opacity: 0.6; transition: opacity 0.2s; }
nav ul a:hover, nav ul a.active { opacity: 1; }
.nav-btn { background: var(--navy) !important; color: #fff !important; opacity: 1 !important; padding: 0.45rem 1.1rem !important; border-radius: 100px; font-size: 0.8rem !important; font-weight: 600 !important; }

/* BREADCRUMB */
.breadcrumb { padding: 0.9rem 5%; font-size: 0.78rem; color: var(--muted); display: flex; align-items: center; gap: 0.5rem; border-bottom: 1px solid var(--border); background: var(--cream); }
.breadcrumb a { color: var(--blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { opacity: 0.5; }

/* ARTICLE LAYOUT */
.article-container { max-width: 780px; margin: 0 auto; padding: 3.5rem 5%; }
.article-header { margin-bottom: 2.5rem; }
.article-cat { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-bright); margin-bottom: 1rem; display: block; }
.article-title { font-family: 'Fraunces', serif; font-weight: 900; font-size: clamp(1.9rem, 3.5vw, 3rem); line-height: 1.1; letter-spacing: -0.025em; color: var(--navy); margin-bottom: 1.2rem; }
.article-title em { font-style: italic; font-weight: 400; }
.article-lead { font-size: 1.05rem; font-weight: 300; line-height: 1.85; color: #4A5A6A; border-left: 3px solid var(--blue-bright); padding-left: 1.2rem; margin-bottom: 2rem; }
.article-meta { display: flex; align-items: center; gap: 1rem; font-size: 0.78rem; color: var(--muted); padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }

/* ARTICLE HERO IMAGE */
.article-hero-img { width: 100%; border-radius: 16px; overflow: hidden; margin-bottom: 2.5rem; aspect-ratio: 16/7; object-fit: cover; }

/* ARTICLE BODY */
.article-body h2 { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.45rem; color: var(--navy); margin: 2.5rem 0 1rem; letter-spacing: -0.02em; line-height: 1.25; }
.article-body h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; font-size: 1rem; color: var(--navy); margin: 1.8rem 0 0.7rem; }
.article-body p { font-size: 0.96rem; font-weight: 300; line-height: 1.85; color: #3A4A5A; margin-bottom: 1.2rem; }
.article-body strong { font-weight: 600; color: var(--navy); }
.article-body ul, .article-body ol { margin: 1rem 0 1.5rem 1.5rem; }
.article-body li { font-size: 0.94rem; font-weight: 300; line-height: 1.8; color: #3A4A5A; margin-bottom: 0.4rem; }

/* CALLOUT BOX */
.callout { background: rgba(43,125,227,0.07); border: 1px solid rgba(43,125,227,0.2); border-left: 4px solid var(--blue-bright); border-radius: 12px; padding: 1.4rem 1.6rem; margin: 2rem 0; }
.callout.warning { background: rgba(192,57,43,0.06); border-color: rgba(192,57,43,0.2); border-left-color: var(--red); }
.callout.success { background: rgba(26,158,90,0.06); border-color: rgba(26,158,90,0.2); border-left-color: #1A9E5A; }
.callout-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.5rem; color: var(--blue-bright); }
.callout.warning .callout-title { color: var(--red); }
.callout.success .callout-title { color: #1A9E5A; }
.callout p { font-size: 0.9rem; margin-bottom: 0; color: #3A4A5A; line-height: 1.75; }

/* TABLE */
.article-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0 2rem; font-size: 0.88rem; }
.article-table th { background: var(--navy); color: #fff; padding: 0.75rem 1rem; text-align: left; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.04em; }
.article-table th:first-child { border-radius: 10px 0 0 0; }
.article-table th:last-child { border-radius: 0 10px 0 0; }
.article-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); font-weight: 300; color: #3A4A5A; vertical-align: top; }
.article-table tr:last-child td { border-bottom: none; }
.article-table tr:nth-child(even) td { background: var(--cream); }

/* EN BREF BOX */
.en-bref { background: var(--cream); border: 1px solid var(--border); border-radius: 16px; padding: 1.6rem 1.8rem; margin-bottom: 2.5rem; }
.en-bref-title { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1rem; color: var(--navy); margin-bottom: 1rem; font-style: italic; }
.en-bref ul { list-style: none; margin: 0; }
.en-bref ul li { font-size: 0.88rem; font-weight: 300; color: #3A4A5A; padding: 0.4rem 0; border-bottom: 1px solid var(--border); line-height: 1.65; display: flex; align-items: flex-start; gap: 0.6rem; }
.en-bref ul li:last-child { border-bottom: none; }
.en-bref ul li::before { content: '→'; color: var(--blue-bright); flex-shrink: 0; font-weight: 600; }

/* CTA BANNER */
.cta-banner { background: var(--navy); border-radius: 20px; padding: 2.5rem; text-align: center; margin: 3rem 0; }
.cta-banner h3 { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.4rem; color: #fff; margin-bottom: 0.7rem; letter-spacing: -0.02em; }
.cta-banner h3 em { font-style: italic; font-weight: 400; }
.cta-banner p { font-size: 0.88rem; color: rgba(255,255,255,0.5); font-weight: 300; margin-bottom: 1.5rem; line-height: 1.7; }
.btn-main { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--blue-bright); color: #fff; padding: 0.85rem 1.8rem; border-radius: 100px; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.03em; text-decoration: none; border: none; cursor: pointer; transition: background 0.2s, transform 0.2s; }
.btn-main:hover { background: #1A5FB4; transform: translateY(-1px); }

/* RELATED ARTICLES */
.related { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--border); }
.related-title { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.2rem; color: var(--navy); margin-bottom: 1.5rem; letter-spacing: -0.02em; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.related-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; display: block; }
.related-card:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,0,0,0.07); }
.related-card-img { height: 110px; overflow: hidden; }
.related-card-img img { width: 100%; height: 100%; object-fit: cover; }
.related-card-body { padding: 1rem; }
.related-card-cat { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-bright); margin-bottom: 0.4rem; display: block; }
.related-card h4 { font-family: 'Fraunces', serif; font-weight: 700; font-size: 0.88rem; color: var(--navy); line-height: 1.35; letter-spacing: -0.01em; }

/* FOOTER */
footer { background: #070E16; padding: 2.2rem 5%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 4rem; }
.footer-links { display: flex; gap: 1.8rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.78rem; color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.7); }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.2); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 700px) {
  .related-grid { grid-template-columns: 1fr; }
  nav ul { display: none; }
}
