:root{
  --primary:#0b67d0;
  --text:#111827;
  --muted:#6b7280;
  --bg:#f5f7fa;
  --card:#ffffff;
  --radius:12px;
  --shadow:0 6px 18px rgba(17,24,39,0.06);
  --maxw:1100px;
}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial;background:var(--bg);color:var(--text);line-height:1.5}
a{text-decoration:none;color:var(--primary)}
.container{max-width:var(--maxw);margin:0 auto;padding:16px}
header{background:var(--card);box-shadow:0 2px 6px rgba(0,0,0,0.05);position:sticky;top:0;z-index:10}
.header-row{display:flex;justify-content:space-between;align-items:center}
.brand{display:flex;align-items:center;gap:12px}
.logo-svg{width:120px;height:48px}
.brand-text h1{margin:0;font-size:20px}
.brand-text span{font-size:13px;color:var(--muted)}
.primary-nav{display:flex;gap:12px}
.primary-nav a{padding:8px 10px;border-radius:6px;color:#0f1724}
.top-section{background:#eaf1fb;padding:36px 16px;text-align:center}
.top-section h2{font-size:24px;margin:0}
.top-section p{color:var(--muted);margin:6px 0 0}
main{padding:30px 0}
.grid{display:grid;grid-template-columns:1fr 320px;gap:24px;align-items:start}
.section-title{font-size:20px;margin:0 0 12px}
.posts{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.post{background:var(--card);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);transition:transform .12s}
.post:hover{transform:translateY(-6px)}
.post .thumb{height:170px;overflow:hidden}
.post .thumb img{width:100%;height:100%;object-fit:cover}
.post .body{padding:12px}
.post .meta{font-size:12px;color:var(--muted);margin-bottom:8px}
.post h2{margin:0 0 8px;font-size:18px}
.post p{margin:0;color:var(--muted);font-size:14px}
.sidebar .card{background:var(--card);padding:14px;border-radius:12px;box-shadow:var(--shadow);margin-bottom:16px}
.card{background:var(--card);padding:18px;border-radius:12px;box-shadow:var(--shadow)}
.footer-row{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}
.muted{color:var(--muted);font-size:13px}
.btn{background:var(--primary);color:#fff;padding:10px 14px;border-radius:8px;border:0;cursor:pointer}
input, textarea{width:100%;padding:10px;border:1px solid #e8edf5;border-radius:8px;margin:8px 0;box-sizing:border-box}
textarea{min-height:120px}
@media(max-width:980px){
  .grid{grid-template-columns:1fr}
  .posts{grid-template-columns:1fr}
  .primary-nav{display:none}
}
