.news-section-bg {
    background-image: url("/assets/global/images/background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 0;
}
.news-header h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin: 0;
    margin-bottom: 25px;
}
.news-grid-custom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}
.news-card-item {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    position: relative;
    text-decoration: none;
    color: inherit;
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
        
    background-image: radial-gradient(
        circle at bottom right,
        rgba(0, 0, 0, 0.02) 0%,
        transparent 60%
    );
    width: calc((100% - 60px) / 3); 
}
.news-card-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.news-img-wrapper {
    height: 220px;
    width: 100%;
    overflow: hidden;
}
.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-card-item:hover .news-img-wrapper img {
    transform: scale(1.05);
}
.news-title-box {
    background-color: #e51d27;
    color: #ffffff;
    padding: 15px 20px;
    width: 85%;
    position: relative;
    margin-top: -30px;
    z-index: 2;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.6;
}
.news-content-box {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.news-meta {
    color: #333333;
    margin-bottom: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.6;
}
.news-meta span {
    margin: 0 5px;
    color: #999;
    font-weight: normal;
}
.news-content-box p {
    color: #666666;
    margin-bottom: 30px;
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 400;
}
.news-readmore {
    text-align: right;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 500;
    color: #df444c;
    text-decoration: none;
    transition:
        transform 0.3s ease,
        color 0.3s ease;
}
.news-card-item:hover .news-readmore {
    color: #a51c1c;
}
.news-btn-container {
    text-align: center;
    margin-top: 50px;
}
.btn-view-all {
    background-color: #ffffff;
    padding: 12px 35px;
    text-transform: capitalize;
    border-radius: 2px;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;

    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.6;
}
.btn-view-all:hover {
    background-color: #333333;
    color: #ffffff;
}

@media (min-width: 1441px) { 
} 
@media (max-width: 1440px) { 
} 
@media (max-width: 1024px) { 
    .news-section-bg {
        padding: 30px 0;
    }
    .news-header h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    .news-card-item {
        width: calc((100% - 60px) / 2); 
    }
    .news-title-box {
        font-size: 0.9rem;
        font-weight: 700;
    }
    .news-meta {
        font-size: 0.75rem;
    }
    .news-content-box p {
        margin-bottom: 20px;
        font-size: 0.9rem;
    }
    .news-readmore {
        font-size: 0.9rem;
    }
    .news-btn-container {
        text-align: center;
        margin-top: 40px;
    }
    .btn-view-all {
        font-size: 0.9rem;
    }
} 
@media (max-width: 768px) { 
    .news-header h2 {
        font-size: 1.6rem;
    }
    .news-grid-custom {
        gap: 20px;
    }
    .news-card-item {
        width: calc((100% - 20px) / 2); 
    }
} 
@media (max-width: 639px) { 
    .news-card-item {
        width: 100%;
    }
} 
@media (max-width: 599px) { 
    .news-header h2 {
        font-size: 1.4rem;
    }
    .news-title-box {
        font-size: 0.8rem;
        font-weight: 700;
    }
    .news-meta {
        font-size: 0.7rem;
    }
    .news-content-box p {
        margin-bottom: 20px;
        font-size: 0.85rem;
    }
    .news-readmore {
        font-size: 0.85rem;
    }
    .news-btn-container {
        text-align: center;
        margin-top: 30px;
    }
    .btn-view-all {
        font-size: 0.85rem;
    }
} 
@media (max-width: 480px) { 
    .news-section-bg {
        padding: 20px 0;
    }
    .news-header h2 {
        font-size: 1.2rem;
    }
    .news-title-box {
        font-size: 0.75rem;
    }
    .news-meta {
        font-size: 0.65rem;
    }
    .news-content-box p {
        margin-bottom: 20px;
        font-size: 0.8rem;
    }
    .news-readmore {
        font-size: 0.8rem;
    }
    .news-btn-container {
        text-align: center;
        margin-top: 20px;
    }
    .btn-view-all {
        font-size: 0.8rem;
    }
}
@media (max-width: 420px) { 
    .news-title-box {
        font-size: 0.7rem;
    }
    .news-meta {
        font-size: 0.6rem;
    }
    .news-content-box p {
        margin-bottom: 20px;
        font-size: 0.75rem;
    }
    .news-readmore {
        font-size: 0.75rem;
    }
    .btn-view-all {
        font-size: 0.75rem;
    }
}
@media (max-width: 419px) { 
}
@media (max-width: 350px) { 
    .news-header h2 {
        font-size: 1rem;
    }
    .news-title-box {
        font-size: 0.65rem;
    }
    .news-meta {
        font-size: 0.55rem;
    }
    .news-content-box p {
        margin-bottom: 20px;
        font-size: 0.7rem;
    }
    .news-readmore {
        font-size: 0.7rem;
    }
    .btn-view-all {
        font-size: 0.7rem;
    }
}