/*
Theme Name: News Magazine X Child
Template: news-magazine-x
Description: Child theme que SOLO elimina marca de agua + desbloquea widgets ajenos. NO modifica nada más.
Author: La Parabólica TV
Version: 1.2
*/

/* Ocultar marca de agua del footer */
.site-info,
.site-footer .site-info,
footer .site-info,
.footer-copyright,
.site-footer .footer-copyright,
.footer-credits,
.site-footer .footer-credits,
.powered-by,
.theme-author,
.wp-link,
.theme-link {
    display: none !important;
}

/* Ocultar enlaces de créditos específicos */
.site-footer a[href*="afthemes"],
.site-footer a[href*="wordpress.org"],
footer a[href*="afthemes"],
footer a[href*="wordpress.org"] {
    display: none !important;
}

/* Ocultar textos de copyright del tema */
.site-footer p:contains("News Magazine X"),
.site-footer p:contains("WordPress"),
.site-footer p:contains("Powered by") {
    display: none !important;
}

/* Si el footer tiene un contenedor específico con créditos */
#colophon .site-info,
#colophon .footer-credits {
    display: none !important;
}

/* Asegurar que el footer se vea limpio */
.site-footer {
    padding-bottom: 20px !important;
}

/* ============================================
   WIDGET: ÚLTIMOS LANZAMIENTOS
   ============================================ */

.parabolica-lanzamientos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin: 15px 0;
}

.lanzamiento-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.lanzamiento-item:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.lanzamiento-item a {
    display: block;
    position: relative;
    text-decoration: none;
}

.lanzamiento-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    transition: filter 0.3s ease;
}

.lanzamiento-item:hover img {
    filter: brightness(0.9);
}

.lanzamiento-nombre {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    padding: 20px 8px 8px;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lanzamiento-item:hover .lanzamiento-nombre {
    opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .parabolica-lanzamientos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .parabolica-lanzamientos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .parabolica-lanzamientos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .lanzamiento-nombre {
        font-size: 10px;
        padding: 15px 6px 6px;
    }
}
