﻿.news-overview {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 18px 40px;
}

.news-overview__header {
    margin-bottom: 18px;
}

.news-overview__title {
    margin: 0 0 10px;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.news-overview__intro {
    max-width: 900px;
    opacity: .92;
    line-height: 1.55;
}

    .news-overview__intro p {
        margin: 0 0 10px;
    }

.news-overview__empty {
    padding: 14px;
    border: 1px dashed rgba(0,0,0,.25);
    border-radius: 14px;
}

.news-overview__list {
    display: grid;
    gap: 18px;
}

/* Card row */
.news-row {
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0,0,0,.10);
    overflow: hidden;
}

.news-row__link {
    display: grid;
    grid-template-columns: 1fr 280px;
    min-height: 140px;
    color: inherit;
    text-decoration: none;
}

.news-row__main {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-row__top {
    display: flex;
    gap: 14px;
    align-items: baseline;
    justify-content: space-between;
}

.news-row__title {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    max-width: 820px;
}

.news-row__date {
    white-space: nowrap;
    font-size: 13px;
    font-style: italic;
    opacity: .75;
}

/* Summary clamp (works for RTE output too) */
.news-row__summary {
    opacity: .90;
    line-height: 1.45;
    max-width: 900px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

    .news-row__summary p {
        margin: 0 0 8px;
    }

.news-row__cta {
    margin-top: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 10px 16px;
    border: 1px solid rgba(0,0,0,.25);
    border-radius: 999px;
    font-weight: 800;
}

/* Media */
.news-row__media {
    background: #f3f3f3;
    position: relative;
}

.news-row__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-row__img--placeholder {
    background: linear-gradient(135deg, rgba(0,0,0,.04), rgba(0,0,0,.10));
}

/* Hover/Focus: make it feel deliberate */
.news-row {
    transition: transform 220ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms cubic-bezier(.2,.8,.2,1);
}

    .news-row:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 34px rgba(0,0,0,.14);
    }

.news-row__cta {
    transition: transform 180ms cubic-bezier(.2,.8,.2,1), background 180ms cubic-bezier(.2,.8,.2,1);
}

.news-row:hover .news-row__cta {
    transform: translateY(-1px);
    background: rgba(0,0,0,.03);
}

/* Pager */
.news-overview__pager {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
}

.news-overview__pager-link {
    padding: 10px 14px;
    border: 1px solid rgba(0,0,0,.22);
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
}

.news-overview__pager-status {
    opacity: .75;
}

/* Responsive */
@media (max-width: 980px) {
    .news-row__link {
        grid-template-columns: 1fr;
    }

    .news-row__media {
        height: 180px;
    }

    .news-row__top {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-row__date {
        font-style: normal;
    }
}
.news-row__link {
    grid-template-columns: 1fr;
}
