.welcome-container {
	display: flex;
	gap: 40px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 30px 20px;
}

.text-content {
	flex: 1;
}

h1 {
	font-weight: 700;
	color: #2c3e50;
	margin-bottom: 25px;
	font-size: 2.5rem;
}

.welcome-text p {
	text-align: justify;
	line-height: 1.6;
	margin-bottom: 20px;
	color: #34495e;
}

.features-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
	margin: 20px 0;
}

.list-item {
	padding-left: 10px;
	text-align: justify;
}

.highlight-text {
	font-weight: 500;
	color: #16a085;
	font-style: italic;
}

.image-container {
	flex: 0 0 40%;
	align-self: center;
	position: relative;
}

.responsive-image {
	width: 100%;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.btn1 {
  text-decoration: none;
  display: inline-block;
  padding: 10px;
  margin: 10px;
  color: #800101;
  border: 1px solid #800101;
  border-radius: 4px;
  transition: all 400ms ease;
}
.btn1:hover {
  background: #800101;
  color: #fff;
}

@media (max-width: 768px) {
	.welcome-container {
		flex-direction: column;
	}

	.features-list {
		grid-template-columns: 1fr;
	}

	.image-container {
		width: 100%;
		margin-top: 20px;
		text-align: center;
	}

	h1 {
		font-size: 2rem;
	}
}

@media (max-width: 480px) {
	.welcome-container {
		padding: 20px 15px;
	}

	h1 {
		font-size: 1.75rem;
	}
}

/* servicios */
.servicios-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 15px;
	padding: 40px 20px;
	max-width: 1400px;
	margin: 0 auto;
}

.servicio {
	display: flex;
	gap: 5px;
	max-width: 360px;
	width: 100%;
	padding: 10px 15px;
	background: #ffffff;
	border-radius: 10px;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease;
}

.servicio:hover {
	transform: translateY(-5px);
}

.servicio-imagen {
	flex-shrink: 0;
	width: 120px;
	height: 120px;
	border-radius: 8px;
	overflow: hidden;
}

.servicio-imagen img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.servicio-info {
	flex: 1;
}

.servicio-info h3 {
	color: #2c3e50;
	font-size: 1.7rem;
	margin: 0 0 12px 0;
	line-height: 1.4;
	font-weight: bold;
}

.servicio-info p {
	color: #34495e;
	font-size: 1.3rem;
	line-height: 1.5;
	margin: 0;
}

@media (max-width: 768px) {
	.servicios-container {
		gap: 20px;
		padding: 30px 15px;
	}

	.servicio {
		padding: 15px;
		max-width: 100%;
		flex-wrap: wrap;
	}

	.servicio-imagen {
	}

	.servicio-info h3 {
		/* font-size: 1.3rem; */
	}

	.servicio-info p {
		/* font-size: 1rem; */
	}
}

@media (max-width: 480px) {
	.servicio-imagen {
		height: 150px;
	}

	.servicio-info h3 {
		/* font-size: 1.1rem; */
	}
}
/* Adds  */
.adds-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 15px;
	padding: 40px 20px;
	max-width: 1400px;
	margin: 0 auto;
}

.adds {
	display: flex;
	gap: 5px;
	width: 360px;
	padding: 10px 15px;
	transition: transform 0.3s ease;
}

.adds:hover {
	transform: translateY(-5px);
}

.adds-imagen {
	flex-shrink: 0;
	width: 120px;
	height: 120px;
	border-radius: 8px;
	overflow: hidden;
}

.adds-imagen img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.adds-info {
	flex: 1;
	display: flex;
	align-items: center;
}

.adds-info h3 {
	color: #2c3e50;
	font-size: 1.7rem;
	margin: 0 0 12px 0;
	line-height: 1.4;
	font-weight: bold;
}

.adds-info p {
	color: #34495e;
	font-size: 1.3rem;
	line-height: 1.5;
	margin: 0;
}

@media (max-width: 768px) {
	.addss-container {
		gap: 20px;
		padding: 30px 15px;
	}

	.adds {
		padding: 15px;
		max-width: 100%;
		flex-wrap: wrap;
	}

	.adds-imagen {
	}

	.adds-info h3 {
		/* font-size: 1.3rem; */
	}

	.adds-info p {
		/* font-size: 1rem; */
	}
}

@media (max-width: 480px) {
	.adds-imagen {
		height: 150px;
	}

	.adds-info h3 {
		/* font-size: 1.1rem; */
	}
}

/************************/
/* Galeria Inestigacion */
.gallery-title {
	text-align: center;
	color: #2c3e50;
	margin: 2rem 0 1.5rem;
	font-size: 2.2rem;
	font-weight: 700;
	padding: 0 15px;
}

.gallery-container {
	max-width: 1200px;
	margin: 2rem auto;
	padding: 0 15px;
	position: relative;
}

/* Estilos del carrusel */
.glide__slide {
	width: 260px !important;
	padding: 8px;
	overflow: visible !important;
	transform-style: preserve-3d;
}

.gallery-item {
	display: block;
	overflow: hidden;
	border-radius: 10px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	transform-origin: center center;
	will-change: transform;
}

.gallery-item:hover {
	transform: scale(1.1);
	z-index: 10;
	box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.gallery-image {
	width: 230px;
	height: 240px;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}

/* Controles del carrusel */
.glide__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.95);
	border: none;
	padding: 12px 15px;
	border-radius: 50%;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 2;
}

.glide__arrow--left {
	left: -40px;
}
.glide__arrow--right {
	right: -40px;
}

.glide__arrow:hover {
	background: #ffffff;
	transform: translateY(-50%) scale(1.1);
}

.glide__bullets {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 25px;
}

.glide__bullet {
	width: 10px;
	height: 10px;
	border: none;
	background: #bdc3c7;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.3s ease;
}

.glide__bullet--active {
	background: #3498db;
}

.glide__arrow {
	color: #000 !important;
	background-color: #fbfbfb6b !important;
	border: 2px solid rgba(255, 255, 255, 0.5);
}
/* Reglas para Fancybox */
.fancybox__container {
	z-index: 9999990 !important;
}

/* Media Queries */
@media (max-width: 1300px) {
	.glide__arrow--left {
		left: -20px;
	}
	.glide__arrow--right {
		right: -20px;
	}
}

@media (max-width: 1200px) {
	.glide__slide {
		width: 220px !important;
	}

	.gallery-image {
		width: 220px;
		height: 220px;
	}
}

@media (max-width: 992px) {
	.gallery-title {
		font-size: 1.8rem;
		margin: 1.5rem 0;
	}
}

@media (max-width: 768px) {
	.glide__slide {
		width: 260px !important;
	}

	.gallery-image {
		width: 100%;
		height: 260px;
	}

	.glide__arrow {
		padding: 10px 12px;
		transform: translateY(-50%) scale(0.9);
	}
}

@media (max-width: 480px) {
	.gallery-title {
		font-size: 1.5rem;
	}

	.glide__slide {
		width: 100% !important;
		max-width: 260px;
	}

	.gallery-image {
		height: 65vw;
		max-height: 260px;
	}

	.glide__arrow {
		padding: 8px 10px;
		transform: translateY(-50%) scale(0.8);
	}
}

@media (max-width: 360px) {
	.gallery-image {
		border-radius: 6px;
	}
}
/*************************************
/****Sección noticias, revistas     /*
/* ————— Contenedor general ————— */
/* Contenedor general */
.cc-section {
	background: #f9fafb;
	padding: 1.5rem;
	border-radius: 1rem;
}

/* Cabecera y pestañas centradas */
.cc-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin-bottom: 1rem;
}
.cc-tabs {
	display: flex;
	justify-content: center;
	margin-top: 0.5rem;
}
.cc-tab {
	padding: 0.5rem 1rem;
	margin: 0 0.25rem;
	border-radius: 0.375rem;
	background: transparent;
	cursor: pointer;
	border: 2px solid transparent;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}
/* .cc-tab--active {
	background-color: #800101;
	color: #fff;
	border-color: #800101;
} */
/* Color activo para Noticias */
.cc-tab--active[data-tab='cc-noticias'] {
	background-color: #801001;
	border-color: #801001;
	color: #fff;
}
/* Color activo para convocatorias */
.cc-tab--active[data-tab='cc-convocatorias'] {
	background-color: #f47d7d;
	border-color: #f47d7d;
	color: #fff;
}

/* Color activo para Revistas */
.cc-tab--active[data-tab='cc-revistas'] {
	background-color: #f47d7d;
	border-color: #f47d7d;
	color: #fff;
}

/* Paneles con transición suave */
.cc-content {
	position: relative;
}
.cc-panel {
	display: none;
	opacity: 0;
	transition: opacity 0.4s ease-in-out;
}
.cc-panel--active {
	display: block;
	opacity: 1;
}

/* Flex container para cards */
.cc-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.5rem;
	margin-inline: auto;
}
/* Cards */
.cc-card {
	flex: 1 1 300px;
	max-width: 450px;
	background: #fff;
	border-radius: 2rem 0;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	overflow: visible; /* permite mostrar parte desplazada */
	transition: transform 0.2s;
}
.cc-grid--revistas .cc-card {
	background: #fff;
}
.cc-card:hover {
	transform: scale(1.02);
}
.cc-grid--revistas .cc-card__img-container {
	background: #f47d7d;
}
.cc-grid--noticias .cc-card__img-container {
	background: #801001;
}
.cc-grid--convocatorias .cc-card__img-container {
	background: #f47d7d;
}
/* Contenedor de imagen recortada */
.cc-card__img-container {
	height: 7rem;
	overflow: hidden;
	position: relative;
}
.cc-card__img {
	display: block;
	width: 100%;
	transition: transform 0.4s ease-in-out;
	transform-origin: center top;
	position: relative;
	top: -100px;
}
.cc-card__img-container:hover .cc-card__img {
	transform: translateY(-10%);
}

/* Cuerpo de la card */
.cc-card__body {
	padding: 1rem;
}
.cc-card__date {
	display: block;
	font-size: 1rem;
	color: #6b7280;
	margin-bottom: 0.5rem;
}
.cc-card__title {
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
}
.cc-card__summary {
	font-size: 1.2rem;
	color: #374151;
	margin-bottom: 1rem;
}
.cc-card__link {
	color: #800101;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.2s;
}
.cc-card__link:hover {
	text-decoration: underline;
}

/* Botón “Ver más” */
.cc-loadmore {
	display: block;
	margin: 1.5rem auto 0;
	padding: 0.5rem 1.5rem;
	border: 2px solid #800101;
	border-radius: 9999px;
	background: transparent;
	color: #800101;
	cursor: pointer;
	transition: background 0.3s, color 0.3s;
}
.cc-loadmore:hover {
	background: #800101;
	color: #fff;
}
/* ——— Ver más en Noticias (color #801001) ——— */
#cc-noticias.cc-panel--active .cc-loadmore {
	border-color: #801001;
	color: #801001;
}
#cc-noticias.cc-panel--active .cc-loadmore:hover {
	background: #801001;
	color: #fff;
}

/* ——— Ver más en Revistas (color #f47d7d) ——— */
#cc-revistas.cc-panel--active .cc-loadmore {
	border-color: #f47d7d;
	color: #f47d7d;
}
#cc-revistas.cc-panel--active .cc-loadmore:hover {
	background: #f47d7d;
	color: #fff;
}
/*** listado de noticias ***/
#news-container {
	max-width: 1400px;
	margin: 0 auto;
	width: 100%;
}
/* ——— Paginación ——— */
.cc-pagination {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 2rem;
}
.cc-page-btn {
	padding: 0.4rem 0.8rem;
	border: 1px solid #801001;
	border-radius: 0.375rem;
	background: transparent;
	color: #801001;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}
.cc-page-btn:hover {
	background: #801001;
	color: #fff;
}
.cc-page-btn--active {
	background: #801001;
	color: #fff;
}

.splide {
	transform: scale();
	z-index: 10;
	box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.splide__slide img {
	width: 230px;
	height: 240px;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}

/* Ajusta el tamaño de las imágenes */
#splide .splide__slide img {
	width: 100%; /* Ajusta al ancho del contenedor */
	height: 100%; /* Mantiene proporción */
	max-height: 300px; /* Límite máximo de altura */
	object-fit: cover; /* Corta para que se vea uniforme */
	border-radius: 10px;
}

/* Puedes limitar el ancho total del carrusel */
#splide {
	max-width: 900px;
	max-width: 1000px;
	margin: 0 auto; /* Centrar en la página */
}

/* Espaciado entre slides */
.splide__slide {
	padding: 10px;
}
/****fin Sección noticias, revistas  ****/
/****************************************/
