/* Stylish blog styles */
:root{
    --accent:#0b6efd;
    --muted:#6b7280;
    --card-bg:#ffffff;
    --page-bg:linear-gradient(180deg,#f7fbff 0%, #ffffff 40%);
}
body{
    background: var(--page-bg);
    color:#111827;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}
.blog-main{
    display:grid;
    grid-template-columns: 1fr 320px;
    gap:32px;
    padding:48px 20px 80px;
    max-width:1200px;
    margin:0 auto;
}
.blog-hero{
    grid-column:1 / -1;
    background: linear-gradient(90deg, rgba(11,110,253,0.06), rgba(6,182,212,0.03));
    border-radius:12px;
    padding:40px 24px;
    margin-bottom:12px;
    display:flex;
    align-items:center;
}
.blog-hero .hero-inner{ max-width:900px; }
.blog-hero h1{ margin:0; font-size:2rem; letter-spacing:-0.5px; }
.blog-hero .lead{ margin-top:8px; color:var(--muted); }
.posts{ display:flex; flex-direction:column; gap:20px; }
.post{
    display:grid;
    grid-template-columns: 200px 1fr;
    gap:18px;
    background:var(--card-bg);
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 6px 18px rgba(15,23,42,0.06);
    transition:transform .18s ease, box-shadow .18s ease;
}
.post:hover{ transform:translateY(-6px); box-shadow:0 12px 30px rgba(15,23,42,0.08); }
.post img{ width:100%; height:100%; object-fit:cover; display:block; }
.post-content{ padding:18px; display:flex; flex-direction:column; }
.post-title{ margin:0 0 8px; font-size:1.15rem; color:#0f172a; }
.meta{ color:var(--muted); font-size:0.85rem; margin-bottom:12px; }
.excerpt{ margin:0; color:#374151; flex:1; }
.read-more{ display:inline-block; margin-top:12px; padding:8px 12px; background:transparent; border:1px solid rgba(11,110,253,0.12); color:var(--accent); text-decoration:none; border-radius:8px; font-weight:600; }
.read-more:hover{ background:rgba(11,110,253,0.05); }
.sidebar .widget{ background:var(--card-bg); padding:16px; margin-bottom:16px; border-radius:10px; box-shadow:0 4px 14px rgba(2,6,23,0.04);} 
.search-widget input[type="search"]{ width:100%; padding:10px 12px; border-radius:8px; border:1px solid #e6e9ef; font-size:0.95rem; }
.search-count{ margin-top:8px; color:var(--muted); font-size:0.9rem; }
.no-results{ padding:24px; text-align:center; color:var(--muted); background:linear-gradient(180deg, rgba(255,255,255,0.5), rgba(248,250,252,0.5)); border-radius:8px; }
.visually-hidden{ position:absolute !important; height:1px; width:1px; overflow:hidden; clip:rect(1px, 1px, 1px, 1px); white-space:nowrap; }

mark{ background: #fff3bf; padding:0 4px; border-radius:3px; }

@media (max-width: 900px){
    .blog-main{ grid-template-columns: 1fr; padding:28px 16px 80px; }
    .post{ grid-template-columns: 1fr; }
    .post img{ height:200px; }
}

/* Post page styles */
.post-page{ padding:48px 20px 80px; max-width:900px; margin:0 auto; }
.post-hero h1{ font-size:2rem; margin:0 0 8px; }
.post-body{ margin-top:18px; color:#334155; line-height:1.7; }
.post-body h2{ margin-top:18px; }
.post-body ul, .post-body ol{ margin-left:1.1rem; }


