/* Estilização do container de destaque de notícias */
.destaque-banner-news-container {
    margin: 10px 0 !important;
    box-sizing: border-box;
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 2%;
}

.destaque-banner-news-container-left {
    position: relative;
    width: 65%;
    height: 550px;
}

.destaque-banner-news-container-left::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.1) 10%, 
        rgba(0,0,0,0.5) 50%, 
        rgba(0, 0, 0, 1) 100%
    );
}

/* Todas as imagens de destaque e laterais */
.hero-img,
.rigth-item-first-img,
.rigth-item-secondary-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: fill !important;
    display: block;
    top: 0;
    left: 0;
}

.hero-title {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    margin: 10px 0 50px 0;
    color: white;
    text-shadow: 0 2px 10px black;
    z-index: 2;
    text-align: left;
    padding: 0 20px;
    margin-left: 20px;
    font-weight: 800 !important;
    font-size: 1.8rem !important;
}

.hero-title a {
    color: white;
    text-decoration: none;
}

.destaque-banner-news-container-rigth {
    width: 28% !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    max-height: 700px;
}

.hero-title-secondary {
    font-size: 1.3rem;
    font-weight: 500;
}

.hero-title-secondary a {
    text-decoration: none;
    color: #0c326f !important;
    font-weight: 500;
}

.destaque-banner-news-container-rigth-item-first,
.destaque-banner-news-container-rigth-item-second {
    position: relative;
    height: 49%;
    display: flex;
    width: 100%;
}

.destaque-banner-news-container-rigth-item-first::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.3) 40%, 
        rgba(0,0,0,0.9) 90%, 
        rgba(0, 0, 0, 1) 100%
    );
}

.destaque-banner-news-container-rigth-item-second::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.1) 40%, 
        rgba(0,0,0,0.8) 80%, 
        rgba(0, 0, 0, 1) 100%
    );
}

.rigth-item-first-title {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 10px black;
    z-index: 2;
    text-align: left;
    padding: 0 10px;
    font-weight: 700 !important;
    font-size: 1.3rem !important;
}

.rigth-item-first-title a {
    color: white;
    text-decoration: none;
}

/* Responsividade - telas pequenas */
@media (max-width: 700px) {
    .destaque-banner-news-container {
        flex-direction: column;
        justify-content: space-between;
        gap: 10px;
        min-height: auto;
        max-height: none;
    }

    .destaque-banner-news-container-left {
        width: 100%;
        height: 400px;
        margin: 0;
        position: relative;
    }

    .destaque-banner-news-container-rigth {
        width: 100% !important;
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin: 0;
        position: relative;
    }

    .destaque-banner-news-container-rigth-item-first,
    .destaque-banner-news-container-rigth-item-second {
        position: relative;
        width: 100%;
        height: 350px;
        margin: 0;
    }

    .rigth-item-first-title {
        font-size: 1.2rem !important;
        padding: 0 10px;
    }
}

/* Telas médias até 1600px */
@media (min-width: 701px) and (max-width: 1600px) {
    .destaque-banner-news-container {
        flex-direction: row;
        justify-content: space-between;
        gap: 2%;
    }

    .hero-title-secondary {
        font-size: 1.1rem;
    }

    .destaque-banner-news-container-left {
        width: 70%;
        height: 500px;
    }

    .destaque-banner-news-container-rigth {
        width: 30%;
        height: 500px;
    }

    .rigth-item-first-title {
        font-size: 1.1rem !important;
    }
}

/* Telas grandes (acima de 1600px) */
@media (min-width: 1601px) {
    .destaque-banner-news-container {
        justify-content: space-between;
        gap: 2%;
    }

    .destaque-banner-news-container-left {
        width: 70%;
        height: 550px;
    }

    .destaque-banner-news-container-rigth {
        width: 30%;
        height: 550px;
    }
}

/* Remover qualquer arredondamento residual */
.destaque-banner-news-container * {
    border-radius: 0 !important;
}
