.kvh-news,
.kvh-news * {
    box-sizing: border-box;
}

.kvh-news {
    width: 100%;
    padding: 32px 0 40px;
}

.kvh-news__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.kvh-news .kvh-news__title {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -1px;
    margin: 0;
    color: #1f5875;
}

.kvh-news .kvh-news__all {
    display: inline-flex;
    align-items: center;
    padding: 12px 17px;
    border: 1px solid #b9cdd7;
    border-radius: 10px;
    background: #fff;
    color: #1f5875;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s, color .2s;
}

.kvh-news__all span {
    margin-left: 16px;
}

.kvh-news .kvh-news__all:hover {
    background: #1f5875;
    color: #fff;
}

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

.kvh-news__card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 235px;
    padding: 24px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dce5e9;
    border-radius: 16px;
    box-shadow: 0 6px 20px #1f587507;
    transition: transform .2s,
                box-shadow .2s,
                border-color .2s;
}

.kvh-news__card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #1f5875;
}

.kvh-news__card:hover {
    transform: translateY(-4px);
    border-color: #82a9bb;
    box-shadow: 0 12px 26px #1f58751a;
}

.kvh-news__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #657984;
    font-size: 12px;
    font-weight: 600;
}

.kvh-news__calendar {
    width: 15px;
    height: 15px;
    stroke: #1f5875;
    fill: none;
    stroke-width: 1.5;
}

.kvh-news__body {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin: 19px 0 20px;
}

.kvh-news__media {
    display: block;
    width: 112px;
    height: 86px;
    flex: none;
    overflow: hidden;
    border-radius: 9px;
}

.kvh-news__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kvh-news__content {
    min-width: 0;
}

.kvh-news .kvh-news__headline {
    margin: 0;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: -.25px;
    color: #183b50;
    overflow-wrap: anywhere;
}

.kvh-news .kvh-news__headline a {
    color: inherit;
    text-decoration: none;
}

.kvh-news .kvh-news__headline a:hover {
    color: #1f5875;
    text-decoration: underline;
}

.kvh-news .kvh-news__desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 9px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: #72818a;
}

/* Фирменная заглушка */

.kvh-news__placeholder {
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 5px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(
            ellipse at 110% 120%,
            transparent 48%,
            #ffffff20 49%,
            #ffffff20 51%,
            transparent 52%,
            transparent 62%,
            #ffffff18 63%,
            #ffffff18 65%,
            transparent 66%
        ),
        linear-gradient(
            145deg,
            #1f5875,
            #0a526e 65%,
            #167d9c
        );
}

.kvh-news__placeholder svg {
    width: 30px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
}

.kvh-news__placeholder span {
    font-size: 9px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: .4px;
}

/* Ссылка Подробнее */

.kvh-news .kvh-news__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    margin-top: auto;
    border-top: 1px solid #e7edf0;
    color: #1f5875;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.kvh-news__arrow {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    background: #edf4f7;
    border-radius: 50%;
    font-size: 19px;
    line-height: 1;
    transition: background .2s, color .2s;
}

.kvh-news__card:hover .kvh-news__arrow {
    background: #1f5875;
    color: #fff;
}

.kvh-news a:focus-visible {
    outline: 2px solid #1f5875;
    outline-offset: 3px;
}

/* Адаптивность */

@media (max-width: 1000px) {
    .kvh-news__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .kvh-news {
        padding: 26px 0;
    }

    .kvh-news__grid {
        grid-template-columns: 1fr;
    }

    .kvh-news .kvh-news__title {
        font-size: 30px;
    }

    .kvh-news .kvh-news__all {
        font-size: 12px;
        padding: 10px;
    }

    .kvh-news__all span {
        margin-left: 6px;
    }

    .kvh-news__card {
        min-height: 200px;
        padding: 20px;
    }

    .kvh-news__body {
        gap: 12px;
    }

    .kvh-news__media {
        width: 96px;
        height: 78px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kvh-news__card {
        transition: none;
    }

    .kvh-news__card:hover {
        transform: none;
    }
}

/* BEGIN KVH NEWS RESPONSIVE V2 */

.kvh-news .kvh-news__headline {
    font-size: 14px;
}

@media (max-width: 1199.98px) {
    .kvh-news__body {
        flex-direction: column;
        gap: 14px;
    }

    .kvh-news__media {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .kvh-news__content {
        width: 100%;
    }
}

/* END KVH NEWS RESPONSIVE V2 */

