.tp_product_hot .product-box {
    width: 20%;
}
.tp_product_hot .products {
    gap: 10px;
}
.tp_product_hot .product-box.product {
    flex: 0 0 calc((100% - 40px) / 5);
    max-width: calc((100% - 40px) / 5);
}
.tp_product_hot .thumb-category {
    margin-bottom: 30px;
}
.section-banner-brand .section-title h2 {
    font-size: 23px;
    text-transform: uppercase;
    display: inline-block;
    position: relative;
    margin: 30px 0;
    padding-bottom: 5px;
}
.section-banner-brand .section-title h2:before {
    content: "";
    position: absolute;
    width: 125px;
    height: 1px;
    bottom: 0;
    left: calc(50% - 62.5px);
    background: #252525;
}

.section-banner-brand .brand-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Desktop: 6 item/hàng */
.section-banner-brand .brand-item {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 calc((100% - 50px) / 6);
    max-width: calc((100% - 50px) / 6);
    height: 87px;
    padding: 12px 16px;

    background-color: #ffffff;
    border: 1px solid #8b8b8b;
    border-radius: 10px;

    text-decoration: none;
    overflow: hidden;

    transition:
            border-color 0.25s ease,
            box-shadow 0.25s ease,
            transform 0.25s ease;
}

.section-banner-brand .brand-item img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 85px;
    object-fit: contain;
}

/* Hiệu ứng hover */

.section-banner-brand .brand-item:hover {
    border-color: #333333;
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.16);
    transform: translateY(-3px);
}

.list-blog-home {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: repeat(3, auto);
    column-gap: 28px;
    row-gap: 0;
}

/* Reset link */

.list-blog-home a {
    color: inherit;
    text-decoration: none;
}

/* Bài viết nổi bật bên trái */

.blog-item-featured {
    grid-column: 1;
    grid-row: 1 / span 3;
}

.blog-item-featured .blog-image {
    display: block;
    width: 100%;
    overflow: hidden;
}

.blog-item-featured .blog-image img {
    display: block;
    width: 100%;
    height: 282px;
    object-fit: cover;
}

.blog-item-featured .blog-title {
    margin: 12px 0 8px;

    font-size: 31px;
    font-weight: 700;
    line-height: 1.15;
}

.blog-item-featured .blog-description {
    margin: 0;

    color: #222222;

    font-size: 14px;
    line-height: 1.35;
}


/* Ba bài viết bên phải */

.blog-item-small {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.blog-item-small .blog-image {
    display: block;
    flex: 0 0 180px;
    width: 180px;
    height: 118px;
    overflow: hidden;
}

.blog-item-small .blog-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-item-small .blog-content {
    flex: 1;
    min-width: 0;
}

.blog-item-small .blog-title {
    margin: -3px 0 6px;

    font-size: 21px;
    font-weight: 700;
    line-height: 1.15;
}

.blog-item-small .blog-description {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;

    color: #222222;

    font-size: 12px;
    line-height: 1.25;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}


/* Hiệu ứng ảnh */

.blog-image img {
    transition: transform 0.35s ease;
}

.blog-item:hover .blog-image img {
    transform: scale(1.04);
}

.blog-title a {
    transition: color 0.25s ease;
}

.blog-title a:hover {
    color: #d71920;
}

@media (min-width: 991px) {
    .mainHeader.tp_menu .nav.nav-left.tp_menu > .nav-item:last-child {
        position: unset;
    }
    .mainHeader.tp_menu .nav.nav-left.tp_menu > .nav-item:last-child .dropdown-menu.menu1.tp_menu {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .mainHeader.tp_menu .nav.nav-left.tp_menu > .nav-item:last-child .dropdown-menumenu1.tp_menu .nav-item-lv2 {
        padding: 0 10px;
    }
}

@media (max-width: 991px) {
    .tp_product_hot .product-box.product {
        flex-basis: calc((100% - 20px) / 3);
        max-width: calc((100% - 20px) / 3);
    }
    .list-blog-home {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto;
        gap: 10px;
    }

    .blog-item-featured {
        grid-column: auto;
        grid-row: auto;
    }

    .blog-item-featured .blog-image img {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .blog-item-featured .blog-title {
        font-size: 26px;
    }
}

@media (max-width: 767px) {
    .tp_product_hot .product-box.product {
        flex-basis: calc((100% - 10px) / 2);
        max-width: calc((100% - 10px) / 2);
    }
    .list-blog-home {
        gap: 5px;
    }

    .blog-item-featured .blog-title {
        font-size: 22px;
    }

    .blog-item-small {
        gap: 10px;
    }

    .blog-item-small .blog-image {
        flex-basis: 125px;
        width: 125px;
        height: 90px;
    }

    .blog-item-small .blog-title {
        display: -webkit-box;
        margin-top: 0;
        overflow: hidden;

        font-size: 16px;
        line-height: 1.25;

        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .blog-item-small .blog-description {
        display: none;
    }
}