/* =========================================================
   V14 — carrossel editorial preenchido, sem faixas vazias
   ========================================================= */

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

.hero-news .hero-slide {
    background: #062d58 !important;
}

/* A foto ocupa todo o painel visual. O recorte é mínimo e controlado. */
.hero-news .hero-media {
    inset: 0 0 0 43.5% !important;
    display: block !important;
    background: #071d33 !important;
}

.hero-news .hero-media-backdrop {
    display: none !important;
}

.hero-news .hero-media-picture {
    inset: 0 !important;
    display: block !important;
}

.hero-news .hero-slide-image {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 0 !important;
    transform: scale(1.002);
}

/* Degradê entre texto e fotografia: acabamento editorial, sem corte seco. */
.hero-news .hero-media-vignette {
    background:
        linear-gradient(90deg,
            rgba(4, 47, 92, .92) 0%,
            rgba(4, 47, 92, .56) 9%,
            rgba(4, 47, 92, .17) 20%,
            rgba(4, 47, 92, 0) 34%),
        linear-gradient(180deg,
            rgba(3, 18, 34, .04) 0%,
            rgba(3, 18, 34, 0) 58%,
            rgba(3, 18, 34, .30) 100%) !important;
}

.hero-news .hero-overlay::before {
    width: 53.5% !important;
    clip-path: polygon(0 0, 78% 0, 100% 100%, 0 100%) !important;
}

.hero-news .hero-overlay::after {
    left: 34.8% !important;
    width: 14.7% !important;
    height: 29% !important;
}

.hero-news .hero-content {
    min-height: 640px !important;
    padding-top: 34px !important;
    padding-bottom: 120px !important;
}

.hero-news .hero-copy {
    width: min(455px, 40.5%) !important;
    max-width: 455px !important;
}

.hero-news .hero-copy h1,
.hero-news .hero-copy h1.hero-title-medium,
.hero-news .hero-copy h1.hero-title-long {
    max-width: 455px !important;
    font-size: clamp(34px, 2.75vw, 48px) !important;
    line-height: 1.04 !important;
}

.hero-news .hero-copy h1.hero-title-long {
    font-size: clamp(30px, 2.35vw, 41px) !important;
}

.hero-news .slider-panel {
    bottom: 17px !important;
}

/* Notebook: reduz um pouco o texto e amplia a fotografia. */
@media (max-width: 1180px) {
    .hero-news .hero-media {
        inset: 0 0 0 41.5% !important;
    }

    .hero-news .hero-overlay::before {
        width: 55% !important;
    }

    .hero-news .hero-copy {
        width: 40% !important;
    }
}

/* Tablet: composição horizontal equilibrada. */
@media (max-width: 920px) {
    .hero-news,
    .hero-news .hero-slides,
    .hero-news .hero-slide {
        min-height: 690px !important;
    }

    .hero-news .hero-media {
        inset: 0 !important;
    }

    .hero-news .hero-slide-image {
        object-position: center center !important;
    }

    .hero-news .hero-media-vignette {
        background:
            linear-gradient(180deg,
                rgba(2, 19, 37, .04) 0%,
                rgba(2, 19, 37, .16) 42%,
                rgba(3, 42, 82, .96) 74%,
                #073e79 100%) !important;
    }

    .hero-news .hero-overlay::before {
        inset: auto 0 0 0 !important;
        width: 100% !important;
        height: 58% !important;
        clip-path: polygon(0 13%, 100% 0, 100% 100%, 0 100%) !important;
        background: linear-gradient(180deg, rgba(7, 75, 145, .32), #074a91 40%, #06396f 100%) !important;
    }

    .hero-news .hero-overlay::after {
        left: auto !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 29% !important;
        height: 18% !important;
    }

    .hero-news .hero-content {
        min-height: 690px !important;
        align-items: flex-end !important;
        padding-bottom: 112px !important;
    }

    .hero-news .hero-copy {
        width: 100% !important;
        max-width: 620px !important;
        padding: 0 8px 0 !important;
    }

    .hero-news .hero-copy h1,
    .hero-news .hero-copy h1.hero-title-medium,
    .hero-news .hero-copy h1.hero-title-long {
        max-width: 590px !important;
        font-size: clamp(31px, 5.6vw, 44px) !important;
    }
}

/* Celular: foto em proporção 16:9 e conteúdo abaixo, sem vazios. */
@media (max-width: 620px) {
    .hero-news,
    .hero-news .hero-slides,
    .hero-news .hero-slide {
        min-height: 700px !important;
    }

    .hero-news .hero-media {
        inset: 0 0 auto 0 !important;
        height: 43% !important;
    }

    .hero-news .hero-slide-image {
        object-fit: cover !important;
        object-position: center center !important;
    }

    .hero-news .hero-media-vignette {
        background: linear-gradient(180deg, rgba(2, 17, 33, .04), rgba(3, 44, 87, .60) 78%, #073e79 100%) !important;
    }

    .hero-news .hero-overlay::before {
        height: 64% !important;
        clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%) !important;
    }

    .hero-news .hero-content {
        min-height: 700px !important;
        padding-top: 250px !important;
        padding-bottom: 100px !important;
    }

    .hero-news .hero-copy h1,
    .hero-news .hero-copy h1.hero-title-medium,
    .hero-news .hero-copy h1.hero-title-long {
        font-size: clamp(29px, 9vw, 38px) !important;
        line-height: 1.04 !important;
        -webkit-line-clamp: 5 !important;
    }

    .hero-news .hero-copy p {
        -webkit-line-clamp: 2 !important;
    }

    .hero-news .slider-panel {
        bottom: 10px !important;
    }
}
