/* Hosanna — estilos globales del sitio (complementan las variables y clases globales de Elementor). */

:root {
	--hs-ink: #111111;
	--hs-paper: #F1F1F1;
	--hs-accent: #3964AF;
	--hs-white: #FFFFFF;
	--hs-stone: #E4E4E4;
	--hs-muted: #5C5C5C;
	--hs-body: #3A3A3A;
	--hs-line: #CFCFCF;
	--hs-font: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
}

/* Los títulos atómicos heredan el color de su sección (BuddyBoss pinta h1–h6 de azul). */
/* :where() deja la especificidad en cero para que los estilos de cada widget manden. */
:where(.elementor) :where(.e-heading-base, .e-paragraph-base, .e-button-base) {
	color: inherit;
	font-family: var(--hs-font);
}
:where(.elementor) :where(.e-heading-base) { margin: 0; }
:where(.elementor) :where(.e-image-base) { max-width: 100%; }

/* Encabezado de Elementor fijo al hacer scroll, como en el diseño. */
.elementor-location-header {
	position: sticky;
	top: 0;
	z-index: 100;
}
.admin-bar .elementor-location-header { top: 32px; }
@media (max-width: 782px) {
	.admin-bar .elementor-location-header { top: 0; }
}

/* Páginas de Elementor a ancho completo: sin el fondo ni el relleno de BuddyBoss. */
.page-template-elementor_header_footer,
.page-template-elementor_canvas {
	background: var(--hs-ink);
}
.page-template-elementor_header_footer .site-content,
.page-template-elementor_header_footer #content {
	padding: 0;
	background: var(--hs-paper);
}

/* Enfoque visible para teclado en todo el sitio. */
.elementor a:focus-visible,
.elementor button:focus-visible,
.elementor input:focus-visible,
.elementor select:focus-visible,
.elementor textarea:focus-visible {
	outline: 2px solid var(--hs-accent);
	outline-offset: 2px;
}

/* ---------- [hosanna_adl_programa] ---------- */
.hs-adl {
	display: flex;
	flex-direction: column;
	gap: 56px;
	font-family: var(--hs-font);
	color: var(--hs-ink);
	text-align: left;
}
.hs-adl ol { margin: 0; padding: 0; list-style: none; }
.hs-adl__label {
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--hs-muted);
}
.hs-adl__bar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 20px 48px;
	padding: 32px;
	background: var(--hs-ink);
	color: var(--hs-paper);
}
.hs-adl__bar .hs-adl__label { color: #A0A0A0; }
.hs-adl__status { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
.hs-adl__status .hs-adl__label { flex-basis: 100%; }
.hs-adl__pct {
	font-size: clamp(48px, 6vw, 88px);
	font-weight: 900;
	line-height: 0.85;
	letter-spacing: -0.04em;
}
.hs-adl__note { font-size: 16px; line-height: 1.5; color: #C8C8C8; }
.hs-adl__track {
	grid-column: 1 / -1;
	grid-row: 2;
	height: 4px;
	background: #333333;
}
.hs-adl__track span {
	display: block;
	height: 100%;
	background: var(--hs-accent);
	transition: width 0.8s ease;
}
.hs-adl__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 26px;
	border: 1px solid var(--hs-paper);
	color: var(--hs-paper);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.hs-adl__cta:hover,
.hs-adl__cta:focus-visible {
	background: var(--hs-accent);
	border-color: var(--hs-accent);
	color: var(--hs-white);
}
.hs-adl__units { display: flex; flex-direction: column; gap: 72px; }
.hs-adl__unit-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 10px 24px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--hs-ink);
}
.hs-adl__unit-head .hs-adl__label { grid-column: 1 / -1; }
.hs-adl__unit-title {
	margin: 0;
	font-family: var(--hs-font);
	font-size: clamp(32px, 4vw, 56px);
	font-weight: 900;
	line-height: 0.92;
	letter-spacing: -0.035em;
	text-transform: uppercase;
	color: var(--hs-ink);
}
.hs-adl__count { font-size: 15px; color: var(--hs-muted); }
.hs-adl__topic a,
.hs-adl__row {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) auto 32px;
	align-items: center;
	gap: 16px;
	min-height: 72px;
	padding: 16px 8px 16px 0;
	border-bottom: 1px solid var(--hs-line);
	color: var(--hs-ink);
	text-decoration: none;
	transition: background-color 0.2s;
}
.hs-adl__topic a:hover,
.hs-adl__topic a:focus-visible { background: #E9E9E9; }
.hs-adl__num { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--hs-muted); }
.hs-adl__name { font-size: clamp(17px, 1.6vw, 21px); font-weight: 700; line-height: 1.25; }
.hs-adl__by { font-size: 14px; color: var(--hs-muted); }
.hs-adl__state { justify-self: end; font-size: 18px; }
.hs-adl__topic.is-complete .hs-adl__state { color: var(--hs-accent); font-weight: 800; }
.hs-adl__topic.is-complete .hs-adl__name { color: var(--hs-muted); }

@media (max-width: 760px) {
	.hs-adl__bar { grid-template-columns: 1fr; padding: 24px; }
	.hs-adl__track { grid-row: auto; }
	.hs-adl__cta { justify-content: center; }
	.hs-adl__topic a,
	.hs-adl__row { grid-template-columns: 40px minmax(0, 1fr) 24px; }
	.hs-adl__by { grid-column: 2; grid-row: 2; }
}

/* ---------- Hover tipo galería: imágenes a color, tarjetas invertidas ---------- */
.elementor img.e-image-base {
	transition: filter 0.5s ease, transform 0.6s ease;
}
.elementor img.e-image-base:hover,
.elementor a:hover img.e-image-base,
.elementor a:focus-visible img.e-image-base {
	filter: none !important;
}
.elementor .hs-step,
.elementor .hs-row {
	transition: background-color 0.35s ease, color 0.35s ease;
}
.elementor .hs-step:hover,
.elementor .hs-row:hover {
	background-color: var(--hs-ink) !important;
	color: var(--hs-paper) !important;
}
.elementor .hs-step:hover *,
.elementor .hs-row:hover * {
	color: var(--hs-paper) !important;
	border-color: #333333 !important;
}
@media (prefers-reduced-motion: reduce) {
	.elementor img.e-image-base, .elementor .hs-step, .elementor .hs-row { transition: none; }
}

.hsc-slot { display: block; width: 100%; flex: 1 1 100%; min-width: 0; }
