/**
 * Estilos para Noticia Destacada Home
 * Shortcode: [noticia_destacada_home]
 */

.noticia-destacada-home {
    margin-bottom: 2rem;
}

.noticia-destacada-columns {
    display: flex;
    column-gap: 24px;
    align-items: flex-start;
}

/* Columna del video - 65% */
.noticia-destacada-video {
    flex: 0 0 65%;
    max-width: 65%;
}

/* Wrapper para aspect ratio 16:9 */
.noticia-destacada-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.noticia-destacada-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Columna del contenido - 35% */
.noticia-destacada-content {
    flex: 0 0 calc(35% - 24px);
    max-width: calc(35% - 24px);
}

.noticia-destacada-titulo {
    font-size: var(--wp--preset--font-size--large) !important;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    padding: 0;
    color: inherit;
}

.noticia-destacada-parrafo {
    font-size: var(--wp--preset--font-size--small) !important;
    line-height: 1.2;
    margin: 0;
    padding-top: 24px;
    color: #666;
}

/* Responsive - Tablet */
@media (max-width: 991px) {
    .noticia-destacada-columns {
        column-gap: 16px;
    }
    
    .noticia-destacada-titulo {
        font-size: 20px;
    }
    
    .noticia-destacada-parrafo {
        font-size: 14px;
        padding-top: 16px;
    }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
    .noticia-destacada-columns {
        flex-direction: column;
        gap: 16px;
    }
    
    .noticia-destacada-video {
        flex: none;
        width: 100%;
        max-width: 100%;
    }
    
    .noticia-destacada-video-wrapper {
        width: 100%;
    }
    
    .noticia-destacada-content {
        flex: none;
        width: 100%;
        max-width: 100%;
    }
    
    .noticia-destacada-titulo {
        font-size: 18px;
    }
    
    .noticia-destacada-parrafo {
        padding-top: 12px;
    }
}
