.home-news__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin-bottom: clamp(20px, 3vw, 28px);
}

.home-news__head .home-section__title {
    margin-bottom: 0;
    padding-left: clamp(12px, 2vw, 20px);
}

.home-news__all {
    flex-shrink: 0;
    text-decoration: none;
}

.home-news__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2.5vw, 24px);
}

.home-news__card {
    margin: 0;
    min-height: 100%;
}

.home-news__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: var(--prichal-surface);
    border-radius: var(--prichal-radius-lg);
    overflow: hidden;
    box-shadow: var(--prichal-shadow-sm);
    border: 1px solid var(--prichal-border);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-news__link:hover,
.home-news__link:focus-visible {
    transform: translateY(-4px);
    box-shadow: var(--prichal-shadow-md);
    color: inherit;
}

.home-news__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--prichal-surface-soft);
}

.home-news__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.home-news__link:hover .home-news__media img,
.home-news__link:focus-visible .home-news__media img {
    transform: scale(1.04);
}

.home-news__body {
    padding: clamp(16px, 2vw, 22px) clamp(16px, 2vw, 22px) clamp(16px, 2vw, 22px) clamp(22px, 2.5vw, 28px);
    flex: 1;
    display: flex;
    align-items: flex-start;
}

.home-news__title {
    margin: 0;
    font-size: clamp(16px, 2vw, 18px);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: var(--prichal-ink);
    transition: color 0.2s ease;
}

.home-news__link:hover .home-news__title,
.home-news__link:focus-visible .home-news__title {
    color: var(--prichal-brand);
}

@media (max-width: 575.98px) {
    .home-news__grid {
        grid-template-columns: 1fr;
    }
}
