/* Global Alfa News — base styles */
:root {
    --ink: #0f1216;
    --paper: #ffffff;
    --muted: #5a6470;
    --line: #e4e6eb;
    --accent: #0f6b46;
    --tag: #f4f5f7;
    --max: 1180px;
    --serif: Georgia, 'Times New Roman', serif;
    --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 50; }
.header-inner { max-width: var(--max); margin: 0 auto; padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.brand { font-family: var(--serif); font-size: 24px; letter-spacing: -0.02em; }
.brand strong { color: var(--accent); }
.nav { display: flex; gap: 18px; font-size: 14px; flex-wrap: wrap; }
.nav a { color: var(--muted); font-weight: 500; }
.nav a:hover { color: var(--ink); }

/* Layout */
.home-wrap, .article-wrap, .legal-wrap { max-width: var(--max); margin: 0 auto; padding: 32px 20px; }
.section-title { font-family: var(--serif); font-size: 26px; border-bottom: 2px solid var(--ink); padding-bottom: 6px; margin: 40px 0 20px; }
.tag { display: inline-block; background: var(--tag); color: var(--muted); font-size: 11px; padding: 3px 8px; text-transform: uppercase; letter-spacing: 0.08em; border-radius: 3px; margin-bottom: 8px; }

/* Hero */
.hero { margin-bottom: 32px; }
.hero-link { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; }
.hero img { border-radius: 4px; aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.hero h1 { font-family: var(--serif); font-size: 40px; line-height: 1.15; margin: 6px 0 12px; }
.hero p { color: var(--muted); font-size: 17px; margin: 0 0 12px; }
.byline { color: var(--muted); font-size: 13px; }
@media (max-width: 800px) { .hero-link { grid-template-columns: 1fr; } .hero h1 { font-size: 28px; } }

/* Grid cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.card { border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.card img { aspect-ratio: 16/9; object-fit: cover; border-radius: 4px; margin-bottom: 10px; }
.card h3 { font-family: var(--serif); font-size: 20px; line-height: 1.25; margin: 6px 0 6px; }
.card p { color: var(--muted); font-size: 14px; margin: 0 0 8px; }

/* Article */
.article { max-width: 760px; margin: 0 auto; }
.article-cat a { color: var(--accent); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }
.article-title { font-family: var(--serif); font-size: 40px; line-height: 1.15; margin: 10px 0 12px; }
.article-meta { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.article-image { margin: 0 0 24px; }
.article-image img { border-radius: 4px; }
.article-body { font-size: 18px; line-height: 1.75; }
.article-body p { margin: 0 0 1.2em; }
.article-body h2 { font-family: var(--serif); font-size: 26px; margin-top: 1.6em; }
.article-body h3 { font-family: var(--serif); font-size: 22px; margin-top: 1.4em; }
.article-body a { color: var(--accent); text-decoration: underline; }
.article-body blockquote { border-left: 3px solid var(--accent); padding-left: 18px; color: var(--muted); font-style: italic; margin: 1.4em 0; }
.article-footer { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
@media (max-width: 700px) { .article-title { font-size: 30px; } .article-body { font-size: 17px; } }

/* Footer */
.site-footer { background: #0f1216; color: #cfd3d9; margin-top: 60px; padding: 40px 20px 20px; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 800px) { .footer-inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-col h4 { font-family: var(--serif); color: #fff; font-size: 15px; margin: 0 0 12px; }
.footer-col h4 strong { color: #4fd39a; }
.footer-col a { display: block; color: #a4abb4; font-size: 14px; padding: 3px 0; }
.footer-col a:hover { color: #fff; }
.footer-col p { color: #a4abb4; font-size: 14px; }
.footer-bottom { max-width: var(--max); margin: 30px auto 0; padding-top: 20px; border-top: 1px solid #232830; font-size: 13px; color: #8a919a; }
.footer-bottom a { color: #a4abb4; }

/* Legal pages */
.legal-wrap { max-width: 780px; }
.legal-wrap h1 { font-family: var(--serif); font-size: 34px; margin-bottom: 8px; }
.legal-wrap .updated { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.legal-wrap h2 { font-family: var(--serif); font-size: 22px; margin-top: 30px; }
.legal-wrap p, .legal-wrap li { font-size: 16px; line-height: 1.7; }

/* Empty state */
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
