.page-catnew__main{
    position:relative;
}

/* Card */
.news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding:20px;
    border: 1px solid #01933E1A;
    backdrop-filter: blur(4px);
    background:#fff;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 26px rgba(0,0,0,0.08);
}

/* Ảnh */
.news-card__image-link {
    display: block;
    overflow: hidden;
    margin-bottom:20px;
}

.news-card__image {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3; /* giữ tỉ lệ giống mockup */
    transition: transform 0.35s ease;
}

.news-card:hover .news-card__image {
    transform: scale(1.05);
}

/* Nội dung */
.news-card__content {
}

/* Date label */
.news-card__date {
    background: #01933E1A;
    color: var(--ts-green-dark);
    display: inline-block;
    font-weight: 300;
    padding: 4px 8px;
    margin-bottom: 4px;
}

/* Tiêu đề */
.news-card__title {
    font-weight: 700;
    margin: 0;
    margin-bottom: 8px;
}
.news-card__title{
    font-size: 24px;
    line-height: 32px;
}
.news-card__title a {
  color: var(--ts-black);
  text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-card__title a:hover {
    color: var(--ts-green-dark, #0B8B3E);
}

/* Mô tả 3 dòng */
.news-card__excerpt {
    font-size: 18px;
    line-height: 24px;
    color: #1c1c1c;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 300;
    margin:0;
}

/* Nút */
.news-card__button {
    padding:0;
    border:none;
        justify-content: unset;
        margin-top:20px;
        width:100%;
}
.news-card__button .ts-button__icon{
    margin:0;
    margin-right:24px;
}
.news__grid .row{
            justify-content: center;
}
@media (max-width:1190px){
    .news__grid .row {
        row-gap: 30px;
    }
}
@media (max-width:991px){
    .news__grid .row {
        row-gap: 1rem;
    }
}
@media (min-width:1200px){
    .news__grid .row {
        row-gap: 40px;
    }
}
@media (max-width:1500px){
    .news-card{
        padding:1rem;
    }
    .news-card__title{
        font-size: 20px;
        line-height: 28px;
    }
}
@media (max-width:991px){
    .news-card__button .ts-button__icon{
        margin-right:0.5rem;
    }
}
@media (max-width:767px){
    .news-card__title{
        font-size: 16px;
        line-height: 24px;
    }
    .news-card__excerpt{
        font-size:14px;
        line-height:20px;
    }
}
/* Mobile spacing */
@media (max-width: 575.98px) {
    .news-card{
        padding:0.5rem;
    }
}

/*page news detail*/
.ts-footer .ts-pattern{
    display:none;
}
.page-news:before{
     background-image:url('/image/catalog/background/2fac02d5b48eadba799f903114c0407eda20afe9-1-1.jpg');
            background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
}
.page-news:before,
.page-news:after{
     content:"";
    height:100vh;
   display:block;
        position:absolute;
     inset:0;
width: 100%;
 z-index:-1;
}
.page-news__main{
    padding-top:25vh;
}
.page-news .page__content{
        padding: 80px 130px 120px 130px;
    background: #fff;
    box-shadow: 0px 0px 40px 0px #1c1c1c33;
}
.news__description{
    margin-top:5rem;
}
.news__description-short{
    font-style:italic;
    margin-bottom:20px;
}
.news__thumb{
    margin-bottom:20px;
}
.news__thumb img{
    width:100%
}
.news-related__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
}
section.news-related{
        background: var(--ts-green-dark);
    padding: 120px 130px;
}
@media (max-width:1500px){
    .page-news .page__content{
        padding: 3rem 5rem 5rem 5rem;   
    }
    section.news-related{
        background: var(--ts-green-dark);
            padding: 3rem 5rem;
        }
}
@media (max-width:991px){
    .news__description{
        margin-top:2rem;
    }
}
@media (max-width:767px){
    .page-news .page__content,
    section.news-related{
        padding:2rem;
    }
    .page .page__title{
        font-size:32px;
        line-height:48px;
    }
}
@media (max-width:575px){
    .page-news .page__content,
    section.news-related{
        padding:1rem;
    }
}