/**
 * Estilos para GPC Espectáculos
 *
 * @package GPC_Espectaculos
 * @since 1.0.0
 */

/* ==========================================================================
   Contenedor principal
   ========================================================================== */

.gpc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1px;
}

/* ==========================================================================
   Archivo - Header
   ========================================================================== */

.gpc-archive-header {
    text-align: center;
    margin-bottom: 50px;
   /* padding: 40px 0 20px; */
}

.gpc-single-titulo {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--botones);
}

.gpc-archive-descripcion {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================================================
   Grid de espectáculos
   ========================================================================== */

.gpc-espectaculos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* ==========================================================================
   Tarjeta de espectáculo
   ========================================================================== */

.gpc-espectaculo-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.gpc-espectaculo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.gpc-espectaculo-imagen {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.gpc-espectaculo-imagen a {
    display: block;
    height: 100%;
}

.gpc-espectaculo-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gpc-espectaculo-card:hover .gpc-espectaculo-imagen img {
    transform: scale(1.05);
}

.gpc-espectaculo-contenido {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.gpc-espectaculo-titulo {
    font-size: 1.4rem;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.gpc-espectaculo-titulo a {
    color: var(--botones);
    text-decoration: none;
    transition: color 0.3s ease;
}

.gpc-espectaculo-titulo a:hover {
    color: #c74634;
}

.gpc-espectaculo-info {
    margin-bottom: 15px;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 8px;
}

.gpc-espectaculo-info p {
    margin: 8px 0;
    font-size: 0.95rem;
    color: #555;
}

.gpc-espectaculo-info strong {
    color: #333;
    margin-right: 5px;
}

.gpc-espectaculo-extracto {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
}

.gpc-espectaculo-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #c74634;
    color: #fff !important;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s ease;
    text-align: center;
    font-weight: 500;
    align-self: flex-start;
}

.gpc-espectaculo-btn:hover {
    background: #a53828;
}

/* ==========================================================================
   Vista individual (Single)
   ========================================================================== */

.gpc-espectaculo-single {
    padding: 40px 0;
}

.gpc-single-header {
    text-align: center;
    margin-bottom: 40px;
}

.gpc-single-titulo {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--botones);

.gpc-single-tipos {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.gpc-tipo-badge {
    display: inline-block;
    padding: 6px 15px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #666;
}

.gpc-single-imagen {
    margin-bottom: 40px;
    text-align: center;
}

.gpc-single-imagen img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.gpc-single-detalles {
    background: #f8f8f8;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.gpc-single-detalles h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #333;
}

.gpc-detalles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.gpc-detalle-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.gpc-detalle-icono {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.gpc-detalle-info strong {
    display: block;
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gpc-detalle-info p {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.gpc-comprar-entradas {
    text-align: center;
    margin-top: 30px;
}

.gpc-btn-entradas {
    display: inline-block;
    padding: 15px 40px;
    background: #c74634;
    color: #fff !important;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

.gpc-btn-entradas:hover {
    background: #a53828;
    transform: translateY(-2px);
}

.gpc-single-contenido {
    margin-bottom: 40px;
    line-height: 1.8;
    color: #555;
}

.gpc-single-contenido h2,
.gpc-single-contenido h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #333;
}

.gpc-single-footer {
    border-top: 1px solid #e0e0e0;
    padding-top: 30px;
}

.gpc-btn-volver {
    display: inline-block;
    padding: 12px 25px;
    background: #f0f0f0;
    color: #333 !important;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.gpc-btn-volver:hover {
    background: #e0e0e0;
}

/* ==========================================================================
   Paginación
   ========================================================================== */

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 50px 0;
}

.page-numbers {
    padding: 10px 15px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.page-numbers:hover,
.page-numbers.current {
    background: #c74634;
    color: #fff;
}

/* ==========================================================================
   Sin resultados
   ========================================================================== */

.gpc-no-espectaculos {
    text-align: center;
    padding: 60px 20px;
    background: #f8f8f8;
    border-radius: 12px;
}

.gpc-no-espectaculos p {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .gpc-archive-titulo {
        font-size: 2rem;
    }
    
    .gpc-espectaculos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gpc-single-titulo {
        font-size: 2rem;
    }
    
    .gpc-single-detalles {
        padding: 25px;
    }
    
    .gpc-detalles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .gpc-container {
        padding: 0 15px;
    }
    
    .gpc-archive-titulo {
        font-size: 1.6rem;
    }
    
    .gpc-espectaculo-titulo {
        font-size: 1.2rem;
    }
    
    .gpc-single-titulo {
        font-size: 1.6rem;
    }
    
    .gpc-single-detalles {
        padding: 20px;
    }
}
/* Estilos para eventos pasados */
.gpc-evento-pasado {
    opacity: 0.6;
}

.gpc-evento-pasado .gpc-espectaculo-imagen {
    filter: grayscale(50%);
}

.gpc-etiqueta-pasado {
    display: inline-block;
    background: #999;
    color: #fff;
    padding: 2px 8px;
    font-size: 0.75em;
    border-radius: 3px;
    margin-right: 8px;
    text-transform: uppercase;
    font-weight: normal;
}

/* 10-11-2025 */

body.post-type-archive-espectaculo {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
.gpc-espectaculos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px;
    margin-bottom: 50px;
}
/* Ficha compacta de detalles del espectáculo */
.gpc-single-detalles {
    background: #f8f8f8;
    padding: 24px 30px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.gpc-detalles-resumen {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gpc-detalles-titulo {
    font-size: 1.3rem;
    margin: 0;
    color: #333;
}

.gpc-detalles-linea {
    margin: 0;
    font-size: 1rem;
    color: #333;
}

/* Botón de entradas, más integrado con la ficha */
.gpc-comprar-entradas {
    margin-top: 16px;
    text-align: left;
}

.gpc-btn-entradas {
    padding: 10px 24px;
    font-size: 0.95rem;
    border-radius: 999px;
}
