/* Reset CSS */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
/* Estilos generales */
body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.9rem;
}
.contenedor {
    width: 87%;
    margin: 0 auto;
}
/* Estilos navegación */
header {
    background-color: #000000;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}
.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9em 0;
    width: 95%;
}
.logo {
    text-decoration: none;
}
.logo img {
    height: 2rem;
    width: auto;
    display: block;
}
.nav-perfil img {
    height: 2rem;
    width: 2rem;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin-left: 3rem;
}
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin-left: auto;
}
.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-size: 0.9rem;
}
/* Estilos Hero */
.hero {
    display: flex;
    min-height: 60vh;
}
/* Estilos Hero Main */
.hero-main {
    flex: 2;
    background-image: url('../img/imagen1.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}
.hero-main::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}
.hero-main-titulo {
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e07580;
    padding-bottom: 1.5rem;
}
.hero-main-contenido {
    position: relative;
    color: #ffffff;
    padding: 8rem;
}
.hero-main-contenido h2 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}
.hero-main-contenido p:not(.hero-main-titulo) {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    color: #ddd;
}
.hero-boton {
    display: inline-block;
    background-color: #e43748;
    color: #fff;
    text-decoration: none;
    padding: 0.7rem 1.25rem;
    font-size: 0.5rem;
    font-weight: bold;
    border-radius: 3px;
}
/* Estilos Hero Aside */
.hero-aside {
    flex: 1;
    background-color: #1c2c4f;
    padding: 8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-aside-titulo {
    color: #e43748;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 1.7rem;
    border-bottom: 2px solid #e07580;
    padding-bottom: 1.5rem;
}
.hero-aside-contenido {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
}
.hero-aside-contenido h3 {
    color: #e07580;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}
.hero-aside-contenido p:not(.hero-aside-categoria) {
    font-size: 0.8rem;
    color: #ffffff;
    line-height: 1.6;
}
.hero-aside-categoria {
    color: #5fbfd7;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}
/* Estilos Noticias */
.noticias {
    padding: 6rem 0 2.5rem;
    background-color: #e43748;
}
.noticias-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}
.noticia-card {
    background-color: #3a0a0a;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.noticia-card img {
    width: 100%;
    height: 50%;
    object-fit: cover;
    display: block;
}
.noticia-card-texto {
    height: 50%;
    padding: 1rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.noticia-card-texto h3{
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: #e07580;
}
.noticia-card-texto p {
    font-size: 0.8rem;
    color: #ffffff;
    line-height: 1.6;
}
/* Estilos Happening Now */
.happening {
    background: linear-gradient(180deg, #e43748, #115bc2);
}
.happening-titulo {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: #ffffff;
}
.happening-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}
/* Estilos Happening Now Columna Izquierda */
:root {
    --card-padding: 3rem;
}
.happening-principal {
    grid-column: 1 / 3;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding-bottom: 6rem;
}
.happening-card-grande {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    flex: 1;
}
.happening-card-grande img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.happening-card-grande::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #3427695d;
    z-index: 1;
}
.happening-categoria {
    position: absolute;
    top: var(--card-padding);
    left: var(--card-padding);
    z-index: 2;
    color: #5fbfd7;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;

}
.happening-card-contenido {
    position: absolute;
    bottom: var(--card-padding);
    left: var(--card-padding);
    right: var(--card-padding);
    z-index: 2;
}
.happening-card-contenido h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: aqua;
}
.happening-card-contenido p:not(.happening-categoria) {
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.5;
    text-align: justify;
}
/* Estilos Happening Now Columna Derecha */
.happening-secundario {
    grid-column: 3;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.happening-card-chica {
    flex: 1;
}
.happening-card-chica img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}
.happening-card-chica h3 {
    font-size: 1rem;
    margin-top: 1rem;
    color: #5fbfd7;
}
/* Estilos Footer */
footer {
    background-color: #492837;
    padding: 4rem 0;
}
.footer-contenido {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}
.footer-logo img {
    height: 2rem;
    width: auto;
    display: block;
    margin-right: 4rem;
}
.footer-links {
    display: flex;
    gap: 4rem;
    flex: 1;
}
.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.footer-links a {
    text-decoration: none;
    color: #ffffff;
    font-size: 0.8rem;
}
.footer-email {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 14rem;
    margin-right: 4rem;
}
.footer-email input {
    background-color: transparent;
    border: 1px solid #fff;
    padding: 0.5rem 0.75rem;
    color: #ffffff;
    font-size: 0.8rem;
    border-radius: 3px;
    width: 100%;
}
.footer-email input::placeholder {
    color: #ffffff;
}
.footer-email label {
    display: none;
}
.footer-email p {
    font-size: 0.75rem;
    color: #ffffff;
    padding-top: 1rem;
}
.footer-social {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}
.footer-social a {
    text-decoration: none;
    color: #ffffff;
    font-size: 0.85rem;
}
.footer-social a img {
    width: 1.2rem;
    height: 1.2rem;
    object-fit: contain;
    display: block;
}


/* Estilos Discovery Hero */
.discovery-hero {
    background-image: url('../img/imagen10.jpg');
    background-size: cover;
    background-position: center;
    min-height: 70vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem 3rem;
}
.discovery-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
}
.discovery-hero-contenido {
    position: relative;
    text-align: center;
    color: #ffffff;
    z-index: 1;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.discovery-hero-contenido h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.discovery-hero-etiquetas {
    display: flex;
    justify-content: center;
    gap: 4rem;
    font-size: 1rem;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 1px;
}
.discovery-hero-etiquetas p {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.discovery-hero-etiquetas img {
    width: 1rem;
    height: 1rem;
    object-fit: contain;
}
.discovery-hero-autor {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
    font-size: 0.85rem;
}
.discovery-hero-autor img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff; 
}
.discovery-hero-nextstory {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    z-index: 1;
    border: 4px dashed #ffffff71;
    padding: 2rem 2rem;
    max-width: 260px;
    color: #ffffff;
}
.discovery-nextstory-categoria {
    color: #e05c6a;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.4rem;
}
.discovery-nextstory-titulo {
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}
.discovery-nextstory-texto {
    font-size: 0.8rem;
    color: #ffffff;
}
/* Estilos Discovery Articulo */
.discovery-articulo {
    display: flex;
    gap: 5rem;
    padding: 8rem 4rem;
}
.discovery-articulo-seccion {
    background-color: #1c2c4f;
}
/* Estilos Discovery Articulo Columna Izquierda */
.discovery-articulo-principal {
    flex: 1;
    border-right: 3px solid #e0e0e036;
    padding-right: 5rem;
}
.discovery-articulo-principal h2 {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: #cd3737;
}
.discovery-articulo-principal p {
    font-size: 0.85rem;
    color: #5fbfd7;
    line-height: 1.7;
    margin-bottom: 1rem;
}
.discovery-articulo-subtitulo {
    font-weight: bold;
    color: #e07580 !important;
    margin-top: 2rem;
    border-top: 4px dashed #e0e0e036;
    padding-top: 2rem;
}
/* Estilos Discovery Articulo Columna Derecha */
.discovery-articulo-secundario {
    flex: 2;
}
.discovery-comentario {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
}
.discovery-comentario-autor {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.discovery-comentario-autor img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    object-fit: cover;
}
.discovery-comentario-autor h3 {
    font-size: 1.3rem;
    color: #ca922a;
}
.discovery-comentario p {
    font-size: 0.85rem;
    color: #ffffff;
    line-height: 1.7;
    font-style: italic;
}
/* Estilos Discovery Video */
.discovery-video {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}
.discovery-video video {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}


/* Estilos Worldnews Breadcrumb*/
.worldnews {
    background-color: #3a0a0a;
    overflow: hidden;
}
.worldnews-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    font-size: 0.8rem;
    color: #888;
}
.worldnews-breadcrumb img {
    width: 1rem;
    height: 1rem;
    object-fit: contain;
}
.breadcrumb-current {
    color: #888;
    font-weight: 700;
}
.breadcrumb a {
    text-decoration: none;
    color: inherit;
}
/* Estilos Worldnews Hero*/
.worldnews-hero {
    display: flex;
    gap: 0;
    margin-bottom: 3rem;
}
.worldnews-hero-imagen {
    flex: 1;
    background-image: url('../img/imagen11.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 6px 0 0 6px;
    overflow: hidden;
    min-height: 700px;
    display: flex;
    align-items: center;
}
.worldnews-hero-imagen::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}
.worldnews-hero-imagen-contenido {
    position: relative;
    z-index: 1;
    color: #e43748;
    padding: 2rem;
    text-align: center;
    width: 100%;
}
.worldnews-hero-imagen-contenido h1 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}
.worldnews-hero-linea {
    border: none;
    border-top: 2px solid #e05c6a;
    width: 3rem;
    margin: 1rem auto 1rem;
}
.worldnews-hero-imagen-contenido p {
    font-size: 0.85rem;
    color: #ddd;
    font-weight: bold;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.worldnews-hero-autor img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
}
/* Estilos Worldnews Formulario Derecha */
.worldnews-hero-form {
    flex: 1;
    background-color: #0c356e;
    padding: 2rem 3rem;
    border-radius: 0 6px 6px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}
.worldnews-form-grupo {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 5rem 0 5rem;
}
.worldnews-form-grupo label {
    font-size: 0.85rem;
    color: #ffffff;
    font-weight: bold;
}
.worldnews-form-grupo select,
.worldnews-form-grupo input {
    border: 2px solid #000000;
    padding: 0.6rem 0.75rem;
    font-size: 0.85rem;
    color: #0000009e;
    border-radius: 3px;
    width: 100%;
    background-color: #ffffff;
}
.worldnews-boton {
    align-self: flex-start;
    background-color: #ca922a;
    color: #ffffff;
    border: none;
    padding: 0.6rem 2rem;
    font-size: 0.6rem;
    font-weight: bold;
    border-radius: 3px;
    cursor: pointer;
    letter-spacing: 1px;
    margin-left: 5rem;
}
/* Estilos Worldnews Articulo de 3 Columnas*/
.worldnews-articulo {
    display: flex;
    gap: 4rem;
    padding: 3rem 0;
    border-bottom: 2px solid #ffffff52;
    border-top: 2px solid #ffffff52;
}
.worldnews-articulo-autor {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.worldnews-articulo-autor img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    object-fit: cover;
}
.worldnews-articulo-autor h2 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #5fbfd7;
    line-height: 1.4;
}
.worldnews-articulo-texto {
    flex: 1;
}
.worldnews-articulo-texto p {
    font-size: 0.85rem;
    color: #ffffff;
    line-height: 1.7;
}
/* Estilos Worldnews Portada*/
.worldnews-portada{
    margin: 3rem auto;
}
.worldnews-portada img {
    width: 100%;
    display: block;
    border-radius: 6px;
    max-height: 700px;
    object-fit: cover;
}
/* Estilos Worldnews Texto Dos Columnas*/
.worldnews-texto-dos-columna {
    display: flex;
    gap: 4rem;
    padding-bottom: 3rem;
}
.worldnews-texto-columna {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.worldnews-texto-columna p {
    font-size: 0.85rem;
    color: #e07580;
    line-height: 1.7;
}
.worldnews-texto-cursiva {
    flex: 1;
}
.worldnews-texto-cursiva p {
    font-style: italic;
    font-weight: bold;
    font-size: 1rem;
    color: #ffffff;
}
.worldnews-separador {
    border: none;
    border-bottom: 2px solid #ffffff52;
    margin: 0 auto 8rem;
}
/* Media Queries */
/* Tablet: 768 a 991 */
@media screen and (max-width: 991px) {
    /* Nav */
    .nav-links {
        gap: 1rem;
    }
    .nav-links a {
        font-size: 0.8rem;
    }
    /* Hero index */
    .hero {
        flex-direction: column;
        min-height: auto;
    }
    .hero-main {
        min-height: 50vh;
    }
    .hero-main-contenido {
        padding: 3rem;
    }
    .hero-aside {
        padding: 3rem;
        flex: none;
    }
    /* Noticias */
    .noticias-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Happening */
    .happening-grid {
        grid-template-columns: 1fr;
    }
    .happening-principal {
        grid-column: 1;
    }
    .happening-secundario {
        grid-column: 1;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .happening-card-chica {
        flex: 1;
        min-width: calc(50% - 0.5rem);
    }
    /* Footer */
    .footer-contenido {
        flex-wrap: wrap;
    }
    .footer-links {
        gap: 2rem;
    }
    .footer-email {
        margin-right: 0;
    }
    /* Discovery artículo */
    .discovery-articulo {
        flex-direction: column;
        padding: 4rem 2rem;
        gap: 2rem;
    }
    .discovery-articulo-principal {
        border-right: none;
        border-bottom: 3px solid #e0e0e036;
        padding-right: 0;
        padding-bottom: 2rem;
    }
    /* World news hero */
    .worldnews-hero {
        flex-direction: column;
    }
    .worldnews-hero-imagen {
        min-height: 400px;
        border-radius: 6px 6px 0 0;
    }
    .worldnews-hero-form {
        border-radius: 0 0 6px 6px;
    }
    /* World news artículo */
    .worldnews-articulo {
        flex-direction: column;
        gap: 1.5rem;
    }
    /* World news texto dos columnas */
    .worldnews-texto-dos-columna {
        flex-direction: column;
    }
    .worldnews-texto-columna {
        flex: none;
    }
    .worldnews-texto-cursiva {
        flex: none;
    }
}
/* Mobile: 0 a 767 */
@media screen and (max-width: 767px) {
    /* Nav */
    .nav-bar {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.75rem 0;
        justify-content: center;
    }
    .nav-links {
        gap: 0.75rem;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    .nav-links a {
        font-size: 0.75rem;
    }
    .nav-perfil img {
        margin-left: 0;
    }
    /* Hero index */
    .hero-main-contenido {
        padding: 2rem;
    }
    .hero-main-titulo {
        font-size: 1rem;
    }
    .hero-main-contenido h2 {
        font-size: 1.1rem;
    }
    .hero-aside {
        padding: 2rem;
    }
    /* Noticias */
    .noticias-grid {
        grid-template-columns: 1fr;
    }
    /* Happening */
    .happening-card-chica {
        min-width: 100%;
    }
    /* Discovery hero */
    .discovery-hero-contenido h1 {
        font-size: 2rem;
    }
    .discovery-hero-nextstory {
        position: relative;
        bottom: auto;
        right: auto;
        max-width: 100%;
        margin-top: 1rem;
    }
    /* Discovery artículo */
    .discovery-articulo {
        padding: 2rem 1rem;
    }
    /* World news */
    .worldnews-form-grupo {
        padding: 0 1rem;
    }
    .worldnews-boton {
        margin-left: 1rem;
    }
    .worldnews-hero-imagen {
        min-height: 300px;
    }
    /* Footer */
    .footer-contenido {
        flex-direction: column;
        gap: 1.5rem;
    }
    .footer-links {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    .footer-email {
        width: 100%;
        min-width: auto;
    }
    .footer-social {
        gap: 1.5rem;
    }
    .footer-logo img {
        margin-right: 0;
    }
}