.latest-updates .news-date {
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    color: var(--e-global-color-primary);
    font-weight: 600;
    font-size: 14px;
}
.latest-updates > .news-item .text .news-title {
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    color: var(--e-global-color-primary);
    font-weight: 900;
    font-size: 25px;
}

.latest-updates .news-item {
    background-position: center;
    background-size: cover;
}
.latest-updates .icon {
    text-transform: uppercase;
    color: #18A1A4;
    font-weight: 700;
    margin-top:
}
.latest-updates span {
    display: flex;
    align-items: center;
}
.latest-updates span:before {
    content: url('https://assets.mrnamedicines.org/uploads/2025/12/news-icon-2-1.svg');
    margin-right: 0.5em;
}
.latest-updates .news-title {
    margin-bottom: 10px;
}
.latest-updates .news-date {
    margin-bottom: 10px;
}
.latest-update-buttons .active {
    color: #18A1A4!important;
}
.latest-updates .news-item {
    display: block;
    border-bottom: 1px solid #ccc;
    margin-bottom: 2em;
}
.latest-updates > .news-item:first-child .text { 
    background: rgba(255, 255, 255, 0.8);
}
.latest-updates > .news-item .text {
    margin-bottom: 2em;
}
.latest-updates > .news-item:first-child .text {
    margin-bottom: 0;
}
.latest-updates > .news-item:last-child {
    border-bottom: 0;
}
.latest-updates .readmore {
    color: var(--e-global-color-3e09e67);
    text-transform: uppercase;
    font-weight: 700;
}
.latest-updates a:hover h2 {
    text-decoration: underline;
}
.latest-updates {
    display: block;
}
.latest-updates .news-item {
    position: relative;
}
.latest-updates .text {
    position: relative;
}
.latest-updates .desktop {
    display: none;
}
/* Responsive adjustments for smaller screens */
@media (min-width: 768px) {
    .latest-updates .mobile {
        display: none;
    }
    .latest-updates .news-item {
        border-bottom: 0;
    }
    .latest-updates .featured {
        width: 100%;
        height: auto;
        object-fit: cover;
        position: absolute;
        left: 0;
        top: 0;
    }
    .latest-updates > .news-item:first-child {
        padding: 0;
        grid-column: 1 / -1; /* Starts at line 1 and spans to the last line */
        position: relative;
        overflow: hidden;
    }
    .latest-updates > .news-item:first-child .text {
        max-width: 400px;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 15px;
        padding: 15px;
    }
    .latest-updates {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .latest-updates > .news-item:first-child .text {
        padding: 1em;
    }
    .latest-updates > .news-item:first-child {
        padding: 4em;
        margin-bottom: 2em;
    }
    .latest-updates .news-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    /* select all .news-item except first and odd */
    .latest-updates > .news-item:not(:first-child):nth-child(even) {
        padding-right: 1em;
    }
    .latest-updates > .news-item:not(:first-child):nth-child(odd) {
        padding-left: 1em;
    }
    .latest-updates > .news-item:not(:first-child) .text {
        padding-top: 1em;
    }
}

