/* =========================================================
   V8 — carrossel de notícias e acabamento final do portal
   ========================================================= */

.hero-news,
.hero-news .hero-slides {
    min-height: 610px !important;
}

.hero-news .hero-content {
    min-height: 610px !important;
    align-items: center !important;
    padding-top: 54px !important;
    padding-bottom: 118px !important;
}

.hero-news .hero-copy {
    width: min(455px, 43%) !important;
    padding-left: 8px !important;
    transform: translateY(8px);
}

.hero-news .hero-copy .eyebrow {
    min-height: 31px;
    margin-bottom: 2px;
    padding-inline: 14px;
    border-radius: 6px;
    box-shadow: 0 7px 18px rgba(0, 0, 0, .12);
}

.hero-news .hero-copy time {
    margin-top: 17px !important;
}

.hero-news .hero-copy h1 {
    max-width: 450px !important;
    font-size: clamp(40px, 4.1vw, 58px) !important;
    line-height: 1.035 !important;
}

.hero-news .hero-copy p {
    max-width: 385px !important;
    font-size: 15px !important;
    line-height: 1.55;
}

.hero-news .slider-panel {
    min-height: 86px !important;
}

.hero-news .slider-tab span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Texto rico das notícias publicado pelo editor do CRM. */
.article-content {
    max-width: 850px !important;
    color: #314b64;
    font-size: 17px;
    line-height: 1.82;
}

.article-content > p {
    margin: 0 0 1.35em;
}

.article-content h2,
.article-content h3 {
    color: #103861;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.article-content h2 {
    margin: 1.7em 0 .7em;
    font-size: clamp(25px, 3vw, 34px);
}

.article-content h3 {
    margin: 1.5em 0 .65em;
    font-size: clamp(21px, 2.4vw, 27px);
}

.article-content ul,
.article-content ol {
    margin: 0 0 1.45em;
    padding-left: 1.45em;
}

.article-content li + li {
    margin-top: .45em;
}

.article-content blockquote {
    margin: 1.6em 0;
    padding: 18px 22px;
    border-left: 5px solid var(--green-600);
    border-radius: 0 12px 12px 0;
    color: #3f5a73;
    background: #f1f7fb;
}

.article-content a:not(.btn) {
    color: var(--blue-700);
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 1080px) {
    .hero-news,
    .hero-news .hero-slides {
        min-height: 680px !important;
    }

    .hero-news .hero-content {
        min-height: 680px !important;
        padding-top: 64px !important;
        padding-bottom: 128px !important;
    }

    .hero-news .hero-copy {
        width: min(500px, 55%) !important;
    }
}

@media (max-width: 700px) {
    .hero-news,
    .hero-news .hero-slides {
        min-height: 680px !important;
    }

    .hero-news .hero-slide {
        background-position: center top !important;
        background-size: auto 48% !important;
    }

    .hero-news .hero-content {
        min-height: 605px !important;
        align-items: flex-end !important;
        padding-top: 255px !important;
        padding-bottom: 100px !important;
    }

    .hero-news .hero-copy {
        width: 100% !important;
        padding: 0 !important;
        transform: none;
    }

    .hero-news .hero-copy h1 {
        max-width: 100% !important;
        font-size: clamp(34px, 10vw, 43px) !important;
    }

    .hero-news .hero-copy p {
        max-width: 100% !important;
        font-size: 14px !important;
    }

    .hero-news .slider-panel {
        width: calc(100% - 28px) !important;
        min-height: 76px !important;
    }

    .article-content {
        font-size: 16px;
        line-height: 1.72;
    }
}
