.home-news {
    width: 100%;
    padding: 64px 24px 72px;
    border-top: 1px solid #e8e8e8;
    background: #f6f6f6;
    color: #262626;
    font-family: "Montserrat", serif;
    line-height: 1.65;
}

.home-news .home-news__inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.home-news .home-news__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 32px;
}

.home-news .home-news__eyebrow {
    margin: 0 0 8px;
    color: #bd1111;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.home-news #home-news-title {
    margin: 0 0 12px;
    color: #262626;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.2;
}

.home-news #home-news-title span {
    color: #bd1111;
}

.home-news .home-news__intro {
    margin: 0;
    color: #626262;
    font-size: 16px;
}

.home-news .home-news__all {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid #bd1111;
    border-radius: 8px;
    color: #bd1111;
    font-size: 14px;
    font-weight: 700;
    transition: background 180ms ease, color 180ms ease;
}

.home-news .home-news__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.home-news .home-news__grid[data-count="1"] {
    grid-template-columns: minmax(0, 410px);
    justify-content: center;
}

.home-news .home-news__grid[data-count="2"] {
    max-width: 860px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-inline: auto;
}

.home-news .home-news__item {
    display: flex;
    min-width: 0;
}

.home-news .blog-card {
    display: flex;
    width: 100%;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e1e1e1;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 3px 12px rgb(0 0 0 / 3%);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.home-news .blog-card__image,
.home-news .blog-card__image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    margin: 0;
    background: #f0f0f0;
    object-fit: contain;
}

.home-news .blog-card__image img {
    height: 100%;
}

.home-news .blog-card__body {
    display: flex;
    flex: 1;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    overflow-wrap: anywhere;
}

.home-news a {
    color: inherit;
}

.home-news .blog-category {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 5px;
    background: #fff1f1;
    color: #bd1111;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

.home-news .blog-category--empty {
    background: #f0f0f0;
    color: #626262;
}

.home-news .blog-card__title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.35;
}

.home-news .blog-card__summary {
    margin: 0;
    color: #626262;
    font-size: 15px;
}

.home-news .blog-date {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    color: #626262;
    font-size: 13px;
}

.home-news .blog-read {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: #bd1111;
    font-size: 14px;
    font-weight: 700;
}

.home-news .blog-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    vertical-align: middle;
}

.home-news a:focus-visible {
    outline: 3px solid #bd1111 !important;
    outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
    .home-news .blog-card:hover {
        border-color: #c6c6c6;
        box-shadow: 0 12px 30px rgb(0 0 0 / 7%);
    }

    .home-news .blog-card__title a:hover,
    .home-news .blog-read:hover,
    .home-news .blog-category:hover {
        color: #bd1111;
        text-decoration: underline !important;
        text-underline-offset: 3px;
    }

    .home-news .home-news__all:hover {
        background: #bd1111;
        color: #fff;
    }
}

@media (max-width: 980px) {
    .home-news .home-news__grid {
        max-width: 860px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-inline: auto;
    }
}

@media (min-width: 641px) and (max-width: 980px) {
    .home-news .home-news__grid[data-count="3"] .home-news__item:last-child {
        width: calc(50% - 12px);
        grid-column: 1 / -1;
        justify-self: center;
    }
}

@media (max-width: 640px) {
    .home-news {
        padding: 40px 16px 48px;
    }

    .home-news .home-news__grid,
    .home-news .home-news__grid[data-count] {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-news .home-news__all {
        width: 100%;
    }

    .home-news .blog-card__body {
        padding: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-news a,
    .home-news .blog-card {
        transition: none !important;
    }
}
