:root {
    /* Text colors */
    --text-main: #000000;
    --text-header:#4D4D4D;
    /* text chính */
    --text-title: #E31B21;
    /* tiêu đề */
    --text-invert: #FFFFFF;
    /* text trên nền tối */

    /* Background */
    --bg-site: #FAF0E4;
    /* nền tổng thể trang */
    --bg-section: #F0DFD0;
    /* nền block, section phụ */
    --bg-footer: #7D7D59;
    /* footer */
    --bg-tag: #91131C;
    /* bg của label/tag */

    /* Background */
    --bg: #E8F6F4;
    --bg-darker: #D4E8E3;
    --bg-2: #F5EBE1;
    --bg-2-darker: #F0E2D5;
    --bg-2-darker2: #EAD8C8;
    --bg-moss: #8A8C5E;
    --bg-card: #fff;
    /* Border */
    --border-1: #E4DFD9;
    --border-2: #E1D8CD;

    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-7: 28px;
    --space-8: 32px;
    --space-9: 36px;
    --space-10: 40px;
    --space-11: 44px;
    --space-12: 48px;
}


.container {
    width: 100%;
    margin: 0 auto;
    padding-left: var(--space-3);
    padding-right: var(--space-3);
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

@media (min-width: 1600px) {
    .container {
        max-width: 1520px;
    }
}

.mb-32 {
    margin-bottom: var(--space-8);
}

.mb-48 {
    margin-bottom: var(--space-12);
}

.mb-24 {
    margin-bottom: var(--space-6);
}
.pt-0 {
    padding-top:0;
}

@media (max-width:991px) {
    .mb-48 {
        margin-bottom: var(--space-9);
    }
}

/* Title */
.title-site-big {
    font-size: 34px;
    font-weight: 700;
    color: var(--text-title);
    margin-bottom: var(--space-4);
    font-family: "VNBSerif";
    position: relative;
    line-height: 1.4;
    min-height: 56px;
    display: inline-block;
}
.title-site-big a {
    display:inline-block;
}
.title-site-big:before {
    content: '';
    position: absolute;
    bottom: 1px;
    background: var(--text-title);
    height: 4px;
    width: 100%;
}
.title-site-medium {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-title);
    margin-bottom: var(--space-4);
    font-family: "VNBSerif";
    position: relative;
    line-height: 1.4;
    display: inline-block;
}
@media (min-width: 992px) and (max-width:1199px) {
    .title-site-big {
        font-size: 32px;
    }
}

@media (max-width:991px) {
    .title-site-big {
        font-size: 28px;
        min-height: 48px;
    }
}

@media (max-width:575px) {
    .news-item__title--large {
        font-size: 22px;
    }
}

/* Ttitle news */
.news-item__title--display {
    font-size: 36px;
    line-height: 1.4;
    font-family: "VNBDisplay";
}

.news-item__title--large {
    font-size: 24px;
    line-height: 1.4;
    font-family: "VNBDisplay";

}

.news-item__title--medium {
    font-size: 20px;
    line-height: 1.4;
    font-family: "VNBDisplay";

}

.news-item__title--small {
    font-size: 18px;
    line-height: 1.4;
    font-family: "VNBDisplay";
}

.news-item__description {
    color: var(--text-main);
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
}

@media (min-width: 768px) and (max-width:991px) {
    .news-item__title--display {
        font-size: 28px;
    }
}

@media (min-width: 992px) and (max-width:1199px) {
    .news-item__title--display {
        font-size: 28px;
    }
}

@media (max-width:767px) {
    .news-item__title--display {
        font-size: 26px;
    }
}

/* Ttitle news */
/* Nav , Pagination Swiper */
.ct-nav-slide {
    width: var(--space-8);
    height: var(--space-8);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    border: 1px solid var(--border-1);
    transition: all .3s;
    position: absolute;
    opacity: 1;
    bottom: 0;
    z-index: 1;
}

.ct-nav-slide svg {
    display: none;
}

.ct-nav-slide:after {
    display: none !important;
}

.ct-pagination {
    position: relative;
    display: none;
    align-items: center;
    justify-content: center;
    column-gap: var(--space-4);
    z-index: 1;
    margin-top: 32px;
}

.ct-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 !important;
    display: block;
    background: rgb(125 125 89 / 50%);
    opacity: 1;
}

.ct-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--text-title);
}

/*  End Nav , Pagination Swiper */



/* pagination site */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
}

.pagination__btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all .3s;
}

.pagination__list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination__item {
    width: 40px;
    height: 40px;
}

.pagination__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
    color: rgba(78, 78, 78, 1);
    background: #fff;
    border: 1px solid rgba(228, 223, 217, 1);
    transition: all .3s;
}

.pagination__item.is-active .pagination__link {
    background: var(--text-title);
    color: #fff;
    border-color: var(--text-title);
}
.block-pagination {
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 0px 0px 8px 8px;
    width: calc(100% - 48px);
    margin: 0 auto;
}

.pagination__link:hover {
    background: #fff;
    border-color: var(--text-title);
}
.pagination__btn:hover {
    background: #fff;
    border-color: var(--text-title);
}


/* back to top*/
.back_to_top {
    position: fixed;
    right: var(--space-12);
    bottom: var(--space-12);
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(207, 195, 180, 1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    z-index: 4;
    transition: all .3s;
}
.back_to_top:hover {
    background: rgba(255, 255, 255, 1);
}
@media (min-width: 768px) and (max-width:1199px)  { 
    .back_to_top {
        bottom: var(--space-4);
        right: var(--space-4);
        width: var(
        --space-10);
        height: var(--space-10);
    }
}
@media (max-width:767px) {
    .back_to_top {
        bottom: var(--space-2);
        right: var(--space-2);
        width: var(
        --space-10);
        height: var(
        --space-10);
    }
}

/* */
.is-live-small {
    display: inline-flex;
    align-items: center;
    background: #f00;
    height: 16px;
    line-height: 16px;
    padding: 0 4px 0 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    border-radius: 2px;
    position: relative;
    top: -3px;
    margin-right: 6px;
}
.is-live-small:before {
    content: '';
    position: absolute;
    top: 5px;
    left: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
}
.is-live-big {
    display: inline-flex;
    align-items: center;
    background: #f00;
    height: 24px;
    line-height: 16px;
    padding: 0 6px 0 20px;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    border-radius: 3px;
    position: relative;
    top: -6px;
    margin-right: 6px;
}
.is-live-big:before {
    content: '';
    position: absolute;
    top: 8px;
    left: 6px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff;
}
.label-news {
    display: inline-flex;
    align-items: center;
    margin-right: 6px;
    height: 16px;
    background: rgba(128, 128, 128, 1);
    color: #fff;
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    padding: 0 4px;
    letter-spacing: 0.05px;
    border-radius: 4px;
    position: relative;
    bottom: 2px;
}
.icon-title {
    display: inline-block;
    margin-right: 6px;
}
@media (max-width:575px){
    .is-live-big {
        top: -5px;
        height: 20px;
        font-size: 14px;
        padding: 0 6px 0 18px;
    }
    .is-live-big:before {
        top: 7px;
        width: 6px;
        height: 6px;
    }
}
@media (min-width: 576px) and (max-width:991px)  { 
    .is-live-big {
        top: -6px;
        height: 22px;
        font-size: 14px;
        padding: 0 6px 0 18px;
    }
    .is-live-big:before {
        top: 7px;
        width: 7px;
        height: 7px;
    }
}
@media (min-width: 992px) and (max-width:1199px)  { 
    .is-live-big {
        top: -4px;
    }
}
