/* KVH NEWS LIST */

.kvh-news-list {
    --knl-brand: #1f5875;
    --knl-muted: #647c89;
    --knl-line: #dbe5ea;
    --knl-soft: #eaf2f6;
    color: var(--knl-brand);
}

.kvh-news-list .knl-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--knl-line);
}

.kvh-news-list .knl-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: var(--knl-brand);
}

.kvh-news-list .knl-header > span {
    font-size: 13px;
    color: var(--knl-muted);
}

.kvh-news-list .knl-item {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: start;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid var(--knl-line);
}

.kvh-news-list .knl-media {
    min-width: 0;
    margin: 0;
}

.kvh-news-list .knl-photo,
.kvh-news-list .knl-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    background: var(--knl-soft);
}

.kvh-news-list .knl-photo img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
}

.kvh-news-list .knl-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #84a5b5;
}

.kvh-news-list .knl-media figcaption {
    margin-top: 5px;
    font-size: 12px;
    color: var(--knl-muted);
}

.kvh-news-list .knl-content {
    min-width: 0;
    padding: 2px 0;
}

.kvh-news-list .knl-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--knl-muted);
}

.kvh-news-list .knl-title {
    margin: 0 0 12px;
    color: var(--knl-brand);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.kvh-news-list .knl-title a {
    color: inherit;
    text-decoration: none;
}

.kvh-news-list .knl-title a:hover {
    text-decoration: underline;
}

.kvh-news-list .knl-description {
    margin: 0 0 14px;
    color: var(--knl-muted);
    font-size: 14px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.kvh-news-list .knl-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--knl-brand);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.kvh-news-list .knl-more:hover {
    text-decoration: underline;
}

.kvh-news-list .knl-pagination {
    margin-top: 28px;
    text-align: center;
}

.kvh-news-list .knl-page-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.kvh-news-list .knl-page-links > a,
.kvh-news-list .knl-page-links > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    padding: 4px 10px;
    border-radius: 8px;
    background: var(--knl-soft);
    color: var(--knl-brand);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.kvh-news-list .knl-page-links > a:hover,
.kvh-news-list .knl-page-links > .is-current {
    background: var(--knl-brand);
    color: #fff;
}

.kvh-news-list .knl-page-links > .is-disabled {
    opacity: .4;
}

.kvh-news-list .knl-page-links > .knl-dots {
    background: transparent;
}

.kvh-news-list .knl-counter {
    margin: 14px 0 0;
    color: var(--knl-muted);
    font-size: 13px;
}

.kvh-news-list a:focus-visible {
    outline: 2px solid var(--knl-brand);
    outline-offset: 3px;
}

@media (max-width: 991px) {
    .kvh-news-list .knl-item {
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 18px;
    }
}

@media (max-width: 575px) {
    .kvh-news-list .knl-item {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        padding: 20px 0;
    }

    .kvh-news-list .knl-title {
        font-size: 17px;
    }

    .kvh-news-list .knl-header h2 {
        font-size: 19px;
    }

    .kvh-news-list .knl-page-links {
        gap: 5px;
    }

    .kvh-news-list .knl-page-links > a,
    .kvh-news-list .knl-page-links > span {
        min-width: 32px;
        min-height: 36px;
        padding: 4px 8px;
    }
}


/* BEGIN KVH NEWS REFINEMENT V1 */

.kvh-news-list .knl-items > .knl-item:first-child {
    padding-top: 0;
}

.kvh-news-list .knl-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 12px;
    text-align: center;
}

.kvh-news-list .knl-page-links {
    width: 100%;
    justify-content: center;
}

.kvh-news-list .knl-pagination .knl-counter {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    float: none;
    text-align: center;
    line-height: 1.5;
}

/* END KVH NEWS REFINEMENT V1 */
