/* =========================================================
   SEÇÃO DE NOTÍCIAS
   ========================================================= */
.secao-noticias {
    padding: 60px 0;
    background: #f5f5f5;
}

/* GRANDE BLOCO ESCURO */
.noticias-wrapper {
    position: relative;
    max-width: 1580px;
    min-height: 650px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border-radius: 55px;
    background-image: linear-gradient(148deg, var(--azul-escuro) 0%, rgba(4, 79, 97, 0.96) 65%, rgb(4 33 36) 100%), url(/assets/img/padrao-cispar.png);
    background-position: center,
        right center;
    background-size: cover,
        430px auto;
    background-repeat: no-repeat,
        no-repeat;
}

/* =========================================================
   COLUNA ESQUERDA
   ========================================================= */
.noticias-introducao {
    display: flex;
    align-items: center;
    padding-left: 90px;
}

.noticias-introducao-conteudo {
    width: 100%;
    max-width: 390px;
    margin-left: auto;
    margin-right: auto;
}

/* TÍTULO */
.noticias-introducao h2 {
    margin: 0 0 22px;
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
}

.noticias-introducao h2 i {
    margin-right: 12px;
    color: #39d38b;
    font-size: 34px;
}

/* TEXTO */
.noticias-introducao p {
    margin: 0 0 35px;
    color: #fff;
    font-size: 19px;
    line-height: 1.65;
}

/* BOTÃO */
.btn-noticias {
    display: inline-block;
    padding: 14px 25px;
    border: none;
    border-radius: 8px;
    background: #fff;
    color: #064f61 !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all .25s ease;
}

.btn-noticias:hover {
    transform: translateY(-2px);
    background: #39d38b;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

/* =========================================================
   COLUNA DAS NOTÍCIAS
   ========================================================= */
.noticias-lista {
    display: flex;
    align-items: center;
    padding: 45px 55px 45px 25px;
}

/* =========================================================
   NOTÍCIA PRINCIPAL
   ========================================================= */
.noticia-principal {
    position: relative;
    width: 65%;
    height: 465px;
    overflow: hidden;
    border-radius: 20px;
    background: #222;
    box-shadow: 0 12px 30px rgba(0,0,0,.20);
}

.noticia-principal .noticia-imagem,
.noticia-principal .noticia-imagem img {
    width: 100%;
    height: 100%;
}

.noticia-principal .noticia-imagem img {
    display: block;
    object-fit: cover;
    transition: transform .5s ease;
}

/* =========================================================
   GRADIENTE SOBRE A FOTO
   ========================================================= */
.noticia-principal .noticia-link {
    position: absolute;
    inset: 0;
    display: block;
    color: #fff;
}

.noticia-principal .noticia-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
        to top,
        rgba(0,0,0,.78) 0%,
        rgba(0,0,0,.35) 38%,
        rgba(0,0,0,0) 70%
        );
}

/* =========================================================
   CONTEÚDO SOBRE A FOTO
   ========================================================= */
.noticia-principal .noticia-conteudo {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px;
}

.noticia-categoria {
    display: inline-block;
    margin-bottom: 10px;
    color: #ffd400;
    font-size: 14px;
}

.noticia-principal h3 {
    margin: 0;
    color: #fff;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.35;
}

/* =========================================================
   NOTÍCIAS SECUNDÁRIAS
   ========================================================= */
.noticias-secundarias {
    width: 35%;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-left: 28px;
}

.noticia-secundaria {
    position: relative;
    height: 221px;
    overflow: hidden;
    border-radius: 20px;
    background: #333;
    box-shadow: 0 10px 25px rgba(0,0,0,.18);
}

.noticia-secundaria .noticia-link {
    position: absolute;
    inset: 0;
    display: block;
    color: #fff;
}

.noticia-secundaria .noticia-imagem,
.noticia-secundaria .noticia-imagem img {
    width: 100%;
    height: 100%;
}

.noticia-secundaria .noticia-imagem img {
    display: block;
    object-fit: cover;
    transition: transform .5s ease;
}

/* GRADIENTE */
.noticia-secundaria .noticia-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
        to top,
        rgba(0,0,0,.80),
        rgba(0,0,0,.15)
        );
}

/* TEXTO */
.noticia-secundaria .noticia-conteudo {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px;
}

.noticia-secundaria h3 {
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

/* =========================================================
   HOVER
   ========================================================= */
.noticia-link:hover .noticia-imagem img {
    transform: scale(1.06);
}

.noticia-link:hover h3 {
    color: #fff;
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1199px) {
    .noticias-wrapper {
        min-height: 580px;
    }
    .noticias-introducao {
        padding: 40px 30px;
    }
    .noticias-introducao h2 {
        font-size: 34px;
    }
    .noticias-lista {
        padding-right: 30px;
    }
    .noticia-principal {
        height: 400px;
    }
    .noticia-secundaria {
        height: 189px;
    }
}

@media (max-width: 991px) {
    .noticias-wrapper {
        display: block;
        min-height: auto;
        border-radius: 35px;
    }
    .noticias-introducao {
        min-height: 360px;
        justify-content: center;
        text-align: center;
    }
    .noticias-introducao-conteudo {
        max-width: 600px;
    }
    .noticias-lista {
        padding: 20px 70px 45px;
    }
}

@media (max-width: 767px) {
    .noticias-introducao {
        padding: 50px 25px;
    }
    .noticias-introducao h2 {
        font-size: 32px;
    }
    .noticias-introducao p {
        font-size: 17px;
    }
    .noticias-lista {
        display: block;
        padding: 10px 20px 35px;
    }
    .noticia-principal {
        width: 100%;
        height: 350px;
        margin-bottom: 20px;
    }
    .noticias-secundarias {
        width: 100%;
        padding-left: 0;
        gap: 20px;
    }
    .noticia-secundaria {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .noticias-wrapper {
        border-radius: 25px;
    }
    .noticias-introducao h2 {
        font-size: 28px;
    }
    .noticia-principal {
        height: 300px;
    }
}
