/* =============================================
   GALA TRINITARIOS 2026 · "Respira"
   Estilos acotados a .g26 para no pisar main.css
============================================= */
.g26 {
	--g26-azul: #203e77;
	--g26-azul-hondo: #172d59;
	--g26-rojo: #e73e40;
	--g26-rojo-texto: #d63638; /* variante con contraste AA sobre texto blanco */
	--g26-blanco: #f2f3f4;
	--g26-celeste: #618fc6;
	--g26-tinta: #1c2433;
	--g26-serif: "Roboto Slab", Georgia, serif;
	--g26-sans: "Figtree", "Helvetica Neue", Arial, sans-serif;

	font-family: var(--g26-sans);
	letter-spacing: 0;
	color: var(--g26-tinta);
}
.g26 *,
.g26 *::before,
.g26 *::after { box-sizing: border-box; }

.g26 a:focus-visible {
	outline: 3px solid var(--g26-celeste);
	outline-offset: 4px;
}

/* ---------- HERO ---------- */
.g26-hero {
	--mx: 72%; /* posición de la luz; la mueve el script de gala-home.php */
	--my: 40%;
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(70% 60% at 30% 115%, rgba(231, 62, 64, .18) 0%, rgba(231, 62, 64, 0) 70%),
		radial-gradient(60% 80% at 78% 45%, rgba(97, 143, 198, .35) 0%, rgba(97, 143, 198, 0) 70%),
		linear-gradient(180deg, var(--g26-azul-hondo) 0%, var(--g26-azul) 100%);
	color: #fff;
	min-height: min(82vh, 760px);
	display: flex;
	align-items: center;
	padding: 72px 0 150px;
}
.g26-hero .container { position: relative; z-index: 2; }

.g26-hero__star {
	position: absolute;
	z-index: 1;
	right: -8vw;
	top: 50%;
	width: min(68vw, 820px);
	aspect-ratio: 1;
	transform: translateY(-50%);
	pointer-events: none;
}
.g26-hero__star img {
	width: 100%;
	height: 100%;
	opacity: .14;
	animation: g26-respira 9s ease-in-out infinite;
	transform-origin: 50% 50%;
}
/* inhalar 4s · sostener · exhalar */
@keyframes g26-respira {
	0%, 100% { transform: scale(.94) rotate(0deg); opacity: .10; }
	45%      { transform: scale(1.04) rotate(4deg); opacity: .20; }
	55%      { transform: scale(1.04) rotate(4deg); opacity: .20; }
}

.g26-hero__logo {
	display: block;
	width: min(100%, 620px);
	height: auto;
	margin: 0 0 8px -4%; /* compensa el aire transparente del PNG */
}
.g26-hero__lead {
	font-family: var(--g26-serif);
	font-weight: 300;
	font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
	line-height: 1.4;
	color: #fff;
	max-width: 30ch;
	margin: 0 0 36px;
}
.g26-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.g26-btn {
	display: inline-flex;
	align-items: center;
	min-height: 52px;
	padding: 0 28px;
	border-radius: 999px;
	font-family: var(--g26-sans);
	font-weight: 700;
	font-size: 1.0625rem;
	line-height: 1;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.g26 .g26-btn--rojo {
	background: var(--g26-rojo-texto);
	color: #fff;
	border: 2px solid var(--g26-rojo-texto);
}
.g26 .g26-btn--rojo:hover { background: #bd2b2e; border-color: #bd2b2e; color: #fff; }
.g26 .g26-btn--linea {
	background: transparent;
	color: #fff;
	border: 2px solid rgba(255, 255, 255, .55);
}
.g26 .g26-btn--linea:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }

/* Luz que sigue al cursor */
.g26-hero__luz {
	position: absolute;
	z-index: 0;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(420px circle at var(--mx) var(--my), rgba(143, 180, 227, .28), rgba(143, 180, 227, 0) 70%);
}

/* Cielo: estrellas chicas que titilan, ubicadas por su centro */
.g26-hero__cielo {
	position: absolute;
	z-index: 1;
	inset: 0;
	pointer-events: none;
}
.g26-hero__cielo img {
	position: absolute;
	height: auto;
	aspect-ratio: 1;
	translate: -50% -50%;
	opacity: .2;
	animation: g26-titila 5s ease-in-out infinite;
}
@keyframes g26-titila {
	0%, 100% { opacity: .15; transform: scale(.85) rotate(0deg); }
	50%      { opacity: .7;  transform: scale(1.1) rotate(10deg); }
}
/* sobre la estrella grande, las chicas quedan más tenues */
.g26-hero__cielo img:nth-child(6),
.g26-hero__cielo img:nth-child(7),
.g26-hero__cielo img:nth-child(8) { animation-name: g26-titila-suave; }
@keyframes g26-titila-suave {
	0%, 100% { opacity: .1; transform: scale(.85) rotate(0deg); }
	50%      { opacity: .4; transform: scale(1.05) rotate(10deg); }
}

/* Constelación: trazos que se dibujan al cargar */
.g26-hero__constelacion {
	position: absolute;
	z-index: 1;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}
.g26-hero__constelacion polyline {
	fill: none;
	stroke: rgba(255, 255, 255, .22);
	stroke-width: 1;
	vector-effect: non-scaling-stroke;
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	animation: g26-traza 3.2s cubic-bezier(.6, 0, .2, 1) .6s forwards;
}
.g26-hero__constelacion polyline:nth-child(2) { animation-delay: 1.6s; }
.g26-hero__constelacion polyline:nth-child(3) { animation-delay: 2s; }
.g26-hero__constelacion polyline:nth-child(4) { animation-delay: 2.6s; }
@keyframes g26-traza { to { stroke-dashoffset: 0; } }

/* Marquesina de texto calado al pie */
.g26-hero__marquesina {
	position: absolute;
	z-index: 1;
	left: 0;
	right: 0;
	bottom: -.18em;
	overflow: hidden;
	pointer-events: none;
	font-family: var(--g26-serif);
	font-weight: 700;
	font-size: clamp(4rem, 2rem + 8vw, 9rem);
	line-height: 1;
	white-space: nowrap;
	color: transparent;
	-webkit-text-stroke: 1px rgba(255, 255, 255, .16);
}
.g26-hero__marquesina div {
	display: inline-flex;
	animation: g26-marquesina 60s linear infinite;
}
@keyframes g26-marquesina { to { transform: translateX(-50%); } }

/* Entrada escalonada del contenido */
.g26-hero .container > * { animation: g26-sube .9s cubic-bezier(.2, .7, .2, 1) both; }
.g26-hero .container > :nth-child(2) { animation-delay: .15s; }
.g26-hero .container > :nth-child(3) { animation-delay: .3s; }
@keyframes g26-sube {
	from { opacity: 0; transform: translateY(24px); filter: blur(6px); }
	to   { opacity: 1; transform: none; filter: none; }
}

/* ---------- INTRO + ACCESOS ---------- */
.g26-intro {
	background: var(--g26-blanco);
	padding: 88px 0 104px;
}
.g26-intro__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 24px 64px;
	align-items: end;
	margin-bottom: 56px;
}
.g26 .g26-intro__title {
	font-family: var(--g26-serif);
	font-weight: 700;
	font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
	line-height: 1.08;
	color: var(--g26-azul);
	margin: 0;
	text-wrap: balance;
}
.g26 .g26-intro__text {
	font-family: var(--g26-sans);
	font-size: 1.125rem;
	line-height: 1.6;
	color: #3b4556;
	max-width: 52ch;
	margin: 0;
}

/* Grilla asimétrica: Programa domina, Fotos y Transmisión acompañan */
.g26-accesos {
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	grid-template-rows: auto auto;
	gap: 20px;
}
.g26 .g26-acceso {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 240px;
	padding: 36px;
	border-radius: 28px;
	color: #fff;
	isolation: isolate;
}
.g26-acceso--programa {
	grid-row: span 2;
	min-height: 500px;
	background: var(--g26-azul);
}
.g26 .g26-acceso--fotos {
	background: #fff;
	color: var(--g26-azul);
	box-shadow: inset 0 0 0 2px rgba(32, 62, 119, .12);
}
.g26-acceso--transmision { background: var(--g26-rojo-texto); }

.g26-acceso__star {
	position: absolute;
	z-index: -1;
	width: 260px;
	height: 260px;
	right: -60px;
	top: -60px;
	opacity: .16;
	transition: transform .6s ease;
}
.g26-acceso--programa .g26-acceso__star {
	width: 520px;
	height: 520px;
	right: -140px;
	top: -120px;
	opacity: .12;
}
.g26-acceso--fotos .g26-acceso__star { opacity: .9; filter: none; }
.g26 .g26-acceso:hover .g26-acceso__star { transform: rotate(12deg) scale(1.04); }

.g26 .g26-acceso h2 {
	font-family: var(--g26-serif);
	font-weight: 700;
	font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
	line-height: 1.1;
	color: inherit;
	margin: 0 0 10px;
}
.g26 .g26-acceso--programa h2 { font-size: clamp(2.25rem, 1.6rem + 2.2vw, 3.5rem); }
.g26 .g26-acceso p {
	font-family: var(--g26-sans);
	font-size: 1.0625rem;
	line-height: 1.5;
	color: inherit;
	opacity: .92;
	max-width: 36ch;
	margin: 0 0 22px;
}
.g26-acceso__cta {
	font-weight: 700;
	font-size: 1rem;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
	text-decoration-color: rgba(255, 255, 255, .45);
	transition: text-decoration-color .2s ease;
}
.g26-acceso--fotos .g26-acceso__cta { text-decoration-color: var(--g26-celeste); }
.g26 .g26-acceso:hover .g26-acceso__cta { text-decoration-color: currentColor; }

/* =============================================
   PÁGINAS INTERIORES
============================================= */

/* ---------- Cabecera interior ---------- */
.g26-banner {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(50% 120% at 85% 50%, rgba(97, 143, 198, .3) 0%, rgba(97, 143, 198, 0) 70%),
		var(--g26-azul);
	color: #fff;
	padding: 64px 0 72px;
}
.g26-banner .container { position: relative; z-index: 2; }
.g26-banner__star {
	position: absolute;
	z-index: 1;
	width: 460px;
	height: 460px;
	right: -90px;
	top: 50%;
	transform: translateY(-50%) rotate(8deg);
	opacity: .13;
	pointer-events: none;
}
.g26 .g26-banner__back {
	display: inline-block;
	font-family: var(--g26-sans);
	font-weight: 600;
	font-size: .9375rem;
	color: rgba(255, 255, 255, .8);
	margin-bottom: 14px;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, .35);
	text-underline-offset: 5px;
}
.g26 .g26-banner__back:hover { color: #fff; text-decoration-color: #fff; }
.g26 .g26-banner__title {
	font-family: var(--g26-serif);
	font-weight: 700;
	font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem);
	line-height: 1.02;
	color: #fff;
	margin: 0;
}
.g26 .g26-banner__lead {
	font-family: var(--g26-serif);
	font-weight: 300;
	font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem);
	line-height: 1.45;
	color: #fff;
	opacity: .92;
	max-width: 40ch;
	margin: 16px 0 0;
}

/* ---------- Cuerpo interior ---------- */
.g26-body {
	background: var(--g26-blanco);
	padding: 72px 0 104px;
}
/* :where() deja la especificidad baja para que los <p> con clase propia (estrofas, datos) manden */
:where(.g26 .g26-body) p {
	font-family: var(--g26-sans);
	font-size: 1.0625rem;
	line-height: 1.6;
	color: #3b4556;
}

/* ---------- Programa ---------- */
.g26-bloque {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 32px 64px;
	padding: 48px 0;
	border-top: 2px solid rgba(32, 62, 119, .14);
}
.g26-bloque:first-child { border-top: 0; padding-top: 0; }
.g26 .g26-bloque__num {
	font-family: var(--g26-sans);
	font-weight: 700;
	font-size: 1rem;
	color: var(--g26-rojo-texto);
	margin: 0 0 10px;
}
.g26 .g26-bloque__title {
	font-family: var(--g26-serif);
	font-weight: 700;
	font-size: clamp(1.625rem, 1.3rem + 1.3vw, 2.375rem);
	line-height: 1.15;
	color: var(--g26-azul);
	margin: 0;
	text-wrap: balance;
}
.g26 .g26-bloque__head { position: sticky; top: 24px; align-self: start; background: transparent; width: auto; }

.g26-cuadro + .g26-cuadro { margin-top: 36px; }
.g26 .g26-cuadro__title {
	font-family: var(--g26-serif);
	font-weight: 700;
	font-size: 1.3125rem;
	line-height: 1.3;
	color: var(--g26-azul);
	margin: 0 0 4px;
}
.g26-nivel {
	display: block;
	font-family: var(--g26-sans);
	font-weight: 600;
	font-size: .9375rem;
	color: #5b6577;
}
.g26 .g26-cuadro__title .g26-nivel { margin-top: 2px; }

.g26-numeros {
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
	counter-reset: g26-num;
}
.g26-numeros > li {
	position: relative;
	padding: 14px 0 14px 52px;
	border-bottom: 1px solid rgba(32, 62, 119, .1);
	font-family: var(--g26-sans);
	font-size: 1.0625rem;
	line-height: 1.4;
	color: var(--g26-tinta);
	counter-increment: g26-num;
}
.g26-numeros > li::before {
	content: counter(g26-num);
	position: absolute;
	left: 0;
	top: 12px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #fff;
	box-shadow: inset 0 0 0 2px rgba(32, 62, 119, .18);
	color: var(--g26-azul);
	font-weight: 700;
	font-size: .9375rem;
	line-height: 34px;
	text-align: center;
}
.g26-numeros > li .g26-nivel { margin-top: 2px; }

/* Pausa entre bloques del programa: reemplaza el filete del bloque siguiente */
.g26 .g26-intervalo {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
	padding: 8px 0;
	font-family: var(--g26-sans);
	font-weight: 700;
	font-size: .875rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--g26-rojo-texto);
}
.g26-intervalo::before,
.g26-intervalo::after {
	content: "";
	flex: 1;
	height: 2px;
	background: rgba(32, 62, 119, .14);
}
.g26-intervalo + .g26-bloque { border-top: 0; }

/* ---------- Fotos ---------- */
.g26-galeria {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
.g26 .g26-foto {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 18px;
	aspect-ratio: 3 / 2;
	background: #dfe4ec;
}
.g26-foto--grande { grid-column: span 2; grid-row: span 2; }
.g26-foto img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s ease;
}
.g26 .g26-foto:hover img { transform: scale(1.04); }

/* ---------- Transmisión ---------- */
.g26-envivo {
	display: grid;
	grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
	gap: 40px;
	align-items: start;
}
.g26-video {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: 24px;
	overflow: hidden;
	background: var(--g26-azul-hondo);
	box-shadow: 0 24px 48px -24px rgba(23, 45, 89, .45);
}
.g26-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.g26 .g26-envivo__title {
	font-family: var(--g26-serif);
	font-weight: 700;
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
	line-height: 1.2;
	color: var(--g26-azul);
	margin: 0 0 14px;
	text-wrap: balance;
}
.g26 .g26-link {
	font-family: var(--g26-sans);
	font-weight: 700;
	color: var(--g26-azul);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-decoration-color: var(--g26-celeste);
	text-underline-offset: 6px;
}
.g26 .g26-link:hover { text-decoration-color: currentColor; color: var(--g26-azul); }

/* ---------- Ingreso ---------- */
.g26-ingreso {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: 40px;
	align-items: start;
}
.g26-lugar {
	background: #fff;
	border-radius: 24px;
	padding: 32px;
	box-shadow: inset 0 0 0 2px rgba(32, 62, 119, .1);
}
.g26 .g26-lugar__dato {
	font-family: var(--g26-serif);
	font-weight: 700;
	font-size: 1.375rem;
	line-height: 1.3;
	color: var(--g26-azul);
	margin: 0 0 6px;
}
.g26 .g26-lugar__dato + .g26-lugar__dato { margin-top: 18px; }
.g26 .g26-mapa {
	display: block;
	border-radius: 24px;
	overflow: hidden;
	background: #fff;
	box-shadow: inset 0 0 0 2px rgba(32, 62, 119, .1);
}
.g26-mapa img { display: block; width: 100%; height: auto; }
.g26 .g26-nota {
	font-size: .9375rem;
	color: #5b6577;
	margin: 12px 0 0;
}
.g26-ingreso-videos {
	margin-top: 72px;
	padding-top: 48px;
	border-top: 2px solid rgba(32, 62, 119, .14);
}
.g26 .g26-ingreso-videos__title {
	font-family: var(--g26-serif);
	font-weight: 700;
	font-size: clamp(1.625rem, 1.3rem + 1.3vw, 2.375rem);
	line-height: 1.15;
	color: var(--g26-azul);
	margin: 0 0 32px;
}
.g26-ingreso-videos__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px 32px;
}
.g26-ingreso-video { margin: 0; }
.g26-video video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.g26 .g26-ingreso-video__curso {
	font-family: var(--g26-serif);
	font-weight: 700;
	font-size: 1.3125rem;
	line-height: 1.3;
	color: var(--g26-azul);
	margin: 14px 0 0;
}

/* ---------- Canción ---------- */
.g26-letra {
	max-width: 34rem;
	margin: 0 auto;
}
.g26 .g26-estrofa {
	font-family: var(--g26-serif);
	font-weight: 400;
	font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem);
	line-height: 1.6;
	color: var(--g26-azul);
	margin: 0 0 1.4em;
}
.g26 .g26-estrofa:last-child { margin-bottom: 0; }
.g26-letra__star {
	display: block;
	width: 56px;
	height: 56px;
	margin: 56px auto 0;
	opacity: .9;
}

/* ---------- Fecha y lugar ---------- */
.g26-cita {
	position: relative;
	overflow: hidden;
	background: var(--g26-azul-hondo);
	color: #fff;
	padding: 56px 0;
}
.g26-cita__star {
	position: absolute;
	width: 360px;
	height: 360px;
	left: -120px;
	top: 50%;
	transform: translateY(-50%);
	opacity: .1;
	pointer-events: none;
}
.g26-cita__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px 64px;
	flex-wrap: wrap;
}
.g26 .g26-cita__fecha {
	font-family: var(--g26-serif);
	font-weight: 700;
	font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem);
	line-height: 1;
	color: #fff;
	margin: 0;
}
.g26 .g26-cita__fecha small {
	display: block;
	font-weight: 300;
	font-size: .45em;
	line-height: 1.2;
	margin-bottom: 8px;
	color: rgba(255, 255, 255, .8);
}
.g26 .g26-cita__fecha span {
	display: inline-block;
	margin-left: .35em;
	padding-left: .35em;
	border-left: 3px solid var(--g26-rojo);
	font-weight: 300;
}
.g26-cita__lugar { max-width: 26rem; }
.g26 .g26-cita__sala {
	font-family: var(--g26-serif);
	font-weight: 400;
	font-size: 1.375rem;
	line-height: 1.3;
	color: #fff;
	margin: 0 0 4px;
}
.g26 .g26-cita__ciudad {
	font-family: var(--g26-sans);
	font-size: 1rem;
	color: rgba(255, 255, 255, .75);
	margin: 0 0 14px;
}
.g26 .g26-cita__link {
	font-family: var(--g26-sans);
	font-weight: 700;
	color: #fff;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-decoration-color: var(--g26-rojo);
	text-underline-offset: 6px;
}
.g26 .g26-cita__link:hover { color: #fff; text-decoration-color: #fff; }

@media (max-width: 600px) {
	.g26-cita { padding: 44px 0; }
	.g26 .g26-cita__fecha span { display: block; margin: 10px 0 0; padding-left: 0; border-left: 0; }
}

/* ---------- Menú: link activo ---------- */
header .g26-nav .nav-link.is-active:not(.g26-nav__vivo) { color: #203e77; font-weight: 700; }

/* Opción A: subrayado rojo */
header .g26-nav--a .nav-link { position: relative; }
header .g26-nav--a .nav-link.is-active:not(.g26-nav__vivo)::after {
	content: "";
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 2px;
	height: 3px;
	border-radius: 3px;
	background: #e73e40;
}

/* Opción B: píldora azul */
header .g26-nav--b .nav-link { border-radius: 999px !important; }
header .g26-nav--b .nav-link.is-active:not(.g26-nav__vivo),
header .g26-nav--b .nav-link.is-active:not(.g26-nav__vivo):hover {
	background: #203e77;
	color: #fff;
}

/* Botón destacado "Ver en vivo" */
header .g26-nav .g26-nav__vivo,
header .g26-nav li.nav-item:last-child .g26-nav__vivo {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-left: 10px;
	padding: 9px 20px !important;
	border-radius: 999px !important;
	background: #d63638;
	color: #fff;
	font-weight: 700;
	box-shadow: 0 6px 16px -6px rgba(214, 54, 56, .55);
	transition: background-color .2s ease, box-shadow .2s ease;
}
header .g26-nav .g26-nav__vivo:hover,
header .g26-nav .g26-nav__vivo:focus-visible {
	background: #bd2b2e;
	color: #fff;
	box-shadow: 0 8px 20px -6px rgba(214, 54, 56, .7);
}
header .g26-nav .g26-nav__vivo:focus-visible { outline: 3px solid #618fc6; outline-offset: 3px; }
/* estando en la página de transmisión */
header .g26-nav .g26-nav__vivo.is-active {
	background: #bd2b2e;
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55);
}
.g26-nav__punto {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, .3);
	flex: none;
}

/* "Ver en vivo" en la barra mobile, entre el logo y el menú hamburguesa */
.g26-vivo-mobile { display: none; }

@media (max-width: 991px) {
	header .g26-nav--a .nav-link.is-active:not(.g26-nav__vivo)::after { left: 50%; right: auto; width: 32px; transform: translateX(-50%); }
	header .g26-nav--b .nav-link.is-active { display: inline-block; }
	header .g26-nav .nav-item { text-align: center; }
	/* ya está visible en la barra: no se repite dentro del menú */
	header .g26-nav .g26-nav__vivo-item { display: none; }

	header .g26-vivo-mobile {
		display: inline-flex;
		align-items: center;
		gap: 7px;
		flex: none;
		padding: 8px 14px;
		border-radius: 999px;
		background: #d63638;
		color: #fff;
		font-family: "Figtree", "Helvetica Neue", Arial, sans-serif;
		font-weight: 700;
		font-size: 14px;
		line-height: 1;
		white-space: nowrap;
		box-shadow: 0 6px 16px -6px rgba(214, 54, 56, .55);
	}
	header .g26-vivo-mobile:hover,
	header .g26-vivo-mobile:focus-visible { background: #bd2b2e; color: #fff; text-decoration: none; }
	header .g26-vivo-mobile:focus-visible { outline: 3px solid #618fc6; outline-offset: 3px; }
	header .g26-vivo-mobile.is-active { background: #bd2b2e; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55); }
	header .g26-vivo-mobile .g26-nav__punto { width: 7px; height: 7px; }
}
/* pantallas muy angostas: achica el logo para que entren los tres */
@media (max-width: 359px) {
	header .navbar .brand-mobile { width: 128px; }
	header .navbar .brand-mobile img { max-width: 100%; }
	header .g26-vivo-mobile { padding: 7px 11px; font-size: 13px; }
}

/* ---------- Footer: enlaces en el texto de los videos ---------- */
footer .social p a {
	display: inline;
	width: auto;
	height: auto;
	margin: 0;
	color: inherit;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, .45);
	text-underline-offset: 4px;
}
footer .social p a:hover,
footer .social p a:focus-visible { color: inherit; text-decoration-color: currentColor; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
	.g26-intro__head { grid-template-columns: 1fr; }
	.g26-bloque,
	.g26-envivo,
	.g26-ingreso { grid-template-columns: 1fr; }
	.g26 .g26-bloque__head { position: static; }
	.g26-galeria { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.g26-accesos { grid-template-columns: 1fr 1fr; }
	.g26-acceso--programa { grid-column: 1 / -1; grid-row: auto; min-height: 380px; }
}
/* En móvil main.css fija el header: se compensa su alto como hacía .main-slider */
@media (max-width: 767px) {
	.g26:not(.g26--franja) { padding-top: 68px; }
}
@media (max-width: 576px) {
	.g26:not(.g26--franja) { padding-top: 58px; }
}
@media (max-width: 600px) {
	.g26-hero { min-height: 0; padding: 48px 0 96px; }
	.g26-hero__star { width: 120vw; right: -50vw; top: 30%; }
	.g26-hero__actions .g26-btn { width: 100%; justify-content: center; }
	.g26-hero__cielo img:nth-child(n+9) { display: none; }
	/* los trazos pares usan estrellas que en mobile se ocultan */
	.g26-hero__constelacion polyline:nth-child(even) { display: none; }
	.g26-intro { padding: 56px 0 72px; }
	.g26-intro__head { margin-bottom: 36px; }
	.g26-accesos { grid-template-columns: 1fr; gap: 14px; }
	.g26 .g26-acceso { padding: 28px 24px; min-height: 200px; border-radius: 22px; }
	.g26-acceso--programa { min-height: 300px; }
	.g26-acceso--fotos .g26-acceso__star { width: 180px; height: 180px; right: -50px; top: -50px; opacity: .18; }
	.g26-banner { padding: 44px 0 52px; }
	.g26-banner__star { width: 280px; height: 280px; right: -110px; }
	.g26-body { padding: 48px 0 72px; }
	.g26-bloque { padding: 36px 0; gap: 20px; }
	.g26-galeria { grid-template-columns: 1fr; gap: 12px; }
	.g26-foto--grande { grid-column: auto; grid-row: auto; }
	.g26-video, .g26-mapa, .g26-lugar { border-radius: 18px; }
	.g26-lugar { padding: 24px; }
	.g26-ingreso-videos { margin-top: 48px; padding-top: 36px; }
	.g26-ingreso-videos__grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
	.g26-hero__star img { animation: none; opacity: .16; }
	.g26-hero__cielo img { animation: none; opacity: .35; }
	.g26-hero__marquesina div,
	.g26-hero .container > * { animation: none; }
	.g26-hero__constelacion polyline { animation: none; stroke-dashoffset: 0; }
	.g26-foto img,
	.g26-acceso__star,
	.g26-btn,
	.g26-acceso__cta { transition: none; }
}
