/* Editorial feed inspired by large Brazilian news portals, using this site's own brand. */
.content-layout {
    align-items: start;
    gap: clamp(38px, 5vw, 72px);
}

.news-list {
    display: grid;
}

.news-row.category-accent {
    display: grid;
    grid-template-columns: minmax(270px, 36%) minmax(0, 1fr);
    gap: clamp(22px, 2.6vw, 32px);
    align-items: start;
    margin: 0;
    padding: 0 0 30px;
    border: 0;
    border-bottom: 1px solid #d9d9d9;
    border-radius: 0;
    background: transparent;
}

.news-row.category-accent + .news-row.category-accent {
    padding-top: 30px;
}

.news-row .news-row-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    background: #edf1f5;
}

.news-row .news-row-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.news-row:hover .news-row-image img {
    transform: scale(1.025);
}

.news-row-copy {
    min-width: 0;
    padding-top: 1px;
}

.news-row.category-accent .category-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--category-color);
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.news-row.category-accent .category-text::before {
    content: "";
    width: 18px;
    height: 3px;
    border-radius: 2px;
    background: var(--category-color);
}

.news-row.category-accent h3 {
    margin: 0 0 10px;
    font-size: clamp(1.27rem, 1.65vw, 1.58rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -.025em;
}

.news-row.category-accent h3 a {
    color: #202124;
    text-decoration: none;
}

.news-row.category-accent h3 a:hover {
    color: var(--category-color);
}

.news-row.category-accent p {
    display: -webkit-box;
    margin: 0 0 14px;
    overflow: hidden;
    color: #5f6368;
    font-size: .91rem;
    line-height: 1.52;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.news-row .news-row-date {
    display: block;
    color: #777;
    font-size: .72rem;
    line-height: 1;
}

@media (max-width: 991px) {
    .content-layout {
        gap: 36px;
    }

    .news-row.category-accent {
        grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
        gap: 22px;
    }

    .content-layout > aside {
        display: none;
    }
}

@media (max-width: 640px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .container.py-4,
    .container.py-lg-5 {
        padding-left: 16px;
        padding-right: 16px;
    }

    .content-layout {
        margin-top: 38px;
    }

    .section-heading {
        margin-bottom: 18px;
    }

    .section-heading h2 {
        font-size: 1.45rem;
    }

    .news-row.category-accent {
        grid-template-columns: 1fr;
        gap: 13px;
        padding-bottom: 24px;
    }

    .news-row.category-accent + .news-row.category-accent {
        padding-top: 24px;
    }

    .news-row .news-row-image {
        border-radius: 6px;
    }

    .news-row-copy {
        width: 100%;
        max-width: 100%;
        padding: 0 2px;
    }

    .news-row.category-accent .category-text {
        margin-bottom: 7px;
        font-size: .65rem;
    }

    .news-row.category-accent h3 {
        margin-bottom: 9px;
        font-size: 1.28rem;
        line-height: 1.16;
        overflow-wrap: break-word;
    }

    .news-row.category-accent p {
        display: none;
    }

    .featured-carousel {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        margin-left: 0;
        border-radius: 10px;
        box-shadow: none;
    }

    .featured-slide.category-accent {
        width: 100%;
        max-width: 100%;
        border: 0;
        border-top: 4px solid var(--category-color);
    }

    .featured-copy {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 18px 16px 22px;
        overflow: hidden;
    }

    .featured-copy h1 {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow: visible;
        overflow-wrap: anywhere;
        word-break: normal;
        -webkit-line-clamp: unset;
    }

    .featured-copy .read-more,
    .featured-carousel .carousel-control-prev,
    .featured-carousel .carousel-control-next,
    .featured-carousel .carousel-indicators {
        display: none;
    }
}

@media (max-width: 380px) {
    .news-row.category-accent h3 {
        font-size: 1.15rem;
    }

    .news-row.category-accent p {
        display: none;
    }
}
