.blog-cat-wrapper {
    position: relative;
    width: 100%;
}

.blog-cat-scroll {
    overflow-x: auto;
    scroll-behavior: smooth;
    white-space: nowrap;
    padding: 6px 40px;
}

.blog-cat-scroll::-webkit-scrollbar {
    display: none;
}

.blog-cat-item {
    display: inline-block;
    padding: 10px 18px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    margin-right: 10px;
    font-size: 14px;
    cursor: pointer;
    transition: .2s;
    color: #374151;
}

.blog-cat-item:hover,
.blog-cat-item.active {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

.cat-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cat-prev {
    left: 0;
}

.cat-next {
    right: 0;
}

/* blogs */
.blog-item-modern {
    transition: transform .2s, box-shadow .2s;
}

.blog-item-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.blog-img {
    max-height: 220px;
    border-radius: 0;
    /* để hòa vào card */
}

.blog-title-modern {
    font-size: 1.25rem;
    line-height: 1.35;
    transition: color .2s;
}

.blog-title-modern:hover {
    color: #dc3545;
}

.object-fit-cover {
    object-fit: contain;
}

@media(max-width: 768px) {
    .blog-img {
        max-height: 180px;
    }
}

.blog-img-fixed {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 0;
}

.blog-item-modern {
    transition: transform .2s, box-shadow .2s;
}

.blog-item-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.blog-title-modern {
    font-size: 1.25rem;
    line-height: 1.35;
    transition: color .2s;
}

.blog-title-modern:hover {
    color: #dc3545;
}

@media (max-width: 768px) {
    .blog-img-fixed {
        height: 200px;
    }
}