
@font-face{
  font-family:Inter;
  font-style:normal;
  font-weight:400 800;
  font-display:swap;
  src:url("/assets/fonts/inter-latin.woff2") format("woff2");
}
:root{
  --brand:#C8102E;
  --brand-dark:#8E0B20;
  --ink:#111111;
  --muted:#6b7280;
  --line:#e5e7eb;
  --bg:#ffffff;
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-font-smoothing:antialiased}
body{
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink);background:var(--bg);line-height:1.5;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
.container{max-width:1200px;margin:0 auto;padding:0 20px}

/* Top bar */
.topbar{border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0;z-index:50}
.topbar-inner{display:flex;align-items:center;justify-content:space-between;height:68px}
.logo{font-size:26px;font-weight:800;letter-spacing:-0.02em}
.logo .g{color:var(--brand)}
.nav{display:flex;gap:22px;flex-wrap:wrap}
.nav a{font-size:14px;font-weight:600;color:#333;text-transform:uppercase;letter-spacing:0.02em}
.nav a:hover{color:var(--brand)}
.nav-toggle{display:none}

/* Hero */
.hero{padding:36px 0;border-bottom:1px solid var(--line)}
.hero-grid{display:grid;grid-template-columns:2fr 1fr;gap:34px}
.hero-main{position:relative}
.hero-main img{width:100%;height:460px;object-fit:cover;border-radius:4px}
.hero-cat{display:inline-block;color:var(--brand);font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:0.04em;margin:16px 0 8px}
.hero-title{font-size:40px;line-height:1.08;font-weight:800;letter-spacing:-0.02em;margin-bottom:12px}
.hero-title:hover{color:var(--brand)}
.hero-excerpt{font-size:18px;color:#374151;margin-bottom:12px}
.hero-meta{font-size:13px;color:var(--muted)}
.readmore{color:var(--brand);font-weight:700;font-size:14px}

/* Secondary hero list */
.hero-side{display:flex;flex-direction:column;gap:20px}
.hero-side .item{border-bottom:1px solid var(--line);padding-bottom:16px}
.hero-side .item:last-child{border-bottom:0}
.hero-side .cat{color:var(--brand);font-weight:700;font-size:12px;text-transform:uppercase}
.hero-side h3{font-size:19px;line-height:1.2;font-weight:700;margin-top:6px}
.hero-side h3:hover{color:var(--brand)}

/* Section */
.section{padding:40px 0}
.section-head{display:flex;align-items:center;gap:12px;margin-bottom:22px}
.section-head h2{font-size:14px;font-weight:800;text-transform:uppercase;letter-spacing:0.08em;color:var(--brand)}
.section-head .rule{flex:1;height:2px;background:var(--brand)}

/* Card grid */
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.card .thumb{width:100%;height:200px;object-fit:contain;border-radius:4px;background:#fff}
.card .cat{color:var(--brand);font-weight:700;font-size:12px;text-transform:uppercase;margin:12px 0 6px;display:inline-block}
.card h3{font-size:20px;line-height:1.22;font-weight:700;letter-spacing:-0.01em}
.card h3:hover{color:var(--brand)}
.card .meta{font-size:12.5px;color:var(--muted);margin-top:8px}

/* Layout with sidebar */
.with-side{display:grid;grid-template-columns:1fr 320px;gap:40px}
.sidebar .box{border:1px solid var(--line);border-radius:6px;padding:20px;margin-bottom:24px}
.sidebar h4{font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:0.06em;color:var(--brand);margin-bottom:14px}
.pop-item{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.pop-item:last-child{border-bottom:0}
.pop-item .num{font-size:22px;font-weight:800;color:var(--brand);line-height:1}
.pop-item h5{font-size:14.5px;line-height:1.25;font-weight:600}
.pop-item h5:hover{color:var(--brand)}

/* Single post */
.post{max-width:720px;margin:0 auto;padding:44px 0}
.post .cat{color:var(--brand);font-weight:700;font-size:14px;text-transform:uppercase;letter-spacing:0.03em}
.post h1{font-size:44px;line-height:1.08;font-weight:800;letter-spacing:-0.02em;margin:14px 0}
.post .lede{font-size:20px;color:#374151;margin-bottom:20px;line-height:1.5}
.post .byline{display:flex;align-items:center;gap:12px;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:28px}
.post .byline .avatar{width:46px;height:46px;border-radius:50%;background:var(--brand);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700}
.post .byline .who{font-size:14px}
.post .byline .who b{display:block}
.post .byline .who span{color:var(--muted)}
.post .feat{width:100%;max-height:460px;object-fit:cover;border-radius:4px;margin-bottom:28px}
.article-body h2{font-size:28px;font-weight:800;margin:30px 0 12px;line-height:1.2}
.article-body h3{font-size:22px;font-weight:700;margin:24px 0 10px}
.article-body p{font-size:18px;line-height:1.8;color:#1f2937;margin-bottom:22px}
.article-body blockquote{border-left:4px solid var(--brand);padding-left:20px;margin:26px 0;font-style:italic;font-size:22px;color:#374151}
.article-body img{max-width:100%;height:auto;max-height:600px;object-fit:contain;margin:26px auto;border-radius:4px}
.article-body a{color:var(--brand);text-decoration:underline}
.article-body ul,.article-body ol{margin:0 0 22px 26px;font-size:18px;line-height:1.8}

/* Share + author bio + related */
.share{display:flex;gap:10px;margin:28px 0}
.share a{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid var(--line);border-radius:50%;font-size:15px;font-weight:700}
.share a:hover{border-color:var(--brand);color:var(--brand)}
.bio{display:flex;gap:16px;background:#f9fafb;border-radius:8px;padding:20px;margin:32px 0}
.bio .avatar{width:60px;height:60px;border-radius:50%;background:var(--brand);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:22px;flex-shrink:0}
.bio b{font-size:16px}
.bio p{font-size:14px;color:var(--muted);margin-top:4px}
.related{border-top:2px solid var(--brand);padding-top:24px;margin-top:40px}
.related h3{font-size:14px;font-weight:800;text-transform:uppercase;letter-spacing:0.06em;color:var(--brand);margin-bottom:18px}

/* Footer */
.footer{background:#111;color:#d1d5db;padding:44px 0;margin-top:50px}
.footer .logo{color:#fff}
.footer-cols{display:flex;justify-content:space-between;flex-wrap:wrap;gap:24px;margin-top:20px}
.footer a{font-size:14px;color:#d1d5db}
.footer a:hover{color:#fff}
.footer .cols{display:flex;gap:40px;flex-wrap:wrap}
.footer .col{display:flex;flex-direction:column;gap:8px}
.footer small{display:block;color:#6b7280;margin-top:28px;font-size:12px}

/* Responsive */
@media(max-width:900px){
  .hero-grid{grid-template-columns:1fr}
  .grid{grid-template-columns:repeat(2,1fr)}
  .with-side{grid-template-columns:1fr}
  .hero-main img{height:300px}
  .hero-title{font-size:30px}
  .post h1{font-size:32px}
}
@media(max-width:600px){
  .grid{grid-template-columns:1fr}
  .nav{display:none}
  .topbar-inner{height:58px}
}

/* Contact form */
.contact-form{max-width:720px;margin:40px auto;padding:28px;border:1px solid var(--line);border-radius:8px;background:#fafafa}
.contact-form h2{font-size:22px;font-weight:800;margin-bottom:16px}
.cf-row{margin-bottom:14px}
.cf-row label{display:block;font-size:14px;font-weight:600;color:#374151}
.cf-form input,.cf-form textarea{width:100%;margin-top:5px;border:1px solid var(--line);border-radius:6px;padding:10px 12px;font-size:15px;font-family:inherit;background:#fff}
.cf-form input:focus,.cf-form textarea:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 2px rgba(200,16,46,0.12)}
.cf-form input:invalid:not(:placeholder-shown),.cf-form textarea:invalid:not(:placeholder-shown){border-color:#dc2626}
.cf-submit{background:var(--brand);color:#fff;border:0;border-radius:6px;padding:12px 24px;font-weight:700;font-size:15px;cursor:pointer}
.cf-submit:hover{background:var(--brand-dark)}
.cf-submit:disabled{opacity:0.6;cursor:default}
.cf-status{margin-top:12px;font-size:14px;font-weight:600}
.cf-status.cf-ok{color:#15803d}
.cf-status.cf-err{color:#dc2626}
