@font-face {
    font-family:'Golden-Moment';
    src: url('/static/fonts/Golden-Moment.otf')format('opentype');
    font-weight:normal;
    font-style: normal;
    font-display: swap;
}   
* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    max-height: 100vh;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #111; /* o un color neutro similar al fondo final */
}
.banner{
    margin-top: 40px;
    width: 100%;
    height: 12vh;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center; 
    position: relative;
    min-height: 16vh; /* o más si hace falta */
}

.frase{
    font-family:'Golden-Moment';
    font-size: 7vmin;
    font-weight: normal;
    color: rgb(168, 152, 113);
    padding-left: 50px;
    padding-right: 50px;
        
}
.Nbanner{
    padding-left: 50px;
    padding-right: 50px;
    font-family:'Golden-Moment';
    /* font-family:'Gotham-Book'; */
    font-size: clamp(4rem, 6vw, 7rem);
    font-weight: normal;
    color: rgb(168, 152, 113);
}
.noticia h3,
.noticia p,
.noticia a {
    color: white;
}

.noticias {
    display: flex;
    justify-content: center;
    padding: 2rem; 
}
.sin-noti {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Para adaptarse en pantallas chicas */
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
    gap: 2rem;
    text-align: center;
    font-size: clamp(2rem, 5vw, 4rem);
}

.sin-noti img {
    width: 100%;
    max-width: 450px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.mensaje-sin-noti {
    flex: 1;
    font-size:6rem;
    color: rgb(168, 152, 113);
    font-family:'Golden-Moment';
}

.noticia {
    display: flex;
    flex-wrap: nowrap;
    gap: 50px; /* ← Esto separa la imagen del texto */
    background-color: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    max-width: 90%;
    margin: auto;
    max-width: 1200px;
    overflow: hidden;
    flex-direction: row;
}

.noticia .texto {
    flex: 1 1 45%;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    word-wrap: break-word;
    overflow-wrap: break-word;
}


.noticia img {
    flex: 1 1 45%;
    max-height: 60vh;
    min-width: 300px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    padding-right: 30px;
    width: 100%;
    height: auto;
    max-width: 100%;
}


.noticia h3 {
    font-size: 2rem;
    margin-top: 0;
}

.noticia p {
    font-size: 1.2rem;
    line-height: 1.6;
}


/* Forzar horizontal siempre, incluso en pantallas chicas */
.noticia {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

/* Imagen fija a la izquierda */
.noticia img {
    flex: 1 1 45%;
    max-width: 100%;
    max-height: 50vh;
    height: auto;
    object-fit: contain;
    padding-right: 30px;
    border-radius: 8px;
}

/* Texto a la derecha */
.noticia .texto {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: white;
    text-align: left;
}
@media screen and (max-width: 1366px) {
    .noticia {
        gap: 2vw;
        padding: 1rem;
    }

    .noticia img {
        max-height: 40vh;
        flex: 1 1 50%;
        padding-right: 10px;
    }

    .noticia .texto {
        flex: 1 1 50%;
        font-size: 1.1rem;
        text-align: left;
        align-items: flex-start;
    }

    .noticia h3 {
        font-size: 1.5rem;
    }

    .noticia p {
        font-size: 1rem;
    }

    .noticia a {
        font-size: 1rem;
    }
}
