/* Media coverage list (/media-coverage/): one row per article, outlet left, date, headline right.
   Values measured on live roc.ai (Divi_Child media-coverage.css). Loaded after blog.css, which carries the
   title band, pagination and View More button. */

.media-list {
    width: 100%;
}

.media-row {
    padding-right: 10px;
    border-top: 1px solid var(--color-steel);
}

.media-row:last-child {
    border-bottom: 1px solid var(--color-steel);
}

.media-row__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(40px, 4vw, 80px);
    width: 100%;
    padding: clamp(20px, 2vw, 40px) 0;
}

.media-row__outlet {
    order: 1;
    width: 200px;
    font-family: var(--font-medium);
    font-size: clamp(20px, 1.44vw, 28px);
    font-weight: 500;
    line-height: 1.17;
    text-transform: uppercase;
    color: var(--color-ink);
}

.media-row__date {
    order: 2;
    font-family: var(--font-regular);
    font-size: 16px;
    line-height: 1;
    color: var(--color-slate);
}

.media-row__headline {
    order: 3;
    width: clamp(350px, 44.7vw, 542px);
    padding-bottom: 10px;
    font-family: var(--font-medium);
    font-size: clamp(20px, 1.44vw, 28px);
    font-weight: 500;
    line-height: 1.17;
    color: var(--color-ink);
}

.news--media .news__results {
    transition: opacity 0.2s ease;
}

.news--media .news__results.is-loading {
    opacity: 0.45;
    pointer-events: none;
}

.news--media .news__pager {
    padding: clamp(90px, 9vw, 128px) 0;
}

.news--media .news__title {
    font-size: 120px;
    line-height: 1.2;
}

/* Live keeps 120px at every width, so "Coverage" runs off narrow screens: scale it down with the width. */
@media (max-width: 1024px) {
    .news--media .news__title { font-size: min(120px, 13vw); }
}

/* Outlet, date and headline no longer fit side by side below 900px (live overflows the page there): stack them. */
@media (max-width: 900px) {
    .media-row__link {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .media-row__outlet {
        width: auto;
        margin-bottom: 12px;
    }

    .media-row__date { margin-bottom: 20px; }

    .media-row__headline {
        width: auto;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .news--media .news__pager { display: none; }

    .news--media .news__more { margin-top: 40px; }
}

@media (min-width: 769px) {
    .news--media .news__more { display: none; }
}

@media (max-width: 475px) {
    .news--media .news__wrap { padding-top: 105px; }

    .news--media .news__title {
        margin-bottom: 40px;
        padding: 0;
        font-size: 15vw;
        line-height: 1.2;
    }

    .news--media .news__title-band { padding-bottom: 0; }

    .media-row:first-child { border-top: 0; }

    .media-row:first-child .media-row__link { padding-top: 0; }

    .media-row__link {
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0;
        padding: 40px 0;
    }

    .media-row__outlet,
    .media-row__headline {
        width: auto;
        font-family: var(--font-bold);
        font-size: 24px;
        font-weight: 700;
        line-height: 28px;
    }

    .media-row__outlet {
        order: 1;
        margin-bottom: 16px;
    }

    .media-row__date {
        order: 2;
        margin-bottom: 40px;
    }

    .media-row__headline {
        order: 3;
        padding-bottom: 0;
    }
}
