.home-featured-news-section {
    overflow: hidden;
    padding: clamp(3.5rem, 5vw, 4.5rem) 0;
    background: #fff;
}

.home-featured-news-section .container {
    max-width: 1200px;
}

.home-featured-news-row {
    --bs-gutter-x: clamp(1.5rem, 4vw, 4rem);
}

.home-featured-news-copy {
    max-width: 36rem;
    padding: 0.5rem 0 1rem;
}

.home-featured-news-section-title,
#news-list .section-title h2.home-news-list-title,
#model-ajar .text-center.mb-5 h2.home-learning-title {
    color: #102f32;
    font-family: "Muli", sans-serif;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.2;
    text-wrap: balance;
}

.home-featured-news-section-title {
    margin: 0 0 0.55rem;
}

.home-featured-news-row {
    align-items: flex-start;
}

.home-featured-news-kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.45rem 0.6rem;
    margin: 0 0 1.15rem;
    color: #087c79;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.home-featured-news-kicker-line {
    width: 1.35rem;
    height: 1px;
    align-self: center;
    background: #d99a22;
}

.home-featured-news-kicker strong {
    color: inherit;
    font-weight: 700;
}

#news-list .section-title h2.home-news-list-title {
    max-width: 46rem;
    margin: 0 auto 0.65rem;
    text-align: center;
}

.section-title h3.home-news-list-heading,
#model-ajar .text-center.mb-5 h3.home-news-list-heading {
    justify-content: center;
    margin: 0 0 1.15rem;
    color: #087c79;
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-align: center;
}

#news-list .section-title p.home-news-list-intro {
    display: flex;
    max-width: 46rem;
    align-items: center;
    flex-direction: column;
    gap: 0.35rem;
    margin: 0.35rem auto 0;
    padding: 0 clamp(0.5rem, 3vw, 1.5rem);
    color: #526b6d;
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    line-height: 1.65;
    text-align: center;
}

.home-news-list-intro > span,
.home-news-list-intro > strong {
    max-width: 100%;
}

.home-news-list-intro > strong {
    color: #087c79;
    font-weight: 700;
}

#news-list {
    padding-top: clamp(2.5rem, 5vw, 3.5rem);
}

.home-featured-news-title {
    display: -webkit-box;
    max-width: none;
    margin: 0 0 1.1rem;
    overflow: hidden;
    color: #101f2a;
    font-size: clamp(1.8rem, 2.4vw, 2.1rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.15;
    text-wrap: balance;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.home-featured-news-description {
    max-width: 62ch;
    margin: 0;
    color: #354858;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.58;
}

.home-featured-news-read-more {
    color: #dc5364;
    font-style: italic;
    text-decoration: none;
}

.home-featured-news-read-more:hover {
    color: #b7374b;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.home-featured-news-read-more:focus-visible,
.home-featured-news-gallery:focus-visible {
    border-radius: 2px;
    outline: 3px solid #d99a22;
    outline-offset: 3px;
}

.home-featured-news-actions {
    margin-top: 0.9rem;
}

.home-featured-news-visual {
    position: relative;
    isolation: isolate;
    width: min(100%, 420px);
    margin: 0 0 0 auto;
}

.home-featured-news-visual::before {
    position: absolute;
    z-index: -1;
    inset: -0.8rem -0.55rem;
    border: 8px dashed #008b80;
    border-radius: 1.8rem;
    content: "";
    transform: rotate(-8deg);
}

.home-featured-news-visual::after {
    position: absolute;
    z-index: -1;
    right: 2%;
    bottom: -2.5rem;
    width: 13rem;
    height: 5rem;
    background-image: radial-gradient(circle, rgba(42, 128, 157, 0.9) 1.7px, transparent 1.9px);
    background-size: 0.65rem 0.65rem;
    content: "";
}

.home-featured-news-media {
    overflow: hidden;
    aspect-ratio: 1;
    border: 1px solid rgba(14, 53, 48, 0.12);
    border-radius: 1.35rem;
    background: #fff;
    box-shadow: 0 14px 28px rgba(19, 34, 30, 0.24);
}

.home-featured-news-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-featured-news-empty {
    max-width: 44rem;
    margin: 0 auto;
    padding: 2rem 0;
    text-align: center;
}

.home-featured-news-empty .home-featured-news-title,
.home-featured-news-empty p {
    margin: 0 auto 1.25rem;
}

.home-featured-news-gallery {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 0.5rem;
    color: #087c79;
    font-size: 0.9rem;
    font-weight: 600;
}

#news-list .home-news-card-grid {
    align-items: stretch;
    row-gap: clamp(1.25rem, 2.5vw, 2rem);
    margin-top: clamp(1.75rem, 4vw, 2.5rem);
}

#news-list .home-news-card-column {
    display: flex;
}

#news-list .home-news-card {
    display: flex;
    flex: 1;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    margin-bottom: 0;
    border: 1px solid rgba(14, 46, 49, 0.1);
    border-radius: 1.1rem;
    box-shadow: 0 0.75rem 1.8rem rgba(19, 34, 30, 0.08);
    transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 240ms ease;
}

#news-list .home-news-card:hover {
    top: 0;
    transform: translateY(-3px);
    box-shadow: 0 1rem 2rem rgba(19, 34, 30, 0.13);
}

#news-list .home-news-card-media {
    position: relative;
    flex: none;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #edf3f2;
}

#news-list .home-news-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}

#news-list .home-news-card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1;
    max-width: calc(100% - 2rem);
    overflow: hidden;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#news-list .home-news-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.35rem 1.4rem 1.4rem;
}

#news-list .home-news-card-date {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: #526b6d;
    font-size: 0.88rem;
    line-height: 1.4;
}

#news-list .home-news-card-date i {
    color: #087c79;
}

#news-list .home-news-card-title {
    display: -webkit-box;
    min-height: 2.7em;
    margin: 0;
    overflow: hidden;
    color: #102f32;
    font-size: clamp(1.12rem, 1.35vw, 1.3rem);
    font-weight: 600;
    line-height: 1.35;
    text-wrap: balance;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

#news-list .home-news-card-title a {
    color: inherit;
    text-decoration: none;
    text-underline-offset: 0.18em;
}

#news-list .home-news-card-title a:hover,
#news-list .home-news-card-title a:focus-visible {
    color: #087c79;
}

#news-list .home-news-card-summary {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #526b6d;
    font-size: 0.95rem;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
}

#news-list .home-news-card-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.25rem;
    color: #087c79;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

#news-list .home-news-card-link i {
    font-size: 0.78rem;
    transition: transform 180ms ease;
}

#news-list .home-news-card-link:hover i {
    transform: translateX(3px);
}

#news-list .home-news-card a:focus-visible,
#news-list .home-news-card-footer a:focus-visible {
    outline: 3px solid #d99a22;
    outline-offset: 3px;
}

#news-list .home-news-card-footer {
    margin-top: clamp(2.5rem, 5vw, 3.75rem);
}

#news-list .home-news-card-footer .all-projects-btn {
    margin: 0;
}

#news-list .home-news-card-all-link {
    display: inline-flex;
    max-width: 100%;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.45rem 1rem 0.45rem 0.55rem;
    border: 1px solid #087c79;
    border-radius: 999px;
    background-color: #087c79;
    box-shadow: 0 0.65rem 1.5rem rgba(8, 124, 121, 0.18);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.25;
    text-decoration: none;
    transition: background-color 200ms ease, border-color 200ms ease, box-shadow 220ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

#news-list .home-news-card-all-link-icon {
    display: inline-grid;
    width: 2.25rem;
    height: 2.25rem;
    flex: none;
    place-items: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.9rem;
}

#news-list .home-news-card-all-link-arrow {
    flex: none;
    margin-left: 0.2rem;
    font-size: 0.75rem;
    transition: transform 180ms ease;
}

#news-list .home-news-card-all-link:hover,
#news-list .home-news-card-all-link:focus-visible {
    border-color: #0e6462;
    background-color: #0e6462;
    color: #fff;
}

#news-list .home-news-card-all-link:focus-visible {
    outline: 3px solid #d99a22;
    outline-offset: 4px;
}

#news-list .home-news-card-all-link:active {
    transform: translateY(0);
    box-shadow: 0 0.3rem 0.8rem rgba(8, 124, 121, 0.2);
}

@media (hover: hover) {
    #news-list .home-news-card-all-link:hover {
        transform: translateY(-2px);
        box-shadow: 0 0.9rem 1.8rem rgba(8, 124, 121, 0.24);
    }

    #news-list .home-news-card-all-link:hover .home-news-card-all-link-arrow {
        transform: translateX(3px);
    }
}

@media (hover: hover) {
    .home-featured-news-media img {
        transition: transform 450ms cubic-bezier(0.16, 1, 0.3, 1);
    }

    .home-featured-news-media:hover img {
        transform: scale(1.025);
    }
}

@media (max-width: 991.98px) {
    .home-featured-news-copy {
        max-width: 46rem;
        margin: 0 auto;
        padding: 0;
    }

    .home-featured-news-visual {
        margin-top: 2.25rem;
        margin-right: auto;
    }
}

@media (max-width: 575.98px) {
    .home-featured-news-section {
        padding: 3.75rem 0;
    }

    #news-list .home-news-card-grid {
        row-gap: 1.25rem;
    }

    #news-list .home-news-card-content {
        gap: 0.7rem;
        padding: 1.1rem 1.1rem 1.2rem;
    }

    #news-list .home-news-card-title {
        font-size: 1.12rem;
    }

    #news-list .home-news-card-summary {
        font-size: 0.92rem;
    }

    .home-featured-news-kicker {
        gap: 0.35rem 0.5rem;
        margin-bottom: 0.95rem;
        font-size: 0.68rem;
    }

    .home-featured-news-title {
        margin-bottom: 0.9rem;
        font-size: clamp(1.55rem, 6.5vw, 1.8rem);
    }

    .home-featured-news-description {
        font-size: 0.98rem;
    }

    .home-featured-news-visual {
        width: 100%;
        margin-top: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-featured-news-link,
    .home-featured-news-gallery,
    .home-featured-news-media img,
    #news-list .home-news-card,
    #news-list .home-news-card-link i,
    #news-list .home-news-card-all-link,
    #news-list .home-news-card-all-link-arrow {
        transition: none;
    }

    #news-list .home-news-card-all-link:hover,
    #news-list .home-news-card-all-link:hover .home-news-card-all-link-arrow {
        transform: none;
    }
}
