.home-news {
    margin-bottom: 3rem;
    scroll-margin-top: 5rem;
}

.home-news__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.home-news__heading {
    margin: 0;
    color: var(--color-dark-500, #40434a);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.home-news__archive {
    display: inline-flex;
    align-items: center;
    gap: .625rem;
    flex-shrink: 0;
    padding: .375rem 0;
    color: var(--color-blue-700, #1d4ed8);
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none;
}

.home-news__archive:hover .home-news__archive-label {
    text-decoration: underline;
    text-underline-offset: .25rem;
}

.home-news__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 1rem;
}

.home-news__card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--color-slate-200, #e2e8f0);
    border-radius: 1rem;
    background: white;
    transition: border-color .2s, box-shadow .2s;
}

.home-news__card:hover {
    border-color: var(--color-blue-300, #93c5fd);
    box-shadow: 0 6px 18px rgb(30 64 175 / 6%);
}

.home-news__link {
    display: flex;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.home-news__card--featured .home-news__link {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
}

.home-news__card--featured {
    border-color: var(--color-blue-100, #dbeafe);
}

.home-news__card--featured .home-news__body {
    align-self: center;
    padding: 0;
}

.home-news__card--featured .home-news__title {
    font-size: 1.1875rem;
}

.home-news__card--featured .home-news__description {
    -webkit-line-clamp: 3;
}

.home-news__list {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--color-slate-200, #e2e8f0);
    border-radius: 1rem;
    background: white;
}

.home-news__list .home-news__card {
    flex: 1 0 auto;
    border: 0;
    border-radius: 0;
}

.home-news__list .home-news__card + .home-news__card {
    border-top: 1px solid var(--color-slate-100, #f1f5f9);
}

.home-news__list .home-news__card:hover {
    background: var(--color-slate-50, #f8fafc);
    box-shadow: none;
}

.home-news__image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
    border-radius: .625rem;
}

.home-news__image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 15rem;
    object-fit: contain;
}

.home-news__body {
    flex: 1;
    min-width: 0;
    padding: 1.125rem;
}

.home-news__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: .5rem;
    color: var(--color-dark-600, #6b6f78);
    font-size: .75rem;
    line-height: 1.5;
}

.home-news__arrow {
    color: var(--color-blue-700, #1d4ed8);
    font-size: 1rem;
    transition: transform .2s;
}

.home-news__title {
    margin: 0 0 .5rem;
    color: var(--color-dark-500, #40434a);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
    transition: color .2s;
}

.home-news__description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin: 0;
    color: var(--color-dark-600, #6b6f78);
    font-size: .875rem;
    line-height: 1.6;
}

.home-news__card:hover .home-news__title {
    color: var(--color-blue-700, #1d4ed8);
}

.home-news__card:hover .home-news__arrow {
    transform: translateX(3px);
}

.home-news__link:focus-visible,
.home-news__archive:focus-visible {
    outline: 3px solid var(--color-blue-700, #1d4ed8);
    outline-offset: -3px;
    border-radius: inherit;
}

@media (max-width: 767px) {
    .home-news__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: .75rem;
    }

    .home-news__card--featured .home-news__link {
        grid-template-columns: minmax(0, 1fr);
        gap: .875rem;
        padding: 1rem;
    }

    .home-news__image {
        min-height: 0;
        height: 11rem;
    }

    .home-news__image img {
        height: 100%;
        max-height: 100%;
    }

    .home-news__card--featured .home-news__title {
        font-size: 1.0625rem;
    }

    .home-news__card--featured .home-news__body {
        padding: 0;
    }

    .home-news__card--featured .home-news__description {
        -webkit-line-clamp: 2;
    }

    .home-news__body {
        padding: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-news * {
        transition: none;
    }

    .home-news__card:hover .home-news__arrow {
        transform: none;
    }
}
