.blog-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.blog-title-row img {
    width: 28px;
    height: 28px;
}

.blog-title {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 33.75px;
    line-height: 48px;
    color: #3F465D;

}

.blog-desc {
    color: #7b8a97;
    margin-bottom: 18px;
    font-weight: 400;
    font-size: 16px;
    line-height: 30px;
    max-width: 655px;
}

.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.blog-filter-btn {
    gap: 10px;
    border-radius: 20px;
    font-weight: bolder;
    background-color: #F7F7F7;
    padding: 10px;
    border: 1px solid #e3e7ed;
    font-size: 13px;
    color: #1a2c47;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.blog-filter-btn.active, .blog-filter-btn:hover {
    background: #4eaf50;
    color: #fff;
    border-color: #4eaf50;
}

.blog-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 22px;
    margin-bottom: 38px;
}

.blog-card {
    border-radius: 16px;
    box-shadow: 0 2px 8px #e9ecef;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.2s;
    padding: 20px;
    gap: 24px;
    background: #FFFFFF;
    box-sizing: border-box;
}

.blog-card:hover {
    box-shadow: 0 4px 16px #d1e7dd;
    text-decoration: none;
}

.blog-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

.blog-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #4eaf50;
    margin-bottom: 6px;
}

.blog-card-title {
    font-weight: 600;
    font-size: 15px;
    color: #1a2c47;
    margin-bottom: 6px;
}

.blog-card-desc {
    font-size: 14px;
    color: #7b8a97;
}

.blog-next-btn {
    display: inline-block;
    border: 1px solid #e3e7ed;
    background: #fff;
    color: #1a2c47;
    cursor: pointer;
    margin-bottom: 44px;
    transition: background 0.2s, color 0.2s;
    font-family: Inter;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    border-radius: 1081px;
    border-width: 1px;
    padding-top: 10px;
    padding-right: 16px;
    padding-bottom: 10px;
    padding-left: 16px;
}

.blog-next-btn:hover {
    background: #4eaf50;
    color: #fff;
    border-color: #4eaf50;
}


@media (max-width: 1024px) {
    .blog-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }


}

@media (max-width: 700px) {
    .blog-cards-grid {
        grid-template-columns: 1fr;
    }


}

.uk-section.uk-section-default.heightMatch {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #ccc;
    border-top: 5px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
/* Kateqoriya keçidi: köhnə kartlar sürüşüb solur, yenilər qarşı tərəfdən sırayla gəlir (blog.blade.php JS) */
#blog-container { transition: opacity .22s ease, transform .22s ease; }
#blog-container.is-leaving { opacity: 0; transform: translateX(calc(var(--blog-dir, 1) * -28px)); }
#blog-container.is-loading { pointer-events: none; }
.blog-card.blog-enter { animation: blogEnter .45s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes blogEnter {
    from { opacity: 0; transform: translateX(calc(var(--blog-dir, 1) * 28px)) translateY(6px); }
    to { opacity: 1; transform: none; }
}
.blog-empty { grid-column: 1 / -1; text-align: center; padding: 48px 16px; color: #6b7280; font-size: 16px; }
.blog-filter-btn { transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
@media (prefers-reduced-motion: reduce) {
    #blog-container, .blog-card.blog-enter { transition: none; animation: none; transform: none; }
}

