/* styles.css — polished layout and typography (Option A) + post page styles */
:root{
  --accent:#d32f2f;
  --muted:#6b6b6b;
  --bg:#f7f7f8;
  --card-bg:#ffffff;
  --max-width:1100px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial; color:#111; margin:0; background:var(--bg); -webkit-font-smoothing:antialiased}
.wrap{max-width:var(--max-width);margin:0 auto;padding:0 18px}
.site-header{background:#fff;border-bottom:1px solid #e6e6e6}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0;gap:16px}
.logo img{height:36px}
.main-nav{display:flex;align-items:center;gap:16px}
.main-nav a{color:#222;text-decoration:none;font-weight:600;font-size:15px;padding:8px}
.main-nav a:hover{color:var(--accent)}
.search{flex:1;max-width:420px}
.search input{width:100%;padding:8px 12px;border:1px solid #e0e0e0;border-radius:8px;font-size:15px}
.site-main{padding:28px 0}
.hero{display:grid;grid-template-columns:2fr 1fr;gap:18px;margin-bottom:22px}
.hero-card{background:var(--card-bg);border-radius:10px;overflow:hidden;border:1px solid #eee;box-shadow:0 6px 18px rgba(20,20,20,0.03)}
.hero-card img{width:100%;height:420px;object-fit:cover;display:block}
.hero-card .kicker{position:absolute;left:18px;top:18px;background:rgba(0,0,0,0.6);color:#fff;padding:8px 12px;border-radius:6px;font-size:13px}
.hero-card h2{font-size:26px;margin:16px}
.hero-right{display:grid;gap:12px}
.small-hero{height:200px;display:block;border-radius:8px;overflow:hidden;border:1px solid #eee;background:#fff}
.small-hero img{width:100%;height:100%;object-fit:cover}
.columns{display:grid;grid-template-columns:1fr 320px;gap:20px}
.content{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.card{background:var(--card-bg);border-radius:8px;overflow:hidden;border:1px solid #eee;box-shadow:0 6px 12px rgba(10,10,10,0.02);cursor:pointer}
.card img{width:100%;height:170px;object-fit:cover}
.card .card-body{padding:12px}
.card h3{margin:0 0 8px;font-size:18px}
.card p{margin:0;color:var(--muted);font-size:14px;line-height:1.4}
.sidebar .widget{background:var(--card-bg);padding:14px;border-radius:8px;border:1px solid #eee;margin-bottom:12px}
.sidebar h3{margin:0 0 8px}
.site-footer{padding:24px 0;text-align:center;color:var(--muted);margin-top:30px}
.kicker-small{font-size:12px;padding:5px 8px;border-radius:6px;background:#f0f0f0;display:inline-block}
.button{display:inline-block;background:var(--accent);color:#fff;padding:8px 12px;border-radius:6px;text-decoration:none}

/* Post page */
.post-article{background:var(--card-bg);padding:22px;border-radius:10px;border:1px solid #eee;box-shadow:0 6px 18px rgba(20,20,20,0.03)}
.post-article h1{font-size:28px;margin:6px 0}
.post-article .post-content{margin-top:18px;line-height:1.75;font-size:17px;color:#222}
.post-article img{max-width:100%;height:auto;border-radius:8px}

@media(max-width:980px){
  .hero{grid-template-columns:1fr}
  .hero-card img{height:260px}
  .hero-right{grid-template-columns:1fr}
  .columns{grid-template-columns:1fr}
  .content{grid-template-columns:1fr}
}
@media(max-width:520px){
  .hero-card img{height:200px}
  .card img{height:140px}
}
