/********************* 
* Estructura - Single de Event Espresso a 100% - single-espresso_events.php
******************/
body.single-espresso_events #main > .container_wrap.main_color .container,
body.single-espresso_events #main > .container_wrap.main_color .container_wrap .container {
	width: 100% !important;
	max-width: 100% !important;
}

/* Estructura - Quita padding lateral para que sea full width real - single-espresso_events.php*/
body.single-espresso_events #main .container_wrap .container {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
/* Estructura - Quita padding superior- single-espresso_events.php*/
body.single-espresso_events #main .content {
    padding-top: 0 !important;
}
/* Hero - Contenedor con título, detalles y boton de registro (imagen de fondo) - content-espresso_events-thumbnail.php*/
.ee-event-img-dv{
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  min-height: 340px; /* ajusta altura */
  display: flex;
  align-items: center; /* medio vertical */
}

/* Hero - Overlay azul - content-espresso_events-thumbnail.php*/
.ee-event-img-dv::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 70, 125, 0.7);
  pointer-events: none;
}

/* Hero - Todo el contenido (alienado al centro, y supoerpuesto con z-index por encima de la imagen y el color azul (overlay) del fondo - content-espresso_events-thumbnail.php*/
.ee-event-img-container{
  position: relative;
  z-index: 1;               /* por encima del overlay */
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;           /* centra el contenedor */
  padding: 0 16px;          /* padding para móviles */
}

/* Hero - Lista de detalles  (color blanco y alienado) - content-espresso_events-thumbnail.php*/
.ee-event-img-content{
  color: #fff !important;
  text-align: center;
}

/* Hero - Titulo (margen inferior, color y sombra) - content-espresso_events-thumbnail.php*/
.ee-event-img-title {
    color: #fff !important;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}
/* Hero - Listado de detallos (lista horizontal, centrado) - content-espresso_events-thumbnail.php*/
.lista_detalles_single_event_espresso_encabezado{
    display: flex; 
    flex-wrap: wrap; 
	justify-content: center;
    list-style: none; 
    padding: 0;      
    margin: 0;    
    row-gap: 3px;
    column-gap: 20px; 
    align-items: center;
}
/* Hero - Listado de detallos (color de los enlaces de las categ, etc...) - content-espresso_events-thumbnail.php*/
.lista_detalles_single_event_espresso_encabezado a{
    color: #FFFFFF
}

/* Hero - Boton registro (Div que contiene el boton)  - content-espresso_events-thumbnail.php*/
.boton_registro_event_espresso_encabezado {
	margin-top: 20px;
	display: flex;
  justify-content: center;
}
/* Hero - Boton registro - content-espresso_events-thumbnail.php*/
.boton_registro_event_espresso_encabezado .no-tkt-slctr-ticket-content-dv {
	display: none
}
/* Hero - Boton registro - content-espresso_events-thumbnail.php*/
.boton_registro_event_espresso_encabezado form{
  margin-bottom: 0 !important;
  height: 34px;
}
/* Hero - Boton registro - content-espresso_events-thumbnail.php*/
.boton_registro_event_espresso_encabezado .no-tkt-slctr-ticket-dv {
	padding: 0;
	margin: auto;
	border: none;
}

/* Body - Formulario evento finalizado (Div que lo contiene) - content-espresso_events.php*/
.espresso-event-wrapper-dv_formulario {
    display:flex;
	flex-direction: column;
    align-items: center;
	background-color: #F4F4F4;
    padding: 50px 20px;
}
/* Body - Formulario evento finalizado (Div que lo contiene) - content-espresso_events.php*/
.espresso-event-formulario-ancho {
    max-width: 1205px;
}

/* Body - Div (Contenido Detalles y Formulario) - content-espresso_events.php*/
.espresso-event-wrapper-dv_content_detalles_y_formulario {
	max-width: 1200px;
    margin: auto;
	padding: 50px 20px;
}
/* Body - Div (Contenido y Detalles)  - content-espresso_events.php*/
.espresso-event-wrapper-dv_content_y_detalles {
	display: flex !important;
	flex-direction: column;
}
/* Body - Div (Contenido)  - content-espresso_events.php*/
.espresso-event-wrapper-dv_content {
	width: 100%;
	margin-right: 20px;
}

/* Body - Div Sección de Detalles  - content-espresso_events.php*/
.espresso-event-wrapper-dv_detalles {
	width:100%;
}
/* Body - Div Sección de Detalles - content-espresso_events-datetimes.php*/
.seccion-detalles_single_event_espresso
{
	width: 100%;
	background-color: #f9f9f9;
	border: solid;
	border-width: 1px 1px 1px 1px;
	border-color: #E4E4E4;
	padding: 40px 20px 20px 20px;
  margin-top: 20px;
}
/* Body - Div Sección de Detalles (Textos encabezado) - content-espresso_events-datetimes.php*/
.div-textos-encabezados-seccion-detalles_single_event_espresso {
display: flex;
flex-direction: column;
align-items: center;
}
/* Body - Div Sección de Detalles (Contenedor de tarjetas de detalles) - content-espresso_events-datetimes.php */
.contenedor_detalles_del_evento {
	display: flex;
	gap: 30px;
	justify-content: center;
	align-items: stretch;
	margin: 40px 0 20px 0;
	flex-wrap: wrap;
}
/* Body - Div Sección de Detalles (TARJETAS) - content-espresso_events-datetimes.php  */
.contenedor_detalles_del_evento > div {
	position: relative;
	background: #ffffff;
	border: 1px solid #e6e6e6;
	border-radius: 6px;
	padding: 50px 25px 30px;
	width: 100%;
	max-width: 340px;
	text-align: center;
	box-shadow: 0 0 0 rgba(0,0,0,0);
}
/* Body - Div Sección de Detalle (LISTA) - content-espresso_events-datetimes.php */
/* ICONO SUPERIOR */
.icono_tarjeta {
	position: absolute;
	top: -28px;
	left: 50%;
	transform: translateX(-50%);
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #1f5d8c;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
}
.icono_tarjeta.avia-font-entypo-fontello::before {
	content: attr(data-avia-icon);
	font-family: 'entypo-fontello';
	font-style: normal;
	font-weight: normal;
}
/* Body - Div Sección de Detalles (LISTA) - content-espresso_events-datetimes.php */
.lista_detalles_single_event_espresso {
	list-style: none;
	margin: 0;
	padding: 0;
}
/* Body - Div Sección de Detalle (LISTA) - content-espresso_events-datetimes.php */
/* ELIMINAMOS ICONOS DENTRO DEL TEXTO (YA USAMOS EL SUPERIOR) */
.lista_detalles_single_event_espresso li i {
	display: none;
}
/* Body - Boton registro (Div que contiene el boton en la lista de detalles) - content-espresso_events-datetimes.php*/
.boton_registro_event_espresso_listado {
	margin-top: 20px;
	display: flex;
    justify-content: center;
}

/* Body - Boton registro - content-espresso_events-datetimes.php */
.boton_registro_event_espresso_listado .no-tkt-slctr-ticket-content-dv {
	display: none
}
/* Body - Boton registro - content-espresso_events-datetimes.php */
.boton_registro_event_espresso_listado form{
  margin-bottom: 0 !important;
}
/* Body - Boton registro - content-espresso_events-datetimes.php */
.boton_registro_event_espresso_listado .no-tkt-slctr-ticket-dv {
	padding: 0;
	margin: auto;
	border: none;
}
/* Body - Hacer visibles los puntos de las listas */
.espresso-event-wrapper-dv_content ul {
    list-style-type: disc;
    margin-left: 7px;
    padding-left: 15px;
}
/* Body - Hacer visibles los sub puntos de las listas */
.espresso-event-wrapper-dv_content ul ul {
    list-style-type: circle;
    margin-top: 5px;
    margin-bottom: 5px;
}
@media only screen and (max-width: 767px) {
  .ee-event-img-dv {
    padding: 40px 0;
  }
  .espresso-event-wrapper-dv_content_y_detalles {
    display: flex !important;
    flex-direction: column;
  }
  .espresso-event-wrapper-dv_content {
    width: 100%;
  }
  .espresso-event-wrapper-dv_detalles {
    width: 100%;
  }
	.contenedor_detalles_del_evento {
		flex-direction: column;
		align-items: center;
	}
}
/*************** FIN ************/


/*****************
 * Estilos para la Grilla de Eventos Personalizada en la página de eventos: 
 * https://www.danysoft.com/comunidad/eventos/ ***************/
/* 1. Contenedor: Grid de 4 columnas */
.custom-enfold-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas iguales */
    gap: 50px; /* Espacio entre columnas */
    margin-bottom: 30px;
}
.custom-enfold-grid_home_destacados {
    display: grid;
}
/* 2. Comportamiento en Tablets (2 columnas) */
@media only screen and (max-width: 989px) {
    .custom-enfold-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* 3. Comportamiento en Móviles (1 columna) */
@media only screen and (max-width: 767px) {
    .custom-enfold-grid {
        grid-template-columns: 1fr;
    }
}
/* 4. Estilo de la imagen */
.custom-grid-entry .grid-image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
    transition: opacity 0.3s;
}
.custom-grid-entry .grid-image-container a:hover img {
    opacity: 0.8;
}
/* 5. Títulos */
.custom-grid-entry .grid-entry-title {
    font-size: 16px; /* Ajusta según tu gusto */
    line-height: 1.3em;
    font-weight: 600;
    margin-top: 6px;
    margin-bottom: 0px;
	color: #222222;
    background-color: transparent;
}
.custom-grid-entry .grid-entry-title a {
    color: #222222; /* Color oscuro */
    text-decoration: none;
	font-size: 17px;
	font-weight: inherit;
}
/* 6. Extracto (Texto resumen) */
.custom-grid-entry .grid-entry-excerpt {
    font-size: 16px;
    line-height: 1.6em;
    color: #666;
    margin-bottom: 0px;
	font-style: normal;
}

.custom-grid-entry .grid-entry-excerpt p {
    margin-bottom: 0px; /* Evita espacios grandes si el excerpt trae <p> */
    margin-top: 0px;
}
/* 7. Enlace Leer más */
.custom-grid-entry .more-link {
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    color: inherit; /* Hereda el color del tema principal */
}
.custom-grid-entry .more-link-arrow {
    font-size: 14px;
    margin-left: 3px;
}
.entry-content-wrapper .more-link {
	text-decoration: none;
	color: var(--enfold-main-color-primary);
	font-size: 16px;
	font-weight: normal;
}
/* Paginado */
/* Contenedor principal */
.custom-pagination-wrap {
    width: 100%;
    text-align: left; /* Alineado a la izquierda como en tu imagen, o usa center */
    margin-top: 30px;
    margin-bottom: 20px;
    clear: both;
}
.custom-pagination-wrap ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline-block;
}
.custom-pagination-wrap li {
    display: inline-block;
    margin-right: 4px; /* Pequeño espacio entre cuadros */
}
/* Estilo de los Números (Cuadrados Grises) */
.custom-pagination-wrap .page-numbers {
    display: block;
    padding: 6px 12px;       /* Tamaño del rectángulo */
    color: #444;             /* Texto Gris Oscuro */
    text-decoration: none;
    font-size: 13px;
    font-weight: normal;
    border-radius: 30px;      /* Bordes ligeramente redondeados */
    min-width: 30px;         /* Ancho mínimo */
    text-align: center;
    transition: all 0.2s ease;
}
/* Estado Activo (El cuadro VERDE) */
.custom-pagination-wrap .page-numbers.current {
    background-color: #719430; /* <--- Verde Enfold (según tu imagen) */
    color: #ffffff;
    font-weight: bold;
}
/* Hover */
.custom-pagination-wrap a.page-numbers:hover {
    background-color: #e1e1e1; /* Gris un poco más oscuro al pasar el mouse */
}
/* Flechas siguiente/anterior (Sin fondo, solo texto) */
.custom-pagination-wrap .next,
.custom-pagination-wrap .prev {
    background-color: transparent !important;
    padding: 6px 8px;
    color: #444;
    font-size: 18px; /* Flecha un poco más grande */
}
/* Ocultar texto "Página 1 de 6" si aparece */
.custom-pagination-wrap span.pages {
    display: none !important;
}

/*************** FIN ************/