@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --maroon: #800500;
    --maroon-dark: #5c0300;
    --maroon-light: #9b0700;
    --maroon-bg: #fff5f5;
    --grey: #555555;
    --grey-light: #888888;
    --dark: #1e293b;
    --mid: #475569;
    --border: #e2e8f0;
    --light: #f8fafc;
    --white: #ffffff;
    --green: #059669;
    --red: #dc2626;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--dark); background: var(--white); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── NAV ── */
nav { position: sticky; top: 0; background: var(--maroon); z-index: 100; }
nav .inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { display: flex; align-items: center; gap: 0; }
.nav-logo img { height: 36px; filter: brightness(0) invert(1); }
.nav-logo .blog-label { color: rgba(255,255,255,0.6); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; margin-left: 14px; padding-left: 14px; border-left: 1px solid rgba(255,255,255,0.25); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: rgba(255,255,255,0.75); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }
.nav-cta { background: rgba(255,255,255,0.15) !important; border: 1px solid rgba(255,255,255,0.3) !important; color: var(--white) !important; padding: 8px 18px; border-radius: 6px; font-weight: 600 !important; font-size: 0.85rem !important; transition: background 0.2s !important; }
.nav-cta:hover { background: rgba(255,255,255,0.25) !important; }

/* ── HERO ── */
.hero { background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 60%, var(--maroon-light) 100%); padding: 80px 0 72px; color: var(--white); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -80px; right: -80px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%); border-radius: 50%; }
.hero::after { content: ''; position: absolute; bottom: -40px; left: 10%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(0,0,0,0.15) 0%, transparent 70%); border-radius: 50%; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.9); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; max-width: 700px; margin-bottom: 14px; }
.hero h1 span { color: rgba(255,255,255,0.75); font-style: italic; }
.hero p { font-size: 1.05rem; color: rgba(255,255,255,0.75); max-width: 560px; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stat .num { font-size: 1.7rem; font-weight: 800; color: var(--white); display: block; }
.hero-stat .lbl { font-size: 0.75rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.06em; }

/* ── BLOG SECTION ── */
.blog-section { padding: 64px 0; }
.section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 32px; border-bottom: 2px solid var(--border); padding-bottom: 14px; }
.section-header h2 { font-size: 1.3rem; font-weight: 700; color: var(--maroon); }
.section-header a { font-size: 0.85rem; font-weight: 600; color: var(--maroon); }

/* ── ARTICLE CARDS ── */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.article-card { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: box-shadow 0.2s, transform 0.2s; background: var(--white); display: flex; flex-direction: column; }
.article-card:hover { box-shadow: 0 8px 30px rgba(128,5,0,0.1); transform: translateY(-3px); }
.card-stripe { height: 4px; background: var(--maroon); }
.card-stripe-grey { height: 4px; background: var(--grey); }
.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card-category { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--maroon); margin-bottom: 8px; }
.card-title { font-size: 1.05rem; font-weight: 700; color: var(--dark); line-height: 1.35; margin-bottom: 10px; }
.card-excerpt { font-size: 0.88rem; color: var(--mid); line-height: 1.6; flex: 1; margin-bottom: 18px; }
.card-meta { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--border); }
.card-date { font-size: 0.75rem; color: var(--grey-light); }
.read-link { font-size: 0.82rem; font-weight: 600; color: var(--maroon); display: flex; align-items: center; gap: 4px; transition: color 0.2s; }
.read-link:hover { color: var(--maroon-light); }

/* ── FEATURED CARD ── */
.featured-card { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 48px; box-shadow: 0 4px 20px rgba(128,5,0,0.08); }
.featured-image { background: linear-gradient(135deg, var(--maroon-dark), var(--maroon)); min-height: 280px; display: flex; align-items: center; justify-content: center; font-size: 5rem; color: rgba(255,255,255,0.2); position: relative; }
.featured-image .tag-floating { position: absolute; top: 20px; left: 20px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); color: var(--white); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: 4px; }
.featured-content { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.featured-category { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--maroon); margin-bottom: 12px; }
.featured-title { font-size: 1.45rem; font-weight: 800; color: var(--dark); line-height: 1.25; letter-spacing: -0.02em; margin-bottom: 14px; }
.featured-excerpt { font-size: 0.95rem; color: var(--mid); line-height: 1.65; margin-bottom: 24px; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--maroon); color: var(--white); padding: 12px 22px; border-radius: 8px; font-weight: 600; font-size: 0.9rem; transition: background 0.2s; align-self: flex-start; }
.btn-primary:hover { background: var(--maroon-light); }

/* ── ARTICLE PAGE HERO ── */
.article-hero { background: linear-gradient(135deg, var(--maroon-dark), var(--maroon)); padding: 60px 0 52px; color: var(--white); }
.article-category-tag { display: inline-block; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.9); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 12px; border-radius: 4px; margin-bottom: 18px; }
.article-hero h1 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.025em; max-width: 780px; margin-bottom: 20px; }
.article-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.article-meta span { font-size: 0.83rem; color: rgba(255,255,255,0.65); }
.article-meta .dot { color: rgba(255,255,255,0.3); }

/* ── ARTICLE LAYOUT ── */
.article-layout { display: grid; grid-template-columns: 1fr 290px; gap: 48px; padding: 52px 0 72px; align-items: start; }
.article-body h2 { font-size: 1.3rem; font-weight: 700; color: var(--maroon); margin: 36px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--border); }
.article-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin: 24px 0 10px; }
.article-body p { font-size: 1rem; color: var(--dark); line-height: 1.8; margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px 22px; }
.article-body li { font-size: 1rem; color: var(--dark); line-height: 1.75; margin-bottom: 6px; }
.article-body strong { color: var(--maroon); }
.callout { border-left: 4px solid var(--maroon); background: var(--maroon-bg); padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 24px 0; }
.callout p { margin: 0; font-size: 0.95rem; }
.info-box { border: 1px solid var(--border); border-radius: 10px; padding: 20px; background: var(--light); margin: 28px 0; }
.info-box h4 { font-size: 0.82rem; font-weight: 700; color: var(--maroon); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }

/* ── TABLE ── */
.comparison-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.91rem; }
.comparison-table th { background: var(--maroon); color: var(--white); padding: 12px 16px; text-align: left; font-weight: 600; }
.comparison-table td { padding: 10px 16px; border-bottom: 1px solid var(--border); color: var(--dark); vertical-align: top; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) td { background: var(--light); }
.comparison-table .check { color: var(--green); font-weight: 700; }
.comparison-table .warn { color: var(--red); font-weight: 700; }

/* ── SIDEBAR ── */
.sidebar-card { border: 1px solid var(--border); border-radius: 10px; padding: 20px; margin-bottom: 22px; background: var(--white); }
.sidebar-card h4 { font-size: 0.82rem; font-weight: 700; color: var(--maroon); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.sidebar-cta { background: var(--maroon); color: var(--white); border-radius: 10px; padding: 22px; margin-bottom: 22px; }
.sidebar-cta h4 { font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.sidebar-cta p { font-size: 0.85rem; color: rgba(255,255,255,0.75); line-height: 1.6; margin-bottom: 16px; }
.sidebar-cta a { display: block; text-align: center; background: var(--white); color: var(--maroon); padding: 11px 20px; border-radius: 7px; font-weight: 700; font-size: 0.88rem; transition: opacity 0.2s; }
.sidebar-cta a:hover { opacity: 0.9; }
.related-link { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.related-link:last-child { border-bottom: none; padding-bottom: 0; }
.related-link .dot { color: var(--maroon); margin-top: 3px; flex-shrink: 0; }
.related-link a { font-size: 0.86rem; font-weight: 500; color: var(--dark); line-height: 1.4; transition: color 0.2s; }
.related-link a:hover { color: var(--maroon); }

/* ── ARTICLE CTA BANNER ── */
.article-cta-banner { background: linear-gradient(135deg, var(--maroon-dark), var(--maroon)); border-radius: 12px; padding: 32px; margin: 40px 0; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.article-cta-banner h3 { font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.article-cta-banner p { font-size: 0.88rem; color: rgba(255,255,255,0.75); margin: 0; }
.btn-amber { display: inline-flex; align-items: center; gap: 8px; background: var(--white); color: var(--maroon); padding: 12px 24px; border-radius: 8px; font-weight: 700; font-size: 0.88rem; white-space: nowrap; transition: opacity 0.2s; }
.btn-amber:hover { opacity: 0.9; }

/* ── FOOTER ── */
footer { background: var(--maroon-dark); color: rgba(255,255,255,0.6); padding: 36px 0; border-top: 4px solid var(--maroon); }
footer .inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
footer .footer-logo img { height: 28px; filter: brightness(0) invert(1); }
footer .footer-copy { font-size: 0.78rem; margin-top: 6px; }
footer .footer-link { color: rgba(255,255,255,0.7); font-size: 0.85rem; font-weight: 500; transition: color 0.2s; }
footer .footer-link:hover { color: var(--white); }

@media (max-width: 900px) {
    .featured-card { grid-template-columns: 1fr; }
    .featured-image { min-height: 160px; }
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { display: none; }
    .article-cta-banner { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}
@media (max-width: 600px) {
    .articles-grid { grid-template-columns: 1fr; }
    .hero { padding: 48px 0; }
    .hero-stats { gap: 24px; }
}

.cite-link { color: var(--maroon); border-bottom: 1px dotted var(--maroon); transition: opacity 0.2s; }
.cite-link:hover { opacity: 0.7; }
.sources { border-top: 2px solid var(--border); margin-top: 40px; padding-top: 24px; }
.sources h2 { font-size: 1.1rem !important; color: var(--grey) !important; margin: 0 0 16px !important; border-bottom: none !important; padding-bottom: 0 !important; }
.sources ul { margin-left: 18px; }
.sources li { font-size: 0.88rem; color: var(--mid); line-height: 1.7; margin-bottom: 4px; }
.sources li a { color: var(--maroon); }
.sources li a:hover { opacity: 0.75; }
