/*
Theme Name: News Magazine X Child
Theme URI: https://tusitio.com/
Description: Child theme for News Magazine X
Author: Tu Nombre
Author URI: https://tusitio.com/
Template: news-magazine-x
Version: 1.0.0
Text Domain: news-magazine-x-child
*/

/* Importa los estilos del tema padre */
@import url("../news-magazine-x/style.css");

/* Tus estilos personalizados van aquí */

/* Ocultar "Read More" original y mostrar "Leer más" */
/* Método directo - sin ::after */
.newsx-grid-read-more {
    /* Reset del contenedor */
    line-height: normal !important;
}

.newsx-grid-read-more-link {
    display: inline-block !important;
    min-width: 100px !important;
    padding: 8px 15px !important;
    background-color: #d32f2f !important;
    color: white !important;
    text-decoration: none !important;
    border-radius: 3px !important;
    font-size: 14px !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: visible !important;
    position: relative !important;
}

/* Ocultar SOLO el texto original */
.newsx-grid-read-more-link {
    font-size: 0 !important; /* Oculta "Read More" */
}

/* Mostrar "Leer más" como texto real */
.newsx-grid-read-more-link::before {
    content: "Leer más" !important;
    font-size: 14px !important; /* Tamaño visible */
    color: white !important;
}

/* Desactivar la caja de autor dentro de la entrada */
/* ELIMINAR WIDGET USERSWP */
.uwp_widget_author_box { 
    display: none !important; 
}
/**Ocultar el icono del autor en el directorio**/
.bsui .tofront {display: none;}

/* ============================================
   CLUSTER DE CINTURONES - 3 COLUMNAS COMPLETAS
   ============================================ */

.cinturones-cluster {
    margin: 60px auto;
    padding: 30px 20px;
    max-width: 1200px;
    width: 100%;
}

.cluster-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

/* Estilos para la tarjeta y su estructura (sin cambios) */
.tarjeta-cinturon {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}
.tarjeta-cinturon:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #e0e0e0;
}

.cinturon-header {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cinturon-icono {
    font-size: 52px;
    filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.3));
    z-index: 2;
}

.cinturon-contenido {
    padding: 25px 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Estilo CORREGIDO para el H3 y su enlace */
.cinturon-contenido h3 {
    color: #2c3e50;
    font-size: 1.35rem;
    margin: 0 0 25px 0;
    line-height: 1.4;
    font-weight: 700;
    font-family: 'Segoe UI', system-ui, sans-serif;
    text-align: center;
    display: block;
    width: 100%;
}

/* Enlace dentro del H3 */
.cinturon-contenido h3 a.enlace-examen {
    color: inherit; /* Hereda el color del h3 */
    text-decoration: none; /* Quita el subrayado */
    display: block; /* Para que ocupe toda la línea y se centre */
    width: 100%;
    transition: color 0.3s ease;
}
.cinturon-contenido h3 a.enlace-examen:hover {
    color: #e74c3c; /* Un color de acento al pasar el ratón */
}

/* Botón de Acceder */
.btn-examen {
    display: inline-block;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
    margin: 0 auto;
    text-align: center;
}
.btn-examen:hover {
    background: linear-gradient(135deg, #1a252f, #2c3e50);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.3);
}

/* Colores de cinturones (sin cambios) */
.punta-amarilla { background: linear-gradient(135deg, #ffd700 0%, #ffd700 50%, #ffffff 50%, #ffffff 100%); }
.amarillo { background: linear-gradient(135deg, #ffd700, #ffed4e); }
.punta-verde { background: linear-gradient(135deg, #2ecc71 0%, #2ecc71 50%, #ffffff 50%, #ffffff 100%); }
.verde { background: linear-gradient(135deg, #2ecc71, #58d68d); }
.punta-azul { background: linear-gradient(135deg, #3498db 0%, #3498db 50%, #ffffff 50%, #ffffff 100%); }
.azul { background: linear-gradient(135deg, #3498db, #5dade2); }
.punta-roja { background: linear-gradient(135deg, #e74c3c 0%, #e74c3c 50%, #ffffff 50%, #ffffff 100%); }
.rojo { background: linear-gradient(135deg, #e74c3c, #ec7063); }
.punta-negra { background: linear-gradient(135deg, #2c3e50 0%, #2c3e50 50%, #ffffff 50%, #ffffff 100%); }

/* Responsive (sin cambios) */
@media (max-width: 992px) {
    .cluster-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
    .cinturones-cluster { max-width: 800px; }
}
@media (max-width: 768px) {
    .cluster-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; gap: 20px; }
    .cinturon-header { height: 130px; }
    .cinturon-contenido { padding: 20px 15px; }
    .cinturon-contenido h3 { font-size: 1.25rem; margin-bottom: 20px; }
    .btn-examen { padding: 12px 24px; font-size: 0.95rem; }
}
@media (max-width: 480px) {
    .cinturones-cluster { padding: 20px 15px; margin: 40px auto; }
    .tarjeta-cinturon { min-height: 260px; }
    .cinturon-contenido h3 { font-size: 1.2rem; text-align: center; padding: 0 10px; }
}