.search-inline { display:flex; gap:.5rem; align-items:center; }
.search-inline input[type="search"]{ padding:.5rem .75rem; border-radius:10px; border:1px solid var(--border); background: var(--card); min-width: 200px; }
@media (max-width: 640px){ .search-inline input[type="search"]{ min-width: 120px; } }




/* Archive (category) */
.archive { max-width: 980px; }
.archive-head { padding: 1rem 0 0; }
.archive-head h1 { font-family: Merriweather, Georgia, serif; margin: 0; font-size: clamp(1.6rem, 2vw + 1rem, 2.2rem); }
.muted { color: var(--muted); }
.filters { display:flex; flex-wrap:wrap; gap:.75rem 1rem; align-items:end; margin-top:.75rem; }
.filters label { display:grid; gap:.25rem; font-size:.95rem; }
.filters select { padding:.6rem .75rem; border-radius:10px; border:1px solid var(--border); background: var(--card); }
.chips { display:flex; gap:.5rem; }
.pill { border-radius:999px; }

/* List grid */
.list-grid { display:grid; gap:1rem; grid-template-columns: 1fr; margin-top:1rem; }
.list-card { display:grid; grid-template-columns: 220px 1fr; gap:1rem; padding: .75rem; border:1px solid var(--border); border-radius:14px; background:var(--card); box-shadow:var(--shadow); }
.list-card .media img { height: 140px; width: 100%; object-fit: cover; border-radius:10px; }
.list-card h2 { margin:.15rem 0 .35rem; font-size:1.2rem; }
.kicker-link { font-size:.8rem; font-weight:700; color: var(--accent); }
.pagination { display:flex; justify-content:center; align-items:center; gap:1rem; margin: 1.5rem 0; }
.pagination .page { color: var(--muted); }

@media (max-width: 640px){
  .list-card { grid-template-columns: 1fr; }
  .list-card .media img { height: 200px; }
}

/* Search */
.search { max-width: 980px; }
.searchbar { display:flex; gap:.5rem; padding:1rem 0; }
.searchbar input[type="search"] { flex:1; padding:.75rem 1rem; border-radius:12px; border:1px solid var(--border); background: var(--card); }





/* Article */
.article { max-width: 860px; }
.breadcrumbs { display:flex; gap:.5rem; align-items:center; padding:1rem 0; color: var(--muted); font-size:.95rem; }
.breadcrumbs a { text-decoration: underline; }
.breadcrumbs .current { color: var(--text); font-weight:600; }

.article-header h1 { font-family: Merriweather, Georgia, serif; font-size: clamp(1.8rem, 2.4vw + 1rem, 2.8rem); line-height:1.2; margin:.25rem 0 .5rem; }
.article-header .dek { font-size:1.1rem; color: var(--muted); margin:.25rem 0 1rem; }
.byline { display:flex; gap:.75rem; align-items:center; margin:1rem 0; }
.byline .avatar { width:44px; height:44px; border-radius:50%; object-fit:cover; }
.byline .meta { color: var(--muted); font-size:.95rem; }

.lead img { width:100%; height:auto; border-radius:16px; }
.lead figcaption { color: var(--muted); font-size:.9rem; margin-top:.35rem; }

.share { display:flex; gap:1rem; align-items:center; border-top:1px solid var(--border); border-bottom:1px solid var(--border); padding:.75rem 0; margin:1rem 0; }
.share a { font-weight:600; }

/* Prose defaults */
.prose { font-size:1.05rem; line-height:1.8; }
.prose p { margin: 1rem 0; }
.prose h2 { font-family:Merriweather, Georgia, serif; font-size:1.5rem; margin:2rem 0 1rem; }
.prose h3 { font-weight:700; margin:1.25rem 0 .5rem; }
.prose ul, .prose ol { margin: .75rem 0 .75rem 1.25rem; }
.prose li { margin:.3rem 0; }
.prose blockquote { border-left:4px solid var(--accent); padding:.5rem 1rem; margin:1rem 0; color: var(--muted); font-style:italic; background: linear-gradient(90deg, rgba(37,99,235,.07), transparent); border-radius:6px; }
.prose figure { margin: 1rem 0; }
.prose img { width:100%; height:auto; border-radius:12px; }
.prose figcaption { color: var(--muted); font-size:.9rem; }

.pullquote { font-size:1.3rem; font-weight:700; line-height:1.4; padding:1rem; border-radius:12px; background: linear-gradient(180deg, rgba(2,6,23,.04), transparent); }

/* Related */
.related { margin: 2rem 0; }
.related h2 { font-family:Merriweather, Georgia, serif; font-size:1.35rem; margin:0 0 .75rem; }
.related-grid { display:grid; gap:1rem; grid-template-columns: repeat(3, 1fr); }
.related-card { display:flex; flex-direction:column; gap:.5rem; border:1px solid var(--border); border-radius:12px; padding:.5rem; background:var(--card); box-shadow: var(--shadow); }
.related-card img { aspect-ratio:16/9; object-fit:cover; border-radius:8px; }
.related-card span { font-weight:600; }

@media (max-width: 980px){ .related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px){ .related-grid { grid-template-columns: 1fr; } }






:root {
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --accent: #2563eb;
  --accent-2: #ef4444;
  --card: #ffffff;
  --chip: #0ea5e9;
  --chip-2: #22c55e;
  --shadow: 0 1px 3px rgba(2,6,23,.08), 0 10px 20px rgba(2,6,23,.06);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1020;
    --text: #e5e7eb;
    --muted: #9aa4b2;
    --border: #1f2937;
    --accent: #60a5fa;
    --accent-2: #f87171;
    --card: #0e152b;
    --chip: #38bdf8;
    --chip-2: #34d399;
    --shadow: 0 1px 3px rgba(0,0,0,.25), 0 10px 20px rgba(0,0,0,.2);
  }
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol', sans-serif;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin-inline: auto; padding-inline: 1rem; }
header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
.topbar { display: flex; align-items: center; gap: .75rem; padding: .75rem 0; }
.brand { display: flex; align-items: center; gap: .5rem; font-weight: 800; letter-spacing: .5px; }
.brand .logo { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg,var(--accent),#9333ea); display: grid; place-items: center; color: #fff; font-size: .9rem; box-shadow: var(--shadow); }
nav { display: flex; gap: .75rem; flex-wrap: wrap; }
.navlink { padding: .35rem .6rem; border-radius: 999px; border: 1px solid var(--border); font-weight: 600; font-size: .9rem; }
.navlink:is(:hover,:focus) { border-color: var(--accent); }
.actions { margin-left: auto; display: flex; gap: .5rem; }
.btn { padding: .5rem .9rem; border-radius: 10px; border: 1px solid var(--border); background: var(--card); box-shadow: var(--shadow); font-weight: 600; }
.btn.primary { background: var(--accent); color: #fff; border-color: transparent; }

.breaking { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: linear-gradient(90deg, rgba(37,99,235,.1), transparent 40%, transparent 60%, rgba(239,68,68,.1)); }
.breaking .row { display: flex; gap: 1rem; align-items: center; padding: .6rem 0; overflow: auto; }
.chip { font-size: .75rem; font-weight: 700; color: #fff; background: var(--accent-2); padding: .25rem .5rem; border-radius: 6px; }
.ticker { display: flex; gap: 1.25rem; white-space: nowrap; }

main { padding: 1.5rem 0; }
.grid { display: grid; gap: 1.25rem; grid-template-columns: 2fr 1fr; }
@media (max-width: 980px) { .grid { grid-template-columns: 1fr; } }

.hero { position: relative; border-radius: 18px; overflow: hidden; background: var(--card); box-shadow: var(--shadow); border: 1px solid var(--border); }
.hero img { height: 420px; width: 100%; object-fit: cover; }
.hero .content { position: absolute; inset: auto 0 0 0; padding: 1.25rem; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.6) 65%); color: #fff; }
.hero .kicker { display: inline-flex; gap: .5rem; align-items: center; font-weight: 700; }
.kicker .pill { background: var(--chip); padding: .2rem .5rem; border-radius: 999px; font-size: .75rem; }
.hero h1 { font-family: Merriweather, Georgia, serif; margin: .35rem 0 .75rem; font-size: clamp(1.4rem, 2vw + 1rem, 2.25rem); }
.meta { display: flex; gap: 1rem; font-size: .9rem; opacity: .9; }

.sidebar { display: grid; gap: 1rem; }
.side-card { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; align-items: center; padding: 1rem; border: 1px solid var(--border); border-radius: 14px; background: var(--card); box-shadow: var(--shadow); }
.side-card img { height: 100%; object-fit: cover; border-radius: 10px; }
.side-card h3 { margin: .25rem 0; font-size: 1rem; }
.side-card .tag { font-size: .75rem; font-weight: 700; color: #fff; background: var(--chip-2); padding: .15rem .45rem; border-radius: 6px; }

.section { margin-top: 1.5rem; }
.section h2 {






/* Article */
.article { max-width: 860px; }
.breadcrumbs { display:flex; gap:.5rem; align-items:center; padding:1rem 0; color: var(--muted); font-size:.95rem; }
.breadcrumbs a { text-decoration: underline; }
.breadcrumbs .current { color: var(--text); font-weight:600; }

.article-header h1 { font-family: Merriweather, Georgia, serif; font-size: clamp(1.8rem, 2.4vw + 1rem, 2.8rem); line-height:1.2; margin:.25rem 0 .5rem; }
.article-header .dek { font-size:1.1rem; color: var(--muted); margin:.25rem 0 1rem; }
.byline { display:flex; gap:.75rem; align-items:center; margin:1rem 0; }
.byline .avatar { width:44px; height:44px; border-radius:50%; object-fit:cover; }
.byline .meta { color: var(--muted); font-size:.95rem; }

.lead img { width:100%; height:auto; border-radius:16px; }
.lead figcaption { color: var(--muted); font-size:.9rem; margin-top:.35rem; }

.share { display:flex; gap:1rem; align-items:center; border-top:1px solid var(--border); border-bottom:1px solid var(--border); padding:.75rem 0; margin:1rem 0; }
.share a { font-weight:600; }

/* Prose defaults */
.prose { font-size:1.05rem; line-height:1.8; }
.prose p { margin: 1rem 0; }
.prose h2 { font-family:Merriweather, Georgia, serif; font-size:1.5rem; margin:2rem 0 1rem; }
.prose h3 { font-weight:700; margin:1.25rem 0 .5rem; }
.prose ul, .prose ol { margin: .75rem 0 .75rem 1.25rem; }
.prose li { margin:.3rem 0; }
.prose blockquote { border-left:4px solid var(--accent); padding:.5rem 1rem; margin:1rem 0; color: var(--muted); font-style:italic; background: linear-gradient(90deg, rgba(37,99,235,.07), transparent); border-radius:6px; }
.prose figure { margin: 1rem 0; }
.prose img { width:100%; height:auto; border-radius:12px; }
.prose figcaption { color: var(--muted); font-size:.9rem; }

.pullquote { font-size:1.3rem; font-weight:700; line-height:1.4; padding:1rem; border-radius:12px; background: linear-gradient(180deg, rgba(2,6,23,.04), transparent); }

/* Related */
.related { margin: 2rem 0; }
.related h2 { font-family:Merriweather, Georgia, serif; font-size:1.35rem; margin:0 0 .75rem; }
.related-grid { display:grid; gap:1rem; grid-template-columns: repeat(3, 1fr); }
.related-card { display:flex; flex-direction:column; gap:.5rem; border:1px solid var(--border); border-radius:12px; padding:.5rem; background:var(--card); box-shadow: var(--shadow); }
.related-card img { aspect-ratio:16/9; object-fit:cover; border-radius:8px; }
.related-card span { font-weight:600; }

@media (max-width: 980px){ .related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px){ .related-grid { grid-template-columns: 1fr; } }


