/*================================================== 
   PÁGINA: NOTÍCIAS
   ==================================================*/

/*--- Estilos para Desktop (Mantidos como base) ---*/
.noticias-container {
    max-width: 800px;
    margin: 200px auto;
    padding: 0 20px;
}

.noticia-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.noticia-card img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.noticia-midia {
    text-align: center;
    margin: 0 auto;
}

.noticia-card-content {
    padding: 20px;
    text-align: center;
}

.noticia-card-content h3 {
    font-size: 40px;
    margin-top: 0;
    font-family: 'Neogrotesk Ess Alt', sans-serif;
    font-weight: 900;
    color: #005451;
    padding-left: 30px;
    padding-right: 30px;
    line-height: 45px;
}

.noticia-card-content p {
    font-size: 14px;
    color: #005451;
    font-family: 'Neogrotesk Ess Alt', sans-serif;
    font-style: normal;
}

.noticia-card-content-data p {
    font-size: 12px;
    color: white;
    font-family: 'Neogrotesk SC', sans-serif;
    font-style: normal;
    border: 1px #767272;
    border-radius: 20px;
    padding-top: 7px;
    padding-bottom: 7px;
    width: 20%;
    background-color: #767272;
    margin: 20px auto;
}

.noticia-card-content-sub p {
    font-size: 30px;
    color: #005451;
    font-family: 'Neogrotesk Ess Alt', sans-serif;
    font-weight: 700;
    font-style: normal;
    padding-top: 7px;
    padding-bottom: 7px;
}

.noticia-card-content-not p {
    font-size: 14px;
    color: #005451;
    font-family: 'Neogrotesk Ess Alt', sans-serif;
    font-weight: 200;
    font-style: normal;
    padding-top: 7px;
    padding-bottom: 10px;
    text-align: center;
}

/*================================================== 
   AJUSTES PARA MOBILE 
   ==================================================*/

/*================================================== 
   PÁGINA: NOTÍCIAS
   ==================================================*/

/*--- Estilos para Desktop (Mantidos como base) ---*/
.noticias-container {
    max-width: 800px;
    margin: 200px auto;
    padding: 0 20px;
}

.noticia-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.noticia-card img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.noticia-midia {
    text-align: center;
    margin: 0 auto;
}

.noticia-card-content {
    padding: 20px;
    text-align: center;
}

.noticia-card-content h3 {
    font-size: 40px;
    margin-top: 0;
    font-family: 'Neogrotesk Ess Alt', sans-serif;
    font-weight: 900;
    color: #005451;
    padding-left: 30px;
    padding-right: 30px;
    line-height: 45px;
}

.noticia-card-content p {
    font-size: 14px;
    color: #005451;
    font-family: 'Neogrotesk Ess Alt', sans-serif;
    font-style: normal;
}

.noticia-card-content-data p {
    font-size: 12px;
    color: white;
    font-family: 'Neogrotesk SC', sans-serif;
    font-style: normal;
    border: 1px #767272;
    border-radius: 20px;
    padding-top: 7px;
    padding-bottom: 7px;
    width: 20%;
    background-color: #767272;
    margin: 20px auto;
}

.noticia-card-content-sub p {
    font-size: 30px;
    color: #005451;
    font-family: 'Neogrotesk Ess Alt', sans-serif;
    font-weight: 700;
    font-style: normal;
    padding-top: 7px;
    padding-bottom: 7px;
}

.noticia-card-content-not p {
    font-size: 14px;
    color: #005451;
    font-family: 'Neogrotesk Ess Alt', sans-serif;
    font-weight: 200;
    font-style: normal;
    padding-top: 7px;
    padding-bottom: 10px;
    text-align: center;
}

/*--- Estilo Responsivo para o Contêiner de Vídeo (Desktop e Mobile) ---*/
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Proporção 16:9 */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.noticia-card-content-foto {
    position: relative;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-top: 20px;
}

/*================================================== 
   AJUSTES FINAIS PARA MOBILE 
   ==================================================*/

/* A media query aplica os estilos somente em telas de até 767px de largura */
@media (max-width: 767px) {
    .noticias-container {
        margin: 110px auto;
        padding: 0 15px;
    }

    .noticia-card {
        margin-bottom: 20px;
    }

    .noticia-card-content {
        padding: 15px;
    }

    .noticia-card-content h3 {
        font-size: 30px;
        line-height: 35px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .noticia-card-content-data p {
        width: 80%;
        margin: 15px auto;
        padding-left: 30px;
        padding-right: 30px;
    }

    .noticia-card-content-sub p {
        font-size: 25px;
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .noticia-card-content-not p {
        padding-left: 30px;
        padding-right: 30px;
        text-align: justify;
    }
    
    .noticia-card-content-foto {
    position: relative;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-top: 20px;
}

}


/*
* FONTES
* As definições @font-face estão corretas.
*/
/* -- Neogrotesk Ess Alt (versão normal) -- */
@font-face {
    font-family: 'Neogrotesk Ess Alt';
    src: url('includes/font/Fontspring-DEMO-neogroteskessalt-ultralight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Neogrotesk Ess Alt';
    src: url('includes/font/Fontspring-DEMO-neogroteskessalt-light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Neogrotesk Ess Alt';
    src: url('includes/font/Fontspring-DEMO-neogroteskessalt-regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Neogrotesk Ess Alt';
    src: url('includes/font/Fontspring-DEMO-neogroteskessalt-bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Neogrotesk Ess Alt';
    src: url('includes/font/Fontspring-DEMO-neogroteskessalt-black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

/* -- Neogrotesk Ess Alt (versão itálico) -- */
@font-face {
    font-family: 'Neogrotesk Ess Alt';
    src: url('includes/font/Fontspring-DEMO-neogroteskessalt-ultralightit.otf') format('opentype');
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: 'Neogrotesk Ess Alt';
    src: url('includes/font/Fontspring-DEMO-neogroteskessalt-lightit.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Neogrotesk Ess Alt';
    src: url('includes/font/Fontspring-DEMO-neogroteskessalt-regularit.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Neogrotesk Ess Alt';
    src: url('includes/font/Fontspring-DEMO-neogroteskessalt-boldit.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Neogrotesk Ess Alt';
    src: url('includes/font/Fontspring-DEMO-neogroteskessalt-blackit.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
}

/* -- Neogrotesk SC (versão normal) -- */
@font-face {
    font-family: 'Neogrotesk SC';
    src: url('includes/font/Fontspring-DEMO-neogrotesksc-ultralight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Neogrotesk SC';
    src: url('includes/font/Fontspring-DEMO-neogrotesksc-light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Neogrotesk SC';
    src: url('includes/font/Fontspring-DEMO-neogrotesksc-regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Neogrotesk SC';
    src: url('includes/font/Fontspring-DEMO-neogrotesksc-bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Neogrotesk SC';
    src: url('includes/font/Fontspring-DEMO-neogrotesksc-black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

/* -- Neogrotesk SC (versão itálico) -- */
@font-face {
    font-family: 'Neogrotesk SC';
    src: url('includes/font/Fontspring-DEMO-neogrotesksc-ultralightit.otf') format('opentype');
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: 'Neogrotesk SC';
    src: url('includes/font/Fontspring-DEMO-neogrotesksc-lightit.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Neogrotesk SC';
    src: url('includes/font/Fontspring-DEMO-neogrotesksc-regularit.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Neogrotesk SC';
    src: url('includes/font/Fontspring-DEMO-neogrotesksc-boldit.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Neogrotesk SC';
    src: url('includes/font/Fontspring-DEMO-neogrotesksc-blackit.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
}