.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; margin-top: 40px; }
.blog-card {
    position: relative; display: flex; flex-direction: column;
    background: linear-gradient(180deg, rgba(17, 26, 46, .85), rgba(11, 17, 32, .85));
    border-radius: 16px; border: 1px solid var(--line); overflow: hidden; isolation: isolate;
    transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease);
}
.blog-card::after {   /* yonib turadigan chegara */
    content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
    background: linear-gradient(135deg, rgba(56,189,248,.9), rgba(139,92,246,.9) 50%, transparent 75%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    opacity: 0; transition: opacity .45s;
}
.blog-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 26px 50px -24px rgba(37, 99, 235, .55), 0 0 0 1px rgba(59,130,246,.08); }
.blog-card:hover::after { opacity: 1; }
.blog-image { position: relative; display: block; height: 200px; margin: 10px 10px 0; border-radius: 12px; overflow: hidden; }
.blog-image img { width: 100%; height: 100%; object-fit: cover; transition: filter .5s; }
.blog-image::after {   /* ustidan sirpanib o'tadigan yorug'lik */
    content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; pointer-events: none;
    background: linear-gradient(105deg, transparent, rgba(255,255,255,.22), transparent);
    transform: skewX(-18deg); opacity: 0;
}
.blog-card:hover .blog-image img { filter: brightness(1.08) saturate(1.1); }
.blog-card:hover .blog-image::after { animation: blogShine .9s var(--ease) forwards; }
@keyframes blogShine { 0% { left: -60%; opacity: 0; } 15% { opacity: 1; } 100% { left: 120%; opacity: 0; } }
.blog-card:hover .blog-content h3 a { color: #93C5FD; }
.read-more i { transition: transform .3s var(--ease); }
.blog-card:hover .read-more i { transform: translateX(5px); }
@media (prefers-reduced-motion: reduce) { .blog-card:hover { transform: none; } .blog-card:hover .blog-image::after { animation: none; } }
.blog-content { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-date { font-size: 12px; color: var(--text-muted); display: block; margin-bottom: 10px; }
.blog-content h3 { font-size: 20px; margin-bottom: 12px; line-height: 1.4; }
.blog-content h3 a:hover { color: var(--accent); }
.blog-content p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; }
.read-more { font-size: 14px; color: var(--accent-cyan); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; margin-top: auto; }

/* Pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 15px; margin-top: 50px; }
.page-link { padding: 8px 16px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 6px; font-size: 14px; }
.page-link:hover { border-color: var(--accent); color: var(--accent); }
.page-current { font-size: 14px; color: var(--text-muted); }

/* Post Detail */
.post-wrapper { max-width: 800px; margin: 0 auto; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 14px; margin-bottom: 30px; font-weight: 500; }
.post-header h1 { font-size: 40px; line-height: 1.2; margin-bottom: 15px; }
.post-meta { color: var(--text-muted); font-size: 14px; border-bottom: 1px solid var(--border-color); padding-bottom: 20px; margin-bottom: 30px; }
.post-cover { width: 100%; border-radius: 12px; overflow: hidden; margin-bottom: 40px; }
.post-cover img { width: 100%; height: auto; display: block; }
.post-content { font-size: 17px; line-height: 1.8; color: #D1D5DB; }
.post-content p { margin-bottom: 20px; }
.blog-image .post-thumb-ph {
    width: 100%; height: 100%; display: grid; place-items: center; font-size: 42px; color: #fff;
    background: radial-gradient(circle at 30% 30%, rgba(59,130,246,.65), transparent 60%), radial-gradient(circle at 80% 80%, rgba(139,92,246,.6), transparent 60%), #0B1530;
}
