.blog-section {
    padding: 50px 0;
}

.blog-wrap {
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto;
}

.blog-heading {
    margin-bottom: 32px;
}

.blog-label {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #9a938b;
}

.blog-title {
    margin: 0;
    font-size: 46px;
    line-height: 1.05;
    font-weight: 400;
    color: #2f2b28;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 20px;
}

.blog-card {
    background: #ffffff;
    border: 1px solid #ece7e1;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.06);
}

.blog-thumb {
    aspect-ratio: 1.15;
    overflow: hidden;
    background: #ddd;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.blog-content {
    padding: 18px 18px 20px;
}

.blog-meta {
    display: block;
    margin-bottom: 10px;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #9b948d;
}

.blog-card-title {
    margin: 0 0 10px;
    line-height: 1.3;
    font-weight: 400;
    color: #2f2b28;
}

.blog-desc {
    font-size: 14px;
    line-height: 1.75;
    color: #7d766f;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #5f5953;
}

.blog-pagination {
    margin-top: 38px;
    display: flex;
    justify-content: center;
}

.blog-pagination nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    box-shadow: none;
    justify-content: center;
    background-color: unset !important;
}

.blog-pagination a,
.blog-pagination span {
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #d8d2cb;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    color: #5f5953;
    background: #ffffff;
}

.blog-pagination a:hover {
    border-color: #7b746d;
    color: #2f2b28;
}

.blog-pagination .active, .blog-pagination .current{
    background: #26242a;
    border-color: #26242a;
    color: #ffffff;
}

.blog-pagination .dots {
    border: none;
    background: transparent;
    min-width: auto;
    padding: 0 2px;
}

.blog-pagination .nav {
    padding: 0 18px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
}

@media (max-width: 1100px) {
    .blog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

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

}

@media (max-width: 560px) {
    .blog-section {
        padding: 35px 0;
    }

    .blog-grid {
        gap: 10px;
    }

    .blog-wrap {
        width: min(100% - 24px, 1320px);
    }

    .blog-pagination nav {
        gap: 8px;
    }

    .blog-pagination a,
    .blog-pagination span {
        min-width: 38px;
        height: 38px;
        font-size: 13px;
    }

    .blog-pagination .nav {
        padding: 0 14px;
    }

    .blog-content {
        padding: 10px;
    }

    .blog-card-title {
        font-size: 16px;
    }
}

.blog-title {
    font-size: clamp(24px, 5vw, 40px);
}

.blog-card-title {

    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* số dòng tối đa */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-desc {

    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* số dòng tối đa */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}