/*
CTC Separate Stylesheet
Updated: 2025-04-20 14:54:58
*/

[data-column="widget-area-2"] .ct-widget{
	height:100%;
	width:100%;
}

.event-gallery-item {
		break-inside: avoid;
		margin-bottom: 16px;
		width: 100%;
		height: auto;
		border-radius: 8px !important;
		overflow: hidden;
		transition: transform 0.3s ease;
	}
	
	.event-gallery-grid{
		column-count: 2;
		column-gap: 16px;
	
	}
	@media (min-width: 668px) {
		.event-gallery-grid{
			column-count: 2;
			column-gap: 16px;
		}
	}
	@media (min-width: 1024px) {
		.event-gallery-grid{
			column-count: 3;
			column-gap: 16px;
		}
	}

	.contenido-seccion {
		display:grid;
		gap:24px;
		text-align:center;
		align-items: center;
		margin:auto;
		margin-bottom:80px;
		grid-auto-flow: dense;
		
	}
	.contenido-seccion > *:nth-child(odd) {
  		margin-bottom: 8px; /* Gap grande después de impares (1, 3, 5...) */
	}

	.contenido-seccion > *:nth-child(even) {
  		margin-bottom: 32px; /* Gap pequeño después de pares (2, 4, 6...) */
	}
	.contenido-seccion > *:last-child {
  		margin-bottom: 0;
	}
	/*.contenido-seccion p {
		font-size:18px
	}*/
	
	.contenido-seccion img {
		width:100%;
	}	
	
	@media (min-width: 500px) {
		.contenido-seccion {
			width:80%
		}
	}
	
	@media (min-width: 768px) {
		.contenido-seccion {
			grid-template-columns: 1fr 1fr;
			text-align:left;
			width:100%;
			margin-bottom:0px;
			margin-top:24px;
			gap:50px;
			font-size:18px
		}
		.contenido-seccion > *:nth-child(4n + 1){
			grid-column: 2;
		}
		.contenido-seccion > *:nth-child(4n + 3) {
    		grid-column: auto; /* Vuelve a su posición natural */
  		}
		.contenido-seccion p {
  			margin-bottom: 0px
		}
	}
	
	@media (min-width: 999px) {
		.contenido-seccion {
			margin-bottom:90px;			
		}
	}




/* Contenedor principal */
.wp-video {
    width: 100% !important;
    position: relative;
    overflow: hidden;
    background: #000; /* Fondo negro si el video no carga */
}

/* Ajuste de relación de aspecto para móviles */
@media (max-width: 768px) {
    .wp-video {
        padding-top: 110.19% !important; /* 1190/1080 = 1.1019 */
    }
}

/* Reproductor */
.wp-video .mejs-container {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
}

/* Video */
.wp-video video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

/* Ocultar controles */
.mejs-controls, 
.mejs-overlay-play {
    display: none !important;
}

.ct-woo-card-actions .price > .woocommerce-Price-amount:first-child + span[aria-hidden="true"],
.ct-woo-card-actions .price > .woocommerce-Price-amount:first-child + span[aria-hidden="true"] + .woocommerce-Price-amount {
    display: none;
}

 /* Estilo para el divisor */
        .divisor-seccion {
            grid-column: 1 / -1;
			font-family: 'Noto Serif';
            text-align: center;
            padding: 25px;
            margin: 30px 0;
            background: white;
            border-radius: 8px;
            font-size: 24px;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 2px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.15);
            position: relative;
            overflow: hidden;
        }


.product.type-product .entry-meta{
	display:none
}