/*
Theme Name: Madara-Child
Description:  A child theme for Madara - WordPress Theme for Manga, Novel sites
Author:       Madara
Author URI:   https://mangabooth.com/
Template: madara
Tags: one-column, two-columns, right-sidebar, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready
Version: 1.0.3
*/

/* ========================================================== */
/* == ESTILOS (VERSIÓN 6 - ATAQUE DIRECTO) PARA EL SLIDER == */
/* ========================================================== */

.custom-slider-section {
    margin-top: 2.5rem !important;
    margin-bottom: 2.5rem !important;
    margin-left: 5rem !important;
    margin-right: 5rem !important;
}

/* === Redondeo de las portadas === */
/* Selectores más específicos para ganar la batalla contra los del tema */
.custom-slider-section .new-works-slider .page-item-detail .item-thumb {
    border-radius: 8px !important;
    overflow: hidden !important;
    aspect-ratio: 2 / 3 !important;
    position: relative !important;
}

.custom-slider-section .new-works-slider .page-item-detail .item-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 8px !important; /* Mismo radio para la imagen */
    transition: transform 0.3s ease !important;
}

.new-works-slider .page-item-detail:hover .item-thumb img {
    transform: scale(1.05);
}

.new-works-slider .page-item-detail .post-title h3 {
    font-size: 0.95rem;
    line-height: 1.4;
    min-height: 45px;
    margin-top: 0.5rem;
}

/* ========================================================== */
/* === AJUSTES PARA CELULARES (MÉTODO EFECTIVO) === */
/* ========================================================== */
@media (max-width: 768px) {

    .custom-slider-section {
        margin-left: 1rem !important;
        margin-right: 1rem !important;
    }
    
    /* Encogemos cada portada para que se vea más pequeña */
    .new-works-slider .slider-item {
        transform: scale(0.85);
        transition: transform 0.3s ease;
    }

    /* Ocultamos las flechas en móviles */
    .new-works-slider .slick-prev,
    .new-works-slider .slick-next {
        display: none !important;
    }
} /* <<< La coma ha sido eliminada de aquí */