/* ==================== Blog Page Styles ==================== */

.cat-link-detail.active {
    background: #EEF2FF;
    color: #4F46E5;
    font-weight: 600;
}

article:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,.08) !important;
    border-color: #E5E7EB !important;
}

article:hover img {
    transform: scale(1.03);
}

article h2 a:hover {
    color: #4F46E5 !important;
}

.blog-search-row form button:hover {
    opacity: .9;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    article img {
        height: 160px !important;
    }
    article {
        margin-bottom: 1rem !important;
    }
    article > div {
        padding: 1.25rem !important;
    }
}

[data-theme="dark"] article {
    background: #1E293B;
    border-color: #334155;
}
[data-theme="dark"] article:hover {
    border-color: #475569;
    box-shadow: 0 12px 30px rgba(0,0,0,0.3) !important;
}
[data-theme="dark"] article h2 a {
    color: #F1F5F9 !important;
}
[data-theme="dark"] article h2 a:hover {
    color: #818CF8 !important;
}
[data-theme="dark"] .cat-link-detail {
    background: #334155;
    color: #94A3B8;
}
[data-theme="dark"] .cat-link-detail.active {
    background: #818CF8;
    color: #0F172A;
}
[data-theme="dark"] .cat-link-detail:hover {
    background: #475569;
}