﻿:root {
    --accent: #e03a45; /* màu đỏ nhấn */
    --text: #202124;
    --muted: #6b6f76;
    --white: #FFFFFF;
    --line: #e9ecef;
    --brand-red: #D92032;
    --soft-gray: #f4f6f8;
    --line-gray: #e6e6e6;
    --text-gray: #7C8697;
    --title-bold: #111820;
    --red-opacity: rgba(217, 32, 50, 0.1);
    --bg-grey-01: #F7F8FA;
}

.container-topp-banner {
    height: 575px;
}

    .container-topp-banner .container-topp-banner-right{
        right: 0;
    }

        .container-topp-banner .container-topp-banner-right .img-desktop {
            height: 575px;
            width: 100%;
        }

.disabled-link {
    pointer-events: none;
}

.text-mobile-container {
    /*width: 20%;*/
}

.img-mobile-container {
    /*width: 50%;*/
}

.blog-title {
    font-family: 'Pretendard';
    font-weight: 700;
    font-size: 24px;
    line-height: 36px;
    color: var(--brand-red);
}

.blog-text {
    font-family: 'Pretendard';
    font-weight: 700;
    font-size: 36px;
    line-height: 54px;
    letter-spacing: normal;
    color: var(--text);
}

.blog-desc {
    font-family: 'Pretendard';
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: normal;
    color: var(--text);
}

.blog-list {
    background-color: var(--bg-grey-01);
}

.blog-card {
    border: 1px solid var(--white);
}

    .blog-card img {
        height: 300px;
        object-fit: cover;
    }

    .blog-card:hover {
        border: 1.5px solid var(--brand-red);
        border-radius: unset;
        box-shadow: 5px 5px 10px 0px #00000026;
        cursor: pointer;
    }

    .blog-card .card-title {
        color: var(--text);
        font-family: 'Pretendard';
        font-weight: 700;
        font-size: 20px;
        line-height: 30px;
        letter-spacing: normal;
    }

    .blog-card .text-muted-blog {
        color: var(--muted);
        font-family: 'Pretendard';
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
        letter-spacing: normal;
    }

/* Pagination styling */
.blog-list .faq-pagination {
    font-size: 0.8rem;
    user-select: none;
    padding-top: 2.188rem;
    padding-bottom: 9.375rem;
    color: var(--text);
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    list-style-type: none;
    margin: 0;
    font-family: 'Pretendard';
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: normal;
    text-align: center;
    vertical-align: middle;
}

    .blog-list .faq-pagination li {
        cursor: pointer;
        user-select: none;
        padding: 0.2rem 0.7rem;
        border-radius: unset;
        color: var(--text);
        transition: background-color 0.3s, color 0.3s;
        opacity: 20%;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .blog-list .faq-pagination li:hover:not(.disabled) {
            opacity: 100%;
        }

        .blog-list .faq-pagination li.page-item-first, .blog-list .faq-pagination li.page-item-last {
            opacity: 100%;
        }

            .blog-list .faq-pagination li.page-item-first > a, .blog-list .faq-pagination li.page-item-last > a {
                color: var(--text);
            }

    .blog-list .faq-pagination li.active {
        opacity: 100%;
    }

    .blog-list .faq-pagination li.disabled {
        cursor: default;
        opacity: 0.4;
    }

.img-mobile {
    display: none;
}
/* ====================== Tablet ========================= */
@media (min-width: 768px) and (max-width: 1024px) {
    .title-mt200 {
        margin-top: 150px;
    }

    .container-mobile-custom {
        padding-right: 0;
    }

    .img-desktop {
        display: none;
    }

    .img-mobile {
        display: block;
        margin-top: 60px;
        height: auto;
        width: 100%;
        object-fit: cover;
        object-position: center;
    }

    .img-mobile-container {
        display: flex;
        justify-content: end;
    }

    .text-mobile-container {
        width: 40%
    }

    /* --------------- font-size mobile custom --------------- */
    .container-topp-banner {
        height: 350px;
    }
    .cus-padding-left-mb-tabl {
        padding-left: 0px !important;
    }
}

/* ====================== Mobile ========================= */
@media (max-width: 767px) {
    .title-mt200 {
        margin-top: 130px;
    }

    .container-mobile-custom {
        padding-right: 0;
    }

    .img-desktop {
        display: none;
    }

    .img-mobile {
        display: block;
        margin-top: 60px;
        height: auto;
        width: 100%;
        object-fit: cover;
        object-position: center;
    }

    .img-mobile-container {
        display: flex;
        justify-content: end;
    }

    .text-mobile-container {
        width: 40%
    }

    /* --------------- font-size mobile custom --------------- */
    .container-topp-banner {
        height: 300px;
    }

    .blog-title {
        font-size: 16px;
        line-height: 150%;
    }

    .blog-text {
        font-size: 20px;
        line-height: 150%;
    }

    .blog-desc {
        font-size: 16px;
        line-height: 150%;
    }


    .blog-card img {
        height: 250px;
    }


    .blog-card .card-title {
        font-size: 16px;
        line-height: 150%;
    }

    .blog-card .text-muted-blog {
        font-size: 12px;
        line-height: 150%;
    }

    .blog-list .faq-pagination {
        padding-top: 10px;
        padding-bottom: 130px;
    }
    .cus-padding-left-mb-tabl {
        padding-left: 0px !important;
    }
}