@font-face {
    font-family: 'CrimsonPro';
    src: url('./fonts/CrimsonPro-VariableFont_wght.ttf');
    font-weight: 700;
}

@font-face {
    font-family: 'Montserrat';
    src: url('./fonts/Montserrat-VariableFont_wght.ttf');
    font-weight: 400;
}

@font-face {
    font-family: 'NotoSans-Regular';
    src: url('./fonts/Noto_Sans/NotoSans-Regular.ttf');
    font-weight: 400;
}



.header-top {
    height: 50px;
    background-color: #D12424;
    position: relative;
}

.back-link {
    position: absolute;
    left: 0;
}

.back {
    padding-left: 80px;
    background: url(../images/tet/back.png) no-repeat;
    position: relative;
    align-items: center;
    display: inline-block;
    width: 80px;
    height: 50px;
    cursor: pointer;
}

body {
    background-color: #fff4e2;
}

.clearfix:after {
    content: "";
    display: block;
    height: 1px;
    width: 100%;
    clear: both;
}

/* Wrapper chứa 3 phần tử = luôn thẳng hàng */
.layout-wrap {
    display: flex;
    justify-content: center;
    gap: 20px;
    /* khoảng cách giữa banner và content */
    position: relative;
    transform: translateY(-35px);
    padding-top: 60px;
}

.box {
    position: relative;
    z-index: 1;
}

.box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;               /* full màn hình */
    height: 100%;
    background: url(../images/tet/Group.png) center -25px no-repeat;
    background-size: 100% ;     /* tự phủ đều 2 bên */
    /* opacity: 0.2; */
    z-index: -1;
    transform: translateX(calc((100% - 100vw) / 2)); 
}

/* Khối nội dung */
.main-content {
    width: 922px;
    display: grid;
}

/* Banner trái/phải */
.left-banner,
.right-banner {
    position: sticky;
    top: 120px;
    /* banner dừng sau header */
    height: fit-content;
}

/* Chiều rộng banner */
.left-banner img,
.right-banner img {
    width: 220px;
    display: block;
}

/* Ẩn trên màn hình nhỏ */
@media (max-width: 1300px) {

    .left-banner,
    .right-banner {
        display: none;
    }
}

.article-link {
    font-family: 'CrimsonPro', sans-serif !important;
    line-height: 1.3 !important;
}

.box-block-1 .cat-content .article:first-child,
.box-block-2 .cat-content .article:nth-child(4) {
    position: relative;
}

.box-block-1 .cat-content .article:first-child .article-link,
.box-block-2 .cat-content .article:nth-child(4) .article-link {
    color: white;
    font-size: 36px;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}


.box-block-1 .cat-content .article:first-child .article-title,
.box-block-2 .cat-content .article:nth-child(4) .article-title {
    position: absolute;
    top: 75%;
    z-index: 1;
    padding: 0 35px;
}

.box-block-1 .cat-content .article:first-child .article-desc {
    display: none;
}

.box-block-1 .cat-content .article:nth-child(n+2) {
    width: calc((100% - 30px)/ 2);
    float: left;
    margin-top: 15px;
}

.box-block-1 .cat-content .article:nth-child(2) {
    margin-right: 30px;
}

.box-block-1 .cat-content .article:nth-child(n+2) .article-link {
    font-size: 24px;
}

.line {
    position: relative;
    padding-bottom: 40px;
    /* chừa không gian cho line */
}

.line::after {
    content: '';
    background: url(../images/tet/Layer_1.png) center no-repeat;
    width: 100%;
    height: 20px;
    position: absolute;
    left: 0;
    bottom: 0;
    /* đặt sát đáy khối */
    display: block;
}

.box-block-2 .cat-content .article-link {
    font-size: 20px;
}

.box-block-2 .cat-content .article {
    width: calc((100% - 60px)/ 3);
    float: left;
}

.box-block-2 .cat-content .article:nth-child(1),
.box-block-2 .cat-content .article:nth-child(2),
.box-block-2 .cat-content .article:nth-child(5),
.box-block-2 .cat-content .article:nth-child(6) {
    margin-right: 30px;
}

.box-block-2 .cat-content .article:nth-child(4) .article-image::after, .box-block-1 .cat-content .article:first-child .article-image::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, /* Đen đậm hoàn toàn ở đáy ảnh */ rgba(0, 0, 0, 0.7) 35%, /* Giữ đen vừa ở khoảng 1/3 dưới ảnh */ rgba(0, 0, 0, 0.3) 60%, /* Chuyển dần lên mờ hơn */ rgba(0, 0, 0, 0) 100% /* Trong suốt ở trên */);
    pointer-events: none;
    z-index: 1;
}

.box-block-2 .cat-content .article:nth-child(4) {
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
}

.footer-top {
    background-color: #D12424;
    margin-top: 50px;
}

.footer-top .container {
    padding: 30px 0;
    gap: 30px;
}

.f-btn a {
    font-family: 'Montserrat', sans-serif;
    color: #862121;
    background-color: #F4c82d;
    padding: 10px 15px;
    border-radius: 5px;
}

.f-center .top {
    color: white;
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
}

.f-center .bot {
    font-size: 13px;
    font-family: 'NotoSans-Regular',sans-serif;
    margin-top: 5px;
}

.w-50{
    color: #ffffff75;
}

.footer-center {
    background-color: #A11b1b;
    padding: 30px 0;
}

.f-left {
    width: 300px;
    margin-right: 30px;
    padding-right: 30px;
    border-right: 1px solid #c03838;
}

.mt-10 {
    margin-top: 10px;
}

.f-12 {
    font-size: 12px;
}

.center {
    text-align: justify;
}

.f-btn-1 a{
    font-family: 'Montserrat', sans-serif;
    color: #F4c82d;
    border: 1px solid#F4c82d;
    padding: 10px 15px;
    border-radius: 5px;
}

.btn {
    gap: 20px;
}

.btn a {
    font-size: 12px;
    width: 130px;
    display: block;
    text-align: center;
}



.main-menu-special {
    padding: 15px 0;
}

.navigation {
    margin-top: 30px;
}

.main-menu-item {
    margin-bottom: 25px;
    flex: 0 0 auto;
    width: 25%;
    gap: 8px;
    display: flex;
    flex-direction: column;
}

.row {
    width: 100%;
}

.navigation-link {
    color: white !important;
}

.row .main-menu-item:last-child {
    display: none;
}

.dark.mt-30 {
    margin-top: 0px;
    background-color: #862121;
}