
:root{--red:#d63b3b;--black:#111;--text:#222;--muted:#6b7280;--chip-bg:#f3f4f6;--chip-text:#111;--container:1200px}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--text);background:#fff;line-height:1.6}
.container{max-width:var(--container);padding:0 16px;margin:0 auto}
a{color:var(--red);text-decoration:none}
a:hover{text-decoration:underline}
.site-header .topbar{background:var(--red);color:#fff}
.topbar .topbar-nav{display:flex;gap:16px;align-items:center;justify-content:space-between}
.topbar .menu{list-style:none;margin:0;padding:8px 0;display:flex;gap:16px}
.topbar .menu a{color:#fff;font-weight:600}
.branding{display:flex;align-items:flex-end;justify-content:space-between;padding:16px 0;gap:16px}
.site-title{font-weight:800;font-size:28px;color:var(--black);text-decoration:none}
.site-description{margin:4px 0 0;color:var(--muted)}
.primary-nav .menu{list-style:none;display:flex;gap:16px;margin:0;padding:8px 0;border-top:1px solid #eee}
.primary-nav .menu a{color:var(--black);font-weight:600}
.thematic-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 0;border-top:1px solid #eee;border-bottom:1px solid #eee;margin-bottom:8px;width:100%}
.thematic-bar .hash{font-weight:800;color:var(--black)}
.thematic-bar .chip{display:inline-block;padding:6px 10px;border-radius:999px;background:var(--chip-bg);color:var(--chip-text);font-size:14px;white-space:nowrap}
.hero{height:360px;background-size:cover;background-position:center;margin-bottom:16px;position:relative}
.hero .overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.35),rgba(0,0,0,.35));display:flex;align-items:center;justify-content:center}
.hero h1{color:#fff;font-family:Merriweather,serif;font-weight:900;font-size:38px;text-align:center;margin:0;padding:0 16px}
.content-grid{display:grid;grid-template-columns:1fr 320px;gap:24px}
.card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.card{border:1px solid #eee;border-radius:12px;overflow:hidden;background:#fff;display:flex;flex-direction:column}
.card .thumb img{width:100%;height:220px;object-fit:cover;display:block}
.card-body{padding:12px}
.card .meta{display:flex;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:12px}
.card-title{margin:6px 0 8px;color:var(--black);font-size:18px;line-height:1.3}
.excerpt{color:#374151;margin:0}
.sidebar .widget{border:1px solid #eee;border-radius:12px;padding:12px;margin-bottom:16px}
.widget-title{margin:0 0 8px}
.site-footer{border-top:1px solid #eee;padding:24px 0;margin-top:32px;color:var(--muted)}
.search-form{display:flex;gap:8px}
.search-form input{flex:1;padding:8px 10px;border:1px solid #ddd;border-radius:8px}
.search-form button{padding:8px 12px;border:0;border-radius:8px;background:var(--red);color:#fff;font-weight:700}
@media (max-width:1024px){
  /* mobile tag bar: single row scroll */
  .thematic-bar{flex-wrap:nowrap !important; overflow-x:auto; white-space:nowrap; -webkit-overflow-scrolling:touch}
  .thematic-bar .chip{flex:0 0 auto}

  /* mobile tweaks */
  body{padding-left:12px;padding-right:12px}
  .content-grid{grid-template-columns:1fr}
  .card-grid{grid-template-columns:1fr}
  .branding{flex-direction:column;align-items:flex-start}
  .thematic-bar{flex-wrap:wrap !important;row-gap:8px}
}

/* responsive images */
.single .featured img{width:100%;height:auto;max-height:70vh;object-fit:contain;display:block}
.content img{max-width:100%;height:auto;display:block}
.content iframe, .content video{max-width:100%}
