/* Estilização do container de destaque de notícias */

.destaque-banner-news-container {
    margin: 20px 0 !important;
    box-sizing: border-box;
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
}

.destaque-banner-news-container-left {
    position: relative;
    max-width: 65%;
    min-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%
  );
}

.hero-img {
    min-width: 100% !important;
    height: 100%;
    object-fit: fill;
    display: block;
    margin: 0;
    padding: 0;
    border-radius: 0;
}
   
.hero-img img {
    min-width: 100% !important;
    border-radius: 0;
}

.hero-title {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    margin: 0;
    margin-bottom: 50px;
    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 {
    max-width: 28% !important;
    min-width: 28% !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    border-radius: 0;
    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 {
    position: relative;
    max-height: 49%;
    min-height: 49%;
    display: flex;
    width: 100%;
}

.rigth-item-first-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: 0;
}

.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-secondary-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: 0;
}

.rigth-item-first-title {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    margin: 0;
    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;
}

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

/* Responsividade */
@media (max-width: 700px) {
    .destaque-banner-news-container {
        display: flex;
        flex-direction: column;
        min-height: 1120px;
        max-height: 1120px;
        justify-content: space-between;
        gap: 5px;
    }

    .rigth-item-first-img {
        width: 100%;
        height: 300px;
        object-fit: fill;
        border-radius: 0;
    }

    .rigth-item-secondary-img {
        width: 100%;
        height: 300px;
        object-fit: fill;
        border-radius: 0;
    }

    .destaque-banner-news-container-left {
        max-width: 100%;
        min-width: 100%;
        min-height: 400px;
        max-height: 400px;
        margin-bottom: 10px;
    }

    .destaque-banner-news-container-rigth {
        max-width: 100% !important;
        min-width: 100% !important;
        min-height: 700px;
        margin-top: 10px;
    }

    .destaque-banner-news-container-rigth-item-first {
        height: 350px;
        margin-top: 10px;
    }

    .destaque-banner-news-container-rigth-item-second {
        height: 350px;
    }
}

/* Opção 1 - Mais usada e clara (recomendada) */
@media (min-width: 701px) and (max-width: 1600px) {
    .destaque-banner-news-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 15px;
    }

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

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

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

    .rigth-item-first-img {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    .rigth-item-first-img img {
        object-fit: fill;
        border-radius: 0;
    }

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

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