/* ==========================================================
   深圳市显科科技有限公司
   官网 V2.0
   News Page
========================================================== */


/* ==========================================================
   Hero
========================================================== */

.news-hero{

    height: 420px;

    position: relative;

    display: flex;

    align-items: center;

    margin-top: 68px;

    background:
    linear-gradient(
        135deg,
        rgba(7,27,45,.25),
        rgba(26,58,92,.25)
    ),
    url("../../images/news/banner.svg");

    background-size: cover;

    background-position: center;

}


.news-hero__content{
    max-width:700px;

    text-align: left;

    color: #fff;

}


.news-hero__content h1{

    font-size: clamp(36px, 3.5vw, 52px);

    font-weight: 700;

    margin-bottom: 18px;

}


.news-hero__content p{

    font-size: 18px;

    line-height: 1.8;

    color: rgba(255,255,255,.85);

}


/* ==========================================================
   Featured Card
========================================================== */

.news-featured{

    padding-top: 80px;

    padding-bottom: 0;

}


.news-featured__card{

    display: flex;

    background: #fff;

    border-radius: 22px;

    overflow: hidden;

    box-shadow: var(--shadow-md);

    transition: .35s;

}


.news-featured__card:hover{

    transform: translateY(-6px);

    box-shadow: var(--shadow-lg);

}


.news-featured__image{

    flex: 0 0 520px;

    width: 520px;

    height: 360px;

    overflow: hidden;

    position: relative;

}


.news-featured__image img{

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform .6s ease;

}


.news-featured__card:hover .news-featured__image img{

    transform: scale(1.06);

}


.news-featured__content{

    flex: 1;

    padding: 50px 48px;

    display: flex;

    flex-direction: column;

    justify-content: center;

}


.news-featured__tag{

    display: inline-flex;

    align-items: center;

    height: 32px;

    padding: 0 14px;

    border-radius: 999px;

    background: linear-gradient(135deg, #1a3a5c, #2d6a9e);

    color: #fff;

    font-size: 13px;

    font-weight: 600;

    margin-bottom: 20px;

    align-self: flex-start;

}


.news-featured__content h2{

    font-size: 28px;

    font-weight: 700;

    line-height: 1.4;

    margin-bottom: 16px;

    color: var(--text-primary);

}


.news-featured__content p{

    font-size: 16px;

    line-height: 1.9;

    color: var(--text-secondary);

    margin-bottom: 28px;

}


.news-featured__meta{

    display: flex;

    align-items: center;

    gap: 24px;

}


.news-featured__date{

    font-size: 14px;

    color: #999;

}


.news-featured__link{

    font-size: 15px;

    font-weight: 600;

    color: var(--primary);

    transition: .25s;

}


.news-featured__link:hover{

    color: var(--primary-dark);

}


/* ==========================================================
   News List (Horizontal Row Layout)
========================================================== */

.news-list{

    padding-top: 60px;

    padding-bottom: 100px;

}


.news-list__items{

    display: flex;

    flex-direction: column;

}


/* ==========================================================
   News Item — Single Row
========================================================== */

.news-item{

    display: flex;

    align-items: center;

    gap: 30px;

    padding: 28px 0;

    border-bottom: 1px solid #eef1f5;

    transition: .3s;

}


.news-item:first-child{

    border-top: 1px solid #eef1f5;

}


.news-item:hover{

    padding-left: 12px;

    background: #fafbfc;

}


.news-item:hover .news-item__arrow{

    color: var(--primary);

    transform: translateX(4px);

}


/* ---- Date Block ---- */

.news-item__date{

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    width: 80px;

    flex-shrink: 0;

    padding: 10px 0;

}


.news-item__day{

    font-size: 24px;

    font-weight: 700;

    color: var(--text-primary);

    line-height: 1.2;

}


.news-item__year{

    font-size: 13px;

    color: #999;

    margin-top: 4px;

}


/* ---- Body ---- */

.news-item__body{

    flex: 1;

    min-width: 0;

}


.news-item__header{

    display: flex;

    align-items: baseline;

    gap: 14px;

    margin-bottom: 10px;

}


.news-item__tag{

    display: inline-flex;

    align-items: center;

    height: 26px;

    padding: 0 10px;

    border-radius: 999px;

    background: rgba(26,58,92,.08);

    color: var(--primary);

    font-size: 12px;

    font-weight: 600;

    flex-shrink: 0;

    white-space: nowrap;

}


.news-item__title{

    font-size: 17px;

    font-weight: 600;

    line-height: 1.5;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}


.news-item__title a{

    color: var(--text-primary);

    transition: .25s;

}


.news-item__title a:hover{

    color: var(--primary);

}


.news-item__desc{

    font-size: 14px;

    line-height: 1.75;

    color: var(--text-secondary);

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

}


/* ---- Arrow ---- */

.news-item__arrow{

    display: flex;

    align-items: center;

    justify-content: center;

    width: 40px;

    height: 40px;

    flex-shrink: 0;

    border-radius: 50%;

    font-size: 20px;

    color: #c0c7cf;

    transition: .3s;

}


.news-item:hover .news-item__arrow{

    color: var(--primary);

    background: rgba(26,58,92,.08);

}


/* ==========================================================
   Pagination
========================================================== */

.news-pagination{

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    margin-top: 70px;

}


.news-pagination__btn{

    height: 44px;

    padding: 0 22px;

    border-radius: 10px;

    background: #f4f6f8;

    color: var(--text-secondary);

    font-size: 15px;

    font-weight: 500;

    cursor: pointer;

    transition: .25s;

    border: none;

    outline: none;

}


.news-pagination__btn:hover:not(.is-disabled){

    background: rgba(26,58,92,.10);

    color: var(--primary);

}


.news-pagination__btn.is-disabled{

    opacity: .4;

    cursor: not-allowed;

}


.news-pagination__num{

    width: 44px;

    height: 44px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 10px;

    font-size: 15px;

    font-weight: 500;

    color: var(--text-secondary);

    cursor: pointer;

    transition: .25s;

}


.news-pagination__num:hover{

    background: rgba(26,58,92,.10);

    color: var(--primary);

}


.news-pagination__num.is-active{

    background: var(--primary);

    color: #fff;

    font-weight: 600;

}


.news-pagination__dots{

    width: 44px;

    height: 44px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 15px;

    color: #999;

    cursor: default;

}


/* ==========================================================
   Responsive
========================================================== */

@media (max-width: 1200px){


    .news-featured__card{

        flex-direction: column;

    }


    .news-featured__image{

        flex: 0 0 100%;

        width: 100%;

        height: 240px;

    }


    .news-featured__content{

        padding: 36px 30px;

    }


    .news-featured__content h2{

        font-size: 24px;

    }


}


@media (max-width: 768px){


    .news-hero{

        height: 320px;

    }


    .news-hero__content h1{

        font-size: 32px;

    }


    .news-hero__content p{

        font-size: 15px;

    }


    .news-featured{

        padding-top: 50px;

    }


    .news-featured__image{

        width: 100%;

        height: 200px;

    }


    .news-featured__content{

        padding: 28px 22px;

    }


    .news-featured__content h2{

        font-size: 20px;

    }


    .news-featured__content p{

        font-size: 14px;

    }


    .news-featured__meta{

        flex-direction: column;

        align-items: flex-start;

        gap: 12px;

    }


    /* ---- News Item Mobile ---- */

    .news-list{

        padding-top: 30px;

        padding-bottom: 60px;

    }


    .news-item{

        gap: 16px;

        padding: 20px 0;

        align-items: flex-start;

    }


    .news-item:hover{

        padding-left: 6px;

    }


    .news-item__date{

        width: 56px;

        padding: 4px 0;

    }


    .news-item__day{

        font-size: 20px;

    }


    .news-item__year{

        font-size: 11px;

    }


    .news-item__header{

        flex-direction: column;

        gap: 8px;

    }


    .news-item__tag{

        height: 22px;

        padding: 0 8px;

        font-size: 11px;

    }


    .news-item__title{

        font-size: 15px;

        white-space: normal;

    }


    .news-item__desc{

        font-size: 13px;

        -webkit-line-clamp: 3;

    }


    .news-item__arrow{

        display: none;

    }


    .news-pagination{

        margin-top: 40px;

        gap: 4px;

    }


    .news-pagination__btn{

        height: 38px;

        padding: 0 14px;

        font-size: 13px;

    }


    .news-pagination__num{

        width: 36px;

        height: 36px;

        font-size: 13px;

    }


    .news-pagination__dots{

        width: 36px;

        height: 36px;

    }


}