.news-carousel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border: 1px solid #E6F0F4;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 85, 140, 0.04);
    min-height: 500px;
}

.news-grid {
    display: grid;
    /* This tells the grid to fit as many columns as possible, 
       ensuring each is at least 300px wide but expands to fill space */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 50px 20px;
}


.news-block {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-left: 1px solid #E6F0F4;
    transition: all 0.4s ease;
    color: inherit;
    justify-content: space-between;
}

/* Static Link Block (Teal) */
.news-block--link {
    background-color: #9FE8E7; /* Brand Teal Opacity */
    border-left: none;
    justify-content: center;
    align-items: center;
    position: relative;
}

.news-block--link .news-link-wrap {
    position: absolute;
    width: 140px;
    height: 140px;
    background: rgb(255 255 255 / 20%);
    bottom: -40px;
    top: auto;
    left: -25px;
    border-radius: 100px;
}

.news-link-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    padding: 40px;
}

.news-block--link:hover {
    background-color: #72CAC933;
}

.link-title {
    font-size: 42px;
    font-weight: 300;
    color: #373536;
    margin-bottom: 25px;
    text-align: start;
    line-height: 1;
}

/* News Content */
.news-text-content {
    padding: 35px;
    min-height: 160px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.news-date {
    text-align: center;
    flex-shrink: 0;
    position: relative;
}
.news-date:after {
    display: block;
    content: "";
    border-inline-end: 1px solid #24548f4d;
    padding-inline-end: 20px;
    position: absolute;
    left: -25px;
    top: 10px;
    height: 70%;
    margin: auto;
}

.news-date .day {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #373536;
    line-height: 0.9;
}

.news-date .month-year {
    display: block;
    font-size: 20px;
    color: #373536;
    font-weight: 600;
    margin-top: 0;
    line-height: 1.2;
}
.news-date .month-year span {
    display: block;
}

.news-excerpt {
    font-size: 18px;
    line-height: 1.4;
    color: #373536;
    font-weight: 500;
    padding-inline: 30px;
    padding-top: 5px;
}

/* Image Wrapper */
.news-image-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.news-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.news-block:hover .news-image-wrapper img {
    transform: scale(1.1);
}

/* Nav Button Overlays */
.round-nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    align-self: flex-end;
}

.news-block--link .news-link-wrap .round-nav-btn {
    position: absolute;
    bottom: 56px;
    left: 55px;
    background: #ffffff;
}

.news-block--link .news-link-wrap .round-nav-btn .css-arrow {
    background-color: #373536;
}

.news-block--link .news-link-wrap .round-nav-btn .css-arrow::after {
    border-top: 2px solid #373536;
    border-left: 2px solid #373536;
}

.white-btn {
    /* background-color: #fff; */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.overlay-btn {
    position: absolute;
    bottom: 18px;
    left: 18px;
    background-color: rgb(255 255 255 / 40%);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.news-block:hover .overlay-btn {
    transform: scale(1.1);
}

/* Reusing the CSS Arrow Built Earlier */
.css-arrow {
    width: 18px;
    height: 2px;
    background-color: #ffffff;
    position: relative;
    display: block;
}

.css-arrow::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    transform: translateY(-50%) rotate(-45deg);
}

/* Responsive Grid */
@media (max-width: 1200px) {
    .news-carousel-grid { grid-template-columns: 1fr 1fr; }
    .news-block:nth-child(2) { border-left: none; }
}

@media (max-width: 768px) {
    .news-carousel-grid { grid-template-columns: 1fr; }
    .news-block { border-left: none; border-bottom: 1px solid #E6F0F4; }
}

/* ── News Section ────────────────────────────────────────── */
@media (max-width: 768px) {
    .news-grid {
        margin: 20px 10px;
        gap: 15px;
    }
    .home-news-section {
        padding: 50px 16px;
    }
    .home-news-title {
        font-size: clamp(22px, 6vw, 40px);
        margin-bottom: 24px;
    }
    .container-1705 {
        padding: 0;
    }
    .news-carousel-grid {
        border-radius: 16px;
    }
    .news-text-content {
        padding: 20px 0px 16px;
        min-height: auto;
    }
    .news-excerpt {
        font-size: 15px;
        padding-inline: 10px;
    }
    .news-date .day {
        font-size: 28px;
    }
    .news-date .month-year {
        font-size: 15px;
    }
    .news-image-wrapper {
        height: 220px;
    }
    .link-title {
        font-size: 30px;
    }
}