body{
	overflow-x: hidden;
}

/* Fuente */

.font-montserrat {
	font-family: 'Montserrat', sans-serif !important;
}

.font-open {
	font-family: 'Open Sans', sans-serif !important;
}

/* Tamaño base de fuentes */
.text-xs {
	font-size: 0.75rem;
	/* 12px */
}

.text-sm {
	font-size: 0.875rem;
	/* 14px */
}

.text-base {
	font-size: 1rem;
	/* 16px */
}

.text-lg {
	font-size: 1.125rem;
	/* 18px */
}

.text-xl {
	font-size: 1.25rem;
	/* 20px */
}

.text-2xl {
	font-size: 1.5rem;
	/* 24px */
}

.text-3xl {
	font-size: 1.875rem;
	/* 30px */
}

.text-4xl {
	font-size: 2.25rem;
	/* 36px */
}

.text-5xl {
	font-size: 3rem;
	/* 48px */
}

.text-6xl {
	font-size: 3.75rem;
	/* 60px */
}

.text-7xl {
	font-size: 4.5rem;
	/* 72px */
}

.text-8xl {
	font-size: 6rem;
	/* 96px */
}

.text-9xl {
	font-size: 8rem;
	/* 128px */
}

/* Extra Small - Teléfonos */
@media (max-width: 576px) {
	.text-xs-sm {
		font-size: 0.75rem;
	}

	.text-sm-sm {
		font-size: 0.875rem;
	}

	.text-base-sm {
		font-size: 1rem;
	}

	.text-lg-sm {
		font-size: 1.125rem;
	}

	.text-xl-sm {
		font-size: 1.25rem;
	}
}

/* Small - Tabletas */
@media (min-width: 576px) and (max-width: 768px) {
	.text-xs-md {
		font-size: 0.75rem;
	}

	.text-sm-md {
		font-size: 0.875rem;
	}

	.text-base-md {
		font-size: 1rem;
	}

	.text-lg-md {
		font-size: 1.125rem;
	}

	.text-xl-md {
		font-size: 1.25rem;
	}
}

/* Medium - Escritorio pequeño */
@media (min-width: 768px) and (max-width: 992px) {
	.text-xs-lg {
		font-size: 0.75rem;
	}

	.text-sm-lg {
		font-size: 0.875rem;
	}

	.text-base-lg {
		font-size: 1rem;
	}

	.text-lg-lg {
		font-size: 1.125rem;
	}

	.text-xl-lg {
		font-size: 1.25rem;
	}
}

/* Large - Escritorio */
@media (min-width: 992px) {
	.text-xs-xl {
		font-size: 0.75rem;
	}

	.text-sm-xl {
		font-size: 0.875rem;
	}

	.text-base-xl {
		font-size: 1rem;
	}

	.text-lg-xl {
		font-size: 1.125rem;
	}

	.text-xl-xl {
		font-size: 1.25rem;
	}
}

#top-bar{
	z-index: 999;
	background-color: #6A4592;
}

/*Max width*/
.max-w-190 {
	max-width: 190px;
}

.max-w-250 {
	max-width: 250px;
}

/*Rounded corners*/

.rounded-md {
	border-radius: 0.375rem;
	/* 6px */
}

.rounded-lg {
	border-radius: 0.5rem;
	/* 8px */
}

.rounded-xl {
	border-radius: 1rem;
	/* 16px */
}

.rounded-2xl {
	border-radius: 1.5rem;
	/* 24px */
}

.rounded-full {
	border-radius: 999px;
}


/*Custom header*/

.overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(105, 68, 125, 0.5);
	z-index: 0;
}

.custom-header {
	max-width: 80%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	margin: 0 auto;
	z-index: 99999;
}

@media (max-height:800px) {
	.custom-header {
		margin-top: 50px;
	}
}

@media (max-width:960px) {
	.custom-header {
		max-width: 95%;
		margin-top: 0;
	}
}

.custom-header h2 {
	font-size: 70px;
	line-height: 1.2;
	font-family: 'Montserrat', sans-serif;
}

@media (max-width:768px) {
	.custom-header h2 {
		font-size: 40px;
	}
}

@media (max-width: 576px) {
	.custom-header h2 {
		font-size: 24px;
	}
}

.custom-header p {
	font-size: 24px;
	font-weight: 350;
}

/* header logo */

.header-logo {
	width: 530px;
	padding-top: 40px;
}


@media (max-width: 768px) {
	.header-logo {
		width: 350px;
		padding-top: 25px;
	}
}


@media (max-width: 576px) {
	.header-logo {
		width: 230px;
		padding-top: 10px;
	}
}

/*Footer*/

.copyright-links a {
	color: rgba(255, 255, 255, 0.4) !important;
	border: none !important;

}

/* Cabecera de secciones*/

.curve {
	width: 100%;
	margin-top: -176px !important;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	/* C7 — min-height (no height fijo) para que el header crezca con títulos largos
	   en vez de recortarlos verticalmente. El padding lateral + el max-width del h1
	   evitan que líneas anchas se salgan por los costados de la cúpula morada (que se
	   angosta hacia arriba/los lados). padding-bottom da aire al envolver. */
	box-sizing: border-box;
	min-height: 350px;
	position: relative;
	overflow: hidden;
	text-align: center;
	padding-top: 10%;
	padding-bottom: 2rem;
	padding-left: 6%;
	padding-right: 6%;
	z-index: 1;
  }

  .curve h1{
	margin: 30px auto 0;
	max-width: 1000px;
  }

  .curve::before {
	content: '';
	display: block;
	background:#6A4592;
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	border-radius: 150vw;
	width: 300vw;
	height: 300vw;
	z-index: -1;
  }

  @media (max-width:576px){
	.curve{
		min-height: 400px;
	}

	.curve h1{
		margin-top: 130px;;
	}
  }

/* ===== Correcciones Reporte DYATEC (0001) ===== */

/* C1 — Uniformar la tipografía de la bajada en el carrusel de noticias/actividades.
   La bajada se sube desde el admin con tamaños/fuentes inline inconsistentes; se
   fuerza Inter 15px sobre el contenido del card del carrusel (Inicio y Actividades). */
#slider-noticias .entry-content,
#slider-noticias .entry-content * {
	font-family: 'Inter', sans-serif !important;
	font-size: 15px !important;
	line-height: 1.6 !important;
}

/* C2 — Evitar que el menú fijo tape el título "Bienvenido/a al programa" al cargar,
   en resoluciones HD (≤1366px de ancho). En mobile (≤960px) el header se maneja
   aparte (ver regla .custom-header de arriba), por eso el rango acotado. */
@media (min-width: 961px) and (max-width: 1366px) {
	.custom-header {
		margin-top: 100px;
	}
}

/* C4 — Componentes de Apoyo: el texto se desbordaba porque `auto-same-height` (JS)
   fijaba una altura medida mal según el ancho. Se reemplaza por igualdad de altura
   POR FILA vía flexbox: cada tarjeta estira a la más alta de su fila, el texto
   siempre cabe y las tarjetas quedan parejas. Además se estandariza la altura/
   posición de los íconos para que queden alineados entre sí. */
#componentes-apoyo .row {
	align-items: stretch;
}

#componentes-apoyo .row > div {
	display: flex;
}

#componentes-apoyo .row > div > div {
	display: flex;
	width: 100%;
}

#componentes-apoyo .feature-box {
	height: auto !important; /* neutraliza el height inline del auto-same-height JS */
	width: 100%;
}

#componentes-apoyo .feature-box .fbox-icon {
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem !important;
}

#componentes-apoyo .feature-box .fbox-icon img {
	max-height: 72px;
	width: auto;
}

#componentes-apoyo .feature-box .fbox-content p {
	overflow-wrap: break-word;
	word-break: break-word;
}
