/*
Theme Name: NNCC Theme
Template: understrap
Version: 1.0.0
Text Domain: nncc-theme
*/

/*
 * Tokens (--nncc-*): assets/css/nncc-tokens.css (encolado como nncc-tokens antes de esta hoja).
 *
 * Índice de secciones (orden del archivo; no reordenar bloques sin revisar cascada):
 *   01 · Header / navegación / donación
 *   02 · Home — hero
 *   03 · Home — bloques (comunidad, métricas, libro, escuelas, UNESCO, sumate, números, testimonios)
 *   04 · Blog — home + listados + archivo
 *   05 · Blog — single + barra lateral / widgets
 *   06 · WooCommerce — base + UI + fine-tuning + fixes estructurales + bloques (wc-block)
 *   07 · The Events Calendar — single evento + tickets v2
 *   08 · Canje DNI (modal)
 *   09 · Footer
 */

/* =====================================
   01 · HEADER — barra superior, nav principal, donación
===================================== */

.nncc-header {
	position: sticky;
	top: 0;
	z-index: 1030;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
	transition: box-shadow 220ms ease;
}


body.admin-bar .nncc-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .nncc-header {
		top: 46px;
	}
}

/* Sticky animation + ocultar top bar en sticky (como referencia Charifund) */
.nncc-header.nncc-is-sticky {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.nncc-header.nncc-is-sticky .nncc-top-bar {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	/* Sin translateY: al colapsar la barra no “empuja” el scroll de forma extra. */
	transition: max-height 220ms ease, opacity 180ms ease;
	pointer-events: none;
}

.nncc-header.nncc-is-sticky .nncc-main-nav.navbar {
	padding: 8px 0;
	transition: padding 220ms ease;
}

.nncc-header.nncc-is-sticky .navbar-brand img,
.nncc-header.nncc-is-sticky .custom-logo-link img,
.nncc-header.nncc-is-sticky .nncc-brand img {
	max-height: 42px;
	transition: max-height 220ms ease;
}

/* Mobile: la topbar sigue visible al hacer scroll (sticky del header completo). */
@media (max-width: 767.98px) {
	.nncc-header.nncc-is-sticky .nncc-top-bar {
		max-height: none;
		opacity: 1;
		overflow: visible;
		pointer-events: auto;
	}
}

/* Barra superior: gris claro + contacto izq. + trapecio negro redes (iconos amarillo NNCC) */
.nncc-top-bar {
	background: #e8e8e8;
	color: #2a2a2a;
	font-size: 0.75rem;
	line-height: 1.28;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	max-height: 200px;
	transition: max-height 220ms ease, opacity 180ms ease, transform 220ms ease;
}

.nncc-top-bar__inner {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	gap: 0.25rem 0.65rem;
	min-height: 26px;
	padding-top: 0;
	padding-bottom: 0;
	flex-wrap: wrap;
}

.nncc-top-bar__spacer {
	flex: 1;
	min-width: 0;
}

.nncc-top-bar__list {
	list-style: none;
	margin: 0;
	padding: 0.08rem 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 0.25rem 1.15rem;
	flex: 1;
	min-width: 0;
}

.nncc-top-bar__item {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
}

.nncc-top-bar__link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: #1a1a1a !important;
	text-decoration: none;
	transition: color 0.18s ease;
}

.nncc-top-bar__link:hover {
	color: #000 !important;
}

.nncc-top-bar__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--nncc-yellow);
	flex-shrink: 0;
	filter: drop-shadow(0 0 0.5px rgba(0, 0, 0, 0.35));
}

.nncc-top-bar__icon svg {
	display: block;
	width: 12px;
	height: 12px;
}

/*
 * Redes: fondo negro en ::before con skew (sin clip-path) para no recortar iconos.
 */
.nncc-top-bar__social-slope {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-shrink: 0;
	margin-right: calc(50% - 50vw);
	padding: 0.1rem max(1rem, calc(50vw - 50% + 1rem)) 0.1rem 0;
	background: transparent;
	overflow: visible;
	isolation: isolate;
}

.nncc-top-bar__social-slope::before {
	content: "";
	position: absolute;
	z-index: 0;
	top: 0;
	right: 0;
	bottom: 0;
	left: -48px;
	background: #0a0a0a;
	transform: skewX(-14deg);
	transform-origin: 100% 50%;
	pointer-events: none;
}

.nncc-top-bar__social-inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding-left: 1.65rem;
	min-height: 22px;
}

.nncc-top-bar__social-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.35rem 0.75rem;
}

.nncc-top-bar__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--nncc-yellow);
	text-decoration: none;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.nncc-top-bar__social-link:hover {
	background: rgba(255, 204, 0, 0.12);
	color: #ffe566;
	transform: translateY(-1px);
}

.nncc-top-bar__social-link svg {
	display: block;
	width: 13px;
	height: 13px;
}

/* Barra principal: fondo NNCC amarillo */
.nncc-main-bar {
	background: var(--nncc-yellow);
	border-bottom: 2px solid rgba(0, 0, 0, 0.12);
}

.nncc-header .nncc-main-nav.navbar {
	background: var(--nncc-yellow) !important;
	padding: 12px 0;
	border-bottom: 0;
}

.nncc-header .nncc-main-nav__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	position: relative;
}

.nncc-header .nncc-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: #000;
	font-weight: 800;
	line-height: 1;
}

.nncc-header .nncc-brand:hover {
	color: #000;
	opacity: 0.85;
}

.nncc-header .navbar-brand img,
.nncc-header .custom-logo-link img,
.nncc-header .nncc-brand img {
	max-height: 48px;
	width: auto;
	display: block;
}

.nncc-header .nncc-main-nav__collapse {
	align-items: center;
	align-self: center;
}

/* CTA donación: mismo bloque que el nav amarillo (sin franja negra) */
.nncc-header-donate-strip {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	background: transparent;
	border-left: 0;
	margin-top: 0;
	margin-bottom: 0;
	padding: 0 0 0 0.75rem;
	margin-left: 0.25rem;
	box-shadow: none;
}

@media (min-width: 992px) {
	.nncc-header-donate-strip {
		margin-right: 0;
		padding-right: 0;
		padding-left: 1rem;
		margin-left: 0.5rem;
		align-self: center;
	}
}

/* Desktop: menú centrado entre logo y carrito/donación (carrito fuera del collapse) */
@media (min-width: 992px) {
	.nncc-header .nncc-main-nav__inner {
		flex-wrap: nowrap;
		align-items: center;
	}

	.nncc-header .nncc-main-nav__inner > .navbar-brand {
		order: 1;
	}

	.nncc-header .nncc-main-nav__inner > .nncc-main-nav__collapse {
		order: 2;
		flex: 1 1 auto;
		display: flex !important;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: flex-end;
		min-width: 0;
		align-self: center;
	}

	.nncc-header .nncc-main-nav__inner > .nncc-header-actions--toolbar {
		order: 3;
	}

	.nncc-header .nncc-main-nav__inner > .nncc-header-donate-strip {
		order: 4;
	}

	.nncc-header .nncc-main-nav .menu-principal-wrap {
		flex: 1 1 0;
		display: flex;
		justify-content: center;
		align-items: center;
		min-width: 0;
	}
}

.nncc-header .navbar-brand {
	padding-top: 0;
	padding-bottom: 0;
	margin-right: 1.25rem;
}

@media (min-width: 992px) {
	.nncc-header .navbar-brand {
		align-self: center;
	}
}

.nncc-main-menu {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.15rem 0.25rem;
	margin-left: 0;
	margin-right: 0;
}

.nncc-main-menu .menu-item {
	margin: 0;
}

.nncc-main-menu .nav-link,
.nncc-main-menu > li > a {
	color: #1f1f1f !important;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 0.03em;
	padding: 0.4rem 0.75rem !important;
	text-decoration: none;
	border-radius: 0;
	border-bottom: 2px solid transparent;
	transition: color 0.18s ease, border-color 0.18s ease;
}

/* Desktop: una sola fila + tipografía más densa cuando hay muchos ítems */
@media (min-width: 992px) {
	.nncc-main-menu {
		flex-wrap: nowrap;
		justify-content: center;
		gap: 0;
	}

	.nncc-main-menu .nav-link,
	.nncc-main-menu > li > a {
		white-space: nowrap;
		font-size: clamp(11px, 0.72vw + 8px, 14px);
		letter-spacing: 0.02em;
		padding: 0.38rem clamp(0.35rem, 0.5vw + 0.2rem, 0.75rem) !important;
	}
}

@media (min-width: 1200px) {
	.nncc-main-menu .nav-link,
	.nncc-main-menu > li > a {
		letter-spacing: 0.025em;
		padding: 0.42rem clamp(0.45rem, 0.35vw + 0.35rem, 0.85rem) !important;
	}
}

@media (min-width: 1400px) {
	.nncc-main-menu .nav-link,
	.nncc-main-menu > li > a {
		letter-spacing: 0.03em;
		padding: 0.42rem 0.85rem !important;
	}
}

/* Portátiles (992–1199): logo y CTA un poco más compactos para ganar ancho al menú */
@media (min-width: 992px) and (max-width: 1199.98px) {
	.nncc-header .navbar-brand img,
	.nncc-header .nncc-brand img {
		max-height: 44px;
	}

	.nncc-header .nncc-donate-block .nncc-donate-btn,
	.nncc-header .nncc-donate-block a.nncc-donate-btn.btn {
		padding: 0.52rem 0.9rem !important;
		font-size: 11px !important;
	}
}

.nncc-main-menu .nav-link:hover,
.nncc-main-menu > li > a:hover {
	color: #000 !important;
	background: rgba(0, 0, 0, 0.08);
	border-bottom-color: rgba(0, 0, 0, 0.5);
}

.nncc-main-menu .nav-link:focus,
.nncc-main-menu > li > a:focus {
	outline: none;
	box-shadow: 0 0 0 2px rgba(255, 204, 0, 0.45);
	border-radius: 4px;
}

.nncc-main-menu .nav-link:focus-visible,
.nncc-main-menu > li > a:focus-visible {
	outline: 2px solid #1a1a1a;
	outline-offset: 2px;
	box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.55);
	border-radius: 4px;
}

.nncc-main-menu .current-menu-item > .nav-link,
.nncc-main-menu .current-menu-item > a {
	background: transparent;
	color: #000 !important;
	font-weight: 700;
	border-bottom-color: var(--nncc-yellow);
}

/* Submenús Bootstrap */
.nncc-header .nncc-main-menu .dropdown-menu {
	border: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
	border-radius: 12px;
	padding: 0.5rem 0;
	margin-top: 0.35rem;
}

.nncc-header .nncc-main-menu .dropdown-item {
	font-weight: 600;
	font-size: 0.9rem;
	padding: 0.5rem 1.15rem;
}

.nncc-header .nncc-main-menu .dropdown-item:hover,
.nncc-header .nncc-main-menu .dropdown-item:focus {
	background: rgba(255, 204, 0, 0.25);
	color: #000;
}

.nncc-header-actions {
	margin-left: 0.75rem;
	gap: 8px 16px;
	flex-shrink: 0;
	align-items: center;
}

@media (min-width: 992px) {
	.nncc-header-actions {
		margin-left: 0.5rem;
		gap: 10px 18px;
	}
}

/* Carrito en toolbar (tras el menú en desktop; en mobile entre donación y hamburguesa) */
.nncc-cart-link--after-menu,
.nncc-cart-link--toolbar {
	margin-right: 0;
}

.nncc-donate-block {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.nncc-header .nncc-donate-block .nncc-donate-btn,
.nncc-header .nncc-donate-block a.nncc-donate-btn.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	text-align: center;
	background: var(--nncc-black);
	color: var(--nncc-yellow) !important;
	border-radius: 999px;
	padding: 0.55rem 1.2rem 0.55rem 1.35rem;
	font-weight: 800;
	font-size: 12px;
	line-height: 1;
	border: 1px solid var(--nncc-black) !important;
	text-decoration: none;
	transition: var(--nncc-transition);
	white-space: nowrap;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
}

.nncc-donate-btn__arrow {
	display: inline-flex;
	line-height: 0;
}

.nncc-donate-btn__arrow svg {
	display: block;
	stroke: var(--nncc-yellow);
}

.nncc-header .nncc-donate-block .nncc-donate-btn:hover,
.nncc-header .nncc-donate-block a.nncc-donate-btn.btn:hover {
	background: var(--nncc-yellow);
	color: var(--nncc-black) !important;
	border-color: var(--nncc-black) !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.nncc-header .nncc-donate-block .nncc-donate-btn:focus,
.nncc-header .nncc-donate-block a.nncc-donate-btn.btn:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.35), 0 0 0 6px rgba(255, 204, 0, 0.55);
}

/* Chevron en ítems con submenú (Bootstrap / walker) */
.nncc-main-menu .dropdown-toggle::after {
	vertical-align: 0.15em;
	margin-left: 0.35em;
	border-width: 0.28em;
}

.nncc-cart-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #000;
	text-decoration: none;
	width: 46px;
	height: 46px;
	border-radius: 999px;
	transition: background-color 0.18s ease, color 0.18s ease;
}

.nncc-cart-link:hover {
	background: rgba(0, 0, 0, 0.08);
	color: #000;
}

.nncc-cart-link:focus {
	outline: none;
	box-shadow: 0 0 0 0.2rem rgba(255, 204, 0, 0.45);
}

.nncc-cart-link svg {
	width: 26px;
	height: 26px;
	display: block;
}

.nncc-cart-count {
	position: absolute;
	top: 4px;
	right: 4px;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 999px;
	background: #000;
	color: var(--nncc-yellow);
	font-size: 11px;
	font-weight: 700;
	line-height: 20px;
	text-align: center;
}

.nncc-header .nncc-main-nav__toggler.navbar-toggler {
	border: 2px solid #000;
	padding: 8px 12px;
	border-radius: 10px;
}

.nncc-header .nncc-main-nav__toggler:focus {
	outline: none;
	box-shadow: 0 0 0 0.2rem rgba(255, 204, 0, 0.45);
}

.nncc-header .navbar-toggler-icon {
	background-image: none;
	width: 24px;
	height: 24px;
	position: relative;
	display: inline-block;
}

.nncc-header .navbar-toggler-icon::before,
.nncc-header .navbar-toggler-icon::after,
.nncc-header .navbar-toggler-icon {
	background-color: transparent;
}

.nncc-header .navbar-toggler-icon::before,
.nncc-header .navbar-toggler-icon::after {
	content: "";
	position: absolute;
	left: 0;
	width: 24px;
	height: 2px;
	background: #000;
}

.nncc-header .navbar-toggler-icon::before {
	top: 7px;
	box-shadow: 0 7px 0 #000;
}

.nncc-header .navbar-toggler-icon::after {
	top: 21px;
	display: none;
}

@media (max-width: 991.98px) {
	.nncc-top-bar__inner {
		flex-direction: column;
		align-items: stretch;
		padding-left: 0;
		padding-right: 0;
		max-width: 100%;
	}

	.nncc-top-bar__list {
		justify-content: flex-start;
		padding-left: 15px;
		padding-right: 15px;
		width: 100%;
	}

	.nncc-top-bar__social-slope {
		margin-right: 0;
		padding-right: 0;
		padding-left: 0;
		width: 100%;
		justify-content: center;
	}

	.nncc-top-bar__social-slope::before {
		left: 0;
		transform: none;
		border-radius: 0;
	}

	.nncc-top-bar__social-inner {
		justify-content: center;
		padding-left: 1rem;
		padding-right: 1rem;
		width: 100%;
	}

	.nncc-top-bar__social-list {
		justify-content: center;
	}

	.nncc-top-bar__spacer {
		display: none;
	}

	.nncc-header .navbar-brand img,
	.nncc-header .custom-logo-link img {
		max-height: 44px;
	}

	.nncc-header .nncc-main-nav__inner {
		align-items: center;
	}

	.nncc-header .navbar-brand {
		order: 1;
		flex: 1 1 auto;
		min-width: 0;
		margin-right: 0.5rem;
	}

	.nncc-header-donate-strip {
		order: 2;
		margin-top: 0;
		margin-bottom: 0;
		margin-left: 0;
		margin-right: 0;
		padding: 0 8px 0 6px;
		border-left: 0;
		border-radius: 0;
		align-self: center;
		box-shadow: none;
	}

	.nncc-header .nncc-main-nav__toggler {
		order: 3;
		flex-shrink: 0;
	}

	.nncc-header .nncc-main-nav__collapse {
		order: 4;
	}

	.nncc-header .nncc-main-nav .menu-principal-wrap {
		flex: none;
		width: 100%;
		justify-content: flex-start;
	}

	.nncc-header .nncc-main-nav__collapse {
		flex-direction: column;
		align-items: stretch;
		padding-top: 12px;
		width: 100%;
	}

	.nncc-main-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
		width: 100%;
		margin: 0;
		justify-content: flex-start;
	}

	.nncc-main-menu > li {
		width: 100%;
	}

	.nncc-main-menu .nav-link,
	.nncc-main-menu > li > a {
		display: block;
		width: 100%;
		padding: 10px 12px !important;
		border-radius: 8px;
		border-bottom: none;
		border-left: 3px solid transparent;
	}

	.nncc-main-menu .nav-link:hover,
	.nncc-main-menu > li > a:hover {
		border-bottom: none;
		border-left-color: rgba(0, 0, 0, 0.35);
		background: rgba(0, 0, 0, 0.06);
	}

	.nncc-main-menu .current-menu-item > .nav-link,
	.nncc-main-menu .current-menu-item > a {
		border-bottom: none;
		border-left-color: #000;
		background: rgba(0, 0, 0, 0.08);
	}

	.nncc-header .nncc-main-nav__inner > .nncc-header-actions--toolbar {
		order: 5;
		margin-left: 0;
		margin-top: 14px;
		padding-top: 14px;
		border-top: 1px solid rgba(0, 0, 0, 0.08);
		width: 100%;
		justify-content: flex-start;
		flex-wrap: wrap;
		gap: 12px 16px;
	}

	.nncc-header .nncc-donate-block .nncc-donate-btn,
	.nncc-header .nncc-donate-block a.nncc-donate-btn.btn {
		padding-left: 1.15rem;
		padding-right: 1.15rem;
		font-size: 12px;
	}
}

/*
 * Mobile (≤767.98px): topbar una fila; barra amarilla LOGO → DONÁ → CARRITO → MENÚ; hamburguesa sobria.
 * No afecta tablet/desktop.
 */
@media (max-width: 767.98px) {
	.nncc-top-bar {
		overflow-x: hidden;
	}

	.nncc-top-bar__inner {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: stretch;
		justify-content: space-between;
		gap: 0;
		min-height: 0;
		padding-top: 0;
		padding-bottom: 0;
		max-width: 100%;
	}

	.nncc-top-bar__list {
		flex: 0 1 auto;
		min-width: 0;
		flex-wrap: nowrap;
		width: auto;
		padding: 0.35rem 10px;
		gap: 0.15rem 0.5rem;
	}

	.nncc-top-bar__item {
		min-width: 0;
	}

	.nncc-top-bar__link {
		min-width: 0;
		gap: 0.2rem;
	}

	.nncc-top-bar__link > span:last-child {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		max-width: min(42vw, 11rem);
	}

	.nncc-top-bar__icon svg {
		width: 11px;
		height: 11px;
	}

	/* Full-bleed a la derecha dentro del .container (misma idea que desktop, sin skew). */
	.nncc-top-bar__social-slope {
		flex: 1 1 auto;
		min-width: 0;
		margin-right: calc(50% - 50vw);
		padding: 0;
		width: auto;
		align-self: stretch;
	}

	.nncc-top-bar__social-slope::before {
		display: none;
	}

	.nncc-top-bar__social-inner {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		min-height: 28px;
		box-sizing: border-box;
		background: #0a0a0a;
		padding: 0.3rem max(12px, env(safe-area-inset-right, 0px)) 0.3rem 10px;
		border-radius: 0;
	}

	.nncc-top-bar__social-list {
		justify-content: center;
		gap: 0.12rem 0.4rem;
	}

	.nncc-top-bar__social-link {
		width: 22px;
		height: 22px;
	}

	.nncc-top-bar__social-link svg {
		width: 12px;
		height: 12px;
	}

	.nncc-top-bar {
		font-size: 0.6875rem;
		line-height: 1.2;
	}

	.nncc-header .nncc-main-nav.navbar {
		padding: 6px 0;
	}

	.nncc-header .navbar-brand img,
	.nncc-header .custom-logo-link img,
	.nncc-header .nncc-brand img {
		max-height: 36px;
	}

	.nncc-header .nncc-main-nav__inner > .navbar-brand {
		order: 1;
		flex: 1 1 auto;
		min-width: 0;
		max-width: min(44%, 10rem);
		margin-right: 0.35rem;
	}

	.nncc-header .nncc-main-nav__inner > .nncc-header-donate-strip {
		order: 2;
		margin: 0;
		padding: 0 4px;
	}

	.nncc-header .nncc-main-nav__inner > .nncc-header-actions--toolbar {
		order: 3;
		width: auto;
		margin: 0;
		padding: 0;
		border: 0;
		margin-top: 0;
		padding-top: 0;
		border-top: 0;
		flex-shrink: 0;
		position: relative;
		z-index: 2;
	}

	.nncc-header .nncc-main-nav__inner > .nncc-main-nav__toggler {
		order: 4;
		flex-shrink: 0;
	}

	.nncc-header .nncc-main-nav__inner > .nncc-main-nav__collapse {
		order: 5;
		flex-basis: 100%;
		width: 100%;
	}

	.nncc-header .nncc-donate-block .nncc-donate-btn,
	.nncc-header .nncc-donate-block a.nncc-donate-btn.btn {
		padding: 0.42rem 0.65rem !important;
		font-size: 10px !important;
	}

	.nncc-header .nncc-header-actions--toolbar .nncc-cart-link {
		width: 40px;
		height: 40px;
	}

	.nncc-header .nncc-header-actions--toolbar .nncc-cart-link svg {
		width: 22px;
		height: 22px;
	}

	.nncc-header .nncc-header-actions--toolbar .nncc-cart-count {
		top: 2px;
		right: 2px;
		min-width: 17px;
		height: 17px;
		padding: 0 5px;
		font-size: 10px;
		line-height: 17px;
	}

	.nncc-header .nncc-main-nav__toggler.navbar-toggler {
		border: 1px solid rgba(0, 0, 0, 0.3);
		padding: 0.35rem 0.5rem;
		border-radius: 6px;
		background: transparent;
	}

	.nncc-header .nncc-main-nav__toggler:focus {
		box-shadow: 0 0 0 2px rgba(255, 204, 0, 0.45);
	}

	.nncc-header .navbar-toggler-icon {
		width: 22px;
		height: 22px;
	}

	.nncc-header .navbar-toggler-icon::before,
	.nncc-header .navbar-toggler-icon::after {
		width: 22px;
		height: 1.5px;
	}

	.nncc-header .navbar-toggler-icon::before {
		top: 6px;
		box-shadow: 0 6px 0 #000;
	}
}

/* =====================================
   02 · HOME — hero (slider / overlay / CTAs)
===================================== */

.nncc-home-row > [class*="col-"] {
	margin-bottom: 1.75rem;
}

@media (min-width: 992px) {
	.nncc-home-row > [class*="col-"] {
		margin-bottom: 0;
	}
}

.nncc-home-hero {
	position: relative;
	min-height: clamp(640px, 85vh, 1020px);
	display: flex;
	align-items: center;
	/* Sin padding en la sección: el fondo del slider llena todo el alto (evita franjas).
	   El aire va en .nncc-home-hero__container. */
	padding: 0;
	color: #fff;
	overflow: hidden;
}

.nncc-home-hero.nncc-hero-slider {
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
}

.nncc-home-hero--fallback {
	background: linear-gradient(145deg, #141414 0%, #2a2a2a 55%, #1a1a1a 100%);
}

.nncc-home-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	min-height: 100%;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	z-index: 0;
}

.nncc-home-hero__overlay {
	position: absolute;
	inset: 0;
	background: #000;
	z-index: 1;
	pointer-events: none;
}

.nncc-home-hero__container {
	position: relative;
	z-index: 2;
	padding-top: 96px;
	padding-bottom: calc(88px + 32px);
	box-sizing: border-box;
}

/* El slider debe ir POR ENCIMA del overlay; si no, el negro tapa todo el contenido. */
.nncc-hero-slider__viewport {
	position: relative;
	z-index: 2;
	width: 100%;
	flex: 1 1 auto;
	align-self: stretch;
	min-height: clamp(520px, 80vh, 920px);
	display: flex;
	flex-direction: column;
}

.nncc-hero-slider__track {
	position: relative;
	flex: 1 1 auto;
	width: 100%;
	min-height: clamp(520px, 80vh, 920px);
}

.nncc-hero-slide {
	position: absolute;
	inset: 0;
	width: 100%;
	min-height: 100%;
	opacity: 0;
	transition: opacity 450ms ease;
	pointer-events: none;
}

.nncc-hero-slide.is-active {
	opacity: 1;
	pointer-events: auto;
}

.nncc-hero-slider__controls {
	position: absolute;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 12px;
	z-index: 3;
	padding: 8px 10px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.28);
	backdrop-filter: blur(8px);
}

.nncc-hero-slider__arrow {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.nncc-hero-slider__arrow:hover {
	background: rgba(255, 255, 255, 0.18);
}

.nncc-hero-slider__dots {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.nncc-hero-slider__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 0;
	padding: 0;
	background: rgba(255, 255, 255, 0.38);
}

.nncc-hero-slider__dot.is-active {
	background: var(--nncc-yellow);
}

.nncc-home-hero__inner {
	position: relative;
	z-index: 0;
	max-width: 720px;
}

/* Velo detrás del copy: legibilidad sobre fotos claras. */
.nncc-home-hero__inner::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: -0.85rem -0.35rem -1.1rem -1.35rem;
	border-radius: 22px;
	background: linear-gradient(
		100deg,
		rgba(0, 0, 0, 0.82) 0%,
		rgba(0, 0, 0, 0.62) 34%,
		rgba(0, 0, 0, 0.48) 52%,
		rgba(0, 0, 0, 0.32) 72%,
		rgba(0, 0, 0, 0.1) 92%,
		rgba(0, 0, 0, 0) 100%
	);
	pointer-events: none;
}

.nncc-home-hero__kicker {
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--nncc-yellow);
	margin-bottom: 0.75rem;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
}

.nncc-home-hero__title {
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1.05;
	font-size: clamp(2.1rem, 4.2vw, 3.6rem);
	margin-bottom: 1rem;
	color: #fff;
	text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55), 0 1px 6px rgba(0, 0, 0, 0.45);
}

.nncc-home-hero__lead {
	font-size: 1.1rem;
	line-height: 1.65;
	margin-bottom: 1.75rem;
	max-width: 52ch;
	color: rgba(255, 255, 255, 0.95);
	text-shadow: 0 1px 18px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.4);
}

.nncc-home-hero .nncc-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.nncc-home-hero .nncc-hero-cta {
	padding: 16px 30px;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: 999px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.nncc-home-hero a.nncc-hero-cta,
.nncc-home-hero a.nncc-hero-cta.btn {
	background: var(--nncc-yellow);
	color: var(--nncc-black) !important;
	border: 1px solid var(--nncc-black) !important;
	transition: var(--nncc-transition);
	box-sizing: border-box;
}

.nncc-home-hero a.nncc-hero-cta:hover,
.nncc-home-hero a.nncc-hero-cta.btn:hover {
	background: var(--nncc-black);
	border-color: var(--nncc-black) !important;
	color: var(--nncc-yellow) !important;
	transform: translateY(-2px);
}

.nncc-home-hero a.nncc-hero-secondary,
.nncc-home-hero a.nncc-hero-secondary.btn {
	--bs-btn-color: #fff;
	--bs-btn-hover-color: #000;
	--bs-btn-active-color: #000;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--nncc-btn-radius);
	padding: 14px 22px;
	font-weight: 700;
	font-size: 15px;
	line-height: 1;
	border: 1px solid var(--nncc-white);
	color: var(--nncc-white) !important;
	background: transparent;
	text-decoration: none;
	white-space: nowrap;
	transition: var(--nncc-transition);
	box-sizing: border-box;
}

.nncc-home-hero a.nncc-hero-secondary:hover,
.nncc-home-hero a.nncc-hero-secondary.btn:hover {
	background: var(--nncc-white);
	color: var(--nncc-black) !important;
	border-color: var(--nncc-white);
}

@media (max-width: 991.98px) {
	.nncc-home-hero {
		min-height: clamp(520px, 72vh, 900px);
		padding: 0;
		text-align: center;
	}

	.nncc-home-hero__container {
		padding-top: 72px;
		padding-bottom: calc(64px + 36px);
	}

	.nncc-hero-slider__viewport,
	.nncc-hero-slider__track {
		min-height: clamp(480px, 68vh, 880px);
	}

	.nncc-home-hero__inner::before {
		inset: -0.85rem -0.75rem -1.1rem -0.75rem;
		background: radial-gradient(
			ellipse 100% 108% at 38% 44%,
			rgba(0, 0, 0, 0.82) 0%,
			rgba(0, 0, 0, 0.58) 48%,
			rgba(0, 0, 0, 0.28) 78%,
			rgba(0, 0, 0, 0) 100%
		);
	}

	.nncc-home-hero__inner {
		margin-left: auto;
		margin-right: auto;
	}

	.nncc-home-hero__lead {
		margin-left: auto;
		margin-right: auto;
	}

	.nncc-home-hero .nncc-hero-actions {
		justify-content: center;
		flex-direction: column;
		align-items: stretch;
	}

	.nncc-home-hero .nncc-hero-actions a {
		width: 100%;
	}

	.nncc-hero-slider__controls {
		bottom: 12px;
	}
}

/* =====================================
   03 · HOME — bloques (Comunidad NNCC)
===================================== */
.nncc-home-community {
	padding: 88px 0;
	background: #fff;
	color: var(--nncc-black);
}

.nncc-home-community__tag {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--nncc-black);
	margin-bottom: 0.75rem;
}

.nncc-home-community__tag-icon {
	color: var(--nncc-black);
}

.nncc-home-community__title {
	font-weight: 800;
	font-size: clamp(1.65rem, 2.6vw, 2.35rem);
	line-height: 1.2;
	margin-bottom: 1rem;
	max-width: 22ch;
}

.nncc-home-community__body {
	font-size: 1.02rem;
	line-height: 1.65;
	color: #3d3d3d;
	margin-bottom: 1.5rem;
}

.nncc-home-community__features {
	margin-bottom: 1rem;
}

.nncc-home-community__feat {
	padding: 0.25rem 0;
}

.nncc-home-community__feat-title {
	display: block;
	font-size: 1rem;
	margin: 0.35rem 0 0.25rem;
}

.nncc-home-community__feat-text {
	font-size: 0.92rem;
	color: #555;
	margin: 0;
	line-height: 1.5;
}

.nncc-home-community__list {
	list-style: none;
	margin: 1rem 0 1.5rem;
	padding: 0;
}

.nncc-home-community__list li {
	position: relative;
	padding-left: 1.5rem;
	margin-bottom: 0.5rem;
	font-size: 0.98rem;
	color: #333;
}

.nncc-home-community__list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	font-weight: 800;
	color: #000;
}

.nncc-home-community__cta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.5rem;
}

.nncc-home-community__btn {
	border-radius: var(--nncc-btn-radius);
	padding: var(--nncc-btn-padding-y) 1.75rem;
	font-weight: var(--nncc-btn-font-weight);
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	background: var(--nncc-yellow);
	color: var(--nncc-black) !important;
	border: 1px solid var(--nncc-black) !important;
	text-decoration: none;
	transition: var(--nncc-transition);
	box-sizing: border-box;
}

.nncc-home-community__btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
	background: var(--nncc-black);
	color: var(--nncc-yellow) !important;
	border-color: var(--nncc-black) !important;
}

.nncc-home-community__phone {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 600;
	font-size: 0.95rem;
}

.nncc-home-community__phone-icon {
	color: var(--nncc-black);
	display: inline-flex;
}

/* Fila: ~58% imagen (col-lg-7) / ~42% texto (col-lg-5) — la foto ocupa todo el ancho de su columna. */
.nncc-home-community__collage {
	position: relative;
	padding: 0;
	min-height: 0;
}

@media (min-width: 992px) {
	.nncc-home-community__collage {
		/* Solo el espacio de la franja + aire mínimo; la imagen usa el resto de la columna. */
		padding-left: 3.5rem;
	}
}

.nncc-home-community__tab {
	position: absolute;
	left: 0;
	top: 12%;
	bottom: 12%;
	width: 44px;
	background: var(--nncc-black);
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.nncc-home-community__tab span {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.75rem 0;
	text-align: center;
}

.nncc-home-community__visual {
	position: relative;
	z-index: 1;
	width: 100%;
}

.nncc-home-community__photo-shell {
	position: relative;
	width: 100%;
	max-width: none;
	margin: 0;
	aspect-ratio: 16 / 9;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 22px 50px rgba(0, 0, 0, 0.12);
	background: #e8e8e8;
}

.nncc-home-community__photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 24% center;
	display: block;
	filter: saturate(0.88) contrast(0.96) brightness(1.03);
}

.nncc-home-community__photo-overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 1;
	background: linear-gradient(
		100deg,
		rgba(255, 255, 255, 0.05) 0%,
		rgba(0, 0, 0, 0.04) 45%,
		rgba(0, 0, 0, 0.07) 100%
	);
	opacity: 0.88;
}

.nncc-home-community__play {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.nncc-home-community__play-btn {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--nncc-yellow);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
	position: relative;
}

.nncc-home-community__play-btn::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-35%, -50%);
	border-style: solid;
	border-width: 10px 0 10px 16px;
	border-color: transparent transparent transparent #000;
}

@media (max-width: 991.98px) {
	.nncc-home-community__collage {
		padding-left: 0;
		padding-top: 3rem;
		min-height: 0;
	}

	.nncc-home-community__tab {
		left: 50%;
		transform: translateX(-50%);
		top: 0;
		bottom: auto;
		width: auto;
		height: 44px;
		padding: 0 1rem;
	}

	.nncc-home-community__tab span {
		writing-mode: horizontal-tb;
		transform: none;
		font-size: clamp(0.52rem, 2.4vw, 0.65rem);
		white-space: nowrap;
	}

	.nncc-home-community__photo-shell {
		min-height: clamp(220px, 52vw, 400px);
	}

	.nncc-home-community__photo {
		object-position: center center;
	}
}

/* ----- 03 · HOME · Asistencia (métricas) ----- */
.nncc-home-community__impact {
	margin-bottom: 1.1rem;
}

.nncc-home-community__collage .nncc-home-community__impact--under-photo {
	margin-top: 1.35rem;
	margin-bottom: 0;
}

.nncc-home-community__impact-card {
	background: linear-gradient(180deg, #f7f7f7 0%, #f0f0f0 100%);
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 12px;
	padding: 0.85rem 1rem;
	text-align: center;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.nncc-home-community__impact--under-photo .nncc-home-community__impact-card {
	padding: 0.5rem 0.3rem;
	border-radius: 10px;
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.035);
}

.nncc-home-community__impact-num {
	font-size: clamp(1.5rem, 2.5vw, 1.85rem);
	font-weight: 800;
	line-height: 1.1;
	margin: 0 0 0.25rem;
	color: var(--nncc-black);
}

.nncc-home-community__impact--under-photo .nncc-home-community__impact-num {
	font-size: clamp(1.05rem, 2.8vw, 1.45rem);
	margin-bottom: 0.2rem;
}

.nncc-home-community__impact-label {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 600;
	color: #4a4a4a;
	line-height: 1.35;
}

.nncc-home-community__impact--under-photo .nncc-home-community__impact-label {
	font-size: 0.68rem;
	font-weight: 600;
	line-height: 1.25;
	hyphens: auto;
}

@media (min-width: 400px) {
	.nncc-home-community__impact--under-photo .nncc-home-community__impact-label {
		font-size: 0.74rem;
	}
}

@media (min-width: 576px) {
	.nncc-home-community__impact--under-photo .nncc-home-community__impact-card {
		padding: 0.55rem 0.45rem;
	}

	.nncc-home-community__impact--under-photo .nncc-home-community__impact-label {
		font-size: 0.8rem;
	}
}

/* ----- 03 · HOME · Libro (Voces, Tiempo, Verdad) ----- */
.nncc-home-book {
	padding: 72px 0;
	background: linear-gradient(180deg, #fafafa 0%, #fff 55%);
	border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.nncc-home-book__tag {
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	color: var(--nncc-black);
	margin-bottom: 0.65rem;
}

.nncc-home-book__title {
	font-weight: 800;
	font-size: clamp(1.55rem, 2.5vw, 2.1rem);
	line-height: 1.2;
	margin-bottom: 0.75rem;
	color: var(--nncc-black);
	max-width: 22ch;
}

.nncc-home-book__lead,
.nncc-home-book__body {
	font-size: 1.02rem;
	line-height: 1.65;
	color: #3d3d3d;
	margin-bottom: 0.85rem;
}

.nncc-home-book__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1rem;
	margin-top: 1.25rem;
}

.nncc-home-book__btn {
	border-radius: var(--nncc-btn-radius);
	padding: var(--nncc-btn-padding-y) var(--nncc-btn-padding-x);
	font-weight: var(--nncc-btn-font-weight);
	font-size: 0.88rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none !important;
	transition: var(--nncc-transition);
	box-sizing: border-box;
}

.nncc-home-book__btn--primary {
	background: var(--nncc-yellow);
	color: var(--nncc-black) !important;
	border: 1px solid var(--nncc-black) !important;
}

.nncc-home-book__btn--primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
	background: var(--nncc-black);
	color: var(--nncc-yellow) !important;
	border-color: var(--nncc-black) !important;
}

.nncc-home-book__btn--ghost {
	background: transparent;
	color: var(--nncc-black) !important;
	border: 1px solid var(--nncc-black) !important;
}

.nncc-home-book__btn--ghost:hover {
	background: var(--nncc-black);
	color: var(--nncc-white) !important;
	border-color: var(--nncc-black) !important;
}

.nncc-home-book__figure {
	display: flex;
	justify-content: center;
	padding: 0.5rem 0;
}

.nncc-home-book__cover {
	max-width: 100%;
	width: auto;
	height: auto;
	max-height: 520px;
	border-radius: 8px;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.14);
	border: 1px solid rgba(0, 0, 0, 0.08);
}

/* ----- 03 · HOME · Escuelas ----- */
.nncc-home-schools {
	padding: 72px 0;
	background: #fff;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.nncc-home-schools__figure {
	position: relative;
	width: 100%;
}

.nncc-home-schools__photo-shell {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.1);
	background: #e8e8e8;
}

.nncc-home-schools__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	display: block;
}

.nncc-home-schools__tag {
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	color: var(--nncc-black);
	margin-bottom: 0.65rem;
}

.nncc-home-schools__title {
	font-weight: 800;
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	line-height: 1.2;
	margin-bottom: 0.85rem;
	color: var(--nncc-black);
}

.nncc-home-schools__body {
	font-size: 1.02rem;
	line-height: 1.65;
	color: #3d3d3d;
	margin-bottom: 0;
}

.nncc-home-schools__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1rem;
	margin-top: 1.25rem;
}

.nncc-home-schools__btn {
	border-radius: var(--nncc-btn-radius);
	padding: var(--nncc-btn-padding-y) var(--nncc-btn-padding-x);
	font-weight: var(--nncc-btn-font-weight);
	font-size: 0.88rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none !important;
	transition: var(--nncc-transition);
	box-sizing: border-box;
}

.nncc-home-schools__btn--primary {
	background: var(--nncc-yellow);
	color: var(--nncc-black) !important;
	border: 1px solid var(--nncc-black) !important;
}

.nncc-home-schools__btn--primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
	background: var(--nncc-black);
	color: var(--nncc-yellow) !important;
	border-color: var(--nncc-black) !important;
}

/* ----- 03 · HOME · UNESCO (fondo + parallax) ----- */
.nncc-home-unesco {
	position: relative;
	overflow: hidden;
	padding: clamp(3.5rem, 8vw, 5.25rem) 0;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	color: #fff;
}

.nncc-home-unesco__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	z-index: 0;
}

@media (min-width: 992px) {
	.nncc-home-unesco__bg {
		background-attachment: fixed;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nncc-home-unesco__bg {
		background-attachment: scroll !important;
	}
}

.nncc-home-unesco__bg.nncc-unesco-parallax-bg--shift {
	left: 0;
	right: 0;
	top: -18%;
	width: 100%;
	min-height: 136%;
	will-change: transform;
	transform: translateZ(0);
}

.nncc-home-unesco__shade {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

.nncc-home-unesco__container {
	position: relative;
	z-index: 2;
}

.nncc-home-unesco__inner {
	max-width: 42rem;
	margin: 0 auto;
	text-align: center;
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.45);
}

.nncc-home-unesco__shade {
	box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.35);
}

.nncc-home-unesco__tag {
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	color: #ffe066;
	margin-bottom: 0.55rem;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.nncc-home-unesco__title {
	font-weight: 800;
	font-size: clamp(1.5rem, 2.6vw, 2.05rem);
	margin: 0 0 1rem;
	color: #fff;
	line-height: 1.2;
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.nncc-home-unesco__body {
	margin: 0;
	font-size: clamp(1.02rem, 1.15vw, 1.12rem);
	line-height: 1.72;
	font-weight: 500;
	color: #fff;
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55), 0 1px 4px rgba(0, 0, 0, 0.45);
}

/* ----- 03 · HOME · Sumate (cierre, antes del blog) ----- */
.nncc-home-sumate {
	padding: 3.5rem 0 4.25rem;
	background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
	color: rgba(255, 255, 255, 0.94);
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.nncc-home-sumate__row {
	row-gap: 2.25rem;
}

.nncc-home-sumate__title {
	font-weight: 800;
	font-size: clamp(1.45rem, 2.5vw, 1.95rem);
	line-height: 1.25;
	margin: 0 0 1rem;
	color: #fff;
}

.nncc-home-sumate__text {
	margin: 0 0 1.5rem;
	font-size: 1.05rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.88);
	max-width: 36rem;
}

.nncc-home-sumate__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	margin-top: 0.35rem;
}

/* Botón de contacto: más protagonismo (misma línea NNCC que libro/escuelas) */
.nncc-home-sumate .nncc-home-sumate__actions .nncc-home-book__btn.nncc-home-book__btn--primary {
	font-size: 0.95rem;
	padding: 0.88rem 1.65rem;
	letter-spacing: 0.065em;
	min-height: 3rem;
	box-shadow: 0 4px 0 rgba(0, 0, 0, 0.45), 0 10px 28px rgba(0, 0, 0, 0.28);
}

.nncc-home-sumate .nncc-home-sumate__actions .nncc-home-book__btn.nncc-home-book__btn--primary:hover {
	box-shadow: 0 5px 0 rgba(0, 0, 0, 0.5), 0 14px 32px rgba(0, 0, 0, 0.35);
}

.nncc-home-sumate__social-label {
	margin: 0 0 0.85rem;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
}

.nncc-home-sumate__social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nncc-home-sumate__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.22);
	background: rgba(0, 0, 0, 0.15);
	color: #fff;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nncc-home-sumate__social-link:hover {
	background: rgba(255, 204, 0, 0.18);
	border-color: rgba(255, 204, 0, 0.55);
	color: #fff;
	transform: translateY(-2px);
}

@media (min-width: 992px) {
	.nncc-home-sumate__col--social {
		padding-top: 0.35rem;
		text-align: right;
	}

	.nncc-home-sumate__col--social .nncc-home-sumate__social {
		justify-content: flex-end;
	}
}

/* ----- 03 · HOME · Números ----- */
.nncc-home-stats {
	position: relative;
	color: #fff;
	padding: 72px 0;
	overflow: hidden;
}

.nncc-home-stats__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: right center;
	background-repeat: no-repeat;
	z-index: 0;
}

/* Parallax claro en escritorio: el fondo queda “fijo” al viewport y la franja se desplaza encima (como Charifund). */
@media (min-width: 992px) {
	.nncc-home-stats__bg {
		background-attachment: fixed;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nncc-home-stats__bg {
		background-attachment: scroll !important;
	}
}

/* En móvil/tablet: sin fixed (mejor soporte); el JS mueve la capa con transform. */
.nncc-home-stats__bg.nncc-stats-parallax-bg--shift {
	left: 0;
	right: 0;
	top: -16%;
	width: 100%;
	min-height: 132%;
	will-change: transform;
	transform: translateZ(0);
}

.nncc-home-stats__bg {
	filter: brightness(0.88) saturate(0.95);
}

.nncc-home-stats__shade {
	position: absolute;
	inset: 0;
	/* Degradé: más lectura sobre el fondo (foto menos dominante). */
	background: linear-gradient(
		90deg,
		rgba(2, 3, 2, 0.92) 0%,
		rgba(2, 3, 2, 0.72) 26%,
		rgba(2, 3, 2, 0.52) 54%,
		rgba(2, 3, 2, 0.34) 100%
	);
	box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.4);
	z-index: 1;
}

.nncc-home-stats__splash {
	position: absolute;
	left: -20px;
	top: 10%;
	bottom: 10%;
	width: 56px;
	z-index: 2;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 200' preserveAspectRatio='none'%3E%3Cpath fill='%23FFCC00' d='M0 0c18 40 12 80 8 120s-4 60 12 80H0V0z'/%3E%3C/svg%3E") left center / contain no-repeat;
	opacity: 0.95;
	animation: nncc-splash 4s ease-in-out infinite;
	pointer-events: none;
}

@keyframes nncc-splash {
	0%,
	100% {
		transform: translateX(0) scaleY(1);
		opacity: 0.9;
	}
	50% {
		transform: translateX(6px) scaleY(1.04);
		opacity: 1;
	}
}

.nncc-home-stats__container {
	position: relative;
	z-index: 3;
}

.nncc-home-stats__grid {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: space-between;
	gap: 1.5rem 0;
}

.nncc-home-stats__item {
	flex: 1 1 45%;
	min-width: 140px;
	text-align: center;
	padding: 0.5rem 0.75rem;
}

.nncc-home-stats__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 2px solid rgba(255, 255, 255, 0.55);
	border-radius: 50%;
	margin-bottom: 0.65rem;
	color: #fff;
}

.nncc-home-stats__num {
	font-size: clamp(1.85rem, 3.1vw, 2.45rem);
	font-weight: 800;
	margin: 0 0 0.25rem;
	line-height: 1;
	color: #fff;
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85), 0 0 2px rgba(0, 0, 0, 0.5);
}

.nncc-home-stats__label {
	font-size: 0.95rem;
	font-weight: 600;
	opacity: 1;
	margin: 0;
	color: rgba(255, 255, 255, 0.98);
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65), 0 1px 3px rgba(0, 0, 0, 0.45);
}

@media (min-width: 768px) {
	.nncc-home-stats__item:not(:last-child) {
		border-right: 1px dashed rgba(255, 204, 0, 0.45);
	}
}

@media (max-width: 767.98px) {
	.nncc-home-stats__item {
		flex: 1 1 100%;
		border-bottom: 1px dashed rgba(255, 204, 0, 0.35);
		padding-bottom: 1.25rem;
	}

	.nncc-home-stats__item:last-child {
		border-bottom: 0;
	}
}

@media (min-width: 992px) {
	.nncc-home-stats__item {
		flex: 1 1 0;
	}
}

/* ----- 03 · HOME · Testimonios ----- */
.nncc-home-testimonials {
	position: relative;
	padding: 88px 0 96px;
	background: #fff;
	overflow: hidden;
}

.nncc-home-testimonials__header {
	margin-bottom: 2.5rem;
	position: relative;
	z-index: 1;
}

.nncc-home-testimonials__tag {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-weight: 700;
	color: var(--nncc-black);
	margin-bottom: 0.5rem;
}

.nncc-home-testimonials__title {
	font-weight: 800;
	font-size: clamp(1.5rem, 2.5vw, 2.25rem);
	color: var(--nncc-black);
	margin: 0;
}

.nncc-home-testimonials__title-highlight {
	color: var(--nncc-yellow);
}

.nncc-home-testimonials__carousel {
	position: relative;
	z-index: 1;
}

.nncc-home-testimonials__viewport {
	overflow: hidden;
	margin-bottom: 1.5rem;
}

.nncc-home-testimonials__track {
	display: flex;
	gap: 1.5rem;
	transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
}

.nncc-home-testimonials__card {
	flex: 0 0 calc(50% - 0.75rem);
	min-width: 0;
}

.nncc-home-testimonials__card-inner {
	display: flex;
	gap: 1.25rem;
	background: #fff;
	border-radius: 14px;
	padding: 1.5rem;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.07);
	border: 1px solid rgba(0, 0, 0, 0.05);
	position: relative;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.nncc-home-testimonials__card-inner:hover {
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.1);
	transform: translateY(-3px);
}

.nncc-home-testimonials__photo {
	flex: 0 0 112px;
}

.nncc-home-testimonials__photo img {
	width: 112px;
	height: 112px;
	object-fit: cover;
	border-radius: 12px;
	display: block;
}

.nncc-home-testimonials__body {
	position: relative;
	flex: 1;
	min-width: 0;
}

.nncc-home-testimonials__quote {
	position: absolute;
	right: 0;
	top: 0;
	font-size: 3rem;
	line-height: 1;
	color: #1a7a6a;
	opacity: 0.35;
	font-family: Georgia, serif;
}

.nncc-home-testimonials__name {
	font-weight: 800;
	margin: 0 0 0.15rem;
	color: #1a1a1a;
}

.nncc-home-testimonials__role {
	font-size: 0.88rem;
	color: #1a7a6a;
	margin: 0 0 0.5rem;
	font-weight: 600;
}

.nncc-home-testimonials__text {
	font-size: 0.95rem;
	line-height: 1.55;
	color: #444;
	margin: 0 0 0.75rem;
}

.nncc-home-testimonials__stars {
	color: var(--nncc-yellow);
	letter-spacing: 0.15em;
	font-size: 1rem;
}

.nncc-home-testimonials__bar {
	height: 5px;
	width: 72%;
	margin: 0.75rem auto 0;
	background: var(--nncc-black);
	border-radius: 4px;
	opacity: 0.9;
}

.nncc-home-testimonials__nav {
	display: flex;
	justify-content: center;
	gap: 1rem;
}

.nncc-home-testimonials__btn {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: none;
	transition: transform 0.2s ease;
}

.nncc-home-testimonials__btn--prev {
	background: var(--nncc-black);
	color: #fff;
}

.nncc-home-testimonials__btn--next {
	background: var(--nncc-yellow);
	color: #000;
}

.nncc-home-testimonials__btn:hover {
	transform: scale(1.06);
}

.nncc-home-testimonials__hearts {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
}

.nncc-home-testimonials__heart {
	position: absolute;
	width: 180px;
	height: 160px;
	border: 3px solid var(--nncc-yellow);
	border-radius: 45% 55% 50% 50% / 55% 45% 55% 45%;
	opacity: 0.12;
}

.nncc-home-testimonials__heart--y {
	left: -4%;
	bottom: 8%;
	transform: rotate(-12deg);
}

.nncc-home-testimonials__heart--g {
	right: -2%;
	top: 6%;
	border-color: var(--nncc-black);
	transform: rotate(18deg);
}

@media (max-width: 991.98px) {
	.nncc-home-testimonials__card {
		flex: 0 0 100%;
	}

	.nncc-home-testimonials__card-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.nncc-home-testimonials__photo {
		flex: 0 0 auto;
	}
}

/* =====================================
   04 · BLOG — bloque últimas entradas (home)
===================================== */
.nncc-home-blog {
	padding: 80px 0 96px;
	background: #fafafa;
}

.nncc-home-blog__header {
	margin-bottom: 2.5rem;
}

.nncc-home-blog__tag {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-weight: 700;
	color: var(--nncc-black);
	margin-bottom: 0.5rem;
}

.nncc-home-blog__title {
	font-weight: 800;
	font-size: clamp(1.5rem, 2.5vw, 2.25rem);
	color: var(--nncc-black);
	margin: 0;
}

.nncc-home-blog__title-highlight {
	color: var(--nncc-yellow);
}

.nncc-home-blog__card {
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nncc-home-blog__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.nncc-home-blog__thumb-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.nncc-home-blog__thumb {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: #e8e8e8;
}

.nncc-home-blog__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.nncc-home-blog__img--placeholder {
	min-height: 200px;
	background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
}

.nncc-home-blog__badge {
	position: absolute;
	left: 12px;
	top: 12px;
	background: var(--nncc-black);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
}

.nncc-home-blog__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	padding: 1rem 1.25rem 0;
	font-size: 0.82rem;
	color: #555;
}

.nncc-home-blog__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.nncc-home-blog__post-title {
	padding: 0.5rem 1.25rem 0;
	margin: 0;
	font-size: 1.08rem;
	line-height: 1.35;
	font-weight: 800;
}

.nncc-home-blog__post-title a {
	color: #1a1a1a;
	text-decoration: none;
}

.nncc-home-blog__post-title a:hover {
	color: var(--nncc-black);
}

.nncc-home-blog__read {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 1rem 1.25rem 1.25rem;
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--nncc-black);
	text-decoration: none;
}

.nncc-home-blog__read-ic {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--nncc-black);
}

.nncc-home-blog__actions {
	margin-top: 2rem;
}

.nncc-home-blog__viewall {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border-radius: var(--nncc-btn-radius);
	padding: var(--nncc-btn-padding-y) 1.75rem;
	font-weight: var(--nncc-btn-font-weight);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	background: var(--nncc-yellow);
	color: var(--nncc-black) !important;
	border: 1px solid var(--nncc-black) !important;
	text-decoration: none;
	transition: var(--nncc-transition);
	box-sizing: border-box;
}

.nncc-home-blog__viewall:hover {
	background: var(--nncc-black);
	color: var(--nncc-yellow) !important;
	border-color: var(--nncc-black) !important;
}

/* =====================================
   04 · BLOG — archivo / categorías / listados
===================================== */
.nncc-blog-archive-wrap {
	background: #fafafa;
}

.nncc-blog-archive-hero {
	background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 55%, var(--nncc-black) 100%);
	color: #fff;
	padding: 2.25rem 0 2.75rem;
	border-bottom: 4px solid var(--nncc-yellow);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.nncc-blog-archive-breadcrumb {
	font-size: 0.8125rem;
	margin-bottom: 1.25rem;
	color: rgba(255, 255, 255, 0.65);
}

.nncc-blog-archive-breadcrumb a {
	color: rgba(255, 255, 255, 0.88);
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 204, 0, 0.35);
	transition: color 0.15s ease, border-color 0.15s ease;
}

.nncc-blog-archive-breadcrumb a:hover,
.nncc-blog-archive-breadcrumb a:focus {
	color: var(--nncc-yellow);
	border-bottom-color: var(--nncc-yellow);
}

.nncc-blog-archive-breadcrumb__sep {
	margin: 0 0.4rem;
	color: rgba(255, 255, 255, 0.35);
}

.nncc-blog-archive-breadcrumb__current {
	color: rgba(255, 255, 255, 0.55);
	font-weight: 600;
}

.nncc-blog-archive-header {
	max-width: 48rem;
}

.nncc-blog-archive-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0 0 0.5rem;
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--nncc-yellow);
}

.nncc-blog-archive-title {
	margin: 0;
	font-weight: 800;
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	line-height: 1.15;
	color: #fff;
	letter-spacing: -0.02em;
}

.nncc-blog-archive-title-query {
	display: inline-block;
	margin-left: 0.35rem;
	color: var(--nncc-yellow);
	word-break: break-word;
}

.nncc-blog-archive-desc {
	margin: 0.85rem 0 0;
	font-size: 1.02rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.78);
}

.nncc-blog-archive-desc.taxonomy-description p {
	margin: 0;
}

.nncc-blog-archive-body {
	padding: 48px 0 88px;
}

.nncc-blog-archive-grid {
	row-gap: 1.75rem;
}

.nncc-blog-archive-main .no-results.not-found {
	background: #fff;
	border-radius: 14px;
	padding: 2.5rem 1.5rem;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
	text-align: center;
	max-width: 36rem;
	margin: 0 auto;
}

.nncc-blog-archive-main .no-results .page-title {
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--nncc-black);
}

.nncc-blog-archive-main .pagination.nncc-blog-pagination {
	margin-top: 2.5rem;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.nncc-blog-archive-main .pagination.nncc-blog-pagination .page-item .page-link {
	min-width: 2.5rem;
	text-align: center;
	border-radius: 8px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	color: var(--nncc-black);
	font-weight: 700;
	padding: 0.45rem 0.65rem;
	transition: var(--nncc-transition);
}

.nncc-blog-archive-main .pagination.nncc-blog-pagination .page-item.active .page-link {
	background: var(--nncc-black);
	border-color: var(--nncc-black);
	color: #fff;
}

.nncc-blog-archive-main .pagination.nncc-blog-pagination .page-item .page-link:hover,
.nncc-blog-archive-main .pagination.nncc-blog-pagination .page-item .page-link:focus {
	background: var(--nncc-black);
	border-color: var(--nncc-black);
	color: var(--nncc-yellow);
}

.nncc-blog-archive-main .pagination.nncc-blog-pagination .page-item.disabled .page-link {
	opacity: 0.45;
	pointer-events: none;
}

/* =====================================
   05 · BLOG — entrada individual
===================================== */
.nncc-single-post-wrap {
	background: #fafafa;
}

.nncc-single-post-hero .nncc-blog-archive-header {
	max-width: 52rem;
}

.nncc-single-post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem 1.25rem;
	margin-top: 1.15rem;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.82);
}

.nncc-single-post-meta__item {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.nncc-single-post-meta__ic {
	display: inline-flex;
	color: var(--nncc-yellow);
	flex-shrink: 0;
}

.nncc-single-post-meta__time {
	font-weight: 600;
}

.nncc-single-post-meta__author a {
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 204, 0, 0.45);
	transition: color 0.15s ease, border-color 0.15s ease;
}

.nncc-single-post-meta__author a:hover,
.nncc-single-post-meta__author a:focus {
	color: var(--nncc-yellow);
	border-bottom-color: var(--nncc-yellow);
}

.nncc-single-post-meta__cats {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
}

.nncc-single-post-meta__cat {
	display: inline-block;
	padding: 0.3rem 0.75rem;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #111;
	background: var(--nncc-yellow);
	border-radius: 999px;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.nncc-single-post-meta__cat:hover,
.nncc-single-post-meta__cat:focus {
	background: #fff;
	color: var(--nncc-black);
}

.nncc-single-post-body {
	padding: 40px 0 96px;
}

.nncc-single-post-column {
	min-width: 0;
}

.nncc-single-post-article {
	margin: 0;
}

.nncc-single-post-featured {
	margin: 0 0 1.75rem;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
	background: #e8e8e8;
	line-height: 0;
}

.nncc-single-post-featured__img {
	width: 100%;
	height: auto;
	display: block;
}

.nncc-single-post-content {
	font-size: 1.0625rem;
	line-height: 1.75;
	color: #2a2a2a;
}

.nncc-single-post-content > *:first-child {
	margin-top: 0;
}

.nncc-single-post-content p {
	margin-bottom: 1.25rem;
}

.nncc-single-post-content h2,
.nncc-single-post-content h3,
.nncc-single-post-content h4 {
	margin: 2rem 0 0.85rem;
	font-weight: 800;
	color: var(--nncc-black);
	line-height: 1.25;
}

.nncc-single-post-content h2 {
	font-size: clamp(1.35rem, 2.2vw, 1.65rem);
}

.nncc-single-post-content h3 {
	font-size: clamp(1.2rem, 1.8vw, 1.35rem);
}

.nncc-single-post-content a {
	color: var(--nncc-black);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.nncc-single-post-content a:hover,
.nncc-single-post-content a:focus {
	color: var(--nncc-black);
}

.nncc-single-post-content blockquote {
	margin: 1.5rem 0;
	padding: 1rem 1.25rem 1rem 1.1rem;
	border-left: 4px solid var(--nncc-yellow);
	background: rgba(255, 204, 0, 0.12);
	font-style: italic;
	color: #333;
}

.nncc-single-post-content ul,
.nncc-single-post-content ol {
	margin: 0 0 1.25rem 1.25rem;
	padding: 0;
}

.nncc-single-post-content li {
	margin-bottom: 0.45rem;
}

.nncc-single-post-content img,
.nncc-single-post-content .wp-block-image img {
	height: auto;
	max-width: 100%;
	border-radius: 8px;
}

/* =====================================
   04 · BLOG — archivo categoría (single sin sidebar, lightbox)
===================================== */
body.nncc-archivo-single .nncc-single-post-meta__cats {
	display: none;
}

body.nncc-archivo-single .nncc-single-post-column--full {
	max-width: 100%;
}

body.nncc-archivo-single .nncc-single-post-content img,
body.nncc-archivo-single .nncc-single-post-content .wp-block-image img {
	cursor: zoom-in;
}

.nncc-archivo-lightbox {
	border: none;
	padding: 0;
	background: transparent;
	max-width: min(96vw, 1100px);
	width: auto;
}

.nncc-archivo-lightbox::backdrop {
	background: rgba(0, 0, 0, 0.72);
}

.nncc-archivo-lightbox__figure {
	margin: 0;
	background: transparent;
	border-radius: 16px;
	overflow: visible;
	box-shadow: none;
	display: grid;
	place-items: center;
}

.nncc-archivo-lightbox__img {
	display: block;
	max-width: 96vw;
	max-height: 86vh;
	width: auto;
	height: auto;
	border-radius: 16px;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.nncc-archivo-lightbox__close {
	position: fixed;
	top: 18px;
	right: 18px;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	font-size: 28px;
	line-height: 40px;
	cursor: pointer;
}

.nncc-archivo-lightbox__close:hover {
	background: rgba(0, 0, 0, 0.65);
}

.nncc-archivo-lightbox__nav {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	width: 46px;
	height: 46px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(0, 0, 0, 0.35);
	color: #fff;
	font-size: 34px;
	line-height: 42px;
	cursor: pointer;
	user-select: none;
}

.nncc-archivo-lightbox__nav:hover {
	background: rgba(0, 0, 0, 0.55);
}

.nncc-archivo-lightbox__nav:disabled {
	opacity: 0.25;
	pointer-events: none;
}

.nncc-archivo-lightbox__nav--prev {
	left: 18px;
}

.nncc-archivo-lightbox__nav--next {
	right: 72px; /* deja lugar a la cruz */
}

.nncc-single-post-content .alignwide {
	margin-left: auto;
	margin-right: auto;
	max-width: 100%;
}

.nncc-single-post-content .wp-caption {
	max-width: 100%;
}

.nncc-single-post-page-links {
	margin: 2rem 0 0;
	padding-top: 1rem;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	font-weight: 700;
	font-size: 0.95rem;
}

.nncc-single-post-page-links a {
	margin: 0 0.25rem;
	padding: 0.2rem 0.55rem;
	border-radius: 6px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.12);
	text-decoration: none;
	color: var(--nncc-black);
	transition: var(--nncc-transition);
}

.nncc-single-post-page-links a:hover {
	background: var(--nncc-black);
	border-color: var(--nncc-black);
	color: var(--nncc-yellow);
}

.nncc-single-post-footer {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.nncc-single-post-footer__block {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.nncc-single-post-footer__label {
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #666;
}

.nncc-single-post-footer__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.nncc-single-post-pill {
	display: inline-block;
	padding: 0.35rem 0.85rem;
	font-size: 0.85rem;
	font-weight: 600;
	border-radius: 999px;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.nncc-single-post-pill--tag {
	background: #fff;
	color: var(--nncc-black);
	border: 1px solid rgba(0, 0, 0, 0.35);
}

.nncc-single-post-pill--tag:hover,
.nncc-single-post-pill--tag:focus {
	background: var(--nncc-black);
	color: #fff;
	border-color: var(--nncc-black);
}

.nncc-single-post-edit {
	margin: 1rem 0 0;
	font-size: 0.9rem;
}

.nncc-single-post-edit a {
	font-weight: 700;
	color: var(--nncc-black);
}

.nncc-single-post-nav {
	margin-top: 2.5rem;
	padding: 1.25rem 0 0;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.nncc-single-post-nav__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	align-items: stretch;
}

.nncc-single-post-nav__link {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 1rem 1.15rem;
	border-radius: 12px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	text-decoration: none;
	color: inherit;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
	min-height: 4.5rem;
}

.nncc-single-post-nav__link:hover,
.nncc-single-post-nav__link:focus {
	border-color: var(--nncc-yellow);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.nncc-single-post-nav__link--next {
	text-align: right;
	align-items: flex-end;
}

.nncc-single-post-nav__hint {
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nncc-yellow);
}

.nncc-single-post-nav__title {
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--nncc-black);
}

.nncc-single-post-nav__placeholder {
	min-height: 1px;
}

.nncc-single-post-comments-wrap {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.nncc-single-post-comments-wrap .comments-title {
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--nncc-black);
}

.nncc-single-post-comments-wrap .comment-body {
	background: #fff;
	border-radius: 10px;
	padding: 1rem 1.15rem;
	margin-bottom: 1rem;
	border: 1px solid rgba(0, 0, 0, 0.06);
}

.nncc-single-post-comments-wrap .comment-reply-link {
	font-weight: 700;
	color: var(--nncc-black);
}

.nncc-single-post-comments-wrap #submit {
	font-weight: 800;
	border-radius: 8px;
	background: var(--nncc-yellow);
	color: #000;
	border: 2px solid #000;
	padding: 0.5rem 1.25rem;
}

.nncc-single-post-comments-wrap #submit:hover {
	background: #000;
	color: var(--nncc-yellow);
}

.nncc-single-post-row--with-sidebar .nncc-single-post-column {
	max-width: none;
}

/* =====================================
   05 · BLOG — sidebar (widgets, búsqueda, bloques)
===================================== */
.nncc-single-post-sidebar {
	margin-top: 0;
}

.nncc-single-post-sidebar__inner {
	position: sticky;
	top: 1rem;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

body.admin-bar .nncc-single-post-sidebar__inner {
	top: calc(1rem + 32px);
}

@media screen and (max-width: 782px) {
	body.admin-bar .nncc-single-post-sidebar__inner {
		top: calc(1rem + 46px);
	}
}

.nncc-single-post-sidebar .nncc-sidebar-widget.widget,
.nncc-single-post-sidebar .widget {
	margin: 0;
	padding: 1.15rem 1.25rem;
	background: #fff;
	border-radius: 12px;
	border: 1px solid rgba(0, 0, 0, 0.07);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.nncc-single-post-sidebar .widget-title {
	margin: 0 0 0.85rem;
	padding-bottom: 0.65rem;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--nncc-black);
	border-bottom: 2px solid var(--nncc-yellow);
}

.nncc-single-post-sidebar .widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.nncc-single-post-sidebar .widget ul li {
	margin: 0 0 0.65rem;
	padding: 0;
	line-height: 1.4;
}

.nncc-single-post-sidebar .widget ul li:last-child {
	margin-bottom: 0;
}

.nncc-single-post-sidebar .widget a {
	color: var(--nncc-black);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.nncc-single-post-sidebar .widget a:hover,
.nncc-single-post-sidebar .widget a:focus {
	color: var(--nncc-black);
	border-bottom-color: rgba(0, 0, 0, 0.35);
}

.nncc-single-post-sidebar .widget p:last-child {
	margin-bottom: 0;
}

.nncc-single-post-sidebar .widget img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

/* Botones de bloque (no formularios): misma lógica que “Ver todo” / CTA primario */
.nncc-single-post-sidebar .widget .wp-block-button__link,
.nncc-single-post-sidebar .widget .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-top: 0.5rem;
	padding: var(--nncc-btn-padding-y) var(--nncc-btn-padding-x);
	font-weight: var(--nncc-btn-font-weight);
	font-size: 0.9rem;
	text-align: center;
	text-decoration: none;
	border-radius: var(--nncc-btn-radius);
	background: var(--nncc-yellow);
	color: var(--nncc-black) !important;
	border: 1px solid var(--nncc-black) !important;
	transition: var(--nncc-transition);
	box-sizing: border-box;
}

.nncc-single-post-sidebar .widget .wp-block-button__link:hover,
.nncc-single-post-sidebar .widget .button:hover {
	background: var(--nncc-black);
	color: var(--nncc-yellow) !important;
	border-color: var(--nncc-black) !important;
}

/* Widgets con envío (formularios): se mantiene estilo aparte; no unificar con CTAs */
.nncc-single-post-sidebar .widget input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-top: 0.5rem;
	padding: 0.65rem 1rem;
	font-weight: 800;
	font-size: 0.9rem;
	text-align: center;
	text-decoration: none;
	border-radius: 8px;
	background: var(--nncc-yellow);
	color: #000 !important;
	border: 2px solid #000 !important;
	transition: background 0.15s ease, color 0.15s ease;
}

.nncc-single-post-sidebar .widget input[type="submit"]:hover {
	background: #000;
	color: var(--nncc-yellow) !important;
}

/* Buscador en barra lateral: Understrap usa .input-group (campo + botón en fila) */
.nncc-single-post-sidebar .widget_search .search-form,
#right-sidebar .widget_search .search-form {
	display: block;
}

.nncc-single-post-sidebar .widget_search .search-form .input-group,
#right-sidebar .widget_search .search-form .input-group {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	width: 100%;
	align-items: stretch;
}

.nncc-single-post-sidebar .widget_search .search-form .input-group .search-field,
.nncc-single-post-sidebar .widget_search .search-form .input-group .field,
.nncc-single-post-sidebar .widget_search .search-form .input-group .form-control,
#right-sidebar .widget_search .search-form .input-group .search-field,
#right-sidebar .widget_search .search-form .input-group .field,
#right-sidebar .widget_search .search-form .input-group .form-control {
	flex: 1 1 auto !important;
	min-width: 0;
	width: 1% !important; /* truco Bootstrap input-group para que el input crezca */
}

.nncc-single-post-sidebar .widget_search .search-form .input-group-append,
.nncc-single-post-sidebar .widget_search .search-form .input-group > .search-submit,
.nncc-single-post-sidebar .widget_search .search-form .input-group > input[type="submit"],
#right-sidebar .widget_search .search-form .input-group-append,
#right-sidebar .widget_search .search-form .input-group > .search-submit,
#right-sidebar .widget_search .search-form .input-group > input[type="submit"] {
	flex: 0 0 auto !important;
}

/* Formulario sin .input-group (marcado por defecto): flex en el form */
.nncc-single-post-sidebar .widget_search .search-form:not(:has(.input-group)),
#right-sidebar .widget_search .search-form:not(:has(.input-group)) {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0.5rem;
}

.nncc-single-post-sidebar .widget_search .search-form:not(:has(.input-group)) label:has(.search-field),
#right-sidebar .widget_search .search-form:not(:has(.input-group)) label:has(.search-field) {
	flex: 1 1 auto;
	min-width: 0;
}

.nncc-single-post-sidebar .widget_search .search-form:not(:has(.input-group)) label:has(.search-field) + .search-submit,
.nncc-single-post-sidebar .widget_search .search-form:not(:has(.input-group)) label:has(.search-field) + input[type="submit"],
#right-sidebar .widget_search .search-form:not(:has(.input-group)) label:has(.search-field) + .search-submit,
#right-sidebar .widget_search .search-form:not(:has(.input-group)) label:has(.search-field) + input[type="submit"] {
	flex: 0 0 auto;
	align-self: stretch;
}

.nncc-single-post-sidebar .widget_search .search-form:not(:has(.input-group)) > label:first-child:not(:has(.search-field)),
#right-sidebar .widget_search .search-form:not(:has(.input-group)) > label:first-child:not(:has(.search-field)) {
	flex: 1 1 100%;
}

.nncc-single-post-sidebar .widget_search .search-form:not(:has(.input-group)) > .search-field,
#right-sidebar .widget_search .search-form:not(:has(.input-group)) > .search-field {
	flex: 1 1 auto;
	min-width: 0;
}

.nncc-single-post-sidebar .widget_search .search-form:not(:has(.input-group)) > .search-submit,
.nncc-single-post-sidebar .widget_search .search-form:not(:has(.input-group)) > input[type="submit"].search-submit,
#right-sidebar .widget_search .search-form:not(:has(.input-group)) > .search-submit,
#right-sidebar .widget_search .search-form:not(:has(.input-group)) > input[type="submit"].search-submit {
	flex: 0 0 auto;
	align-self: stretch;
}

.nncc-single-post-sidebar .widget_search .search-field,
#right-sidebar .widget_search .search-field {
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0.55rem 0.75rem;
	font-size: 0.9rem;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 8px;
	box-sizing: border-box;
}

.nncc-single-post-sidebar .widget_search .search-field:focus,
#right-sidebar .widget_search .search-field:focus {
	outline: none;
	border-color: var(--nncc-yellow);
	box-shadow: 0 0 0 2px rgba(255, 204, 0, 0.35);
}

.nncc-single-post-sidebar .widget_search .search-submit,
.nncc-single-post-sidebar .widget_search input[type="submit"],
.nncc-single-post-sidebar .widget_search button[type="submit"],
.nncc-single-post-sidebar .wp-block-search__button,
.nncc-single-post-sidebar .wp-block-search .wp-block-search__button,
#right-sidebar .widget_search .search-submit,
#right-sidebar .widget_search input[type="submit"],
#right-sidebar .widget_search button[type="submit"],
#right-sidebar .wp-block-search__button,
#right-sidebar .wp-block-search .wp-block-search__button {
	flex: 0 0 auto;
	margin-top: 0 !important;
	width: auto !important;
	min-width: 5.5rem;
	padding: 0.55rem 1rem !important;
	font-weight: 800 !important;
	font-size: 0.88rem !important;
	line-height: 1.2 !important;
	text-align: center;
	border-radius: 8px !important;
	background: var(--nncc-yellow) !important;
	color: #000 !important;
	border: 2px solid #000 !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.nncc-single-post-sidebar .widget_search .search-submit:hover,
.nncc-single-post-sidebar .widget_search .search-submit:focus,
.nncc-single-post-sidebar .widget_search input[type="submit"]:hover,
.nncc-single-post-sidebar .widget_search input[type="submit"]:focus,
.nncc-single-post-sidebar .widget_search button[type="submit"]:hover,
.nncc-single-post-sidebar .widget_search button[type="submit"]:focus,
.nncc-single-post-sidebar .wp-block-search__button:hover,
.nncc-single-post-sidebar .wp-block-search__button:focus,
#right-sidebar .widget_search .search-submit:hover,
#right-sidebar .widget_search .search-submit:focus,
#right-sidebar .widget_search input[type="submit"]:hover,
#right-sidebar .widget_search input[type="submit"]:focus,
#right-sidebar .wp-block-search__button:hover,
#right-sidebar .wp-block-search__button:focus {
	background: #000 !important;
	color: var(--nncc-yellow) !important;
	border-color: #000 !important;
}

.nncc-single-post-sidebar .wp-block-search__inside-wrapper,
#right-sidebar .wp-block-search__inside-wrapper {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.5rem;
	align-items: stretch;
}

.nncc-single-post-sidebar .wp-block-search .wp-block-search__input,
#right-sidebar .wp-block-search .wp-block-search__input {
	flex: 1 1 auto;
	min-width: 0;
	border-radius: 8px;
	border: 1px solid rgba(0, 0, 0, 0.15);
}

/* NNCC · Últimas entradas (miniatura + título) */
.nncc-single-post-sidebar .nncc-recent-posts-list,
#right-sidebar .nncc-recent-posts-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.nncc-single-post-sidebar .nncc-recent-posts-item,
#right-sidebar .nncc-recent-posts-item {
	margin: 0 0 0.65rem;
	padding: 0;
}

.nncc-single-post-sidebar .nncc-recent-posts-item:last-child,
#right-sidebar .nncc-recent-posts-item:last-child {
	margin-bottom: 0;
}

.nncc-single-post-sidebar .nncc-recent-posts-link,
#right-sidebar .nncc-recent-posts-link {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.35rem 0;
	border-bottom: none !important;
	color: var(--nncc-black) !important;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	transition: color 0.15s ease;
}

.nncc-single-post-sidebar .nncc-recent-posts-link:hover,
.nncc-single-post-sidebar .nncc-recent-posts-link:focus,
#right-sidebar .nncc-recent-posts-link:hover,
#right-sidebar .nncc-recent-posts-link:focus {
	color: var(--nncc-black) !important;
}

.nncc-single-post-sidebar .nncc-recent-posts-thumb-wrap,
#right-sidebar .nncc-recent-posts-thumb-wrap {
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	overflow: hidden;
	border-radius: 8px;
	background: #e8e8e8;
	align-self: flex-start;
}

.nncc-single-post-sidebar .nncc-recent-posts-thumb,
#right-sidebar .nncc-recent-posts-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 8px;
}

.nncc-single-post-sidebar .nncc-recent-posts-thumb--placeholder,
#right-sidebar .nncc-recent-posts-thumb--placeholder {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 52px;
	background: linear-gradient(135deg, #e2e2e2, #f0f0f0);
}

.nncc-single-post-sidebar .nncc-recent-posts-title,
#right-sidebar .nncc-recent-posts-title {
	flex: 1;
	min-width: 0;
	font-size: 0.9rem;
	font-weight: 700;
}

/* Ocultar "últimos comentarios" en barras laterales (widget clásico o bloque) */
.nncc-single-post-sidebar .widget_recent_comments,
.nncc-single-post-sidebar .wp-block-latest-comments,
#right-sidebar .widget_recent_comments,
#right-sidebar .wp-block-latest-comments {
	display: none !important;
}

@media (max-width: 991.98px) {
	.nncc-single-post-sidebar {
		margin-top: 2.5rem;
	}

	.nncc-single-post-sidebar__inner {
		position: static;
	}
}

@media (max-width: 575.98px) {
	.nncc-single-post-nav__inner {
		grid-template-columns: 1fr;
	}

	.nncc-single-post-nav__link--next {
		text-align: left;
		align-items: flex-start;
	}
}


/* =====================================
   06 · WOOCOMMERCE — base (layout tienda, tipografía, formularios)
===================================== */

.woocommerce .site-main,
.woocommerce-page .site-main {
	background: #fff;
}

.woocommerce #left-sidebar,
.woocommerce #right-sidebar,
.woocommerce-page #left-sidebar,
.woocommerce-page #right-sidebar {
	display: none !important;
}

.woocommerce .woocommerce-breadcrumb {
	font-size: 0.92rem;
	margin-bottom: 22px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.woocommerce .woocommerce-breadcrumb a {
	color: #000;
	text-decoration: none;
	border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.woocommerce .woocommerce-breadcrumb a:hover {
	border-bottom-color: #000;
}

.woocommerce .page-title,
.woocommerce-page .page-title,
.woocommerce div.product .product_title {
	color: #000;
	font-weight: 800;
	letter-spacing: -0.01em;
}

/* Selector de orden (Shop / Archive) */
.woocommerce .woocommerce-ordering,
.woocommerce-page .woocommerce-ordering {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	margin: 18px 0;
}

.woocommerce .woocommerce-ordering select,
.woocommerce-page .woocommerce-ordering select {
	border: 1px solid #d9d9d9;
	border-radius: 12px;
	padding: 10px 12px;
	min-height: 44px;
	background: #fff;
	color: #000;
	font-weight: 800;
}

/* Shop / Archive */
.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 14px;
	padding: 14px 14px 16px;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 24px rgba(0, 0, 0, 0.08);
}

.woocommerce ul.products li.product a img {
	border-radius: 10px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 1.02rem;
	font-weight: 700;
	color: #000;
	margin-top: 10px;
	flex: 1 1 auto;
}

.woocommerce ul.products li.product .price {
	color: #000;
	font-size: 1rem;
	font-weight: 800;
	margin-bottom: 12px;
}

/* Botones WooCommerce consistentes con NNCC */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	background: #000;
	color: var(--nncc-yellow);
	border: 2px solid #000;
	border-radius: 999px;
	padding: 10px 18px;
	font-weight: 800;
	line-height: 1.2;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
	background: transparent;
	color: #000;
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
	background: #000;
	color: var(--nncc-yellow);
	border-color: #000;
}

/* Producto individual */
.single-product div.product {
	background: #fff;
	padding: 22px;
	border-radius: 14px;
	display: grid;
	grid-template-columns: 0.95fr 1.15fr;
	gap: 26px;
	align-items: start;
}

.single-product div.product .woocommerce-product-gallery img {
	border-radius: 14px;
	max-height: none;
	height: auto !important;
	object-fit: contain;
}

.single-product div.product p.price,
.single-product div.product span.price {
	color: #000;
	font-weight: 900;
	font-size: 1.35rem;
}

.single-product .woocommerce-product-details__short-description {
	color: #222;
	line-height: 1.65;
	max-width: 64ch;
}

/* Carrito y Checkout */
.woocommerce-cart .cart_totals,
.woocommerce-checkout .woocommerce-checkout-review-order,
.woocommerce-checkout #customer_details,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-MyAccount-navigation {
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 14px;
	padding: 18px;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}

.woocommerce table.shop_table {
	border-color: #ececec;
	border-radius: 12px;
	overflow: hidden;
}

.woocommerce .cart .button,
.woocommerce .cart input.button {
	margin-top: 8px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
	border: 1px solid #d9d9d9;
	border-radius: 10px;
	padding: 10px 12px;
	min-height: 44px;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
	border-color: #000;
	box-shadow: 0 0 0 0.2rem rgba(255, 204, 0, 0.25);
	outline: none;
}

/* Notices Woo: estilos completos en assets/css/nncc-woocommerce-notices.css */

.woocommerce-checkout #payment {
	border-radius: 12px;
}

@media (max-width: 991.98px) {
	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 575.98px) {
	.woocommerce ul.products {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}
}

/* =====================================
   06 · WOOCOMMERCE — UI NNCC (capa sobre base; FASE 1 libros)
===================================== */

.woocommerce ul.products li.product a img {
	width: 100% !important;
	height: 260px;
	object-fit: cover;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .ajax_add_to_cart {
	background: #000 !important;
	color: var(--nncc-yellow) !important;
	border: 2px solid #000 !important;
	border-radius: 999px !important;
	font-weight: 800;
	padding: 10px 18px;
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.18s ease;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover,
.woocommerce ul.products li.product .ajax_add_to_cart:hover {
	background: transparent !important;
	color: #000 !important;
}

.woocommerce ul.products li.product .star-rating {
	color: var(--nncc-yellow);
}

/* Tabs de producto (descripción / info adicional / reseñas) */
.woocommerce div.product .woocommerce-tabs ul.tabs,
.woocommerce div.product .woocommerce-Tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	border-bottom: 1px solid #ececec;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a,
.woocommerce div.product .woocommerce-Tabs ul.tabs li a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 14px;
	border: 1px solid #ececec;
	border-bottom: 0;
	border-radius: 12px 12px 0 0;
	background: #fff;
	color: #000;
	font-weight: 800;
	text-transform: uppercase;
	font-size: 12px;
	text-decoration: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-Tabs ul.tabs li.active a {
	background: var(--nncc-yellow);
	border-color: #000;
	color: #000;
}

.woocommerce div.product .woocommerce-Tabs-panel,
.woocommerce div.product .woocommerce-tabs .panel {
	border: 1px solid #ececec;
	border-radius: 0 12px 12px 12px;
	padding: 18px;
	background: #fff;
}

/* Producto individual */
.single-product div.product {
	border-radius: 14px;
}

.single-product div.product .summary {
	padding-top: 8px;
}

.single-product .quantity {
	display: inline-flex;
	align-items: center;
}

.single-product .quantity input.qty {
	width: 80px;
	text-align: center;
	border-radius: 12px;
}

.single-product .single_add_to_cart_button,
.single-product form.cart .single_add_to_cart_button {
	background: #000 !important;
	color: var(--nncc-yellow) !important;
	border: 2px solid #000 !important;
	border-radius: 999px !important;
	font-weight: 800;
	padding: 12px 22px;
	transition: all 0.18s ease;
}

.single-product .single_add_to_cart_button:hover {
	background: transparent !important;
	color: #000 !important;
}

/* Carrito */
.woocommerce-cart table.shop_table {
	border-radius: 14px;
}

.woocommerce-cart table.shop_table td,
.woocommerce-cart table.shop_table th {
	padding: 14px 12px;
	vertical-align: middle;
}

.woocommerce-cart table.shop_table thead th {
	background: var(--nncc-yellow);
	color: #000;
	border-bottom: 1px solid #000;
	font-weight: 900;
}

.woocommerce-cart .cart-collaterals .cart_totals {
	border-radius: 14px;
}

.woocommerce-cart .quantity input.qty {
	width: 70px;
	text-align: center;
	border-radius: 12px;
}

/* Checkout */
.woocommerce-checkout .col2-set {
	display: grid;
	grid-template-columns: 1.35fr 0.65fr;
	gap: 22px;
	align-items: start;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
	width: 100%;
}

.woocommerce-checkout form.checkout {
	background: transparent;
}

.woocommerce-checkout .woocommerce-checkout-review-order {
	background: #fff;
}

.woocommerce-checkout #payment .payment_methods {
	border-radius: 12px;
}

/* Mi cuenta */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
	margin: 0 0 10px;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
	display: inline-flex;
	align-items: center;
	padding: 10px 14px;
	border: 1px solid #ececec;
	border-radius: 12px;
	color: #000;
	font-weight: 700;
	text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
	border-color: #000;
}

@media (max-width: 991.98px) {
	/* Ajusta altura de thumbs en tablet */
	.woocommerce ul.products li.product a img {
		height: 220px;
	}

	.single-product div.product {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.woocommerce-checkout .col2-set {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 575.98px) {
	.woocommerce ul.products li.product a img {
		height: 190px;
	}

	.woocommerce-checkout .col2-set .col-1,
	.woocommerce-checkout .col2-set .col-2 {
		width: 100%;
	}
}

/* =====================================
   06 · WOOCOMMERCE — fine-tuning (grilla / proporciones)
===================================== */

/* Shop: grilla consistente (3-4 max en desktop según ancho) */
.woocommerce ul.products,
.woocommerce-page ul.products {
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 22px;
}

@media (min-width: 1400px) {
	.woocommerce ul.products,
	.woocommerce-page ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 992px) and (max-width: 1399.98px) {
	.woocommerce ul.products,
	.woocommerce-page ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	min-height: 100%;
}

/* Refina proporciones (sobre reglas de la capa UI NNCC más arriba). */
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
	aspect-ratio: 3 / 4;
	height: auto !important;
	min-height: 250px;
	max-height: 340px;
	object-fit: cover;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	line-height: 1.35;
	min-height: 2.7em;
}

.woocommerce ul.products li.product .price {
	margin-top: 8px;
	margin-bottom: 14px;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .ajax_add_to_cart {
	width: 100%;
}

/* Single: más espacio para resumen y mejor proporción */
.single-product div.product {
	grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.3fr);
	gap: 30px;
}

.single-product div.product .summary {
	max-width: none;
	padding-right: 4px;
}

.single-product .product_title {
	font-size: clamp(1.7rem, 2.2vw, 2.2rem);
	line-height: 1.15;
	margin-bottom: 10px;
}

.single-product .summary .price {
	margin-bottom: 14px;
}

.single-product form.cart.nncc-single-cart-form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.single-product form.cart.nncc-single-cart-form .quantity,
.single-product form.cart.nncc-single-cart-form .quantity .qty {
	height: 48px;
}

.single-product form.cart.nncc-single-cart-form .quantity .qty {
	border: 2px solid #000;
	border-radius: 999px;
	min-width: 88px;
	padding: 0 12px;
}

.single-product form.cart.nncc-single-cart-form .nncc-wc-add-to-cart {
	height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 24px;
	background: #000 !important;
	color: var(--nncc-yellow) !important;
	border: 2px solid #000 !important;
	border-radius: 999px !important;
	font-weight: 900;
	letter-spacing: 0.2px;
}

.single-product form.cart.nncc-single-cart-form .nncc-wc-add-to-cart:hover {
	background: transparent !important;
	color: #000 !important;
}

/* Tabs más prolijas */
.woocommerce div.product .woocommerce-tabs ul.tabs li,
.woocommerce div.product .woocommerce-Tabs ul.tabs li {
	margin: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a,
.woocommerce div.product .woocommerce-Tabs ul.tabs li a {
	min-height: 44px;
}

.woocommerce div.product .woocommerce-Tabs-panel,
.woocommerce div.product .woocommerce-tabs .panel {
	box-shadow: 0 10px 18px rgba(0, 0, 0, 0.03);
}

/* Carrito: CTA y botones */
.woocommerce-cart .actions .button[name="update_cart"],
.woocommerce-cart .actions .button[name="apply_coupon"] {
	background: transparent !important;
	color: #000 !important;
	border: 2px solid #000 !important;
}

.woocommerce-cart .actions .button[name="update_cart"]:hover,
.woocommerce-cart .actions .button[name="apply_coupon"]:hover {
	background: #f8f8f8 !important;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
	background: #000 !important;
	color: var(--nncc-yellow) !important;
	border: 2px solid #000 !important;
	border-radius: 999px !important;
	font-weight: 900;
	padding: 14px 24px !important;
	text-align: center;
	box-shadow: 0 12px 22px rgba(0, 0, 0, 0.14);
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover {
	background: transparent !important;
	color: #000 !important;
}

/* Checkout: form izquierda / resumen + CTA derecha */
.woocommerce-checkout form.checkout.nncc-checkout-form .nncc-checkout-layout {
	row-gap: 22px;
}

.woocommerce-checkout form.checkout.nncc-checkout-form .nncc-checkout-main .woocommerce-billing-fields,
.woocommerce-checkout form.checkout.nncc-checkout-form .nncc-checkout-main .woocommerce-shipping-fields {
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 14px;
	padding: 18px;
	margin-bottom: 18px;
}

.woocommerce-checkout form.checkout.nncc-checkout-form #order_review_heading {
	margin-bottom: 12px;
	font-weight: 900;
}

.woocommerce-checkout form.checkout.nncc-checkout-form #order_review {
	position: sticky;
	top: 24px;
}

.woocommerce-checkout form.checkout.nncc-checkout-form #payment .place-order {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 12px;
}

.woocommerce-checkout form.checkout.nncc-checkout-form #place_order,
.woocommerce-checkout form.checkout.nncc-checkout-form button[name="woocommerce_checkout_place_order"] {
	width: 100%;
	min-height: 52px;
	background: #000 !important;
	color: var(--nncc-yellow) !important;
	border: 2px solid #000 !important;
	border-radius: 999px !important;
	font-weight: 900;
	box-shadow: 0 12px 22px rgba(0, 0, 0, 0.14);
}

.woocommerce-checkout form.checkout.nncc-checkout-form #place_order:hover,
.woocommerce-checkout form.checkout.nncc-checkout-form button[name="woocommerce_checkout_place_order"]:hover {
	background: transparent !important;
	color: #000 !important;
}

@media (max-width: 991.98px) {
	.woocommerce ul.products li.product a img,
	.woocommerce-page ul.products li.product a img {
		min-height: 210px;
		max-height: 280px;
	}

	.single-product div.product {
		grid-template-columns: 1fr;
	}

	.woocommerce-checkout form.checkout.nncc-checkout-form #order_review {
		position: static;
	}
}

/* =====================================
   06 · WOOCOMMERCE — fixes estructurales (grid vs float markup clásico)
   LEGACY — mientras Woo exponga floats en plantillas clásicas; revisar tras actualizaciones.
===================================== */

/* SHOP: Woo por defecto usa float/width en li.product; eso rompía el grid. */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
	content: none !important;
	display: none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	float: none !important;
	clear: none !important;
	width: auto !important;
	margin: 0 !important;
}

/* SINGLE: Woo usa .images/.summary con float + width 48%, lo reseteamos para grid. */
.single-product div.product div.images,
.single-product div.product div.summary {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
}

.single-product div.product div.images {
	grid-column: 1;
}

.single-product div.product div.summary {
	grid-column: 2;
}

.single-product div.product .woocommerce-tabs,
.single-product div.product .woocommerce-tabs-wrapper,
.single-product div.product .related,
.single-product div.product .upsells {
	grid-column: 1 / -1;
	width: 100%;
}

/* Tabs Woo clásicas traen pseudo-elementos que desalinean el diseño. */
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
	display: none !important;
	content: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	border: 0 !important;
	background: transparent !important;
	padding: 0 !important;
	margin: 0 8px 0 0 !important;
}

/* Checkout: el grid en `form` no funciona porque #customer_details y #order_review
   NO son hijos directos del form (están dentro de .nncc-checkout-layout). */
.woocommerce-checkout form.checkout.nncc-checkout-form .nncc-checkout-layout.row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 28px;
	margin-left: 0;
	margin-right: 0;
}

.woocommerce-checkout form.checkout.nncc-checkout-form .nncc-checkout-main {
	flex: 1 1 520px;
	max-width: 100%;
	min-width: 0;
}

.woocommerce-checkout form.checkout.nncc-checkout-form .nncc-checkout-side {
	flex: 1 1 360px;
	max-width: 100%;
	min-width: 280px;
}

.woocommerce-checkout form.checkout.nncc-checkout-form #order_review_heading {
	margin-top: 0;
	font-weight: 900;
}

.woocommerce-checkout form.checkout.nncc-checkout-form #order_review {
	position: sticky;
	top: 22px;
	width: 100%;
}

.woocommerce-checkout form.checkout.nncc-checkout-form #order_review > * {
	width: 100%;
}

.woocommerce-checkout form.checkout.nncc-checkout-form #payment,
.woocommerce-checkout form.checkout.nncc-checkout-form #payment .place-order {
	width: 100%;
}

.woocommerce-checkout #payment .nncc-place-order,
.woocommerce-checkout #payment .place-order {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.woocommerce-checkout #payment .nncc-place-order-btn,
.woocommerce-checkout #payment #place_order {
	width: 100%;
	min-height: 52px;
	background: #000 !important;
	color: var(--nncc-yellow) !important;
	border: 2px solid #000 !important;
	border-radius: 999px !important;
	font-weight: 900;
}

.woocommerce-checkout #payment .nncc-place-order-btn:hover,
.woocommerce-checkout #payment #place_order:hover {
	background: transparent !important;
	color: #000 !important;
}

/* Carrito: CTA principal fuerte, acciones secundarias discretas. */
.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
	font-size: 1rem;
	letter-spacing: 0.2px;
}

.woocommerce-cart .wc-proceed-to-checkout a.btn.btn-primary,
.woocommerce-cart .wc-proceed-to-checkout a.button.checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 50px;
	background: #000 !important;
	color: var(--nncc-yellow) !important;
	border: 2px solid #000 !important;
	border-radius: 999px !important;
	font-weight: 900;
	text-decoration: none;
	box-shadow: 0 12px 22px rgba(0, 0, 0, 0.14);
}

.woocommerce-cart .wc-proceed-to-checkout a.btn.btn-primary:hover,
.woocommerce-cart .wc-proceed-to-checkout a.button.checkout-button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
	background: transparent !important;
	color: #000 !important;
}

/* CTA carrito: template NNCC (clase .nncc-cart-checkout-btn) */
.woocommerce-cart .wc-proceed-to-checkout a.nncc-cart-checkout-btn,
.woocommerce-cart .wc-proceed-to-checkout a.nncc-cart-checkout-btn.button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	padding: 14px 22px !important;
	background: #000 !important;
	color: var(--nncc-yellow) !important;
	border: 2px solid #000 !important;
	border-radius: 999px !important;
	font-weight: 900 !important;
	text-decoration: none !important;
	box-shadow: 0 12px 22px rgba(0, 0, 0, 0.14);
}

.woocommerce-cart .wc-proceed-to-checkout a.nncc-cart-checkout-btn:hover {
	background: transparent !important;
	color: #000 !important;
}

.woocommerce-cart table.shop_table .product-name a {
	font-weight: 700;
	color: #000;
	text-decoration: none;
}

.woocommerce-cart table.shop_table .product-name a:hover {
	text-decoration: underline;
}

@media (max-width: 991.98px) {
	.single-product div.product div.images,
	.single-product div.product div.summary {
		grid-column: 1;
	}

	.woocommerce-checkout form.checkout.nncc-checkout-form .nncc-checkout-layout.row {
		flex-direction: column;
	}

	.woocommerce-checkout form.checkout.nncc-checkout-form #order_review {
		position: static;
	}
}

/* =====================================
   06 · WOOCOMMERCE — bloques Gutenberg (.wc-block-*; sin templates PHP del theme)
===================================== */

/* Carrito bloque: botón "Finalizar compra" */
.wc-block-cart .wc-block-cart__submit-button.wc-block-components-button:not(.is-link),
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button:not(.is-link),
.wc-block-cart .wc-block-cart__submit-button {
	background: #000 !important;
	color: var(--nncc-yellow) !important;
	border: 2px solid #000 !important;
	border-radius: 999px !important;
	font-weight: 800 !important;
	min-height: 52px;
	padding: 14px 22px !important;
	width: 100%;
	box-shadow: 0 12px 22px rgba(0, 0, 0, 0.12);
	transition: background 0.2s ease, color 0.2s ease;
}

.wc-block-cart .wc-block-cart__submit-button.wc-block-components-button:not(.is-link):hover,
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button:not(.is-link):hover {
	background: transparent !important;
	color: #000 !important;
}

/* Checkout bloque: botón "Realizar pedido" / place order */
.wc-block-components-checkout-place-order-button.wc-block-components-button:not(.is-link),
.wp-block-woocommerce-checkout-actions-block .wc-block-components-checkout-place-order-button {
	background: #000 !important;
	color: var(--nncc-yellow) !important;
	border: 2px solid #000 !important;
	border-radius: 999px !important;
	font-weight: 800 !important;
	min-height: 52px;
	padding: 14px 22px !important;
	box-shadow: 0 12px 22px rgba(0, 0, 0, 0.12);
}

.wc-block-components-checkout-place-order-button.wc-block-components-button:not(.is-link):hover {
	background: transparent !important;
	color: #000 !important;
}

/* Enlaces del carrito bloque: menos “morado por defecto” */
.wc-block-cart a,
.wc-block-components-totals-coupon a {
	color: #000;
}

.wc-block-cart a:hover,
.wc-block-components-totals-coupon a:hover {
	color: #000;
	opacity: 0.75;
}

/* =====================================
   07 · THE EVENTS CALENDAR — single evento (landing NNCC v2)
   Sin estilos sobre el interior del formulario de tickets (ver bloque tickets más abajo).
===================================== */

.single-tribe_events #tribe-events-content.nncc-event-single {
	max-width: 100%;
	padding-left: clamp(1rem, 4vw, 1.75rem);
	padding-right: clamp(1rem, 4vw, 1.75rem);
	padding-bottom: 2rem;
}

.single-tribe_events .nncc-event-back {
	margin-bottom: 1.25rem;
}

.single-tribe_events .nncc-event-back a {
	color: #000;
	font-weight: 700;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease, opacity 0.2s ease;
}

.single-tribe_events .nncc-event-back a:hover {
	border-bottom-color: #000;
	opacity: 0.85;
}

/* Ocultar “Añadir al calendario” / export iCal (TEC v2); el markup sigue en el DOM
   LEGACY — revisar si TEC cambia selectores o si se quiere mostrar de nuevo. */
.single-tribe_events #tribe-events-content .tribe-events-c-subscribe-dropdown__container,
.single-tribe_events #tribe-events-content .tribe-events-c-subscribe-dropdown,
.single-tribe_events #tribe-events-content .tribe-events-c-ical {
	display: none !important;
}

/* Hero */
.single-tribe_events .nncc-event-hero {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	margin: 0 0 clamp(2.25rem, 6vw, 3.5rem);
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
	border: 1px solid rgba(0, 0, 0, 0.06);
}

@media (min-width: 992px) {
	.single-tribe_events .nncc-event-hero {
		display: grid;
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
		align-items: start;
		min-height: 0;
	}
}

.single-tribe_events .nncc-event-hero__media {
	position: relative;
	min-height: 210px;
	background: #f0f0f0;
}

.single-tribe_events .nncc-event-hero__media a {
	display: block;
	height: 100%;
}

.single-tribe_events .nncc-event-hero__media img,
.single-tribe_events .nncc-event-hero__media .tribe-events-event-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (min-width: 992px) {
	.single-tribe_events .nncc-event-hero__media {
		min-height: 100%;
		height: 100%;
	}
}

.single-tribe_events .nncc-event-hero__content {
	padding: 1.25rem 1.1rem 1.35rem;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 0.85rem;
}

@media (min-width: 992px) {
	.single-tribe_events .nncc-event-hero__content {
		padding: 1.65rem 1.65rem 1.75rem;
	}
}

.single-tribe_events .nncc-event-hero__title .tribe-events-single-event-title,
.single-tribe_events .nncc-event-hero__title .nncc-event-hero__title-text {
	margin: 0;
	font-size: clamp(1.55rem, 2.6vw, 2.25rem);
	font-weight: 900;
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: #000;
}

.single-tribe_events .nncc-event-hero__meta {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

@media (min-width: 576px) {
	.single-tribe_events .nncc-event-hero__meta {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1rem 1.5rem;
	}
}

@media (min-width: 992px) {
	.single-tribe_events .nncc-event-hero__meta {
		grid-template-columns: 1fr;
		gap: 0.6rem;
	}
}

.single-tribe_events .nncc-event-hero__meta-item {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: 0.55rem 0.65rem;
	background: rgba(255, 204, 0, 0.12);
	border-radius: 10px;
	border: 1px solid rgba(0, 0, 0, 0.06);
}

.single-tribe_events .nncc-event-hero__label {
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: rgba(0, 0, 0, 0.55);
}

.single-tribe_events .nncc-event-hero__value {
	font-size: 0.98rem;
	font-weight: 700;
	color: #000;
	line-height: 1.35;
}

.single-tribe_events .nncc-event-hero__cost-note {
	display: block;
	margin-top: 0.25rem;
	font-weight: 600;
	font-size: 0.88rem;
	color: rgba(0, 0, 0, 0.68);
}

.single-tribe_events .nncc-event-hero__venue-name {
	display: block;
}

.single-tribe_events .nncc-event-hero__venue-address {
	display: block;
	font-weight: 600;
	font-size: 0.9rem;
	color: rgba(0, 0, 0, 0.75);
	margin-top: 0.15rem;
}

/* Acciones: más aire respecto al hero; CTA principal más protagonista */
.single-tribe_events .nncc-event-actions {
	margin: 0 0 2.75rem;
	padding: 0;
}

.single-tribe_events .nncc-event-actions__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.15rem;
	align-items: stretch;
}

@media (min-width: 768px) {
	.single-tribe_events .nncc-event-actions__grid {
		grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
		gap: 1.35rem;
	}
}

.single-tribe_events .nncc-event-action-card {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: stretch;
	min-height: 0;
	padding: 1.15rem 1.2rem;
	background: #fff;
	border-radius: 16px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
}

.single-tribe_events .nncc-event-action-card__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	width: 100%;
}

.single-tribe_events .nncc-event-action-card--primary {
	justify-content: center;
	border-color: rgba(0, 0, 0, 0.12);
	box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
}

.single-tribe_events .nncc-event-action-card--secondary {
	background: rgba(255, 204, 0, 0.08);
	border-style: dashed;
	border-color: rgba(0, 0, 0, 0.18);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
	text-align: center;
}

.single-tribe_events .nncc-event-actions__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 56px;
	padding: 1rem 1.5rem;
	font-size: 1.0625rem;
	font-weight: var(--nncc-btn-font-weight);
	text-align: center;
	text-decoration: none;
	border-radius: var(--nncc-btn-radius);
	border: 1px solid var(--nncc-black);
	cursor: pointer;
	transition: var(--nncc-transition);
	box-sizing: border-box;
}

/* el centrado lo maneja __inner */

@media (min-width: 768px) {
	.single-tribe_events .nncc-event-action-card--primary .nncc-event-actions__btn--primary {
		min-height: 64px;
		padding: 1.1rem 1.75rem;
		font-size: 1.125rem;
		letter-spacing: -0.01em;
	}
}

.single-tribe_events .nncc-event-actions__btn-label {
	display: block;
	line-height: 1.2;
}

.single-tribe_events .nncc-event-actions__btn--primary {
	background: var(--nncc-yellow);
	color: var(--nncc-black);
	border-color: var(--nncc-black);
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

.single-tribe_events .nncc-event-actions__btn--primary:hover {
	background: var(--nncc-black);
	color: var(--nncc-yellow);
	border-color: var(--nncc-black);
	transform: translateY(-1px);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.single-tribe_events .nncc-event-actions__btn--secondary {
	background: transparent;
	color: var(--nncc-black);
	border-color: var(--nncc-black);
	min-height: 56px;
	padding: 1rem 1.5rem;
	font-size: 1.0625rem;
	font-weight: var(--nncc-btn-font-weight);
}

.single-tribe_events .nncc-event-actions__btn--secondary:hover {
	background: var(--nncc-black);
	color: var(--nncc-white);
	border-color: var(--nncc-black);
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.single-tribe_events .nncc-event-actions__btn--secondary:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.18), 0 0 0 6px rgba(255, 204, 0, 0.45);
}

.single-tribe_events .nncc-event-actions__btn--secondary:disabled {
	opacity: 1;
	cursor: not-allowed;
	box-shadow: none;
	transform: none;
}

.single-tribe_events .nncc-event-action-card__hint {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.45;
	color: rgba(0, 0, 0, 0.65);
	max-width: 22rem;
}

.single-tribe_events .nncc-event-action-card__footnote {
	margin: 0;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: rgba(0, 0, 0, 0.4);
}

/* Navegación TEC entre eventos */
.single-tribe_events #tribe-events-header,
.single-tribe_events #tribe-events-footer {
	margin: 1.5rem 0;
}

.single-tribe_events #tribe-events-header .tribe-events-sub-nav,
.single-tribe_events #tribe-events-footer .tribe-events-sub-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	justify-content: space-between;
}

/* Contenido editorial del evento */
.single-tribe_events .nncc-event-post {
	margin-bottom: 2.25rem;
}

.single-tribe_events .nncc-event-content.nncc-event-content--prose {
	max-width: 40rem;
	margin-left: auto;
	margin-right: auto;
	font-size: 1.0625rem;
	line-height: 1.72;
	color: #222;
	letter-spacing: 0.01em;
}

.single-tribe_events .nncc-event-content > *:first-child {
	margin-top: 0;
}

.single-tribe_events .nncc-event-content p {
	margin-bottom: 1.1em;
}

.single-tribe_events .nncc-event-content ul,
.single-tribe_events .nncc-event-content ol {
	margin-bottom: 1.15em;
	padding-left: 1.35em;
}

.single-tribe_events .nncc-event-content h2,
.single-tribe_events .nncc-event-content h3 {
	margin-top: 1.65rem;
	margin-bottom: 0.65rem;
	font-weight: 800;
	color: #000;
	line-height: 1.25;
}

/* Meta TEC (detalle / mapa): solo espaciado */
.single-tribe_events .nncc-event-post .tribe-events-meta-group {
	margin-bottom: 1rem;
}

/* Ancla al formulario de tickets */
.single-tribe_events #tribe-tickets__tickets-form {
	scroll-margin-top: 6rem;
}

/* =====================================
   07 · EVENT TICKETS v2 — bloque entradas (NNCC)
===================================== */
.single-tribe_events .tribe-tickets__tickets-wrapper {
	width: 100%;
	max-width: 100%;
}

.single-tribe_events form.tribe-tickets__tickets-form {
	width: 100%;
	max-width: 100%;
}

/* Caja principal */
.single-tribe_events .tribe-tickets__tickets-form {
	margin-top: 1.25rem;
	background: linear-gradient(145deg, rgba(255, 204, 0, 0.11) 0%, #fff 40%, #f7f7f7 100%);
	border-radius: 16px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.09);
	padding: 1.1rem 1.1rem 1.25rem;
}

@media (min-width: 768px) {
	.single-tribe_events .tribe-tickets__tickets-form {
		padding: 1.35rem 1.35rem 1.5rem;
	}
}

/* Tipografía */
.single-tribe_events .tribe-tickets__tickets-form,
.single-tribe_events .tribe-tickets__tickets-form * {
	font-family: inherit;
}

/* Botón submit (Get tickets / Obtener entradas) */
.single-tribe_events .tribe-tickets__tickets-buy,
.single-tribe_events #tribe-tickets__tickets-buy {
	background: #000 !important;
	color: var(--nncc-yellow) !important;
	border: 2px solid #000 !important;
	border-radius: 999px !important;
	font-weight: 800 !important;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	min-height: 56px;
	padding: 14px 22px !important;
	box-shadow: 0 12px 22px rgba(0, 0, 0, 0.12);
	transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.single-tribe_events .tribe-tickets__tickets-buy:hover,
.single-tribe_events #tribe-tickets__tickets-buy:hover {
	background: #1a1a1a !important;
	color: #ffe566 !important;
	transform: translateY(-1px);
}

.single-tribe_events .tribe-tickets__tickets-buy:focus,
.single-tribe_events #tribe-tickets__tickets-buy:focus {
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.18), 0 0 0 6px rgba(255, 204, 0, 0.45) !important;
}

/* Controles de cantidad (+ / -) */
.single-tribe_events .tribe-tickets__tickets-item-quantity button,
.single-tribe_events .tribe-tickets__tickets-item-quantity input {
	border-radius: 10px;
}

/* Ocultar "X disponibles" en cada ticket */
.single-tribe_events .tribe-tickets__tickets-item-extra-available {
	display: none !important;
}

/* Alinear verticalmente: título + precio + cantidad (+/-) */
.single-tribe_events .tribe-tickets__tickets-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.75rem 1rem;
}

.single-tribe_events .tribe-tickets__tickets-item-content,
.single-tribe_events .tribe-tickets__tickets-item-extra {
	display: flex;
	align-items: center;
	min-height: 2.5rem;
}

.single-tribe_events .tribe-tickets__tickets-item-extra {
	justify-content: flex-end;
}

.single-tribe_events .tribe-tickets__tickets-item-quantity {
	align-self: center;
	justify-self: end;
}


/* Información adicional / FAQ */
.single-tribe_events .nncc-event-faq.nncc-event-faq--section {
	margin: 3rem 0 1.75rem;
	padding: clamp(1.85rem, 4vw, 2.65rem) clamp(1.35rem, 3vw, 2.5rem) clamp(2rem, 4vw, 2.75rem);
	background: linear-gradient(145deg, rgba(255, 204, 0, 0.14) 0%, #fff 42%, #f6f6f6 100%);
	border-radius: 18px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.07);
}

.single-tribe_events .nncc-event-faq__head {
	margin-bottom: 1.35rem;
	padding-bottom: 1rem;
	border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.single-tribe_events .nncc-event-faq__title {
	margin: 0 0 0.45rem;
	font-size: clamp(1.45rem, 2.5vw, 1.85rem);
	font-weight: 900;
	color: #000;
	letter-spacing: -0.03em;
	line-height: 1.15;
}

.single-tribe_events .nncc-event-faq__kicker {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 600;
	color: rgba(0, 0, 0, 0.55);
	line-height: 1.4;
}

.single-tribe_events .nncc-event-faq__body {
	font-size: 1.03rem;
	line-height: 1.65;
	color: #242424;
}

.single-tribe_events .nncc-event-faq__body:empty::before {
	content: "";
	display: block;
	min-height: 0;
}

/* =====================================
   08 · CANJE DNI — modal gratuito
===================================== */

body.nncc-redeem-modal-open {
	overflow: hidden;
}

.nncc-redeem-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 0;
}

@media (min-width: 576px) {
	.nncc-redeem-modal {
		align-items: center;
		padding: 1.5rem;
	}
}

.nncc-redeem-modal[hidden] {
	display: none !important;
}

.nncc-redeem-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.nncc-redeem-modal__panel {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 420px;
	max-height: 90vh;
	overflow: auto;
	margin: 0;
	padding: 1.5rem 1.35rem 1.75rem;
	background: #fff;
	border-radius: 16px 16px 0 0;
	box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.15);
}

@media (min-width: 576px) {
	.nncc-redeem-modal__panel {
		border-radius: 16px;
		margin: 0;
	}
}

.nncc-redeem-modal__close {
	position: absolute;
	top: 0.65rem;
	right: 0.65rem;
	width: 2.25rem;
	height: 2.25rem;
	border: 0;
	background: transparent;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	color: #000;
	opacity: 0.55;
}

.nncc-redeem-modal__close:hover {
	opacity: 1;
}

.nncc-redeem-modal__title {
	margin: 0 2rem 0.5rem 0;
	font-size: 1.25rem;
	font-weight: 900;
	color: #000;
}

.nncc-redeem-modal__lead {
	margin: 0 0 1.1rem;
	font-size: 0.95rem;
	line-height: 1.45;
	color: rgba(0, 0, 0, 0.65);
}

.nncc-redeem-form__field {
	margin: 0 0 1rem;
}

.nncc-redeem-form__field label {
	display: block;
	font-size: 0.8rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 0.35rem;
	color: rgba(0, 0, 0, 0.55);
}

.nncc-redeem-form__field input {
	width: 100%;
	padding: 0.75rem 0.85rem;
	font-size: 1rem;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 10px;
}

.nncc-redeem-message {
	margin: 0 0 1rem;
	padding: 0.65rem 0.75rem;
	font-size: 0.9rem;
	border-radius: 10px;
	background: rgba(255, 204, 0, 0.2);
	color: #000;
}

.nncc-redeem-message.nncc-redeem-message--error {
	background: rgba(200, 0, 0, 0.08);
	color: #8b0000;
}

.nncc-redeem-form__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	align-items: center;
	margin: 1.25rem 0 0;
}

.nncc-redeem-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	flex: 1 1 auto;
	min-height: 48px;
	padding: 0.75rem 1.25rem;
	font-weight: 800;
	border-radius: 999px;
	border: 2px solid #000;
	background: #000;
	color: var(--nncc-yellow);
	cursor: pointer;
}

.nncc-redeem-form__submit-progress {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
}

.nncc-redeem-form__spinner {
	box-sizing: border-box;
	width: 1.1rem;
	height: 1.1rem;
	border: 2px solid rgba(255, 204, 0, 0.25);
	border-top-color: var(--nncc-yellow);
	border-radius: 50%;
	animation: nncc-redeem-spin 0.7s linear infinite;
}

@keyframes nncc-redeem-spin {
	to {
		transform: rotate(360deg);
	}
}

.nncc-redeem-form--loading .nncc-redeem-form__field input {
	opacity: 0.65;
	pointer-events: none;
}

.nncc-redeem-form--loading .nncc-redeem-form__cancel {
	pointer-events: none;
	opacity: 0.45;
}

.nncc-redeem-form--loading .nncc-redeem-form__submit {
	cursor: wait;
}

.nncc-redeem-form__cancel {
	min-height: 48px;
	padding: 0.65rem 1rem;
	font-weight: 700;
	border: 0;
	background: transparent;
	color: rgba(0, 0, 0, 0.55);
	cursor: pointer;
	text-decoration: underline;
}

/* =====================================
   09 · FOOTER
===================================== */

.nncc-footer-wrap {
	background: #141414;
	color: #f5f5f5;
	margin-top: auto;
}

.nncc-site-footer {
	padding: 3.25rem 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.nncc-footer__inner {
	padding-bottom: 2rem;
}

.nncc-footer__grid {
	row-gap: 2.25rem;
}

.nncc-footer__col {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.nncc-footer__heading {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.92);
}

.nncc-footer__logo-link {
	display: inline-block;
	max-width: 240px;
	line-height: 0;
}

.nncc-footer__logo-img {
	max-width: 100%;
	height: auto;
	opacity: 0.98;
}

.nncc-footer__site-name {
	font-size: 1.25rem;
	font-weight: 800;
	color: #fff;
}

.nncc-footer__newsletter {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	max-width: 320px;
}

.nncc-footer__hp {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.nncc-footer__input {
	width: 100%;
	padding: 0.65rem 0.85rem;
	font-size: 0.9375rem;
	line-height: 1.35;
	color: #111;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 4px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.nncc-footer__input:focus {
	outline: none;
	border-color: var(--nncc-yellow);
	box-shadow: 0 0 0 2px rgba(255, 204, 0, 0.35);
}

.nncc-footer__input::placeholder {
	color: rgba(0, 0, 0, 0.45);
}

.nncc-footer__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.55rem 1.35rem;
	font-weight: 800;
	font-size: 0.9375rem;
	letter-spacing: 0.02em;
	color: #111;
	background: var(--nncc-yellow);
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.12s ease;
}

.nncc-footer__submit:hover {
	background: #ffd633;
}

.nncc-footer__submit:active {
	transform: translateY(1px);
}

.nncc-footer__newsletter-feedback {
	margin: 0.35rem 0 0;
	font-size: 0.875rem;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.85);
}

.nncc-footer__newsletter-feedback--error {
	color: #ffb4b4;
}

.nncc-footer__nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.nncc-footer__nav-link {
	display: inline-block;
	font-size: 0.9375rem;
	color: rgba(255, 255, 255, 0.88);
	text-decoration: none;
	transition: color 0.15s ease;
}

.nncc-footer__nav-link:hover,
.nncc-footer__nav-link:focus {
	color: var(--nncc-yellow);
}

.nncc-footer__nav-sep {
	height: 1px;
	margin: 0.35rem 0;
	background: rgba(255, 255, 255, 0.14);
	list-style: none;
}

.nncc-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nncc-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 6px;
	color: rgba(255, 255, 255, 0.88);
	text-decoration: none;
	background: rgba(0, 0, 0, 0.25);
	border: 1px solid rgba(255, 255, 255, 0.2);
	transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}

.nncc-footer__social-link:hover,
.nncc-footer__social-link:focus {
	transform: translateY(-2px);
	color: var(--nncc-yellow);
	border-color: rgba(255, 204, 0, 0.65);
	background: rgba(255, 204, 0, 0.08);
	box-shadow: none;
}

.nncc-footer__social-link svg {
	display: block;
}

.nncc-footer__contact-page {
	margin: 0.35rem 0 0;
	font-size: 0.875rem;
	line-height: 1.45;
}

.nncc-footer__contact-page-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 204, 0, 0.35);
	padding-bottom: 1px;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.nncc-footer__contact-page-link:hover,
.nncc-footer__contact-page-link:focus {
	color: var(--nncc-yellow);
	border-bottom-color: var(--nncc-yellow);
}

.nncc-footer__contact-page-arrow {
	font-weight: 700;
	color: var(--nncc-yellow);
	transition: transform 0.15s ease;
}

.nncc-footer__contact-page-link:hover .nncc-footer__contact-page-arrow,
.nncc-footer__contact-page-link:focus .nncc-footer__contact-page-arrow {
	transform: translateX(3px);
}

.nncc-footer__email {
	margin: 0.65rem 0 0;
	font-size: 0.9375rem;
}

.nncc-footer__email a {
	color: rgba(255, 255, 255, 0.92);
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 204, 0, 0.45);
	transition: color 0.15s ease, border-color 0.15s ease;
}

.nncc-footer__email a:hover,
.nncc-footer__email a:focus {
	color: var(--nncc-yellow);
	border-bottom-color: var(--nncc-yellow);
}

.nncc-footer__bottom {
	margin-top: 2.5rem;
	padding: 1.5rem 0 2.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	text-align: center;
}

.nncc-footer__dev-brand {
	margin-top: 1.15rem;
	display: flex;
	justify-content: center;
	align-items: center;
}

.nncc-footer__dev-logo-link {
	display: inline-block;
	line-height: 0;
	opacity: 0.88;
	transition: opacity 0.15s ease;
}

.nncc-footer__dev-logo-link:hover,
.nncc-footer__dev-logo-link:focus {
	opacity: 1;
}

.nncc-footer__dev-logo {
	max-height: 44px;
	width: auto;
	height: auto;
	display: block;
}

.nncc-footer__copyright {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.55);
}

.nncc-footer__copyright .nncc-footer__sep {
	color: rgba(255, 255, 255, 0.35);
}

.nncc-footer__dev {
	color: rgba(255, 255, 255, 0.65);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color 0.15s ease, border-color 0.15s ease;
}

a.nncc-footer__dev:hover,
a.nncc-footer__dev:focus {
	color: var(--nncc-yellow);
	border-bottom-color: rgba(255, 204, 0, 0.5);
}

/* Footer mobile (≤767.98px): más compacto, mismo contenido y estructura; no afecta tablet/desktop. */
@media (max-width: 767.98px) {
	.nncc-site-footer {
		padding: 1.65rem 0 0;
	}

	.nncc-footer__inner {
		padding-bottom: 1.15rem;
	}

	.nncc-footer__grid {
		row-gap: 1.15rem;
	}

	.nncc-footer__col {
		gap: 0.5rem;
		align-items: center;
		text-align: center;
	}

	.nncc-footer__heading {
		font-size: 0.75rem;
		letter-spacing: 0.1em;
	}

	.nncc-footer__logo-link {
		max-width: 155px;
	}

	.nncc-footer__logo-img {
		max-height: 64px;
		width: auto;
		margin: 0 auto;
	}

	.nncc-footer__site-name {
		font-size: 1.05rem;
	}

	.nncc-footer__newsletter {
		gap: 0.4rem;
		max-width: 100%;
		width: 100%;
		align-items: stretch;
	}

	.nncc-footer__input {
		padding: 0.5rem 0.75rem;
		font-size: 0.875rem;
		line-height: 1.3;
		text-align: left;
	}

	.nncc-footer__submit {
		min-height: 44px;
		padding: 0.48rem 1.15rem;
		font-size: 0.875rem;
		width: 100%;
	}

	.nncc-footer__newsletter-feedback {
		margin: 0.2rem 0 0;
		font-size: 0.8125rem;
		line-height: 1.35;
	}

	.nncc-footer__nav-list {
		gap: 0.28rem;
		align-items: center;
		width: 100%;
	}

	.nncc-footer__nav-link {
		font-size: 0.875rem;
		padding: 0.2rem 0;
		text-align: center;
	}

	.nncc-footer__nav-sep {
		margin: 0.2rem 0;
		width: min(100%, 200px);
	}

	.nncc-footer__social {
		gap: 0.4rem;
		justify-content: center;
	}

	.nncc-footer__social-link {
		width: 38px;
		height: 38px;
	}

	.nncc-footer__social-link svg {
		width: 17px;
		height: 17px;
	}

	.nncc-footer__contact-page {
		margin: 0.15rem 0 0;
		font-size: 0.8125rem;
		line-height: 1.35;
	}

	.nncc-footer__contact-page-link {
		gap: 0.25rem;
		padding-bottom: 0;
		justify-content: center;
	}

	.nncc-footer__email {
		margin: 0.35rem 0 0;
		font-size: 0.875rem;
		line-height: 1.35;
	}

	.nncc-footer__bottom {
		margin-top: 1.2rem;
		padding: 0.85rem 0 1.1rem;
	}

	.nncc-footer__copyright {
		font-size: 0.75rem;
		line-height: 1.45;
		max-width: 22rem;
		margin-left: auto;
		margin-right: auto;
	}

	.nncc-footer__dev-brand {
		margin-top: 0.55rem;
	}

	.nncc-footer__dev-logo {
		max-height: 30px;
	}
}

@media (min-width: 992px) {
	.nncc-footer__grid {
		align-items: flex-start;
	}
}