:root{--bg:#f8fafc;--text:#0f172a;--muted:#64748b;--primary:#2563eb;--border:#e2e8f0;--header:#0f172a}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;background:var(--bg);color:var(--text);line-height:1.6}
a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}
.wrap{max-width:1100px;margin:0 auto;padding:0 20px}
.site-header{background:var(--header);color:#fff;position:sticky;top:0;z-index:40}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:12px 0;gap:12px;flex-wrap:wrap}
.brand img{height:36px;width:auto;display:block}
.nav{display:flex;flex-wrap:wrap;gap:4px}
.nav a{color:#94a3b8;padding:6px 10px;border-radius:6px;font-size:.9rem;text-decoration:none}
.nav a:hover,.nav a.active{color:#fff;background:rgba(255,255,255,.08)}
.hero{padding:28px 0 12px}.hero h1{font-size:1.75rem;margin-bottom:4px}.hero p{color:var(--muted)}
.layout{display:grid;grid-template-columns:1fr 300px;gap:32px;padding-bottom:48px}
@media(max-width:860px){.layout{grid-template-columns:1fr}}
.posts{display:flex;flex-direction:column;gap:0}
.post-row{display:grid;grid-template-columns:200px 1fr;gap:18px;padding:22px 0;border-bottom:1px solid var(--border);text-decoration:none;color:inherit}
.post-row:hover h2{color:var(--primary)}
.post-row img{width:100%;height:120px;object-fit:cover;border-radius:6px}
.post-row h2{font-size:1.15rem;line-height:1.3;margin-bottom:6px}
.post-row .excerpt{color:var(--muted);font-size:.92rem}
.post-row .meta{font-size:.8rem;color:var(--muted);margin-top:8px}
@media(max-width:560px){.post-row{grid-template-columns:1fr}.post-row img{height:160px}}
.sidebar .box{background:#fff;border:1px solid var(--border);border-radius:12px;padding:16px;margin-bottom:16px}
.sidebar h3{font-size:.85rem;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin-bottom:10px}
.sidebar a{display:block;padding:6px 0;font-size:.92rem}
.ad-label{font-size:.65rem;text-transform:uppercase;letter-spacing:.06em;color:#94a3b8;margin-bottom:6px}
.site-footer{background:var(--header);color:#94a3b8;padding:28px 0;margin-top:24px;font-size:.88rem}
.site-footer a{color:#cbd5e1;margin-right:14px}
.pagination{display:flex;gap:8px;margin-top:24px;flex-wrap:wrap}
.pagination a,.pagination span{padding:8px 12px;border-radius:8px;border:1px solid var(--border);font-size:.9rem;text-decoration:none;color:var(--text)}
.pagination .current{background:var(--primary);color:#fff;border-color:var(--primary)}

/* Single open */
body.single{background:#fff}
.post-open{max-width:720px;margin:0 auto;padding:28px 20px 16px}
.post-cat{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--primary)}
.post-title{font-size:clamp(1.7rem,4vw,2.4rem);line-height:1.2;margin:10px 0 12px;letter-spacing:-.02em}
.post-excerpt{font-size:1.12rem;color:#475569;margin-bottom:14px}
.post-meta{font-size:.88rem;color:var(--muted);padding-bottom:18px;margin-bottom:22px;border-bottom:1px solid var(--border);display:flex;flex-wrap:wrap;gap:12px}
.post-featured img{width:100%;max-height:460px;object-fit:cover;display:block;margin-bottom:24px}
.post-body{font-size:1.08rem;line-height:1.75;color:#1e293b}
.post-body p{margin-bottom:1.1em}.post-body img{max-width:100%;height:auto}
.post-tags{margin-top:28px;display:flex;flex-wrap:wrap;gap:8px}
.post-tags span{font-size:.78rem;padding:4px 12px;border-radius:999px;background:#f1f5f9;border:1px solid var(--border);color:#475569}
.ad-under{max-width:720px;margin:28px auto;padding:20px;border-top:1px solid var(--border)}
