@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;
}

.mt-20{
    margin-top: 20px;
}

.mt-30{
    margin-top: 20px;
}

.line {
    position: relative;
    padding-bottom: 30px;
    /* chừa không gian cho line */
}

.line::after {
    content: '';
    background: url(../images/tet/Vector.png) center no-repeat;
    width: 100%;
    height: 20px;
    position: absolute;
    left: 0;
    bottom: 0;
    /* đặt sát đáy khối */
    display: block;
}

.box-block-1 .article:first-child .article-desc {
    display: none;
}


.article-link {
    font-family: 'CrimsonPro', sans-serif !important;
    line-height: 1.3 !important;
}

.box-block-1 .cat-content .article:first-child {
    position: relative;
    margin-bottom: 15px;
}

.box-block-1 .cat-content .article:first-child .article-title{
    position: absolute;
    top: 65%;
    z-index: 1;
    padding: 0 25px;
}

.box-block-1 .cat-content .article:nth-child(n+2) {
    margin-top: 10px;
}

/* .box-block-1 .cat-content .article:first-child .article-image::before {
    padding-top: 100%;
    content: '';
    display: block;
} */

.box-block-1 .cat-content .article:first-child .article-image {
    margin: 0 -12px;
}

.box-block-1 .cat-content .article:first-child .article-link {
    color: white;
    font-size: 22px;
    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-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-1 .cat-content .article:nth-child(n+2) .article-link {
    font-size: 20px;
}

.box-block-2 .cat-content .article-image {
    width: 145px;
    float: left;
    margin-right: 20px;
}

.box-block-2 .cat-content .article {
    display: block;
}

.box-block-2 .cat-content .article:nth-child(n+2) {
    margin-top: 30px;
}

.box-block-2 .cat-content .article-link {
    font-size: 16px;
}

.clearfix:after {
    content: "";
    display: block;
    width: 100%;
    clear: both;
}