/**
 * Portada v2 — nangaritza_sitio_web_final_1.html
 */

.ngz-home {
	background: var(--ngz-crema);
}

/* ── Hero — layout equilibrado: foto protagonista + texto completo ── */
.ngz-home-hero {
	--ngz-hero-h: clamp(640px, 72vh, 720px);
	--ngz-hero-alcalde-h: clamp(480px, 58vh, 580px);
	--ngz-hero-pad-top: clamp(2rem, 4vh, 2.75rem);
	--ngz-hero-pad-bottom: clamp(2.5rem, 4.5vh, 3rem);
	position: relative;
	overflow: hidden;
	min-height: var(--ngz-hero-h);
	width: 100%;
	max-width: none;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-end;
	background: var(--ngz-selva);
}

.ngz-home-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		135deg,
		rgba(13, 33, 18, 0.85) 0%,
		rgba(13, 51, 32, 0.6) 50%,
		rgba(29, 94, 60, 0.4) 100%
	);
	pointer-events: none;
}

.ngz-home-hero__pattern {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image:
		radial-gradient(circle at 70% 40%, rgba(77, 184, 122, 0.15) 0%, transparent 55%),
		radial-gradient(circle at 15% 85%, rgba(168, 224, 99, 0.08) 0%, transparent 45%);
}

.ngz-home-hero__lines {
	display: none;
}

.ngz-home-hero__inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, min(560px, 46vw));
	gap: clamp(1.25rem, 2.5vw, 2.5rem);
	align-items: end;
	padding-block: var(--ngz-hero-pad-top, clamp(2rem, 4vh, 2.75rem)) var(--ngz-hero-pad-bottom, clamp(2.5rem, 4.5vh, 3rem));
	padding-inline: var(--ngz-gap);
	width: 100%;
	box-sizing: border-box;
}

.ngz-home-hero__content {
	align-self: center;
	max-width: 34rem;
}

.ngz-home-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(168, 224, 99, 0.12);
	border: 1px solid rgba(168, 224, 99, 0.3);
	border-radius: var(--ngz-radius-pill);
	padding: 6px 16px;
	font-size: 11.5px;
	color: var(--ngz-lima);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-bottom: 0.625rem;
}

.ngz-home-hero__eyebrow-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--ngz-lima);
	animation: ngz-blink 2s infinite;
}

@keyframes ngz-blink {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.4; transform: scale(0.7); }
}

.ngz-home-hero__title {
	font-family: var(--ngz-font-serif);
	font-size: clamp(1.5rem, 3.2vw, 2.125rem);
	font-weight: 700;
	color: var(--ngz-blanco);
	line-height: 1.12;
	margin-bottom: 0.5rem;
	letter-spacing: -0.01em;
}

.ngz-home-hero__title em {
	font-style: italic;
	color: var(--ngz-lima);
}

.ngz-home-hero__title strong {
	color: var(--ngz-dorado-2);
}

.ngz-home-hero__desc {
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.88);
	line-height: 1.6;
	margin-bottom: 0.875rem;
	max-width: 28rem;
}

.ngz-home-hero__actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

.ngz-home-hero__stats {
	display: flex;
	gap: 0;
	margin-top: 1rem;
	padding-top: 0.875rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	flex-wrap: wrap;
}

.ngz-home-hero__stats > div {
	flex: 1;
	min-width: 100px;
	padding-right: 24px;
	border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.ngz-home-hero__stats > div:last-child {
	border-right: none;
	padding-right: 0;
	padding-left: 24px;
}

.ngz-home-hero__stats > div:not(:first-child):not(:last-child) {
	padding: 0 24px;
}

.ngz-home-hero__stat-num {
	font-family: var(--ngz-font-serif);
	font-size: 38px;
	font-weight: 900;
	color: var(--ngz-dorado-2);
	display: block;
	line-height: 1;
}

.ngz-home-hero__stat-lbl {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.4);
	text-transform: uppercase;
	letter-spacing: 0.07em;
	margin-top: 4px;
	display: block;
}

.ngz-home-hero__card {
	background: var(--ngz-glass);
	border: 1px solid var(--ngz-glass-border);
	border-radius: 24px;
	padding: 28px;
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	transition: transform var(--ngz-duration-slow) ease;
}

.ngz-home-hero__card:hover {
	transform: translateY(-4px);
}

.ngz-home-hero__card-label {
	font-size: 10px;
	color: var(--ngz-dorado-2);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 18px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.ngz-home-hero__card-label::after {
	content: '';
	flex: 1;
	height: 1px;
	background: rgba(240, 165, 0, 0.2);
}

.ngz-home-hero__alcalde-foto {
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: var(--ngz-verde-2);
	border: 3px solid var(--ngz-dorado-2);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--ngz-font-serif);
	font-size: 22px;
	color: var(--ngz-dorado-2);
	font-weight: 900;
	margin-bottom: 14px;
}

.ngz-home-hero__alcalde-nombre {
	font-family: var(--ngz-font-serif);
	font-size: 22px;
	color: var(--ngz-blanco);
	font-weight: 700;
	margin-bottom: 3px;
}

.ngz-home-hero__alcalde-cargo {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.45);
	margin-bottom: 22px;
}

.ngz-home-hero__logro {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ngz-home-hero__logro:last-child {
	border-bottom: none;
}

.ngz-home-hero__logro-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ngz-dorado);
	flex-shrink: 0;
	margin-top: 4px;
}

.ngz-home-hero__logro-text {
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.65);
	line-height: 1.4;
	flex: 1;
}

.ngz-home-hero__logro-amount {
	font-size: 13px;
	color: var(--ngz-dorado-2);
	font-weight: 600;
	white-space: nowrap;
	margin-left: 8px;
}

/* ── Accesos (dock pegado al hero) ── */
.ngz-home-hero {
	margin-bottom: 0;
}

.ngz-home-accesos--dock {
	width: 100%;
	margin-top: 0;
	padding-top: 3px;
	background: #121a14;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	position: relative;
	z-index: 4;
}

.ngz-home-accesos--dock::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--ngz-verde-2) 0%, var(--ngz-dorado) 50%, #c0392b 100%);
}

.ngz-home-accesos__strip {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	width: 100%;
	max-width: var(--ngz-container-max, 1280px);
	margin: 0 auto;
	padding-inline: clamp(0.5rem, 2vw, 1.5rem);
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.ngz-home-accesos__strip::-webkit-scrollbar {
	display: none;
}

.ngz-home-acceso {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 12px;
	text-decoration: none;
	border-right: 1px solid rgba(255, 255, 255, 0.08);
	transition: background var(--ngz-duration-fast), color var(--ngz-duration-fast);
	color: rgba(255, 255, 255, 0.72);
}

.ngz-home-acceso:last-child {
	border-right: none;
}

.ngz-home-acceso:hover,
.ngz-home-acceso:focus-visible {
	background: rgba(255, 255, 255, 0.06);
	color: var(--ngz-blanco);
	outline: none;
}

.ngz-home-acceso__mark {
	width: 4px;
	height: 18px;
	border-radius: 2px;
	flex-shrink: 0;
	background: var(--ngz-verde-3);
}

.ngz-home-acceso:nth-child(1) .ngz-home-acceso__mark { background: var(--ngz-verde-3); }
.ngz-home-acceso:nth-child(2) .ngz-home-acceso__mark { background: var(--ngz-dorado); }
.ngz-home-acceso:nth-child(3) .ngz-home-acceso__mark { background: #3d9ec4; }
.ngz-home-acceso:nth-child(4) .ngz-home-acceso__mark { background: #e85d7a; }
.ngz-home-acceso:nth-child(5) .ngz-home-acceso__mark { background: var(--ngz-lima); }
.ngz-home-acceso:nth-child(6) .ngz-home-acceso__mark { background: rgba(255, 255, 255, 0.45); }
.ngz-home-acceso:nth-child(n + 7) .ngz-home-acceso__mark { background: var(--ngz-verde-2); }

.ngz-home-acceso__lbl {
	font-size: 11.5px;
	font-weight: 500;
	line-height: 1.25;
	text-align: center;
	letter-spacing: 0.02em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ── Secciones ── */
.ngz-home-section {
	padding-block: var(--ngz-section-y);
	width: 100%;
}

.ngz-home-section--crema {
	background: var(--ngz-crema);
}

.ngz-home-section__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 2.5rem;
	flex-wrap: wrap;
}

.ngz-home-section__tag {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--ngz-verde-2);
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}

.ngz-home-section__tag::before {
	content: '';
	width: 24px;
	height: 2px;
	background: var(--ngz-verde-2);
	border-radius: 2px;
}

.ngz-home-section__title {
	font-family: var(--ngz-font-serif);
	font-size: clamp(1.75rem, 4vw, 2.375rem);
	font-weight: 900;
	color: var(--ngz-selva);
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.ngz-home-section__title em {
	font-style: italic;
	color: var(--ngz-verde-2);
}

.ngz-home-section__link {
	font-size: 13px;
	color: var(--ngz-verde-2);
	text-decoration: none;
	font-weight: 600;
	white-space: nowrap;
	transition: gap var(--ngz-duration-fast);
}

.ngz-home-section__link:hover {
	text-decoration: underline;
}

/* Transparencia — texto claro sobre fondo blanco (guidelines v3) */
.ngz-home-trans .ngz-home-section__title em {
	color: var(--ngz-verde);
}

.ngz-home-trans .ngz-home-section__link {
	color: var(--ngz-verde);
}

/* ── Sala de prensa (Facebook) ── */
.ngz-home-sala-prensa__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	align-items: start;
}

.ngz-home-sala-prensa__video-title {
	margin: 0 0 12px;
	font-family: var(--ngz-font-sans);
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--ngz-verde-900);
	line-height: 1.35;
}

.ngz-home-sala-prensa__embed {
	width: 100%;
	min-width: 0;
	border-radius: 16px;
	overflow: hidden;
	background: var(--ngz-blanco);
	border: 1px solid rgba(13, 51, 32, 0.08);
	box-shadow: 0 8px 24px rgba(13, 33, 18, 0.06);
}

.ngz-home-sala-prensa__embed--video {
	display: flex;
	justify-content: center;
	min-height: 420px;
}

.ngz-home-sala-prensa__embed--video iframe {
	display: block;
	max-width: 100%;
}

.ngz-home-sala-prensa__embed--feed {
	min-height: 420px;
}

.ngz-home-sala-prensa__embed--feed iframe {
	display: block;
	width: 100%;
	max-width: 100%;
}

.ngz-home-sala-prensa__embed--feed .cff-wrapper,
.ngz-home-sala-prensa__embed--feed #cff {
	max-width: 100%;
}

/* ── Videos institucionales (galería horizontal) ── */
.ngz-home-videos {
	--ngz-videos-h-size: clamp(200px, 22vw, 260px);
	--ngz-videos-v-width: clamp(168px, 15vw, 220px);
	position: relative;
	overflow: hidden;
}

.ngz-home-videos .ngz-home-hero__pattern {
	opacity: 0.06;
}

.ngz-home-videos .ngz-home-hero__overlay {
	background: linear-gradient(
		100deg,
		rgba(20, 20, 20, 0.9) 0%,
		rgba(20, 20, 20, 0.82) 40%,
		rgba(20, 20, 20, 0.45) 65%,
		rgba(20, 20, 20, 0.08) 100%
	);
}

.ngz-home-videos > .ngz-container {
	position: relative;
	z-index: 2;
}

.ngz-home-videos .ngz-home-section__header {
	position: relative;
	z-index: 3;
}

.ngz-home-videos .ngz-home-section__tag {
	color: var(--ngz-lima);
}

.ngz-home-videos .ngz-home-section__tag::before {
	background: var(--ngz-lima);
}

.ngz-home-videos .ngz-home-section__title,
.ngz-home-videos h2.ngz-home-section__title {
	color: var(--ngz-blanco);
	text-shadow:
		0 2px 4px rgba(0, 0, 0, 0.55),
		0 4px 16px rgba(0, 0, 0, 0.4);
}

.ngz-home-videos .ngz-home-section__title em {
	color: var(--ngz-dorado-2);
}

.ngz-home-videos .ngz-home-section__link {
	color: var(--ngz-dorado-2);
}

.ngz-home-videos__scroller {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 12px;
	align-items: center;
}

.ngz-home-videos__viewport {
	overflow-x: auto;
	overflow-y: hidden;
	min-width: 0;
	scroll-snap-type: x proximity;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
	padding-block: 4px 8px;
}

.ngz-home-videos__viewport:focus-visible {
	outline: 2px solid var(--ngz-verde-600);
	outline-offset: 4px;
}

.ngz-home-videos__viewport::-webkit-scrollbar {
	height: 6px;
}

.ngz-home-videos__viewport::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.24);
}

.ngz-home-videos__track {
	display: flex;
	align-items: center;
	gap: 18px;
	padding-inline: 2px;
}

.ngz-home-videos__item {
	flex: 0 0 auto;
	scroll-snap-align: center;
	width: calc(var(--ngz-videos-h-size) * 16 / 9);
	max-width: min(420px, 78vw);
}

.ngz-home-videos__item--vertical {
	width: var(--ngz-videos-v-width);
	max-width: min(240px, 52vw);
}

.ngz-home-videos__card {
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: 18px;
	overflow: hidden;
	background: var(--ngz-blanco);
	border: 1px solid rgba(13, 51, 32, 0.08);
	box-shadow: 0 10px 28px rgba(13, 33, 18, 0.06);
	transition: transform var(--ngz-duration-slow), box-shadow var(--ngz-duration-slow);
}

.ngz-home-videos__card:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 36px rgba(13, 33, 18, 0.1);
}

.ngz-home-videos__media {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: var(--ngz-videos-h-size);
	border-radius: 18px 18px 0 0;
	background: #0d3320;
}

.ngz-home-videos__item--vertical .ngz-home-videos__media {
	height: auto;
	aspect-ratio: 9 / 16;
	max-height: min(420px, 52vh);
}

.ngz-home-videos__thumb {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	cursor: pointer;
	background: linear-gradient(160deg, #0d3320 0%, #2d8c56 100%);
	background-size: cover;
	background-position: center;
	appearance: none;
}

.ngz-home-videos__thumb--static {
	cursor: default;
}

.ngz-home-videos__thumb--facebook {
	background-color: #1877f2;
}

.ngz-home-videos__thumb::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(13, 33, 18, 0.05) 40%, rgba(13, 33, 18, 0.42) 100%);
	pointer-events: none;
}

.ngz-home-videos__play {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 52px;
	height: 52px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--ngz-verde-900);
	font-size: 1.1rem;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
	pointer-events: none;
	z-index: 1;
}

.ngz-home-videos__provider {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(13, 33, 18, 0.72);
	color: var(--ngz-blanco);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	pointer-events: none;
}

.ngz-home-videos__body {
	padding: 14px 16px 16px;
}

.ngz-home-videos__title {
	margin: 0 0 6px;
	font-family: var(--ngz-font-sans);
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.35;
}

.ngz-home-videos__title a {
	color: var(--ngz-verde-900);
	text-decoration: none;
}

.ngz-home-videos__title a:hover {
	color: var(--ngz-verde-600);
}

.ngz-home-videos__excerpt {
	margin: 0;
	font-size: 0.85rem;
	line-height: 1.45;
	color: rgba(13, 51, 32, 0.72);
}

.ngz-home-videos__nav {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: var(--ngz-blanco);
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	transition: background var(--ngz-duration-fast), border-color var(--ngz-duration-fast);
}

.ngz-home-videos__nav:hover:not(:disabled) {
	background: rgba(255, 255, 255, 0.16);
	border-color: rgba(245, 200, 0, 0.45);
}

.ngz-home-videos__nav:disabled {
	opacity: 0.35;
	cursor: default;
}

.ngz-home-videos__empty {
	margin: 0;
	padding: 1.5rem;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.72);
	text-align: center;
}

.ngz-home-videos__card-wrap {
	position: relative;
	height: 100%;
}

.ngz-home-videos__card-actions {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
	display: flex;
	gap: 6px;
}

.ngz-home-videos__card-btn {
	padding: 0.35rem 0.65rem;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.95);
	color: var(--ngz-verde-900);
	font-size: 0.75rem;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.ngz-home-videos__card-btn:hover {
	background: var(--ngz-blanco);
}

.ngz-home-videos__card-btn--danger {
	background: rgba(180, 35, 35, 0.92);
	color: var(--ngz-blanco);
}

.ngz-home-videos__card-btn--danger:hover {
	background: rgba(150, 28, 28, 0.98);
}

.ngz-doc-admin-bar--videos {
	margin-bottom: 1.25rem;
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.14);
}

.ngz-doc-admin-bar--videos .ngz-doc-admin-bar__label {
	color: rgba(255, 255, 255, 0.88);
}

/* Modal de reproducción (portada) */
.ngz-video-player-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	padding: 1rem;
}

.ngz-video-player-modal[hidden] {
	display: none !important;
}

.ngz-video-player-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(13, 33, 18, 0.72);
}

.ngz-video-player-modal__dialog {
	position: relative;
	width: min(100%, var(--ngz-player-dialog-max, 920px));
	max-height: calc(100vh - 2rem);
	overflow: auto;
	border-radius: 1.25rem;
	background: var(--ngz-blanco);
	box-shadow: 0 24px 64px rgba(13, 33, 18, 0.28);
}

.ngz-video-player-modal__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.125rem 0.75rem;
	border-bottom: 1px solid rgba(13, 51, 32, 0.08);
}

.ngz-video-player-modal__title {
	margin: 0;
	font-family: var(--ngz-font-serif);
	font-size: 1.15rem;
	line-height: 1.35;
	color: var(--ngz-verde-900);
}

.ngz-video-player-modal__close {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border: 0;
	border-radius: 999px;
	background: rgba(45, 140, 86, 0.08);
	color: var(--ngz-verde-900);
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.ngz-video-player-modal__close:hover {
	background: rgba(45, 140, 86, 0.16);
}

.ngz-video-player-modal__stage {
	background: #0d3320;
	line-height: 0;
}

.ngz-video-player-modal__stage .ngz-video-embed {
	width: 100%;
	aspect-ratio: var(--ngz-player-aspect, 16 / 9);
	max-height: min(calc(100vh - 11rem), 720px);
	margin-inline: auto;
}

.ngz-video-player-modal.is-vertical .ngz-video-player-modal__stage .ngz-video-embed {
	max-width: min(100%, 380px);
}

.ngz-video-player-modal__stage .ngz-video-embed iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.ngz-video-player-modal__footer {
	padding: 0.75rem 1.125rem 1rem;
	text-align: right;
}

.ngz-video-player-modal__link {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--ngz-verde-600);
	text-decoration: none;
}

.ngz-video-player-modal__link:hover {
	text-decoration: underline;
}

body.ngz-doc-modal-open {
	overflow: hidden;
}

.ngz-video-thumb-picker__preview {
	position: relative;
	margin-bottom: 0.75rem;
	width: fit-content;
}

.ngz-video-thumb-picker__preview img {
	display: block;
	max-width: 220px;
	max-height: 280px;
	width: auto;
	height: auto;
	border-radius: 12px;
	object-fit: contain;
}

.ngz-video-thumb-picker__preview.is-uploading img {
	opacity: 0.55;
}

.ngz-video-thumb-picker__uploading {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	padding: 0.75rem;
	border-radius: 12px;
	background: rgba(13, 33, 18, 0.62);
	color: #fff;
	text-align: center;
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.35;
	pointer-events: none;
}

.ngz-video-thumb-picker__uploading[hidden] {
	display: none !important;
}

.ngz-video-thumb-picker__uploading-spinner {
	width: 1.35rem;
	height: 1.35rem;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: ngz-thumb-upload-spin 0.75s linear infinite;
}

@keyframes ngz-thumb-upload-spin {
	to {
		transform: rotate(360deg);
	}
}

.ngz-video-thumb-picker__paste.is-uploading {
	border-color: rgba(45, 140, 86, 0.55);
	background: rgba(45, 140, 86, 0.12);
	color: var(--ngz-verde-900);
	font-weight: 600;
	pointer-events: none;
}

.ngz-video-thumb-picker__actions {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.ngz-video-thumb-picker__paste {
	margin-top: 0.65rem;
	padding: 0.65rem 0.85rem;
	border: 1px dashed rgba(13, 51, 32, 0.28);
	border-radius: 10px;
	background: rgba(45, 140, 86, 0.04);
	color: rgba(13, 51, 32, 0.72);
	font-size: 0.82rem;
	line-height: 1.4;
	cursor: pointer;
	transition: border-color var(--ngz-duration-fast), background var(--ngz-duration-fast);
}

.ngz-video-thumb-picker__paste:hover,
.ngz-video-thumb-picker__paste:focus,
.ngz-video-thumb-picker__paste.is-active {
	border-color: rgba(45, 140, 86, 0.45);
	background: rgba(45, 140, 86, 0.08);
	outline: none;
}

.ngz-video-thumb-picker__paste:focus-visible {
	outline: 2px solid var(--ngz-verde-600);
	outline-offset: 2px;
}

.ngz-doc-modal__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.ngz-doc-modal__footer-main {
	display: flex;
	gap: 0.5rem;
	margin-left: auto;
}

/* ── Noticias ── */
.ngz-home-noticias__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	gap: 24px;
	align-items: stretch;
}

.ngz-home-noticia-featured {
	border-radius: 20px;
	overflow: hidden;
	position: relative;
	min-height: 420px;
	height: 100%;
}

.ngz-home-noticia-featured__link {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 420px;
	text-decoration: none;
	transition: transform var(--ngz-duration-slow);
}

.ngz-home-noticia-featured__link:hover {
	transform: translateY(-5px);
}

.ngz-home-noticia-featured__bg {
	position: absolute;
	inset: 0;
	background: linear-gradient(160deg, #0d3320 0%, #1a5c38 40%, #2d8c56 100%);
}

.ngz-home-noticia-featured__bg::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		to top,
		rgba(13, 33, 18, 0.82) 0%,
		rgba(13, 33, 18, 0.35) 32%,
		transparent 58%
	);
	pointer-events: none;
}

.ngz-home-noticia-featured__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 1;
	position: relative;
	z-index: 0;
	transition: opacity var(--ngz-duration-slow), transform var(--ngz-duration-slow);
}

.ngz-home-noticia-featured__link:hover .ngz-home-noticia-featured__img {
	transform: scale(1.02);
}

.ngz-home-noticia-featured.is-updating .ngz-home-noticia-featured__img,
.ngz-home-noticia-featured.is-updating .ngz-home-noticia-featured__overlay {
	opacity: 0.85;
}

.ngz-home-noticia-featured.is-updating .ngz-home-noticia-featured__overlay {
	transition: opacity var(--ngz-duration-fast);
}

.ngz-home-noticia-featured__overlay {
	position: relative;
	z-index: 2;
	padding: 28px;
}

.ngz-home-noticia-featured__cat {
	display: inline-block;
	background: var(--ngz-dorado);
	color: var(--ngz-blanco);
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	padding: 4px 12px;
	border-radius: var(--ngz-radius-pill);
	margin-bottom: 12px;
}

.ngz-home-noticia-featured h3 {
	font-family: var(--ngz-font-serif);
	font-size: 24px;
	color: var(--ngz-blanco);
	line-height: 1.3;
	margin-bottom: 10px;
	font-weight: 700;
}

.ngz-home-noticia-featured__meta {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.45);
}

.ngz-home-noticias__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
	align-self: start;
}

.ngz-home-noticias__list.is-scrollable {
	align-self: stretch;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding-right: 6px;
	scrollbar-width: thin;
	scrollbar-color: rgba(45, 140, 86, 0.45) transparent;
}

.ngz-home-noticias__list.is-scrollable::-webkit-scrollbar {
	width: 6px;
}

.ngz-home-noticias__list.is-scrollable::-webkit-scrollbar-thumb {
	background: rgba(45, 140, 86, 0.45);
	border-radius: 999px;
}

.ngz-home-noticia-card {
	background: var(--ngz-blanco);
	border-radius: var(--ngz-radius-lg);
	padding: 16px;
	display: flex;
	gap: 14px;
	border: 1px solid rgba(13, 51, 32, 0.06);
	position: relative;
	overflow: hidden;
	flex-shrink: 0;
	min-width: 0;
	transition: background var(--ngz-duration), border-color var(--ngz-duration), box-shadow var(--ngz-duration), padding-left var(--ngz-duration);
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

.ngz-home-noticia-card::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--ngz-verde-3);
	transform: scaleY(0);
	transform-origin: bottom;
	transition: transform var(--ngz-duration);
	border-radius: 0 3px 3px 0;
}

.ngz-home-noticia-card:hover,
.ngz-home-noticia-card.is-active,
.ngz-home-noticia-card:focus-visible {
	padding-left: 22px;
	border-color: rgba(45, 140, 86, 0.2);
}

.ngz-home-noticia-card:hover::before,
.ngz-home-noticia-card.is-active::before,
.ngz-home-noticia-card:focus-visible::before {
	transform: scaleY(1);
}

.ngz-home-noticia-card.is-active {
	background: rgba(45, 140, 86, 0.04);
	box-shadow: 0 8px 24px rgba(13, 51, 32, 0.06);
}

.ngz-home-noticia-card__thumb {
	flex-shrink: 0;
	width: 96px;
	height: 76px;
	border-radius: var(--ngz-radius-md);
	overflow: hidden;
	background: linear-gradient(135deg, rgba(45, 140, 86, 0.12), rgba(13, 51, 32, 0.06));
	display: block;
	position: relative;
	text-decoration: none;
}

.ngz-home-noticia-card__thumb::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(45, 140, 86, 0.16);
	pointer-events: none;
	transition: background var(--ngz-duration);
}

.ngz-home-noticia-card:hover .ngz-home-noticia-card__thumb::after,
.ngz-home-noticia-card.is-active .ngz-home-noticia-card__thumb::after,
.ngz-home-noticia-card:focus-visible .ngz-home-noticia-card__thumb::after {
	background: rgba(45, 140, 86, 0.24);
}

.ngz-home-noticia-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	position: relative;
	z-index: 0;
}

.ngz-home-noticia-card__cat {
	font-size: 10px;
	color: var(--ngz-dorado);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 5px;
}

.ngz-home-noticia-card__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ngz-home-noticia-card__title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	margin-bottom: 6px;
	color: var(--ngz-texto);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.ngz-home-noticia-card:hover .ngz-home-noticia-card__title,
.ngz-home-noticia-card.is-active .ngz-home-noticia-card__title {
	color: var(--ngz-verde-1);
}

.ngz-home-noticia-card__date {
	font-size: 11.5px;
	color: var(--ngz-suave);
}

/* ── Transparencia (fondo blanco + flip cards guidelines v3) ── */
.ngz-home-trans {
	background: var(--ngz-blanco);
	border-top: 1px solid var(--ngz-gris-d);
	border-bottom: 1px solid var(--ngz-gris-d);
	width: 100%;
}

.ngz-home-trans__layout {
	display: grid;
	grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: start;
}

.ngz-home-trans__intro-col .ngz-home-section__tag {
	margin-bottom: 8px;
}

.ngz-home-trans__intro-col .ngz-home-section__title {
	margin: 0 0 0.75rem;
}

.ngz-home-trans__intro {
	max-width: none;
	margin: 0;
}

.ngz-home-trans__intro p {
	color: var(--ngz-gris-t);
	line-height: 1.75;
	margin: 0 0 1.25rem;
	font-size: 0.875rem;
	font-weight: 300;
}

.ngz-home-trans__intro .ngz-btn {
	margin-bottom: 0.75rem;
}

.ngz-home-trans__badge {
	margin-top: 0.625rem;
	font-size: 0.6875rem;
	font-weight: 600;
	color: var(--ngz-verde);
	background: var(--ngz-verde-p);
	border-radius: 4px;
	padding: 4px 10px;
	display: inline-flex;
	align-items: center;
	border: 0;
}

.ngz-home-trans__cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

.ngz-flip-card {
	height: 178px;
	perspective: 1000px;
	cursor: pointer;
}

.ngz-flip-inner {
	position: relative;
	width: 100%;
	height: 100%;
	transition: transform 0.5s var(--ngz-ease);
	transform-style: preserve-3d;
}

.ngz-flip-card:hover .ngz-flip-inner,
.ngz-flip-card:focus-within .ngz-flip-inner {
	transform: rotateY(180deg);
}

.ngz-flip-front,
.ngz-flip-back {
	position: absolute;
	inset: 0;
	border-radius: var(--ngz-radius-md);
	backface-visibility: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 16px 12px;
	text-decoration: none;
	color: inherit;
	overflow: hidden;
}

.ngz-flip-front {
	background: var(--ngz-blanco);
	border: 1px solid var(--ngz-gris-d);
}

.ngz-flip-front::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--ngz-amarillo);
}

.ngz-flip-back {
	background: var(--ngz-negro);
	border: 1px solid var(--ngz-negro);
	transform: rotateY(180deg);
	cursor: pointer;
}

.ngz-flip-back:hover,
.ngz-flip-back:focus-visible {
	border-color: var(--ngz-verde);
	outline: none;
}

.ngz-flip-back::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--ngz-amarillo), var(--ngz-verde));
}

.ngz-flip-title {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--ngz-texto);
	line-height: 1.35;
}

.ngz-flip-ref {
	font-size: 10px;
	color: var(--ngz-verde);
	margin-top: 4px;
	font-weight: 600;
	display: block;
}

.ngz-flip-count {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid var(--ngz-gris-e);
	width: 100%;
}

.ngz-flip-count__num {
	font-family: var(--ngz-font-serif);
	font-size: 1.375rem;
	font-weight: 700;
	line-height: 1;
	color: var(--ngz-verde);
}

.ngz-flip-count__label {
	font-size: 10px;
	font-weight: 600;
	color: var(--ngz-gris-t);
	text-transform: lowercase;
}

.ngz-flip-back-meta {
	margin: 0 0 8px;
	font-size: 10px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.55);
}

.ngz-flip-back-title {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--ngz-amarillo);
	margin-bottom: 7px;
}

.ngz-flip-back-items {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: left;
	width: 100%;
}

.ngz-flip-back-items li {
	font-size: 10.5px;
	color: rgba(255, 255, 255, 0.65);
	padding: 2.5px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	display: flex;
	align-items: center;
	gap: 4px;
}

.ngz-flip-back-items li::before {
	content: '›';
	color: var(--ngz-amarillo);
	font-weight: 700;
	flex-shrink: 0;
}

.ngz-flip-back-items li:last-child {
	border-bottom: none;
}

.ngz-flip-back-cta {
	display: block;
	margin-top: auto;
	padding-top: 8px;
	font-size: 10px;
	font-weight: 700;
	color: var(--ngz-verde);
	letter-spacing: 0.02em;
}

.ngz-flip-back:hover .ngz-flip-back-cta,
.ngz-flip-back:focus-visible .ngz-flip-back-cta {
	color: var(--ngz-amarillo);
}

/* ── Parroquias gradient cards ── */
.ngz-home-parroquias {
	background: var(--ngz-blanco);
	border-top: 1px solid var(--ngz-gris-d);
	width: 100%;
	position: relative;
	overflow: hidden;
}

.ngz-home-parroquias::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(circle at 12% 18%, rgba(45, 122, 58, 0.06) 0%, transparent 42%),
		radial-gradient(circle at 88% 72%, rgba(245, 200, 0, 0.05) 0%, transparent 40%);
	pointer-events: none;
	z-index: 0;
}

.ngz-home-parroquias > .ngz-container {
	position: relative;
	z-index: 2;
}

.ngz-home-parroquias .ngz-home-section__header {
	position: relative;
	z-index: 1;
}

.ngz-home-parroquias__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.ngz-home-parroquia {
	border-radius: 20px;
	overflow: hidden;
	text-decoration: none;
	transition: all var(--ngz-duration-slow);
	position: relative;
	min-height: 260px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	border: 1px solid rgba(13, 51, 32, 0.08);
}

.ngz-home-parroquia:hover {
	transform: translateY(-6px);
	box-shadow: var(--ngz-shadow-card-hover);
}

.ngz-home-parroquia__bg {
	position: absolute;
	inset: 0;
	transition: transform 0.4s ease;
}

.ngz-home-parroquia:hover .ngz-home-parroquia__bg {
	transform: scale(1.06);
}

.ngz-home-parroquia__bg--guayzimi {
	background: linear-gradient(160deg, #0d4a25 0%, #1a7a45 50%, #2daa60 100%);
}

.ngz-home-parroquia__bg--zurmi {
	background: linear-gradient(160deg, #1a3d2b 0%, #2d6644 50%, #4a9465 100%);
}

.ngz-home-parroquia__bg--paraiso {
	background: linear-gradient(160deg, #0d3320 0%, #1a5c38 50%, #3d8c5a 100%);
}

.ngz-home-parroquia__bg--nankais {
	background: linear-gradient(160deg, #1f3a0d 0%, #3a6612 50%, #5a9420 100%);
}

.ngz-home-parroquia__bg--default {
	background: linear-gradient(160deg, #0d3320 0%, #1a5c38 50%, #2d8c56 100%);
}

.ngz-home-parroquia__bg--image {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.ngz-home-parroquia__bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 60%);
}

.ngz-home-parroquia__icon {
	position: absolute;
	top: 20px;
	left: 20px;
	font-size: 40px;
	opacity: 0.3;
	z-index: 1;
	transition: opacity var(--ngz-duration-slow);
}

.ngz-home-parroquia:hover .ngz-home-parroquia__icon {
	opacity: 0.5;
}

.ngz-home-parroquia__body {
	position: relative;
	z-index: 2;
	padding: 20px;
}

.ngz-home-parroquia__name {
	font-family: var(--ngz-font-serif);
	font-size: 20px;
	color: var(--ngz-blanco);
	font-weight: 700;
	margin-bottom: 5px;
	display: block;
}

.ngz-home-parroquia__desc {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.55);
	line-height: 1.5;
	margin-bottom: 12px;
	display: block;
}

.ngz-home-parroquia__link {
	font-size: 12px;
	color: var(--ngz-lima);
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: gap var(--ngz-duration-fast);
}

.ngz-home-parroquia:hover .ngz-home-parroquia__link {
	gap: 10px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
	.ngz-home-hero {
		--ngz-hero-h: auto;
		--ngz-hero-alcalde-h: clamp(220px, 52vw, 380px);
		--ngz-hero-pad-top: 1.5rem;
		--ngz-hero-pad-bottom: 3rem;
		min-height: auto;
		justify-content: flex-start;
	}

	.ngz-home-hero--editable {
		--ngz-hero-pad-top: 0.5rem;
	}

	.ngz-home-hero__inner {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto auto;
		gap: 1.25rem;
		align-items: stretch;
		padding-block: var(--ngz-hero-pad-top) var(--ngz-hero-pad-bottom);
		padding-inline: var(--ngz-gap);
	}

	.ngz-home-hero__content {
		order: 1;
		align-self: auto;
		max-width: none;
		width: 100%;
		padding-bottom: 0;
	}

	.ngz-home-hero__desc {
		max-width: none;
	}

	.ngz-home-hero__alcalde-col {
		order: 2;
		align-self: auto;
		width: 100%;
		max-width: min(420px, 100%);
		margin-inline: auto;
		height: auto;
		min-height: var(--ngz-hero-alcalde-h);
	}

	.ngz-home-hero__alcalde-wrap {
		flex-direction: column;
		align-items: center;
		height: auto;
		min-height: var(--ngz-hero-alcalde-h);
	}

	.ngz-home-hero__alcalde-wrap::before {
		right: 0;
		width: 88%;
		height: 88%;
	}

	.ngz-home-hero__alcalde-img:not(.ngz-home-hero__alcalde-img--placeholder) {
		height: 100%;
		max-width: 100%;
	}

	.ngz-home-hero__alcalde-img.ngz-home-hero__alcalde-img--placeholder {
		width: clamp(140px, 42vw, 200px);
		height: clamp(140px, 42vw, 200px);
		max-width: 200px;
		max-height: 200px;
		margin-inline: auto;
		flex-shrink: 0;
	}

	.ngz-home-hero__alcalde-badge {
		left: 50%;
		right: auto;
		transform: translateX(-50%);
		bottom: 0.75rem;
		border-radius: 10px;
		text-align: center;
		width: min(calc(100% - 1.5rem), 300px);
	}

	.ngz-home-hero__logros-chips {
		position: static;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		gap: 0.5rem;
		margin-top: 0.75rem;
		width: 100%;
	}

	.ngz-home-hero__logro-chip {
		width: auto;
		flex: 1 1 calc(50% - 0.5rem);
		max-width: 100%;
		min-width: min(100%, 190px);
	}

	.ngz-home-hero__overlay {
		background: linear-gradient(
			180deg,
			rgba(20, 20, 20, 0.96) 0%,
			rgba(20, 20, 20, 0.88) 42%,
			rgba(20, 20, 20, 0.72) 100%
		);
	}

	.ngz-home-hero__card {
		max-width: 480px;
	}

	.ngz-home-noticias__grid {
		grid-template-columns: 1fr;
	}

	.ngz-home-sala-prensa__grid {
		grid-template-columns: 1fr;
	}

	.ngz-home-sala-prensa__embed--video,
	.ngz-home-sala-prensa__embed--feed {
		min-height: 360px;
	}

	.ngz-home-videos {
		--ngz-videos-h-size: clamp(180px, 26vw, 230px);
		--ngz-videos-v-width: clamp(150px, 22vw, 190px);
	}

	.ngz-home-noticias__list {
		min-height: 0;
		max-height: none;
		overflow-y: visible;
		overflow-x: visible;
	}

	.ngz-home-trans__layout {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.ngz-home-trans__cards {
		grid-template-columns: repeat(4, 1fr);
	}

	.ngz-home-parroquias__grid {
		grid-template-columns: repeat(2, 1fr);
	}

}

@media (max-width: 768px) {
	.ngz-home-hero {
		--ngz-hero-alcalde-h: clamp(200px, 62vw, 320px);
		--ngz-hero-pad-top: 1.25rem;
		--ngz-hero-pad-bottom: 3.25rem;
	}

	.ngz-home-hero__inner {
		gap: 1rem;
	}

	.ngz-home-hero__title {
		font-size: clamp(1.375rem, 7.2vw, 1.875rem);
		line-height: 1.15;
	}

	.ngz-home-hero__desc {
		font-size: 0.8125rem;
		margin-bottom: 0.75rem;
	}

	.ngz-home-hero__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.ngz-home-hero__actions .ngz-btn,
	.ngz-btn--hero-primary,
	.ngz-btn--hero-secondary {
		width: 100%;
		justify-content: center;
		text-align: center;
	}

	.ngz-home-hero__stats {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0.5rem 0.35rem;
		margin-top: 0.75rem;
		padding-top: 0.75rem;
	}

	.ngz-home-hero__stats > div,
	.ngz-home-hero__stats > div:not(:first-child):not(:last-child),
	.ngz-home-hero__stats > div:last-child {
		border-right: none;
		padding: 0;
		flex: none;
		text-align: center;
		min-width: 0;
	}

	.ngz-home-hero__stat-num {
		font-size: 1.125rem;
	}

	.ngz-home-hero__stat-lbl {
		font-size: 0.625rem;
		line-height: 1.3;
	}

	.ngz-home-hero__alcalde-col {
		max-width: 100%;
	}

	.ngz-home-section {
		padding-block: 3.5rem;
	}

	.ngz-home-section__header {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.ngz-home-trans__cards {
		grid-template-columns: repeat(2, 1fr);
	}

	.ngz-home-acceso {
		flex: 0 0 auto;
		min-width: 128px;
		padding-inline: 14px;
	}

	.ngz-home-videos {
		--ngz-videos-h-size: clamp(168px, 34vw, 210px);
		--ngz-videos-v-width: clamp(142px, 28vw, 176px);
	}
}

@media (max-width: 480px) {
	.ngz-home-hero {
		--ngz-hero-alcalde-h: clamp(180px, 72vw, 280px);
	}

	.ngz-home-hero__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ngz-home-hero__stats > div:last-child {
		grid-column: 1 / -1;
	}

	.ngz-home-hero__logro-chip {
		flex: 1 1 100%;
	}

	.ngz-home-hero__actions {
		flex-direction: column;
		width: 100%;
	}

	.ngz-home-hero__actions .ngz-btn {
		width: 100%;
		justify-content: center;
	}

	.ngz-home-parroquias__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ngz-home-videos {
		--ngz-videos-h-size: clamp(160px, 44vw, 200px);
		--ngz-videos-v-width: clamp(136px, 36vw, 168px);
	}

	.ngz-home-videos__scroller {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.ngz-home-videos__nav {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ngz-flip-card:hover .ngz-flip-inner {
		transform: none;
	}
}
