.menu-rpu.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content{
	border-radius: 8px;
	padding: 10px 14px;
	background-color: rgba(255, 255, 255, 0);
	transition: all 0.3s ease;
}

.menu-rpu.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover {
	background-color: rgba(255, 255, 255, 0.2);
	color: var(--wp--preset--color--white);
}

body.modal-uni-activado {
	overflow: hidden;
}

/* Definimos el ancho del scrollbar */
body::-webkit-scrollbar {
    width: 8px; /* Ancho del scrollbar vertical */
    height: 8px; /* Alto del scrollbar horizontal (si aplica) */
}

/* Estilo del thumb (la barra que se mueve) */
body::-webkit-scrollbar-thumb {
    background: #b3b3b3;
    border-radius: 4px;
	border: 1px solid white;
}

/* Cambiamos el fondo y agregamos una sombra cuando esté en hover */
body::-webkit-scrollbar-thumb:hover {
    background: var(--wp--preset--color--primary);
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
}

/* Cambiamos el fondo cuando esté en active */
body::-webkit-scrollbar-thumb:active {
    background-color: #999999;
}

/* Estilo del track (el fondo del scrollbar) */
body::-webkit-scrollbar-track {
    background: white;
    border-radius: 4px;
}

.btn-arrow-white .uagb-buttons-repeater .uagb-button__icon {
	background: white;
	border-radius: 6px;
	width: 32px;
	height: 32px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.btn-arrow-white .uagb-buttons-repeater {
	gap: 14px;
}

.btn-arrow-white .uagb-buttons-repeater .uagb-button__icon > svg {
	fill: var(--wp--preset--color--primary) !important;
}

/*Ocultar botón en vista de movil */
/* @media (max-width: 767px){
	.btn-arrow-white .uagb-buttons-repeater .uagb-button__icon{
		display: none;
	}
} */

/* FAQ */
.preguntas-frecuentes .faq-question {
    border: 1px solid #DFDFDF;
    border-radius: 14px;
    padding: 20px 30px;
    margin-bottom: 20px;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}

.preguntas-frecuentes .faq-question.active {
    border-color: var(--wp--preset--color--primary);
}

.preguntas-frecuentes .faq-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.preguntas-frecuentes .faq-title {
    font-size: 18px;
    margin: 0;
    font-weight: bold;
	padding-right: 20px;
}

.preguntas-frecuentes .faq-question.active .faq-title {
	color: var(--wp--preset--color--primary);
}

.preguntas-frecuentes .faq-answer {
    font-size: 16px;
    display: none; /* Inicialmente escondida */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.preguntas-frecuentes .faq-answer.open {
    display: block;
    max-height: 200px; /* Altura máxima ajustable */
    opacity: 1;
	margin-top: 16px;
}

.preguntas-frecuentes .faq-answer p {
    margin: 0;
}

.preguntas-frecuentes .toggle-btn {
    background: transparent;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    outline: none;
    border: none;
}

.toggle-btn .cerrar {
	width: 100%;
    height: 2px;
    background: #262626;
	position: relative;
}

.toggle-btn .cerrar:before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(90deg);
	width: 100%;
	height: 2px;
	background: #262626;
}

.preguntas-frecuentes .faq-question.active .toggle-btn {
	background: var(--wp--preset--color--primary);
	border-radius: 6px;
}

.preguntas-frecuentes .faq-question.active .toggle-btn .cerrar {
	background: white !important;
}

.preguntas-frecuentes .faq-question.active .toggle-btn .cerrar:before {
	content: none;
}before 

.preguntas-frecuentes .close-btn {
    color: #00a651;
}

.preguntas-frecuentes .open-btn {
    color: #003366;
}

@media (max-width: 767px) {
	.preguntas-frecuentes .faq-question {
		padding: 20px;
	}
	.preguntas-frecuentes .faq-title {
		font-size: 18px;
	}
}

.social-networks {
	margin: 0;
}

.wp-block-social-links .wp-block-social-link.wp-social-link {
	border-radius: 10px !important;
}

.social-networks .wp-block-social-link a {
	width: 44px;
	height: 44px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.social-networks .wp-social-link svg {
	width: 24px;
	height: auto;
}

.w-100 {
	width: 100% !important;
}

.w-auto {
	width: auto !important;
}





/* Estilos para la tabla */
.wp-block-table.tabla-numero-estudiantes table {
    border-collapse: collapse; /* Colapsar bordes */
    width: 100%; /* Ajusta el ancho de la tabla */
}

/* Estilo del encabezado */
.wp-block-table.tabla-numero-estudiantes table thead {
    background-color: var(--wp--preset--color--primary); /* Color de fondo del encabezado */
    color: white; /* Color del texto del encabezado */
}

/* Estilo de las filas del cuerpo */
.wp-block-table.tabla-numero-estudiantes table tbody tr {
    border-bottom: 2px solid #ccc; /* Borde inferior gris de 2px para todas las filas */
}

/* Color de fondo para filas impares y pares */
.wp-block-table.tabla-numero-estudiantes table tbody tr:nth-child(odd) {
    background-color: #fff6ed; /* Color de fondo para filas impares */
}

.wp-block-table.tabla-numero-estudiantes table tbody tr:nth-child(even) {
    background-color: white; /* Color de fondo para filas pares */
}

/* Sin borde inferior para el último tr */
.wp-block-table.tabla-numero-estudiantes table tbody tr:last-child {
    border-bottom: none; /* Sin borde inferior para el último tr */
}

/* Eliminar bordes de las celdas */
.wp-block-table.tabla-numero-estudiantes table th,
.wp-block-table.tabla-numero-estudiantes table td {
    border: none; /* Sin bordes en las celdas */
    padding: 8px; /* Espaciado interno de las celdas */
    text-align: left; /* Alinear texto a la izquierda */
}

/* Establecer el ancho de las columnas */
.wp-block-table.tabla-numero-estudiantes table td:first-child,
.wp-block-table.tabla-numero-estudiantes table th:first-child {
    width: 75%; /* Ancho del 75% para la columna de la izquierda */
}

.wp-block-table.tabla-numero-estudiantes table td:last-child,
.wp-block-table.tabla-numero-estudiantes table th:last-child {
    width: 25%; /* Ancho del 25% para la columna de la derecha */
}

/* Estilo para la celda de la columna izquierda */
.wp-block-table.tabla-numero-estudiantes table td:first-child {
    padding-right: 20px; /* Relleno derecho de 20px */
    color: black; /* Color de texto negro */
}

/* Estilo para la celda de la columna derecha */
.wp-block-table.tabla-numero-estudiantes table td:last-child {
    color: var(--wp--preset--color--primary); /* Color de texto según la variable */
    font-weight: bold; /* Texto en negrita */
}

.hr-cruz {
    border: none;
    border-top: 2px dotted #00bfff; /* Borde punteado celeste */
    width: 100%; /* Ajusta según el ancho que prefieras */
    position: relative;
    margin: 20px 0;
}

.hr-cruz::after {
    content: "+";
    color: #00bfff; /* Color celeste para la cruz */
    font-size: 1.5rem; /* Tamaño de la cruz, ajusta según prefieras */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centra la cruz */
    background-color: #00bfff; /* Fondo blanco para que la cruz se destaque */
    padding: 0 4px;
}

.btn-leer-mas .uagb-buttons-repeater .uagb-button__icon {
	background: white;
	border-radius: 6px;
	width: 32px;
	height: 32px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.btn-leer-mas .uagb-buttons-repeater .uagb-button__icon > svg {
	fill: var(--wp--preset--color--primary);
}

.uagb-loop-post:last-child .card-uni{
	border-bottom: none;
}

.contenedor-loop-scroll {
    max-height: 600px !important;
    overflow-y: scroll !important;
}

/* Estilos de la barra de desplazamiento dentro de .contenedor-loop-scroll */
.contenedor-loop-scroll::-webkit-scrollbar {
    width: 5px; /* Ancho de la barra de desplazamiento */
    border-radius: 12px;
}

.contenedor-loop-scroll::-webkit-scrollbar-thumb {
    background-color: #5ed8a0; /* Color del "thumb" de la barra */
    border-radius: 12px;
}

.contenedor-loop-scroll::-webkit-scrollbar-track {
    background: #f1f1f1; /* Color de fondo del "track" de la barra */
}


.directorio-profesores p.uagb-desc-text {
    background-color: white;
    padding: 6px 20px;
    border-radius: 30px;
    display: inline-block; 
}


/PAGINACIÓN/

.numeracion-rpu .wp-block-query-pagination-numbers {
	display: flex;
	gap: 10px;
    flex-direction: row;
}


span.wp-block-query-pagination-previous-arrow.is-arrow-chevron,
span.wp-block-query-pagination-next-arrow.is-arrow-chevron {
	margin:0;
}

nav.numeracion-rpu.wp-block-query-pagination.is-content-justification-center.is-nowrap.is-layout-flex.wp-container-core-query-pagination-is-layout-1.wp-block-query-pagination-is-layout-flex {
gap: 10px;
}

.numeracion-rpu .page-numbers,
.numeracion-rpu .wp-block-query-pagination-next,
.numeracion-rpu .wp-block-query-pagination-previous {
	font-size: 18px;
	font-weight: bold;
	width: 46px;
	height: 46px;
	border-radius: 8px;
	display: flex;
	justify-content: center;
	align-items: center;
	border: 1px solid #DFDFDF;
	text-decoration: none;
	transition: all 0.3s ease;
	color: inherit;
}

.numeracion-rpu .page-numbers.current {
	color: white;
	background-color: #de7831;
	border: 1px solid #b8a289;
}

.numeracion-rpu .page-numbers:hover,
.numeracion-rpu .wp-block-query-pagination-next:hover,
.numeracion-rpu .wp-block-query-pagination-previous:hover {
	background-color: white;
}

.numeracion-rpu .page-numbers.current:hover {
	background-color: #de7831;
	border: 1px solid #b8a289;
	color: white;
}
/END PAGINACIÓN/

#ajaxsearchlite1 .probox, div.asl_w .probox {
	width: 30vh;
}

/* Estilos generales para las conferencias */
.todas-las-conferencias {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Estilo para cada conferencia */
.conferencia-item {
    display: flex;
	align-items: flex-start;
    background-color: white;
    border-radius: 20px;
	border: 1px solid #E7E7E7;
    box-shadow: 0 1px 10px rgba(25, 33, 61, 0.08);
    overflow: hidden;
    position: relative;
	padding: 16px 16px 20px;
	gap: 30px;
}

.imagen-conferencia {
    position: relative;
    width: 50%;
}

.video-link {
    position: relative;
    display: inline-block;
}

/* Icono de "Play" en hover */
.video-link::before {
    content: "\25B6"; /* Símbolo de "play" */
    font-size: 48px;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    pointer-events: none; /* Evita que interfiera con el enlace */
	z-index: 10;
}

.video-link::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	z-index: 1;
	opacity: 0;
	transition: all 0.3s ease;
	pointer-events: none;
	z-index: 5;
	border-radius: 14px;
}

.video-link:hover::after {
	opacity: 1;
}

/* Mostrar el icono de "play" al hacer hover */
.video-link:hover::before {
	scale: 1.1;
}

/* Añadir un efecto de sombreado para la imagen al hacer hover */
/* .video-link:hover img {
    filter: brightness(0.7);
} */

.imagen-conferencia img {
	border-radius: 14px;
    width: 100%;
	vertical-align: top;
	border: 1px solid #dcdcdc;
}

.contenido-conferencia {
	position: relative;
	width: 50%;
}

.contenido-conferencia .sup {
	display: flex;
    justify-content: space-between;
	margin-bottom: 10px;
	align-items: center;
}

.contenido-conferencia .sup p {
	margin: 0;
}

.contenido-conferencia .sup .tipo-conf {
	background: #FFDDE5;
	border-radius: 6px;
	color: #D70033;
	font-weight: bold;
	padding: 4px 10px;
}
.contenido-conferencia .sup .hour {
	display: flex;
    align-items: center;
    gap: 6px;
	font-size: 14px;
}

/* Título de la conferencia */
.conferencia-item h2 {
    font-size: 22px;
    font-weight: bold;
    color: #262626;
	margin-bottom: 20px;
	margin-top: 0;
}

/* Estilo para los expositores */
.expositores-lista {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.expositor-item {
	position: relative;
    display: flex;
    flex-direction: column; /* Cambio a columna para que los elementos estén apilados */
    padding: 20px;
    background-color: #EFF7FF;  /* Color de fondo por defecto para los Expositores */
    border-radius: 10px;
	gap: 10px;
	border: 1px solid #B6DFFF;
}

.expositor-nombre {
    font-weight: bold;
    font-size: 16px;
}

.expositor-puesto {
    font-size: 14px;
    color: #454545;
}

.expositor-tipo {
	position: absolute;
	top: 5px;
	right: 5px;
    font-size: 15px;
    background-color: #005197;
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    text-align: center;
	font-weight: 700;
}

.expositor-item.moderador {
    background-color: #FFF6ED;
    border: 1px solid #FFEBD4;
}

/* Para "Moderador", el tipo cambia a un fondo blanco con color de texto en naranja */
.expositor-item.moderador .expositor-tipo {
    background-color: #EF4F07;
    color: white;
}

/* Estilo para la etiqueta 'Inauguración' */
.inauguracion-tag {
    background-color: #FF7043;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 10px;
}

/* Estilos para los contenedores de conferencia en pantallas pequeñas */
@media (max-width: 768px) {
    .conferencia-item {
        flex-direction: column;
    }

    .imagen-conferencia,
	.contenido-conferencia {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .conferencia-item {
        padding: 10px;
    }

    .conferencia-item h2 {
        font-size: 18px;
    }

    .expositor-item {
        padding: 10px;
    }

    .expositor-nombre {
        font-size: 14px;
    }

	.expositor-puesto {
		font-size: 14px;
	}
    .expositor-tipo {
        font-size: 13px;
    }
}


.busqueda-publicaciones .wp-block-search__input {
    padding: 13px 0 13px 20px;
	outline: none;
	transition: all 0.3s ease;
}

.busqueda-publicaciones .wp-block-search__input:focus {
	border-color: #939393 !important;
}

/* Estilos para el contenedor de pestañas */
.tabs-container {
    display: flex;
    margin-bottom: 20px;
	gap: 14px;
	justify-content: center;
}

.tab-button {
    padding: 16px 26px;
    background-color: transparent;
    border: 1px solid #E49453;
    border-radius: 50px;
    cursor: pointer;
	font-size: 16px;
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
    color: #CF6027;
    font-weight: 700;
	transition: all 0.3s ease;
}

.tab-button:hover {
	background-color: rgb(255 128 38 / 13%);
}

.tab-button.active {
    background-color: #FF8026;
	color: white;
}

@media (max-width: 767px) {
	.tabs-container {
		justify-content: flex-start;
		overflow-x: auto;
	}
	.tab-button {
		flex-shrink: 0;
	}
}

.conferencia-item {
    display: none; /* Por defecto, ocultamos todas las conferencias */
}

/* Puedes añadir más estilos para las conferencias y expositores según tus necesidades */

/* Hover para cada tarjeta individual */
.custom-card:hover {
    background-color: #FFF6ED;   
    border: 1px solid #E49453; /* Borde gris en hover */
}


.w-auto img {
	width: auto;
}

.especialidades-list{
	display: grid;
    grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

@media (max-width: 768px) {
    .especialidades-list {
        grid-template-columns: 1fr; /* Una sola columna */
    }
}

.especialidad-card {
    background-color: #FFF;
    border-radius: 10px;
    padding: 20px;
    width: 100%;
    position: relative;
    box-shadow: 0px 1px 10px rgba(25, 33, 61, 0.08);
}

.especialidad-card-content {
    text-align: left;
	max-width: 68%;
}



.especialidad-title {
	color: var(--wp--preset--color--primary);
    font-size: 18px;
	font-weight: 700;
	margin: 0;
	margin-bottom: 10px;
}



.especialidad-universidad {
    font-size: 16px;
	font-weight: 700;
    color: #4F4F4F;
	margin: 0;
	margin-bottom: 10px;
}

@media (max-width: 768px) {
    .especialidad-title {
        margin-right: 40px; 
    }

    .especialidad-universidad {
        margin-right: 40px; 
        margin-top: 25px;   
    }
}


.especialidad-region {
    font-size: 16px;
    color: #454545;
	margin: 0;
	margin-bottom: 16px;
}

.convocatoria-abierta {
	display: inline-block;
    padding: 6px 10px;
    background-color: #16B173;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
	font-weight: 700;
    text-transform: uppercase;
}

.especialidad-image {
    position: absolute;
    top: 15px;
    right: 10px;
    height: 56px;
    vertical-align: top;
    border-radius: 6px;
    border: 1px solid #E7E7E7;
}

.especialidad-image img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

#load-more-btn {
	display: block;
    width: 100%;
    margin-top: 20px;
    padding: 14px 20px;
    background-color: var(--wp--preset--color--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-family: 'Lato';
    text-transform: uppercase;
    font-weight: 700;
}

#load-more-btn:hover {
    background-color: var(--wp--preset--color--secondary);
}

.h-42 a {
	height: 42px;
}

#filtro-especialidades {
	display: flex;
	gap: 10px;
	align-items: flex-end;
}

#filtro-especialidades .form-group p {
	margin: 0;
    flex-shrink: 0;
    width: 30%;
}

#filtro-especialidades .form-group {
	display: flex;
	flex-direction: column;
    gap: 6px;
	width: 40%;
}

#filtro-especialidades .form-group select {
	width: 100%;
    padding: 8px 20px;
    height: 50px;
    border-radius: 10px;
    border: none;
	font-family: "Lato", sans-serif;
	font-size: 16px;
	outline: none;
}

#filtro-especialidades button {
	font-family: "Lato", sans-serif;
	font-size: 16px;
	font-weight: 700;
	border-radius: 10px;
	background-color: var(--wp--preset--color--primary);
	color: white;
	height: 50px;
	padding: 15px 20px;
	outline: none;
	border: none;
	cursor: pointer;
	width: 20%;
}

#filtro-especialidades button:hover {
	background-color: var(--wp--preset--color--secondary);
}

.box-form {
	position: fixed !important;
	top: initial !important;
	bottom: 0 !important;
	width: 100% !important;
	padding: 10px 20px 20px;
	box-shadow: 0px -10px 20px rgba(0, 0, 0, 0.2) !important;
	z-index: 1000;
}

@media (max-width: 767px) {
	#filtro-especialidades {
		flex-wrap: wrap;
		justify-content: space-between;
	}
	#filtro-especialidades .form-group {
/* 		width: 48%; */
		width: 100%;
		flex-direction: column;
		gap: 6px;
	}
	
	#filtro-especialidades button {
		width: 100%;
	}
	#filtro-especialidades .form-group p,
	#filtro-especialidades .form-group select {
		width: 100%;
	}
	.swt-scroll-top {
		display: none;
	}
}

.m-0 {
	margin: 0;
}

.especialidades-misma-universidad {
	list-style: none;
    padding: 0;
	display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}

.card-univ {
    display: flex;
	gap: 20px;
    justify-content: space-between;
    border: 1px solid #d1d1d1;
    padding: 20px 24px;
    border-radius: 20px;
	background: white;
	transition: all 0.3s ease;
}

.card-univ:hover {
	background: #FFF6ED;
	border-color: #F4D6B4;
}

.card-univ .post-title {
	font-size: 16px;
	line-height: 1.3;
	font-weight: 700;
	color: #262626;
}

.card-univ .icon-class {
	display: inline-flex;
	justify-content: center;
	align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
	background: white;
	border: 1px solid #F4D6B4;
	flex-shrink: 0;
	transition: all 0.3s ease;
}

.card-univ .icon-class svg path {
	fill: var(--wp--preset--color--primary);
	transition: all 0.3s ease;
	opacity: 0.5;
}

.card-univ:hover .icon-class {
	background: var(--wp--preset--color--primary);
	border: 1px solid var(--wp--preset--color--primary);
}

.card-univ:hover .icon-class svg path {
	fill: white;
	opacity: 1;
}

.especialidad-actual .card-univ {
	background: #FFF6ED;
	border-color: var(--wp--preset--color--primary);
}

.especialidad-actual .card-univ .post-title {
	color: var(--wp--preset--color--primary);
}

.especialidad-actual .card-univ .icon-class {
	background: var(--wp--preset--color--primary);
	border: 1px solid var(--wp--preset--color--primary);
}

.especialidad-actual .card-univ .icon-class svg path {
	fill: white;
	opacity: 1;
}

@media (max-width: 1024px) {
	.especialidades-misma-universidad {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 767px) {
	.especialidades-misma-universidad {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.especialidades-misma-universidad {
		grid-template-columns: repeat(1, 1fr);
	}
}

/* Mejorar la apariencia de los contenedores de posts */
.post-container {
    transition: box-shadow 0.3s ease;
}

.post-container:nth-child(2n + 1) .container-1 {
	background: #FDF7EF;
	border: 1px solid #FDF7EF;
}

/* Ajustar imágenes destacadas */
.post-container .container-1 img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Botón de filtrar */
#filtrar-universidades {
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}



/* CALENDARIO ACADEMICO */
/* ///////////////////// */

/* Contenedor principal del listado de universidades */
#calendario_uni_container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin-top: 20px;
}

/* Estilo para cada universidad (post-container) */
.post-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    border-radius: 20px;
    background-color: #fff;
    box-sizing: border-box;
    justify-content: space-between;
    position: relative;
}

/* Línea horizontal de 1px debajo de cada .post-container excepto el último */
.post-container {
    position: relative;
    padding-bottom: 20px; /* Espacio para la línea */
}

.post-container:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px; /* Grosor de la línea */
    background-color: #d1d1d1; /* Color de la línea */
}
@media (max-width: 768px) {
    .post-container:not(:last-child)::after {
        display: none; /* Oculta la línea en vista móvil */
    }
}


/* Primer contenedor de texto (container-1) */

/* Agregué margin-right: 0 !important; y reemplace  width: 37%; estaba con 40%*/
.post-container .container-1 {
	background: #f9f9f9;
    width: 37%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    border-radius: 20px;
    box-sizing: border-box;
	margin-right: 0 !important;
}

/* Borré display:flex; justify-content: center */
.post-container .container-1 p {
	gap: 6px;
	font-size: 14px;
}

.post-container .container-1 p span:first-child {
    background: #16B173;
    padding: 2px 10px;
    display: inline-flex;
    border-radius: 4px;
    color: white;
    font-weight: 700;
}

.post-container .container-1 p span.falta-semana {
	background: #E49453;
}

/* Imagen destacada dentro del primer contenedor */
.post-container .container-1 img {
    max-width: 100%;
    height: 47px;
    width: 134px;
    object-fit: cover;
    border-radius: 10px;
}

/* Título de la universidad */
.post-container .container-1 h2 {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #333;
}

/* Mensaje de la semana */
.post-container .container-1 p {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

/* Segundo y tercer contenedor de información */
.post-container .container-2,
.post-container .container-3 {
    width: 33%;
    border: 1px solid #d1d1d1;
    border-radius: 20px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    height: 100%;
}

/* Estilos para cada fecha-item dentro de los contenedores */
.container-2 .fecha-item,
.container-3 .fecha-item {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    gap: 10px;
    box-sizing: border-box;
}

/* Borde derecho para el primer .fecha-item de cada contenedor */
.container-2 .fecha-item:first-child,
.container-3 .fecha-item:first-child {
    border-right: 1px solid #d1d1d1;
    padding-right: 10px;
}

/* Estilos para cada label dentro de fecha-item */
.container-2 .fecha-item label,
.container-3 .fecha-item label {
	padding: 2px 10px;
    background-color: #FAECDA;
    font-weight: 800;
    font-size: 16px;
    color: #CF6027;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
}

/*Responsive*/
/* Media query para vistas móviles */
@media (max-width: 768px) {
    /* Contenedor principal: ajusta espaciado para dispositivos pequeños */
    #calendario_uni_container {
        gap: 15px; /* Reduce el espacio entre post-container */
        margin-top: 15px;
    }

    /* Cada post-container en columna */
    .post-container {
        display: flex;
        flex-direction: column; /* Organiza los contenedores en columna */
        align-items: stretch; /* Asegura que ocupen todo el ancho */
        gap: 15px; /* Espaciado entre contenedores */
        padding: 0px;
        border: none; /* Elimina todos los bordes */
        border-bottom: 1px dashed #d1d1d1; /* Agrega borde inferior dashed */
        background-color: #fff;
        margin-bottom: 0px; /* Añade espacio debajo del contenedor */
        position: relative; /* Necesario para la flecha */
		border-radius: 0px;
    }

    /* Pseudo-elemento para agregar la flecha */
     .post-container::after {
        content: "";
        font-size: 18px;
        color: #666;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
		width: 16px;
		height: 16px;
		border-top: 1px solid #666;
		border-right: 1px solid #666;
		pointer-events: none;
    }

    /* Mostrar solo container-1 y ajustarlo al ancho completo */
    .post-container .container-1 {
        width: 100%; /* Ocupa todo el ancho */
        display: flex;
        flex-direction: column; /* Elementos en columna */
        align-items: flex-start; /* Centra el contenido horizontalmente */
        gap: 10px; /* Espaciado entre elementos */
		border-radius: 0px;
		cursor: pointer;
    }

    /* Ocultar container-2 y container-3 */
    .post-container .container-2,
    .post-container .container-3 {
        display: none; /* No mostrar en vista móvil */
    }

    /* Ajustes de imagen dentro de container-1 */
    .post-container .container-1 img {
        height: auto; /* Mantén la proporción de la imagen */
        width: 100%; /* Asegura que la imagen se adapte al contenedor */
        max-width: 120px; /* Limita el tamaño máximo */
        border-radius: 10px; /* Bordes redondeados */
        object-fit: cover; /* Ajusta la imagen dentro del contenedor */
    }

    /* Títulos dentro de container-1 */
    .post-container .container-1 h2 {
        font-size: 18px; /* Tamaño de la fuente */
        margin: 10px 0 5px 0; /* Margen superior e inferior ajustado */
        color: #333;
        text-align: center; /* Centra el texto */
    }

    /* Texto descriptivo dentro de container-1 */
    .post-container .container-1 p {
        font-size: 14px; /* Tamaño reducido para vista móvil */
        color: #666;
        text-align: center; /* Centra el texto */
    }
}

/* CALENDARIO */
/* Estilo para el campo de entrada del calendario */
#datepicker {
    font-size: 16px; /* Tamaño de la fuente */
    font-family: 'Lato', sans-serif; /* Fuente Lato */
    border: 1px solid #d1d1d1; /* Borde de 1px */
    border-radius: 10px; /* Bordes redondeados */
    padding: 8px 20px; /* Espaciado interno: 8px top/bottom, 20px left/right */
    width: 100%; /* Asegura que ocupe el ancho disponible */
    box-sizing: border-box; /* Incluye el padding en el ancho total */
    outline: none; /* Elimina el borde azul al hacer clic */
    transition: all 0.3s ease; /* Transición para efectos */
	height: 50px;
}

@media (max-width: 767px) {
	#datepicker {
		width: 100% !important;
	}
}

#ui-datepicker-div * {
	font-family: 'Lato';
}

.ui-datepicker {
	border-radius: 10px !important;
	background: white !important;
}

.ui-datepicker-header {
	border: none;
    padding: 5px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#datepicker:focus {
	pointer-events: none;
}

/* Estilo al hacer hover sobre el input */
#datepicker:hover {
    border-color: #CF6027; /* Cambiar color del borde al pasar el mouse */
}

/* Estilo al enfocar el input */
#datepicker:focus {
    border-color: #CF6027; /* Color del borde al enfocar */
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
	border: none;
    background: none;
    font-weight: normal;
    color: #454545;
	text-align: center;
}

.ui-datepicker-calendar td:hover {
	border: none;
	background: #ffffff;
	border-radius: 50px !important;
}

.ui-datepicker-calendar td.ui-datepicker-today {
	background: var(--wp--preset--color--primary) !important;
}

.ui-datepicker-calendar td.ui-datepicker-today .ui-state-default {
	background-color: var(--wp--preset--color--primary) !important; !important;
    color: #fff !important;
    border-radius: 5px;
}

/* Select */

.box-filter-calendar {
	position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

/* Estilo del contenedor principal */
.dropdown-container {
    position: relative;
    width: 300px;
    font-family: Arial, sans-serif;
}

/* Estilo del botón de dropdown */
.dropdown-button {
	height: 50px;
    width: 100%;
    padding: 10px 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: #fff;
    font-family: 'Lato';
}

/* Icono de flecha */
.dropdown-button::after {
    content: '▼';
    font-size: 12px;
    color: #333;
}

/* Estilos para el contenedor de checkboxes */
/* Estilo del contenedor del dropdown */
.checkbox-container {
    display: none;
    position: absolute; 
    top: 100%;
    left: 0;
    width: 100%; 
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 101; 
	border-radius: 10px;
    max-height: 300px;
    overflow-y: auto;
}

/* Cuando el dropdown se despliega */
.dropdown-container .checkbox-container.open {
    display: block;  /* Lo mostramos cuando se hace clic en el botón */
	bottom: 48px;
    top: initial;
}

/* Estilo personalizado de los checkboxes */
.checkbox-container label {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
	font-family: 'Lato';
}

.checkbox-container input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    margin-right: 10px;
    width: 24px;
    height: 24px;
    border: 2px solid #ccc;
    border-radius: 6px;
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.checkbox-container input[type="checkbox"]:checked {
    background-color: var(--wp--preset--color--primary);
    border-color: var(--wp--preset--color--primary);
}

.checkbox-container input[type="checkbox"]:checked::after {
    content: '✔';
    color: #fff;
    font-size: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Restablecer cualquier estilo por defecto */
.ui-datepicker {
    font-family: 'Helvetica', sans-serif;
    font-size: 14px;
    background-color: transparent;  /* Fondo transparente */
    border: none;                   /* Sin borde */
    box-shadow: none;               /* Sin sombra */
    padding: 0;
    width: auto;
    margin: 0;
}

/* El contenedor de los días (tabla) */
.ui-datepicker-calendar {
    border-collapse: collapse;
    width: 100%;
}

/* Celdas de los días */
.ui-datepicker-calendar td {
    padding: 5px 10px;
    text-align: center;
    cursor: pointer;
    background-color: transparent;
    color: #333;
    transition: background-color 0.3s, color 0.3s;
}

/* Día hover (cuando el usuario pasa el cursor) */
.ui-datepicker-calendar td:hover {
    background-color: #f0f0f0; /* Color de fondo suave */
    color: #007bff;            /* Color de texto al pasar el mouse */
}

/* Día seleccionado (activo) */
.ui-datepicker-calendar td.ui-state-active {
    background-color: #007bff;  /* Fondo azul */
    color: white;                /* Texto blanco */
    border-radius: 50%;          /* Forma redondeada */
}

/* Día de hoy */
.ui-datepicker-calendar td.ui-datepicker-today {
    background-color: #ffd700; /* Fondo amarillo */
    color: #333;
    border-radius: 50%;
}

/* El encabezado (mes y año) */
.ui-datepicker-header {
    padding: 10px;
    background-color: transparent;  /* Sin fondo */
    color: #333;
    text-align: center;
    font-weight: bold;
}

/* Mes y año */
.ui-datepicker-title {
    font-size: 16px;
    margin: 0;
}

/* Botones de navegación (prev y next) */
.ui-datepicker-prev, .ui-datepicker-next {
    color: #007bff;            /* Color de los botones */
    font-size: 16px;
    padding: 5px;
    cursor: pointer;
    background-color: transparent;  /* Sin fondo */
    border: none;
    transition: color 0.3s;
}

/* Hover de los botones de navegación */
.ui-datepicker-prev:hover, .ui-datepicker-next:hover {
    color: #ff5722;              /* Color de los botones al pasar el mouse */
}

/* Ocultar los bordes de las celdas */
.ui-datepicker-calendar td, .ui-datepicker-calendar th {
    border: none;
}

/* Cambiar el color de las celdas deshabilitadas (días que no son seleccionables) */
.ui-datepicker-calendar td.ui-state-disabled {
    color: #ccc;  /* Color gris */
    cursor: not-allowed;
}

/* Ocultar las flechas en los botones prev y next si no se usan */
.ui-datepicker-prev span, .ui-datepicker-next span {
    font-size: 18px;
}

/*MODAL*/
.modal-overlay {
    display: none; /* El modal estará oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
/* Mostrar el modal cuando sea necesario */
.modal-visible {
    display: flex; 
} 


.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.modal-image {
	width: 100%;
    max-width: 150px;
    margin: 0 auto;

    height: 60px;
    width: 100%;
    object-fit: contain;
    object-position: left;
}

.modal-title {
    font-size: 1.1rem;
    margin: 10px 0;
    color: #333;
}

.modal-semester-status {
    font-size: 1rem;
    margin: 10px 0;
    color: #777;
}

.modal-semester-status span:first-child {
	background: #16B173;
    padding: 2px 10px;
    display: inline-flex;
    border-radius: 4px;
    color: white;
    font-weight: 700;
}

.modal-semester-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-semester {
    background-color: #FFF3E0;
    border-radius: 10px;
    padding: 10px;
}

.semester-header {
    background-color: var(--wp--preset--color--primary);
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 5px 0;
    border-radius: 8px;
}

.semester-dates {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.fecha-item {
    text-align: center;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
	.error404 .wp-block-uagb-modal,
	.especialidad-template-default .wp-block-uagb-modal {
		display: none;
	}
	
/* 	.modal-overlay {
		display: none;
		visibility: hidden;
	} */
}

/* PUBLICACIONES  */
.mis-publicaciones-grid {
    display: grid; /* Activa el diseño de cuadrícula */
    grid-template-columns: repeat(2, 1fr); /* Dos columnas del mismo ancho */
    gap: 30px; /* Espacio entre filas y columnas */
    list-style: none; /* Elimina los estilos de lista */
    padding: 0;
    margin: 0;
}

/* El contenedor principal de cada publicación no tiene estilos adicionales */
.mis-publicaciones-item {
    border-radius: 20px 20px 0 0; 
    overflow: hidden; /* Oculta contenido que se salga */
    display: flex;
    flex-direction: column; /* Elementos internos en columna */
    gap: 20px; /* Espaciado entre elementos internos */
}

/* Estilo de la imagen destacada */
.imagen-destacada img {
    width: 100%; /* Ocupa todo el ancho disponible */
    height: 260px; /* Altura fija */
    object-fit: cover; /* Ajuste para evitar distorsión */
    border-radius: 20px; /* Bordes redondeados */
}

/* Contenedor de autor y fecha */
.autor-fecha {
    display: flex;
    justify-content: space-between; /* Espaciado entre autor y fecha */
    align-items: center; /* Centrado vertical */
    margin-top: 10px; /* Separación de la imagen */
}

/* Estilo del autor */
.autor-fecha .autor {
    font-family: 'Lato', sans-serif; /* Fuente Lato */
    font-weight: 700; /* Negrita */
    font-size: 16px; /* Tamaño de fuente */
    color: #5D5D5D; /* Color gris */
}

/* Estilo de la fecha */
.autor-fecha .fecha {
    font-family: 'Lato', sans-serif; /* Fuente Lato */
    font-weight: 400; /* Regular */
    font-size: 16px; /* Tamaño de fuente */
    color: #5D5D5D; /* Color gris */
}

/* Estilo del título */
.contenido-texto h3 {
    font-family: 'Lato', sans-serif; /* Fuente Lato */
    font-weight: 700; /* Negrita */
    font-size: 22px; /* Tamaño de fuente */
    color: #262626; /* Color oscuro */
    margin-top: 20px; /* Separación de autor/fecha */
}

/* Estilo del texto (extracto) */
.contenido-texto .contenido-extracto {
    font-family: 'Lato', sans-serif; /* Fuente Lato */
    font-weight: 400; /* Regular */
    font-size: 16px; /* Tamaño de fuente */
    color: #454545; /* Color gris medio */
    margin-top: 10px; /* Separación del título */
    line-height: 1.5; /* Espaciado entre líneas */
    display: -webkit-box; /* Necesario para limitar líneas */
    -webkit-line-clamp: 3; /* Limitar a 3 líneas */
    -webkit-box-orient: vertical;
    overflow: hidden; /* Ocultar texto excedente */
    text-overflow: ellipsis; /* Mostrar "..." si el texto es largo */
}

.contenedor-publicaciones {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Dos columnas del mismo tamaño */
    gap: 30px; /* Espaciado entre las publicaciones */
    list-style: none; /* Elimina puntos de lista si los hubiera */
    padding: 0; /* Elimina padding */
    margin: 0; /* Elimina margin */
}

/*BOTONES*/
.botones-publicacion {
    display: flex; /* Alinea los botones en fila */
    height: 42px; /* Altura fija del contenedor */
    gap: 10px; /* Espaciado entre botones */
	margin-top: 20px;
}


/* Botón Descargar */
.boton-descargar {
    display: inline-flex; /* Permite alinear el texto y el SVG */
    align-items: center; /* Centra verticalmente el contenido */
    justify-content: center; /* Centra horizontalmente el texto y el SVG */
    padding: 11.5px 20px 11.5px 20px; /* Espaciado interno */
    color: #DE7831; /* Color del texto y el SVG */
    font-family: 'Lato', sans-serif; /* Fuente Lato */
    font-size: 16px; /* Tamaño de fuente */
    font-weight: 700; /* Negrita */
    background-color: transparent; /* Sin color de fondo */
    border: none; /* Sin bordes */
    text-decoration: none; /* Elimina subrayado */
    cursor: pointer; /* Cambia el cursor al pasar sobre el botón */
    gap: 10px; /* Espaciado entre texto y SVG */
	border: 1px solid;
	border-radius: 10px;
}

/* Cambios al pasar el mouse */
.boton-descargar:hover {
    color: #BF5E21; /* Cambia el color en hover */
}

/* SVG dentro del botón */
.boton-descargar svg {
    fill: #DE7831; /* Color del SVG */
    width: 16px; /* Ancho del SVG */
    height: 16px; /* Altura del SVG */
}

/* Cambios al SVG en hover */
.boton-descargar:hover svg {
    fill: #BF5E21; /* Cambia el color del SVG en hover */
}

/* Botón Leer más */
.boton-leer-mas {
    display: inline-flex; /* Permite alinear el texto y el SVG */
    align-items: center; /* Centra verticalmente el contenido */
    justify-content: center; /* Centra horizontalmente el texto y el SVG */
    padding: 11.5px 5px 11.5px 20px ; /* Espaciado interno */
    color: #fff; /* Texto blanco */
    font-family: 'Lato', sans-serif; /* Fuente Lato */
    font-size: 16px; /* Tamaño de fuente */
    font-weight: 700; /* Negrita */
    background-color: #DE7831; /* Color de fondo */
    border: none; /* Sin bordes */
    border-radius: 10px; /* Bordes redondeados */
    text-decoration: none; /* Elimina subrayado */
    cursor: pointer; /* Cambia el cursor al pasar sobre el botón */
    gap: 10px; /* Espaciado entre texto y contenedor del SVG */
    transition: background-color 0.3s ease; /* Transición suave */
}

/* Cambios al pasar el mouse */
.boton-leer-mas:hover {
    background-color: #BF5E21; /* Color de fondo más oscuro */
}

/* Contenedor del SVG */
/* Contenedor del SVG en el botón Leer más */
.boton-leer-mas span {
    background: white; /* Fondo blanco para el contenedor del SVG */
    border-radius: 6px; /* Bordes redondeados */
    width: 32px; /* Ancho fijo */
    height: 32px; /* Altura fija */
    display: flex; /* Centra el contenido */
    justify-content: center; /* Centra horizontalmente */
    align-items: center; /* Centra verticalmente */
}

/* SVG dentro del botón Leer más */
.boton-leer-mas svg {
    fill: #DE7831; /* Color del SVG */
    width: 16px; /* Ancho del SVG */
    height: 16px; /* Altura del SVG */
}

/* Cambios al SVG en hover */
.boton-leer-mas:hover svg {
    fill: #BF5E21; /* Cambia el color del SVG en hover */
}


/*SELECTOr FECHAS*/
/* Contenedor del formulario */
#year-filter-form {
    display: flex;
    justify-content: flex-start; /* Alinea a la izquierda */
    align-items: center;
    margin-bottom: 20px; /* Espaciado inferior */
}

/* Estilo del selector */
#year-filter-form select {
    appearance: none; /* Elimina los estilos predeterminados del navegador */
    background-color: #fff; /* Fondo blanco */
    border: 1px solid #d1d1d1; /* Borde anaranjado */
    border-radius: 10px; /* Bordes redondeados */
    padding: 13px 0 13px 20px; /* Espaciado interno */
    font-family: 'Lato', sans-serif; /* Fuente Lato */
    font-size: 16px; /* Tamaño de fuente */
    color: #5D5D5D; /* Color del texto */
    cursor: pointer; /* Cambia el cursor al pasar */
    transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Transiciones suaves */
    width: auto; /* Ajusta automáticamente el ancho */
}

/* Cambios al pasar el mouse sobre el selector */
#year-filter-form select:hover {
    border-color: #939393; /* Color del borde al pasar el mouse */
}

/* Cambios al enfocar el selector */
#year-filter-form select:focus {
    border-color: #939393; /* Color del borde al enfocar */
    outline: none; /* Elimina el contorno predeterminado */
}

/* Personalizar el indicador de flecha del selector */
#year-filter-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%235D5D5D' d='M10 12l-5-5h10l-5 5z'/%3E%3C/svg%3E"); /* Flecha personalizada */
    background-repeat: no-repeat;
    background-position: right 12px center; /* Posiciona la flecha */
    background-size: 16px 16px; /* Tamaño de la flecha */
    padding-right: 40px; /* Espaciado para la flecha */
}

/* Opcional: Ancho mínimo del selector */
#year-filter-form select {
    min-width: 150px; /* Ajusta el ancho mínimo según el diseño */
}

/*PAGINACION*/

/* Contenedor principal de la paginación */
.page-numbers {
    display: flex; /* Alinea los elementos en fila */
    justify-content: center; /* Centra la paginación */
    align-items: center; /* Centra verticalmente */
    gap: 10px; /* Espaciado entre los elementos */
    list-style: none; /* Elimina el estilo de lista */
    padding: 0;
    margin-top: 20px; /* Separación superior */
}

/* Números de página */
.page-numbers a,
.page-numbers span {
    display: inline-flex; /* Alinea el contenido horizontalmente */
    align-items: center; /* Centra verticalmente */
    justify-content: center; /* Centra horizontalmente */
    padding: 4px 14px; /* Espaciado interno */
    border: 1px solid #d1d1d1; /* Borde gris */
    border-radius: 8px; /* Bordes redondeados */
    color: #262626; /* Color del texto */
    font-size: 18px; /* Tamaño de fuente */
    text-decoration: none; /* Sin subrayado */
    font-weight: 700; /* Negrita */
    cursor: pointer; /* Cambia el cursor al pasar */
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; /* Transición suave */
}

/* Página actual (activo) */
.page-numbers .current {
    background-color: #DE7831; /* Fondo anaranjado */
    color: white; /* Texto blanco */
    border-color: #DE7831; /* Borde anaranjado */
}

/* Flechas (anterior y siguiente) */
.page-numbers .prev,
.page-numbers .next {
    padding: 4px 14px; /* Espaciado interno */
    color: #5D5D5D; /* Color del texto */
    background-color: transparent; /* Fondo transparente */
    font-size: 18px; /* Tamaño de fuente */
    font-weight: 700; /* Negrita */
    text-decoration: none; /* Sin subrayado */
    cursor: pointer; /* Cambia el cursor al pasar */
	border: 1px solid transparent;
    border-radius: 8px; /* Bordes redondeados */
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; /* Transición suave */
}

/* Hover para flechas (anterior y siguiente) */
.page-numbers .prev:hover,
.page-numbers .next:hover {
    background-color: #F3F3F3; /* Fondo gris claro */
    border: 1px solid #BF5E21; /* Borde aparece al pasar el mouse */
    color: #BF5E21; /* Texto más oscuro */
}

/* Hover para números de página */
.page-numbers a:hover {
    background-color: #F3F3F3; /* Fondo gris claro */
    border-color: #BF5E21; /* Borde más oscuro */
    color: #BF5E21; /* Texto más oscuro */
}

/* Responsividad */
@media (max-width: 768px) {
    .page-numbers {
        gap: 5px; /* Reduce el espacio entre los elementos */
    }

    .page-numbers a, 
    .page-numbers span {
        font-size: 14px; /* Reduce el tamaño de fuente */
        padding: 4px 10px; /* Reduce el espaciado interno */
    }
}
@media (max-width: 1024px) {
    .mis-publicaciones-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en tabletas */
    }
}

@media (max-width: 768px) {
    .mis-publicaciones-grid {
        grid-template-columns: 1fr; /* 1 columna en móviles */
    }
}

/*MODAL SEMANA DE INFORMACIÓN*/

/* Estilos para el popup */
.popup-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-content {
	position: relative;
    background: #fff;
    padding: 20px;
    max-width: 800px;
    width: 90%;
    max-height: 80%;
    overflow-y: auto;
    border-radius: 20px;
}

.popup-content iframe {
    width: 100%;
    height: 450px;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    background: #333;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border: none;
}

/* Estilo de los botones */
.ver-video-button {
    position: absolute;
    left: 10px;
    bottom: 10px;
    border-radius: 8px;
    font-family: 'Lato';
    font-weight: bold;
    font-size: 16px;
    background-color: var(--wp--preset--color--primary);
	transition: all 0.3s ease;
	color: white;
    border: none;
	padding: 10px 20px;
	cursor: pointer;
}

.ver-video-button:hover {
	background-color: var(--wp--preset--color--secondary) !important;
}