:root {
    --navy: #262c50;
    --navy-deep: #171b34;
    --ink: #24283b;
    --muted: #677083;
    --line: #e4e7ee;
    --paper: #ffffff;
    --soft: #f6f7fa;
    --green: #25d366;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1.75;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(38, 44, 80, .97);
    box-shadow: 0 2px 14px rgba(12, 16, 38, .18);
}
.site-header-inner {
    width: min(1180px, calc(100% - 36px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.site-logo img { display: block; width: 164px; height: auto !important; max-height: 86px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: #fff; font-weight: 600; text-decoration: none; font-size: .92rem; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--green); }
.container { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }
.breadcrumbs { padding: 24px 0 0; color: var(--muted); font-size: .84rem; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs span { padding: 0 8px; }
.article-hero { padding: 54px 0 42px; background: linear-gradient(145deg, #f7f8fb, #fff 68%); border-bottom: 1px solid var(--line); }
.eyebrow { display: inline-block; margin-bottom: 16px; color: var(--navy); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.article-hero h1 { max-width: 920px; margin: 0 0 20px; color: var(--navy-deep); font-size: clamp(2rem, 5vw, 3.65rem); line-height: 1.12; letter-spacing: -.035em; }
.article-lead { max-width: 820px; margin: 0 0 22px; color: #4f586d; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.article-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--muted); font-size: .88rem; }
.article-byline strong { color: var(--ink); }
.cover { width: min(1120px, calc(100% - 36px)); max-height: 610px; margin: 42px auto -4px; overflow: hidden; border-radius: 16px; box-shadow: 0 20px 55px rgba(22, 27, 52, .14); }
.cover img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; display: block; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 260px; justify-content: space-between; gap: 64px; padding: 64px 0 82px; }
.article-content { min-width: 0; font-size: 1.06rem; overflow-wrap: anywhere; }
.article-content h2, .article-content h3, .article-content h4 { color: var(--navy-deep); line-height: 1.25; letter-spacing: -.018em; scroll-margin-top: 100px; }
.article-content h2 { margin: 2.3em 0 .75em; font-size: clamp(1.55rem, 3vw, 2.1rem); }
.article-content h3 { margin: 1.9em 0 .65em; font-size: 1.35rem; }
.article-content p { margin: 0 0 1.35em; }
.article-content ul, .article-content ol { margin: 0 0 1.5em; padding-left: 1.45em; }
.article-content li { margin-bottom: .55em; }
.article-content blockquote { margin: 2em 0; padding: 20px 24px; color: #343b58; background: var(--soft); border-left: 4px solid var(--navy); border-radius: 0 10px 10px 0; }
.article-content a { color: #1c4c9c; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-content img { display: block; margin: 28px auto; border-radius: 10px; }
.article-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.article-content th, .article-content td { padding: 12px; border: 1px solid var(--line); text-align: left; }
.geo-answer { margin: 0 0 34px; padding: 24px 26px; background: #f2f4f9; border: 1px solid #dfe3ed; border-radius: 12px; }
.geo-answer strong { display: block; margin-bottom: 6px; color: var(--navy); }
.article-aside { align-self: start; position: sticky; top: 108px; }
.aside-card { padding: 22px; background: var(--navy); color: #fff; border-radius: 12px; box-shadow: 0 12px 30px rgba(23, 27, 52, .14); }
.aside-card h2 { margin: 0 0 10px; font-size: 1.15rem; }
.aside-card p { margin: 0 0 18px; color: #e4e6ef; font-size: .9rem; line-height: 1.6; }
.whatsapp-button { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 10px 16px; color: #102116; background: var(--green); border-radius: 8px; font-weight: 800; text-decoration: none; }
.faq { margin-top: 56px; padding-top: 8px; border-top: 1px solid var(--line); }
.faq h2, .sources h2 { color: var(--navy-deep); font-size: 1.65rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 18px 32px 18px 0; cursor: pointer; color: var(--navy-deep); font-weight: 700; }
.faq details p { margin: 0; padding: 0 0 20px; color: #515a6d; }
.sources { margin-top: 48px; padding: 24px; background: var(--soft); border-radius: 10px; }
.sources ul { margin-bottom: 0; }
.sources a { overflow-wrap: anywhere; }
.related { padding: 70px 0; background: var(--soft); }
.related h2 { margin: 0 0 28px; color: var(--navy-deep); font-size: 2rem; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgba(20, 27, 52, .06); }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.post-card-body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.post-card .category { color: var(--navy); font-size: .73rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.post-card h2, .post-card h3 { margin: 10px 0 12px; color: var(--navy-deep); font-size: 1.25rem; line-height: 1.3; }
.post-card h2 a, .post-card h3 a { text-decoration: none; }
.post-card p { flex: 1; margin: 0 0 18px; color: var(--muted); font-size: .94rem; line-height: 1.65; }
.post-card time { color: var(--muted); font-size: .78rem; }
.archive-hero { padding: 74px 0 58px; color: #fff; background: linear-gradient(135deg, var(--navy-deep), var(--navy)); }
.archive-hero h1 { max-width: 760px; margin: 0 0 14px; font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.1; }
.archive-hero p { max-width: 740px; margin: 0; color: #e5e7ef; font-size: 1.08rem; }
.archive-list { padding: 66px 0 86px; }
.empty-state { padding: 42px; text-align: center; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; }
.site-footer { padding: 46px 20px; color: #e8e9ef; background: var(--navy-deep); text-align: center; }
.site-footer img { width: 170px; height: auto !important; max-height: 92px; margin-bottom: 14px; object-fit: contain; }
.site-footer p { margin: 6px 0; font-size: .86rem; }
.site-footer a { color: #fff; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 10px 14px; background: #fff; color: #111; }
.skip-link:focus { top: 12px; }

@media (max-width: 880px) {
    .article-layout { grid-template-columns: 1fr; gap: 34px; padding-top: 48px; }
    .article-aside { position: static; }
    .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .site-header-inner { min-height: 68px; }
    .site-logo img { width: 142px; max-height: 75px; }
    .site-nav a:first-child { display: none; }
    .article-hero { padding: 40px 0 34px; }
    .article-hero h1 { font-size: clamp(1.85rem, 9vw, 2.35rem); overflow-wrap: anywhere; }
    .cover { margin-top: 28px; border-radius: 0; width: 100%; }
    .cover img { min-height: 220px; }
    .article-layout { padding: 40px 0 60px; }
    .article-content { font-size: 1rem; }
    .post-grid { grid-template-columns: 1fr; }
    .archive-hero { padding: 52px 0 44px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
