/* NGL Estructura — sistema visual. Variables editables desde Elementor > Ajustes del sitio > CSS personalizado. */
:root {
	--ngl-azul: #0B2A5B;
	--ngl-rojo: #CE1126;
	--ngl-fondo: #F4F6FA;
	--ngl-borde: #E1E6EF;
	--ngl-texto: #1A2233;
	--ngl-suave: #5B6577;
	--ngl-radio: 14px;
}

.ngl-hoy__fecha {
	font-size: 15px;
	font-weight: 600;
	color: var(--ngl-suave);
	margin: 0 0 10px;
}
.ngl-hoy__fecha::first-letter { text-transform: uppercase; }

.ngl-filtros, .ngl-chips {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 2px 0 8px;
	margin: 0 0 6px;
	scrollbar-width: none;
}
.ngl-filtros button, .ngl-chips a {
	flex: 0 0 auto;
	border: 1px solid var(--ngl-borde);
	background: #fff;
	color: var(--ngl-texto);
	border-radius: 999px;
	padding: 8px 14px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	text-decoration: none;
}
.ngl-chips a { border-left: 4px solid var(--ngl-color, var(--ngl-azul)); }
.ngl-filtros button.is-on { background: var(--ngl-azul); border-color: var(--ngl-azul); color: #fff; }

.ngl-boton {
	display: inline-block;
	background: var(--ngl-azul);
	color: #fff !important;
	border-radius: 10px;
	padding: 10px 16px;
	font-weight: 700;
	text-decoration: none;
}

.ngl-ficha {
	display: grid;
	gap: 0;
	border: 1px solid var(--ngl-borde);
	border-radius: var(--ngl-radio);
	margin: 18px 0;
	background: #fff;
}
.ngl-ficha > div {
	display: grid;
	grid-template-columns: 150px 1fr;
	gap: 12px;
	padding: 12px 16px;
	border-top: 1px solid var(--ngl-borde);
}
.ngl-ficha > div:first-child { border-top: 0; }
.ngl-ficha dt { font-weight: 700; color: var(--ngl-suave); margin: 0; }
.ngl-ficha dd { margin: 0; }

.ngl-tabla-wrap { overflow-x: auto; margin: 12px 0; }
.ngl-tabla { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
.ngl-tabla th, .ngl-tabla td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--ngl-borde); }
.ngl-tabla th { background: var(--ngl-fondo); font-size: 13px; text-transform: uppercase; letter-spacing: .03em; color: var(--ngl-suave); }
.ngl-tabla td:last-child { font-variant-numeric: tabular-nums; }

.ngl-enlaces { columns: 2 220px; padding-left: 18px; }
.ngl-enlaces li { margin: 4px 0; }

.ngl-migas ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 12px; font-size: 14px; color: var(--ngl-suave); }
.ngl-migas li + li::before { content: "›"; margin-right: 6px; }
.ngl-migas a { color: var(--ngl-suave); }

.ngl-nota { font-size: 13px; color: var(--ngl-suave); }
.ngl-aviso { background: #FFF4E5; border: 1px solid #F5C27A; padding: 10px; border-radius: 8px; }

[data-ngl-lista] [hidden] { display: none !important; }

@media (max-width: 600px) {
	.ngl-ficha > div { grid-template-columns: 1fr; gap: 2px; }
	.ngl-tabla { font-size: 14px; }
	.ngl-tabla .ngl-col-lot { display: none; }
}

.ngl-hoy__titulo { font-size: 20px; margin: 18px 0 0; }
.ngl-ficha a, .ngl-enlaces a, .ngl-tabla a { color: var(--ngl-azul); font-weight: 600; }
.ngl-ficha, .ngl-tabla-wrap, .ngl-chips, .ngl-hoy__fecha { max-width: none; }

/* ---------- Portada ---------- */
.home .elementor-widget-theme-post-title, .home .ngl-migas { display: none; }
.ngl-hero { position: relative; background: linear-gradient(135deg, #0B2A5B 0%, #12397A 60%, #1B4A94 100%); color: #fff; border-radius: 18px; padding: 28px 26px 22px; margin: 6px 0 22px; overflow: hidden; }
.ngl-hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff4d5e 0 18%, #CE1126 19% 60%, transparent 61%); opacity: .35; }
.ngl-hero__fecha { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: #C9D6EE; }
.ngl-hero__fecha::first-letter { text-transform: uppercase; }
.ngl-punto { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 4px rgba(61,220,132,.2); }
.ngl-hero__titulo { position: relative; z-index: 1; margin: 0 0 8px; color: #fff !important; font-size: clamp(26px, 4vw, 38px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; max-width: 18ch; }
.ngl-hero__sub { position: relative; z-index: 1; margin: 0 0 16px; color: #DCE5F5; max-width: 60ch; font-size: 15px; }
.ngl-hero__chips { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.ngl-hero__chips a { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: #0B2A5B !important; border-radius: 999px; padding: 7px 13px; font-size: 14px; font-weight: 700; text-decoration: none; }
.ngl-hero__chips a::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ngl-color, #CE1126); }
.ngl-hero__chips a.is-otro { background: rgba(255,255,255,.12); color: #fff !important; }
.ngl-hero__chips a.is-otro::before { background: #fff; opacity: .6; }
.ngl-hero__prox { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 14px; }
.ngl-hero__prox-t { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #C9D6EE; }
.ngl-hero__prox ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ngl-hero__prox li { margin: 0; }
.ngl-hero__prox a { display: inline-block; border-left: 3px solid var(--ngl-color); background: rgba(255,255,255,.08); color: #fff !important; padding: 5px 10px; border-radius: 6px; font-size: 13px; text-decoration: none; }
.ngl-hero__prox b { font-variant-numeric: tabular-nums; }
h2.ngl-sec { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: none; margin: 34px 0 14px; padding: 0 0 8px 12px; border-left: 5px solid var(--ngl-color); border-bottom: 1px solid #E1E6EF; color: #0B2A5B; font-size: 24px; font-weight: 800; line-height: 1.2; scroll-margin-top: 90px; }
h2.ngl-sec a { font-size: 14px; font-weight: 700; color: var(--ngl-color); text-decoration: none; white-space: nowrap; }
.ngl-otros { display: flex; flex-wrap: wrap; gap: 10px; max-width: none; }
.ngl-otros a { background: #0B2A5B; color: #fff !important; border-radius: 10px; padding: 10px 14px; font-weight: 700; text-decoration: none; }
@media (max-width: 600px) {
	.ngl-hero { padding: 22px 18px 18px; border-radius: 14px; margin-left: -4px; margin-right: -4px; }
	.ngl-hero__chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -18px; padding-right: 18px; }
	.ngl-hero__chips a { flex: 0 0 auto; }
	h2.ngl-sec { font-size: 21px; }
	.ngl-hero::after { width: 140px; height: 140px; right: -50px; top: -50px; opacity: .25; }
	.ngl-hero__prox li:nth-child(n+4) { display: none; }
}

/* ---------- Texto editorial ---------- */
.ngl-sec-intro { max-width: none; margin: -4px 0 16px; color: #3A4456; font-size: 15px; }
.ngl-respuesta { max-width: none; margin: 0 0 18px; padding: 16px 18px; border-radius: 14px; background: #FFF7E6; border: 1px solid #F3D9A4; }
.ngl-respuesta__t, .ngl-analogia__t, .ngl-indice__t { margin: 0 0 6px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #8A5A00; }
.ngl-respuesta p:last-child { margin: 0; color: #2B2B2B; }
.ngl-indice { max-width: none; margin: 18px 0; padding: 14px 18px; border: 1px solid #E1E6EF; border-radius: 14px; background: #fff; }
.ngl-indice__t { color: #5B6577; }
.ngl-indice ol { margin: 0; padding-left: 20px; columns: 2 260px; }
.ngl-indice a { color: #0B2A5B; font-weight: 600; text-decoration: none; }
.ngl-analogia { max-width: none; margin: 18px 0; padding: 14px 18px; border-left: 5px solid #CE1126; background: #FCEFF1; border-radius: 0 12px 12px 0; }
.ngl-analogia__t { color: #A00E1F; }
.ngl-analogia p:last-child { margin: 0; }
.ngl-foto, .ngl-ilustracion { max-width: none; margin: 18px 0; }
.ngl-foto img { width: 100%; height: auto; border-radius: 12px; }
.ngl-ilustracion svg { width: 100%; height: auto; display: block; }
.ngl-foto figcaption, .ngl-ilustracion figcaption { margin-top: 6px; font-size: 13px; color: #5B6577; }
.ngl-faq { max-width: none; }
.ngl-faq h3 { margin: 16px 0 4px; font-size: 17px; color: #0B2A5B; }
.ngl-fuentes { max-width: none; font-size: 14px; color: #3A4456; }
.ngl-fuentes a { color: #0B2A5B; }
.home h2[id], .page h2[id] { scroll-margin-top: 90px; }

/* Ancho completo: el cuerpo ocupa el mismo ancho que la portada */
.ld-wrap, .ld-ad, p.ld-sep, .ld-buscador, .ld-result { max-width: none !important; }
.elementor-widget-theme-post-content p, .elementor-widget-theme-post-content ul, .elementor-widget-theme-post-content ol { max-width: none; }

/* =====================================================================
   2.0 · Cabecera del sitio, cabecera de cada página y pie
   ===================================================================== */
.ngl-ancho { width: 100%; max-width: 1152px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
.ngl-ico { flex: 0 0 auto; }

/* La plantilla de cabecera de Elementor queda fija arriba; la barra superior se va al bajar. */
.elementor-location-header { position: sticky; top: -38px; z-index: 990; transition: transform .25s ease; }
.admin-bar .elementor-location-header { top: -6px; }
.elementor-location-header.ngl-oculta { transform: translateY(calc(-100% + 38px)); }
.elementor-location-header .elementor-section, .elementor-location-header .elementor-container,
.elementor-location-header .elementor-column, .elementor-location-header .elementor-widget-wrap { padding: 0 !important; max-width: none !important; }

.ngl-top { height: 38px; background: #0B2A5B; color: #C9D6EE; font-size: 12.5px; font-weight: 600; }
.ngl-top .ngl-ancho { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; }
.ngl-top__vivo { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ngl-top__vivo i { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: ngl-pulso 2s infinite; }
.ngl-top__fecha { color: #fff; }
.ngl-top__links { display: inline-flex; gap: 18px; }
.ngl-top__links a { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; opacity: .9; }
.ngl-top__links a:hover { opacity: 1; text-decoration: underline; }
@keyframes ngl-pulso { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,.6); } 70% { box-shadow: 0 0 0 7px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }

.ngl-cab { background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px); box-shadow: 0 1px 0 #E6EAF1, 0 6px 18px -14px rgba(11,42,91,.4); }
.ngl-cab__fila { display: flex; align-items: center; gap: 20px; height: 66px; }
.ngl-cab__logo { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.ngl-cab__logo-img { display: block; width: auto; height: 42px; max-width: 190px; object-fit: contain; }
.ngl-cab__logo-txt { font-weight: 800; color: #0B2A5B; font-size: 18px; }
.ngl-cab__acc { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.ngl-cab .ngl-cab__btn, .ngl-cajon .ngl-cab__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; margin: 0; padding: 0 12px; border: 1px solid #E1E6EF; border-radius: 12px; background: #fff; color: #0B2A5B !important; font: inherit; font-size: 14px; font-weight: 700; line-height: 1; text-decoration: none; cursor: pointer; }
.ngl-cab .ngl-cab__btn:hover, .ngl-cab .ngl-cab__btn:focus-visible, .ngl-cajon .ngl-cab__btn:hover { background: #F4F6FA; border-color: #CBD3E1; color: #0B2A5B; }
.ngl-cab .ngl-cab__menu { background: #0B2A5B; border-color: #0B2A5B; color: #fff !important; }
.ngl-cab .ngl-cab__menu:hover, .ngl-cab .ngl-cab__menu:focus-visible { background: #071D40; color: #fff !important; }

/* Menú de escritorio con desplegables */
.ngl-nav { margin-left: 8px; }
.ngl-menu, .ngl-menu ul { list-style: none; margin: 0; padding: 0; }
.ngl-nav .ngl-menu { display: flex; align-items: center; gap: 2px; }
.ngl-nav .ngl-menu > li { position: relative; }
.ngl-nav .ngl-menu > li > a, .ngl-nav .ngl-menu > li > a:visited { display: flex; align-items: center; gap: 4px; height: 44px; padding: 0 12px; border-radius: 10px; color: #0B2A5B; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ngl-nav .ngl-menu > li.menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; margin: -4px 0 0 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .6; }
.ngl-nav .ngl-menu > li > a:hover, .ngl-nav .ngl-menu > li:focus-within > a, .ngl-nav .ngl-menu > li.current-menu-item > a, .ngl-nav .ngl-menu > li.current-menu-ancestor > a { background: #F4F6FA; color: #CE1126; }
.ngl-nav .sub-menu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 20; display: grid; grid-template-columns: repeat(2, minmax(170px, 1fr)); gap: 2px; min-width: 380px; padding: 10px; border: 1px solid #E1E6EF; border-radius: 14px; background: #fff; box-shadow: 0 18px 40px -18px rgba(11,42,91,.45); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.ngl-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.ngl-nav li:hover > .sub-menu, .ngl-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ngl-nav .sub-menu a { display: block; padding: 9px 12px; border-radius: 9px; color: #1A2233; font-size: 14.5px; font-weight: 600; text-decoration: none; }
.ngl-nav .sub-menu a:hover, .ngl-nav .sub-menu .current-menu-item > a { background: #F4F6FA; color: #0B2A5B; }

/* Tira de loterías */
.ngl-tira { border-top: 1px solid #EEF1F6; background: #fff; }
.ngl-tira ul { display: flex; gap: 6px; margin: 0; padding: 8px 0; list-style: none; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.ngl-tira ul::-webkit-scrollbar { display: none; }
.ngl-tira li { flex: 0 0 auto; margin: 0; }
.ngl-tira a, .ngl-tira a:visited { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border: 1px solid #E1E6EF; border-radius: 999px; background: #fff; color: #1A2233; font-size: 13.5px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s; }
.ngl-tira a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ngl-color, #0B2A5B); }
.ngl-tira a.is-grupo::before, .ngl-tira a.ngl-tira__hoy::before { content: none; }
.ngl-tira a.ngl-tira__hoy { color: #0B2A5B; }
.ngl-tira a:hover { border-color: #CBD3E1; background: #F7F9FC; }
.ngl-tira a[aria-current], .ngl-tira a[aria-current]:hover { background: var(--ngl-color, #0B2A5B); border-color: var(--ngl-color, #0B2A5B); color: #fff !important; }
.ngl-tira a[aria-current]::before { background: #fff; }

/* Menú lateral del móvil */
.ngl-cajon { position: fixed; inset: 0; z-index: 100000; }
.ngl-cajon[hidden] { display: none; }
.ngl-cajon__fondo { position: absolute; inset: 0; background: rgba(7,20,45,.55); opacity: 0; transition: opacity .2s; }
.ngl-cajon__panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(88vw, 380px); background: #fff; box-shadow: -10px 0 40px rgba(7,20,45,.3); transform: translateX(100%); transition: transform .22s ease; overflow-y: auto; overscroll-behavior: contain; }
.ngl-cajon.is-abierto .ngl-cajon__fondo { opacity: 1; }
.ngl-cajon.is-abierto .ngl-cajon__panel { transform: none; }
.ngl-cajon__cab { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 12px 20px; border-bottom: 1px solid #EEF1F6; font-weight: 800; color: #0B2A5B; font-size: 17px; }
.ngl-menu--cajon { padding: 8px 10px 16px !important; }
.ngl-menu--cajon li { position: relative; margin: 0; }
.ngl-menu--cajon > li > a { display: flex; align-items: center; min-height: 50px; padding: 0 52px 0 12px; border-radius: 12px; color: #0B2A5B; font-size: 17px; font-weight: 800; text-decoration: none; }
.ngl-menu--cajon > li > a:hover, .ngl-menu--cajon .current-menu-item > a { background: #F4F6FA; }
.ngl-cajon .ngl-sub-btn { position: absolute; top: 3px; right: 2px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 10px; background: transparent; color: #0B2A5B; cursor: pointer; }
.ngl-sub-btn svg { transition: transform .2s; }
.ngl-sub-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.ngl-menu--cajon .sub-menu { display: none; margin: 0 0 8px 12px !important; padding: 4px 0 4px 12px !important; border-left: 2px solid #E1E6EF; }
.ngl-menu--cajon li.is-abierto > .sub-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.ngl-menu--cajon .sub-menu a { display: flex; align-items: center; min-height: 42px; padding: 0 10px; border-radius: 10px; color: #1A2233; font-size: 15px; font-weight: 600; text-decoration: none; }
.ngl-menu--cajon .sub-menu a:hover { background: #F4F6FA; }
.ngl-cajon__pie { margin: auto 0 0; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid #EEF1F6; color: #5B6577; font-size: 13px; }
.ngl-18 { display: inline-block; margin-right: 8px; padding: 2px 7px; border-radius: 6px; background: #CE1126; color: #fff; font-weight: 800; font-size: 12px; }
body.ngl-sin-scroll { overflow: hidden; }

@media (min-width: 1025px) { .ngl-cab .ngl-cab__menu { display: none !important; } }
@media (max-width: 1024px) { .ngl-nav { display: none; } }
@media (max-width: 767px) {
	.ngl-top { display: none; }
	.elementor-location-header { top: 0; }
	.elementor-location-header.ngl-oculta { transform: translateY(-100%); }
	.ngl-cab__fila { height: 58px; gap: 10px; }
	.ngl-cab__logo-img { height: 34px; max-width: 150px; }
	.ngl-cab .ngl-cab__buscar span { display: none; }
	.ngl-cab .ngl-cab__buscar { padding: 0; }
	.ngl-tira ul { padding: 7px 0; }
	.ngl-tira a { height: 32px; padding: 0 11px; font-size: 13px; }
}
@media (min-width: 601px) and (max-width: 782px) { .admin-bar .elementor-location-header { top: 46px; } }
@media (min-width: 768px) and (max-width: 782px) { .admin-bar .elementor-location-header { top: 8px; } }

/* La barra fija inferior anterior choca con los anuncios anclados: se retira */
.ngl-barra { display: none !important; }
body { padding-bottom: 0 !important; }

/* ---------- Cabecera de color de loterías, sorteos y hubs ---------- */
.elementor-widget-theme-post-title { display: none; }
.ngl-h1 { margin: 6px 0 18px; color: #0B2A5B; font-size: clamp(28px, 4vw, 38px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
.ngl-phero { --ngl-oscuro: color-mix(in srgb, var(--ngl-color) 70%, #061633); position: relative; margin: 8px 0 22px; padding: 18px 26px 22px; border-radius: 20px; overflow: hidden; color: #fff;
	background: radial-gradient(circle at 92% 8%, rgba(255,255,255,.16) 0 9%, transparent 9.5%), radial-gradient(circle at 84% 120%, rgba(255,255,255,.1) 0 22%, transparent 22.5%), linear-gradient(135deg, var(--ngl-oscuro) 0%, var(--ngl-color) 100%); }
.ngl-phero .ngl-migas ol { margin: 0 0 14px; font-size: 13px; color: rgba(255,255,255,.75); }
.ngl-phero .ngl-migas a, .ngl-phero .ngl-migas a:visited { color: rgba(255,255,255,.85) !important; text-decoration: none; }
.ngl-phero .ngl-migas a:hover { color: #fff; text-decoration: underline; }
.ngl-phero .ngl-migas [aria-current] { color: #fff; font-weight: 600; }
.ngl-phero__fecha { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; color: rgba(255,255,255,.85); font-size: 13px; font-weight: 700; }
.ngl-phero__h1 { margin: 0 0 8px; color: #fff !important; font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; max-width: 24ch; }
.ngl-phero__sub { margin: 0 0 14px; color: rgba(255,255,255,.9); font-size: 15px; max-width: 62ch; }
.ngl-prox { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin: 0 0 14px; padding: 8px 14px; border-radius: 12px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); font-size: 14px; }
.ngl-prox a { color: #fff !important; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ngl-prox b { font-variant-numeric: tabular-nums; }
.ngl-cuenta { padding: 2px 9px; border-radius: 999px; background: #FFE08A; color: #4A3300; font-weight: 800; font-size: 13px; font-variant-numeric: tabular-nums; }
.ngl-cuenta:empty { display: none; }
.ngl-cuenta.is-ya { background: #C8F5DA; color: #0B5E33; }
.ngl-saltos { display: flex; align-items: center; gap: 6px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.2); overflow-x: auto; scrollbar-width: none; flex-wrap: wrap; }
.ngl-saltos::-webkit-scrollbar { display: none; }
.ngl-saltos span { flex: 0 0 auto; white-space: nowrap; margin-right: 4px; color: rgba(255,255,255,.8); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ngl-saltos a { flex: 0 0 auto; padding: 6px 12px; border-radius: 999px; background: #fff; color: #0B2A5B !important; font-size: 13.5px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ngl-saltos a:hover { background: #F4F6FA; }
.ngl-saltos a[aria-current] { background: rgba(255,255,255,.18); color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.ld-result { scroll-margin-top: 130px; }
@media (max-width: 600px) {
	.ngl-phero { margin: 4px -4px 18px; padding: 14px 16px 16px; border-radius: 16px; }
	.ngl-phero__sub { font-size: 14px; }
	.ngl-prox { display: block; font-size: 13.5px; line-height: 1.5; }
	.ngl-prox .ngl-ico { display: inline-block; vertical-align: -4px; margin-right: 6px; }
	.ngl-prox .ngl-cuenta { display: inline-block; margin: 6px 0 0; }
	.ngl-prox .ngl-cuenta:empty { display: none; }
	.ngl-saltos { flex-wrap: nowrap; margin-right: -16px; padding-right: 16px; }
	.ld-result { scroll-margin-top: 110px; }
}

/* ---------- Portada: ajustes finos ---------- */
.home .ngl-hero { margin-top: 8px; }
@media (max-width: 600px) {
	.ngl-hero__chips { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
}

/* ---------- Pie ---------- */
.ngl-pie { color: #C9D3E6; font-size: 14px; line-height: 1.6; }
.ngl-pie a { color: #fff; text-decoration: none; }
.ngl-pie a:hover { text-decoration: underline; }
.ngl-pie__marca { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 22px; margin-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.14); }
.ngl-pie__marca strong { color: #fff; font-size: 18px; font-weight: 800; }
.ngl-pie__marca p { margin: 2px 0 0; }
.ngl-pie__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-bottom: 24px; }
.ngl-pie h3 { margin: 0 0 10px; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ngl-pie ul { list-style: none; margin: 0; padding: 0; }
.ngl-pie li { margin: 0 0 6px; }
.ngl-pie__legal { margin: 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; color: #A9B6CE; }
@media (max-width: 767px) { .ngl-pie__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; } }
.ngl-cajon .ngl-sub-btn:hover, .ngl-cajon .ngl-sub-btn:focus { background: #F4F6FA !important; color: #0B2A5B !important; }
.ld-wrap .ld-toggle:hover, .ld-wrap .ld-toggle:focus { background: #fff !important; color: #0B2A5B !important; }
/* Elementor fuerza height:auto en las imágenes: se fija el tamaño del logo */
.ngl-cab .ngl-cab__logo { min-width: 0; flex: 0 1 auto; }
.ngl-cab .ngl-cab__logo img.ngl-cab__logo-img { display: block; width: auto !important; height: 42px !important; max-width: 200px !important; object-fit: contain; object-position: left center; }
@media (max-width: 767px) { .ngl-cab .ngl-cab__logo img.ngl-cab__logo-img { height: 34px !important; max-width: 46vw !important; } }
html, body { overflow-x: clip; }

/* =====================================================================
   2.0.3 · Proporciones y alineación
   ===================================================================== */
/* Mismo espacio (20 px) entre la cabecera y el primer bloque en todas las páginas */
.elementor-location-single > .elementor-section:first-child { padding-top: 0 !important; margin-top: 0 !important; }
.elementor-location-single .elementor-column > .elementor-widget-wrap { padding-top: 0 !important; }
.elementor-location-single .elementor-widget-shortcode:has(.elementor-shortcode:empty) { display: none; }
.home .ngl-hero, .ngl-phero { margin: 20px 0 22px; }
.ngl-migas { margin-top: 16px; }
.ngl-phero .ngl-migas { margin-top: 0; }

/* Portada y cabeceras de página: mismo relleno, título en dos líneas, decoración de bolas */
.ngl-hero, .ngl-phero { padding: 26px 30px 24px; border-radius: 20px; }
.ngl-hero__titulo { max-width: 24ch; }
.ngl-hero::after, .ngl-phero::after { content: ""; position: absolute; right: 34px; top: 30px; width: 150px; height: 150px; border-radius: 50%; opacity: .95; pointer-events: none;
	background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.75) 0 7%, rgba(255,255,255,0) 30%), radial-gradient(circle at 50% 120%, rgba(0,0,0,.35), rgba(0,0,0,0) 60%), #CE1126;
	box-shadow: -96px 70px 0 -34px rgba(255,255,255,.92), -38px 112px 0 -46px #F2B300, 0 20px 40px -18px rgba(0,0,0,.45); }
.ngl-phero::after { background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.8) 0 7%, rgba(255,255,255,0) 30%), radial-gradient(circle at 50% 120%, rgba(0,0,0,.25), rgba(0,0,0,0) 60%), rgba(255,255,255,.22); box-shadow: -96px 70px 0 -34px rgba(255,255,255,.18), -38px 112px 0 -46px rgba(255,255,255,.28); }
.ngl-phero { background: linear-gradient(135deg, var(--ngl-oscuro) 0%, var(--ngl-color) 100%); }
.ngl-hero > *, .ngl-phero > * { position: relative; z-index: 1; }
.ngl-hero__sub, .ngl-phero__sub { max-width: 60ch; }
@media (max-width: 900px) { .ngl-hero::after, .ngl-phero::after { width: 96px; height: 96px; right: -18px; top: -18px; box-shadow: none; opacity: .35; } }
@media (max-width: 600px) { .ngl-hero, .ngl-phero { padding: 18px 18px 18px; border-radius: 16px; margin: 14px 0 18px; } }

/* La tira solo se desvanece cuando hay más botones de los que caben (móvil) */
@media (min-width: 1025px) { .ngl-tira ul { -webkit-mask-image: none; mask-image: none; } }

/* Ritmo vertical uniforme entre bloques del contenido */
.ngl-respuesta, .ld-wrap.ld-buscador { margin-bottom: 20px; }
.ngl-sec-intro { margin: 0 0 16px; }
h2.ngl-sec { margin: 40px 0 12px; }
/* Espacio reservado para las bolas decorativas: el texto nunca pasa por debajo */
@media (min-width: 901px) {
	.ngl-hero__sub { max-width: 54ch; }
	.ngl-hero__chips, .ngl-phero .ngl-prox, .ngl-phero__sub { max-width: calc(100% - 270px); }
	.ngl-phero .ngl-saltos { margin-right: 0; }
}
@media (max-width: 900px) { .ngl-hero::after, .ngl-phero::after { display: none; } }
/* El contenido de Elementor quitaba el ancho máximo de los párrafos de la cabecera */
.ngl-hero p.ngl-hero__sub, .ngl-phero p.ngl-phero__sub { max-width: 58ch; }
@media (min-width: 901px) { .ngl-hero p.ngl-hero__sub { max-width: min(58ch, calc(100% - 270px)); } }
.ngl-prox b { white-space: nowrap; }
@media (max-width: 600px) { .ngl-prox .ngl-cuenta { display: table; margin-top: 6px; } }
/* Pie alineado con el contenido (Elementor ya aporta el margen lateral) */
.elementor-location-footer .ngl-pie.ngl-ancho { max-width: none; padding: 0; }

/* Formulario de contacto */
.ngl-ct { max-width: 640px; padding: 22px; border: 1px solid #E3E8F0; border-radius: 16px; background: #fff; }
.ngl-ct label { display: block; margin: 0 0 6px; font-weight: 700; color: #0B2A5B; font-size: 14px; }
.ngl-ct input[type=text], .ngl-ct input[type=email], .ngl-ct textarea { width: 100%; padding: 12px 14px; border: 1px solid #D3DAE5; border-radius: 10px; font: inherit; font-size: 16px; box-sizing: border-box; }
.ngl-ct button { min-height: 48px; padding: 0 24px; border: 0; border-radius: 10px; background: #0B2A5B; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.ngl-ct button:hover { background: #071D40; color: #fff; }
.ngl-ct-trampa { position: absolute !important; left: -9999px !important; }
.ngl-ct-priv { font-size: 13px; color: #5B6577; }
.ngl-ct-ok, .ngl-ct-err { padding: 12px 14px; border-radius: 10px; font-weight: 600; }
.ngl-ct-ok { background: #E6F7EE; color: #0B5E33; }
.ngl-ct-err { background: #FDECEC; color: #9B1C1C; }

/* Accesibilidad: contraste suficiente y enlaces del texto distinguibles sin depender del color */
.elementor-widget-theme-post-content p a, .elementor-widget-theme-post-content li a, .elementor-widget-theme-post-content td a, .ngl-faq a { text-decoration: underline; text-underline-offset: 2px; }
.ld-v2 .ld-updated, .ld-wrap .ld-updated { color: #5B6577 !important; }
.ngl-cuenta { color: #3A2700; }
.ngl-tira a.is-grupo { color: #1A2233; }
.ngl-sec-intro, p.ld-sep { color: #3F4A5C; }

/* Resultados por fecha */
.ngl-dias { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; margin: 4px 0 14px; }
.ngl-dias__btn { justify-self: start; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff !important; text-decoration: none !important; font-weight: 600; font-size: 14px; white-space: nowrap; }
.ngl-dias__btn[rel="next"] { justify-self: end; }
.ngl-dias__btn:hover, .ngl-dias__btn:focus-visible { background: rgba(255,255,255,.26); }
.ngl-dias__form { display: flex; align-items: center; gap: 6px; }
.ngl-dias__form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ngl-dias__form input { min-height: 40px; border: 0; border-radius: 10px; padding: 0 10px; font: inherit; font-size: 14px; color: var(--ngl-texto); background: #fff; }
.ngl-dias__form button { min-height: 40px; border: 0; border-radius: 10px; padding: 0 14px; font-weight: 700; color: var(--ngl-azul); background: #FFD447; cursor: pointer; }
.ngl-dias-lista { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.ngl-dias-lista a { display: block; padding: 10px 14px; border: 1px solid var(--ngl-borde); border-radius: 10px; background: #fff; color: var(--ngl-azul); font-weight: 600; text-decoration: none; }
.ngl-dias-lista a:hover { border-color: var(--ngl-azul); }
@media (max-width: 640px) {
	.ngl-dias { grid-template-columns: 1fr 1fr; }
	.ngl-dias__form { grid-column: 1 / -1; grid-row: 2; }
	.ngl-dias__form input { flex: 1; }
}

/* Números calientes */
.ngl-bolas { display: flex; flex-wrap: wrap; gap: 14px 12px; margin: 8px 0 18px; }
.ngl-bola { --c: #B3261E; display: inline-flex; flex-direction: column; align-items: center; gap: 6px; min-width: 64px; text-align: center; }
.ngl-bolas--frias .ngl-bola { --c: #1D5FA8; }
.ngl-bola i { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--c); color: #fff; font-style: normal; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; box-shadow: inset 0 -4px 0 rgba(0,0,0,.18); }
.ngl-bola small { font-size: 12px; font-weight: 600; color: var(--ngl-suave); white-space: nowrap; }
.ngl-tabla-wrap { overflow-x: auto; margin: 12px 0; }
.ngl-tabla { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
.ngl-tabla th, .ngl-tabla td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--ngl-borde); }
.ngl-tabla th { background: var(--ngl-fondo); font-size: 13px; text-transform: uppercase; letter-spacing: .03em; color: var(--ngl-suave); }
.ngl-tabla td:last-child { font-variant-numeric: tabular-nums; }

.ngl-enlaces { columns: 2 220px; padding-left: 18px; }
.ngl-enlaces li { margin: 4px 0; }

.ngl-migas ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 12px; font-size: 14px; color: var(--ngl-suave); }
.ngl-migas li + li::before { content: "›"; margin-right: 6px; }
.ngl-migas a { color: var(--ngl-suave); }

.ngl-nota { font-size: 13px; color: var(--ngl-suave); }
.ngl-aviso { background: #FFF4E5; border: 1px solid #F5C27A; padding: 10px; border-radius: 8px; }

[data-ngl-lista] [hidden] { display: none !important; }

@media (max-width: 600px) {
	.ngl-ficha > div { grid-template-columns: 1fr; gap: 2px; }
	.ngl-tabla { font-size: 14px; }
	.ngl-tabla .ngl-col-lot { display: none; }
}

.ngl-hoy__titulo { font-size: 20px; margin: 18px 0 0; }
.ngl-ficha a, .ngl-enlaces a, .ngl-tabla a { color: var(--ngl-azul); font-weight: 600; }
.ngl-ficha, .ngl-tabla-wrap, .ngl-chips, .ngl-hoy__fecha { max-width: none; }

/* ---------- Portada ---------- */
.home .elementor-widget-theme-post-title, .home .ngl-migas { display: none; }
.ngl-hero { position: relative; background: linear-gradient(135deg, #0B2A5B 0%, #12397A 60%, #1B4A94 100%); color: #fff; border-radius: 18px; padding: 28px 26px 22px; margin: 6px 0 22px; overflow: hidden; }
.ngl-hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff4d5e 0 18%, #CE1126 19% 60%, transparent 61%); opacity: .35; }
.ngl-hero__fecha { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: #C9D6EE; }
.ngl-hero__fecha::first-letter { text-transform: uppercase; }
.ngl-punto { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 4px rgba(61,220,132,.2); }
.ngl-hero__titulo { position: relative; z-index: 1; margin: 0 0 8px; color: #fff !important; font-size: clamp(26px, 4vw, 38px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; max-width: 18ch; }
.ngl-hero__sub { position: relative; z-index: 1; margin: 0 0 16px; color: #DCE5F5; max-width: 60ch; font-size: 15px; }
.ngl-hero__chips { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.ngl-hero__chips a { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: #0B2A5B !important; border-radius: 999px; padding: 7px 13px; font-size: 14px; font-weight: 700; text-decoration: none; }
.ngl-hero__chips a::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ngl-color, #CE1126); }
.ngl-hero__chips a.is-otro { background: rgba(255,255,255,.12); color: #fff !important; }
.ngl-hero__chips a.is-otro::before { background: #fff; opacity: .6; }
.ngl-hero__prox { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 14px; }
.ngl-hero__prox-t { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #C9D6EE; }
.ngl-hero__prox ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ngl-hero__prox li { margin: 0; }
.ngl-hero__prox a { display: inline-block; border-left: 3px solid var(--ngl-color); background: rgba(255,255,255,.08); color: #fff !important; padding: 5px 10px; border-radius: 6px; font-size: 13px; text-decoration: none; }
.ngl-hero__prox b { font-variant-numeric: tabular-nums; }
h2.ngl-sec { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: none; margin: 34px 0 14px; padding: 0 0 8px 12px; border-left: 5px solid var(--ngl-color); border-bottom: 1px solid #E1E6EF; color: #0B2A5B; font-size: 24px; font-weight: 800; line-height: 1.2; scroll-margin-top: 90px; }
h2.ngl-sec a { font-size: 14px; font-weight: 700; color: var(--ngl-color); text-decoration: none; white-space: nowrap; }
.ngl-otros { display: flex; flex-wrap: wrap; gap: 10px; max-width: none; }
.ngl-otros a { background: #0B2A5B; color: #fff !important; border-radius: 10px; padding: 10px 14px; font-weight: 700; text-decoration: none; }
@media (max-width: 600px) {
	.ngl-hero { padding: 22px 18px 18px; border-radius: 14px; margin-left: -4px; margin-right: -4px; }
	.ngl-hero__chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -18px; padding-right: 18px; }
	.ngl-hero__chips a { flex: 0 0 auto; }
	h2.ngl-sec { font-size: 21px; }
	.ngl-hero::after { width: 140px; height: 140px; right: -50px; top: -50px; opacity: .25; }
	.ngl-hero__prox li:nth-child(n+4) { display: none; }
}

/* ---------- Texto editorial ---------- */
.ngl-sec-intro { max-width: none; margin: -4px 0 16px; color: #3A4456; font-size: 15px; }
.ngl-respuesta { max-width: none; margin: 0 0 18px; padding: 16px 18px; border-radius: 14px; background: #FFF7E6; border: 1px solid #F3D9A4; }
.ngl-respuesta__t, .ngl-analogia__t, .ngl-indice__t { margin: 0 0 6px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #8A5A00; }
.ngl-respuesta p:last-child { margin: 0; color: #2B2B2B; }
.ngl-indice { max-width: none; margin: 18px 0; padding: 14px 18px; border: 1px solid #E1E6EF; border-radius: 14px; background: #fff; }
.ngl-indice__t { color: #5B6577; }
.ngl-indice ol { margin: 0; padding-left: 20px; columns: 2 260px; }
.ngl-indice a { color: #0B2A5B; font-weight: 600; text-decoration: none; }
.ngl-analogia { max-width: none; margin: 18px 0; padding: 14px 18px; border-left: 5px solid #CE1126; background: #FCEFF1; border-radius: 0 12px 12px 0; }
.ngl-analogia__t { color: #A00E1F; }
.ngl-analogia p:last-child { margin: 0; }
.ngl-foto, .ngl-ilustracion { max-width: none; margin: 18px 0; }
.ngl-foto img { width: 100%; height: auto; border-radius: 12px; }
.ngl-ilustracion svg { width: 100%; height: auto; display: block; }
.ngl-foto figcaption, .ngl-ilustracion figcaption { margin-top: 6px; font-size: 13px; color: #5B6577; }
.ngl-faq { max-width: none; }
.ngl-faq h3 { margin: 16px 0 4px; font-size: 17px; color: #0B2A5B; }
.ngl-fuentes { max-width: none; font-size: 14px; color: #3A4456; }
.ngl-fuentes a { color: #0B2A5B; }
.home h2[id], .page h2[id] { scroll-margin-top: 90px; }

/* Ancho completo: el cuerpo ocupa el mismo ancho que la portada */
.ld-wrap, .ld-ad, p.ld-sep, .ld-buscador, .ld-result { max-width: none !important; }
.elementor-widget-theme-post-content p, .elementor-widget-theme-post-content ul, .elementor-widget-theme-post-content ol { max-width: none; }

/* =====================================================================
   2.0 · Cabecera del sitio, cabecera de cada página y pie
   ===================================================================== */
.ngl-ancho { width: 100%; max-width: 1152px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
.ngl-ico { flex: 0 0 auto; }

/* La plantilla de cabecera de Elementor queda fija arriba; la barra superior se va al bajar. */
.elementor-location-header { position: sticky; top: -38px; z-index: 990; transition: transform .25s ease; }
.admin-bar .elementor-location-header { top: -6px; }
.elementor-location-header.ngl-oculta { transform: translateY(calc(-100% + 38px)); }
.elementor-location-header .elementor-section, .elementor-location-header .elementor-container,
.elementor-location-header .elementor-column, .elementor-location-header .elementor-widget-wrap { padding: 0 !important; max-width: none !important; }

.ngl-top { height: 38px; background: #0B2A5B; color: #C9D6EE; font-size: 12.5px; font-weight: 600; }
.ngl-top .ngl-ancho { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; }
.ngl-top__vivo { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ngl-top__vivo i { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: ngl-pulso 2s infinite; }
.ngl-top__fecha { color: #fff; }
.ngl-top__links { display: inline-flex; gap: 18px; }
.ngl-top__links a { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; opacity: .9; }
.ngl-top__links a:hover { opacity: 1; text-decoration: underline; }
@keyframes ngl-pulso { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,.6); } 70% { box-shadow: 0 0 0 7px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }

.ngl-cab { background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px); box-shadow: 0 1px 0 #E6EAF1, 0 6px 18px -14px rgba(11,42,91,.4); }
.ngl-cab__fila { display: flex; align-items: center; gap: 20px; height: 66px; }
.ngl-cab__logo { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.ngl-cab__logo-img { display: block; width: auto; height: 42px; max-width: 190px; object-fit: contain; }
.ngl-cab__logo-txt { font-weight: 800; color: #0B2A5B; font-size: 18px; }
.ngl-cab__acc { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.ngl-cab .ngl-cab__btn, .ngl-cajon .ngl-cab__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; margin: 0; padding: 0 12px; border: 1px solid #E1E6EF; border-radius: 12px; background: #fff; color: #0B2A5B !important; font: inherit; font-size: 14px; font-weight: 700; line-height: 1; text-decoration: none; cursor: pointer; }
.ngl-cab .ngl-cab__btn:hover, .ngl-cab .ngl-cab__btn:focus-visible, .ngl-cajon .ngl-cab__btn:hover { background: #F4F6FA; border-color: #CBD3E1; color: #0B2A5B; }
.ngl-cab .ngl-cab__menu { background: #0B2A5B; border-color: #0B2A5B; color: #fff !important; }
.ngl-cab .ngl-cab__menu:hover, .ngl-cab .ngl-cab__menu:focus-visible { background: #071D40; color: #fff !important; }

/* Menú de escritorio con desplegables */
.ngl-nav { margin-left: 8px; }
.ngl-menu, .ngl-menu ul { list-style: none; margin: 0; padding: 0; }
.ngl-nav .ngl-menu { display: flex; align-items: center; gap: 2px; }
.ngl-nav .ngl-menu > li { position: relative; }
.ngl-nav .ngl-menu > li > a, .ngl-nav .ngl-menu > li > a:visited { display: flex; align-items: center; gap: 4px; height: 44px; padding: 0 12px; border-radius: 10px; color: #0B2A5B; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ngl-nav .ngl-menu > li.menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; margin: -4px 0 0 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .6; }
.ngl-nav .ngl-menu > li > a:hover, .ngl-nav .ngl-menu > li:focus-within > a, .ngl-nav .ngl-menu > li.current-menu-item > a, .ngl-nav .ngl-menu > li.current-menu-ancestor > a { background: #F4F6FA; color: #CE1126; }
.ngl-nav .sub-menu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 20; display: grid; grid-template-columns: repeat(2, minmax(170px, 1fr)); gap: 2px; min-width: 380px; padding: 10px; border: 1px solid #E1E6EF; border-radius: 14px; background: #fff; box-shadow: 0 18px 40px -18px rgba(11,42,91,.45); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.ngl-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.ngl-nav li:hover > .sub-menu, .ngl-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ngl-nav .sub-menu a { display: block; padding: 9px 12px; border-radius: 9px; color: #1A2233; font-size: 14.5px; font-weight: 600; text-decoration: none; }
.ngl-nav .sub-menu a:hover, .ngl-nav .sub-menu .current-menu-item > a { background: #F4F6FA; color: #0B2A5B; }

/* Tira de loterías */
.ngl-tira { border-top: 1px solid #EEF1F6; background: #fff; }
.ngl-tira ul { display: flex; gap: 6px; margin: 0; padding: 8px 0; list-style: none; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.ngl-tira ul::-webkit-scrollbar { display: none; }
.ngl-tira li { flex: 0 0 auto; margin: 0; }
.ngl-tira a, .ngl-tira a:visited { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border: 1px solid #E1E6EF; border-radius: 999px; background: #fff; color: #1A2233; font-size: 13.5px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s; }
.ngl-tira a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ngl-color, #0B2A5B); }
.ngl-tira a.is-grupo::before, .ngl-tira a.ngl-tira__hoy::before { content: none; }
.ngl-tira a.ngl-tira__hoy { color: #0B2A5B; }
.ngl-tira a:hover { border-color: #CBD3E1; background: #F7F9FC; }
.ngl-tira a[aria-current], .ngl-tira a[aria-current]:hover { background: var(--ngl-color, #0B2A5B); border-color: var(--ngl-color, #0B2A5B); color: #fff !important; }
.ngl-tira a[aria-current]::before { background: #fff; }

/* Menú lateral del móvil */
.ngl-cajon { position: fixed; inset: 0; z-index: 100000; }
.ngl-cajon[hidden] { display: none; }
.ngl-cajon__fondo { position: absolute; inset: 0; background: rgba(7,20,45,.55); opacity: 0; transition: opacity .2s; }
.ngl-cajon__panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(88vw, 380px); background: #fff; box-shadow: -10px 0 40px rgba(7,20,45,.3); transform: translateX(100%); transition: transform .22s ease; overflow-y: auto; overscroll-behavior: contain; }
.ngl-cajon.is-abierto .ngl-cajon__fondo { opacity: 1; }
.ngl-cajon.is-abierto .ngl-cajon__panel { transform: none; }
.ngl-cajon__cab { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 12px 20px; border-bottom: 1px solid #EEF1F6; font-weight: 800; color: #0B2A5B; font-size: 17px; }
.ngl-menu--cajon { padding: 8px 10px 16px !important; }
.ngl-menu--cajon li { position: relative; margin: 0; }
.ngl-menu--cajon > li > a { display: flex; align-items: center; min-height: 50px; padding: 0 52px 0 12px; border-radius: 12px; color: #0B2A5B; font-size: 17px; font-weight: 800; text-decoration: none; }
.ngl-menu--cajon > li > a:hover, .ngl-menu--cajon .current-menu-item > a { background: #F4F6FA; }
.ngl-cajon .ngl-sub-btn { position: absolute; top: 3px; right: 2px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 10px; background: transparent; color: #0B2A5B; cursor: pointer; }
.ngl-sub-btn svg { transition: transform .2s; }
.ngl-sub-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.ngl-menu--cajon .sub-menu { display: none; margin: 0 0 8px 12px !important; padding: 4px 0 4px 12px !important; border-left: 2px solid #E1E6EF; }
.ngl-menu--cajon li.is-abierto > .sub-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.ngl-menu--cajon .sub-menu a { display: flex; align-items: center; min-height: 42px; padding: 0 10px; border-radius: 10px; color: #1A2233; font-size: 15px; font-weight: 600; text-decoration: none; }
.ngl-menu--cajon .sub-menu a:hover { background: #F4F6FA; }
.ngl-cajon__pie { margin: auto 0 0; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid #EEF1F6; color: #5B6577; font-size: 13px; }
.ngl-18 { display: inline-block; margin-right: 8px; padding: 2px 7px; border-radius: 6px; background: #CE1126; color: #fff; font-weight: 800; font-size: 12px; }
body.ngl-sin-scroll { overflow: hidden; }

@media (min-width: 1025px) { .ngl-cab .ngl-cab__menu { display: none !important; } }
@media (max-width: 1024px) { .ngl-nav { display: none; } }
@media (max-width: 767px) {
	.ngl-top { display: none; }
	.elementor-location-header { top: 0; }
	.elementor-location-header.ngl-oculta { transform: translateY(-100%); }
	.ngl-cab__fila { height: 58px; gap: 10px; }
	.ngl-cab__logo-img { height: 34px; max-width: 150px; }
	.ngl-cab .ngl-cab__buscar span { display: none; }
	.ngl-cab .ngl-cab__buscar { padding: 0; }
	.ngl-tira ul { padding: 7px 0; }
	.ngl-tira a { height: 32px; padding: 0 11px; font-size: 13px; }
}
@media (min-width: 601px) and (max-width: 782px) { .admin-bar .elementor-location-header { top: 46px; } }
@media (min-width: 768px) and (max-width: 782px) { .admin-bar .elementor-location-header { top: 8px; } }

/* La barra fija inferior anterior choca con los anuncios anclados: se retira */
.ngl-barra { display: none !important; }
body { padding-bottom: 0 !important; }

/* ---------- Cabecera de color de loterías, sorteos y hubs ---------- */
.elementor-widget-theme-post-title { display: none; }
.ngl-h1 { margin: 6px 0 18px; color: #0B2A5B; font-size: clamp(28px, 4vw, 38px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
.ngl-phero { --ngl-oscuro: color-mix(in srgb, var(--ngl-color) 70%, #061633); position: relative; margin: 8px 0 22px; padding: 18px 26px 22px; border-radius: 20px; overflow: hidden; color: #fff;
	background: radial-gradient(circle at 92% 8%, rgba(255,255,255,.16) 0 9%, transparent 9.5%), radial-gradient(circle at 84% 120%, rgba(255,255,255,.1) 0 22%, transparent 22.5%), linear-gradient(135deg, var(--ngl-oscuro) 0%, var(--ngl-color) 100%); }
.ngl-phero .ngl-migas ol { margin: 0 0 14px; font-size: 13px; color: rgba(255,255,255,.75); }
.ngl-phero .ngl-migas a, .ngl-phero .ngl-migas a:visited { color: rgba(255,255,255,.85) !important; text-decoration: none; }
.ngl-phero .ngl-migas a:hover { color: #fff; text-decoration: underline; }
.ngl-phero .ngl-migas [aria-current] { color: #fff; font-weight: 600; }
.ngl-phero__fecha { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; color: rgba(255,255,255,.85); font-size: 13px; font-weight: 700; }
.ngl-phero__h1 { margin: 0 0 8px; color: #fff !important; font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; max-width: 24ch; }
.ngl-phero__sub { margin: 0 0 14px; color: rgba(255,255,255,.9); font-size: 15px; max-width: 62ch; }
.ngl-prox { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin: 0 0 14px; padding: 8px 14px; border-radius: 12px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); font-size: 14px; }
.ngl-prox a { color: #fff !important; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ngl-prox b { font-variant-numeric: tabular-nums; }
.ngl-cuenta { padding: 2px 9px; border-radius: 999px; background: #FFE08A; color: #4A3300; font-weight: 800; font-size: 13px; font-variant-numeric: tabular-nums; }
.ngl-cuenta:empty { display: none; }
.ngl-cuenta.is-ya { background: #C8F5DA; color: #0B5E33; }
.ngl-saltos { display: flex; align-items: center; gap: 6px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.2); overflow-x: auto; scrollbar-width: none; flex-wrap: wrap; }
.ngl-saltos::-webkit-scrollbar { display: none; }
.ngl-saltos span { flex: 0 0 auto; white-space: nowrap; margin-right: 4px; color: rgba(255,255,255,.8); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ngl-saltos a { flex: 0 0 auto; padding: 6px 12px; border-radius: 999px; background: #fff; color: #0B2A5B !important; font-size: 13.5px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ngl-saltos a:hover { background: #F4F6FA; }
.ngl-saltos a[aria-current] { background: rgba(255,255,255,.18); color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.ld-result { scroll-margin-top: 130px; }
@media (max-width: 600px) {
	.ngl-phero { margin: 4px -4px 18px; padding: 14px 16px 16px; border-radius: 16px; }
	.ngl-phero__sub { font-size: 14px; }
	.ngl-prox { display: block; font-size: 13.5px; line-height: 1.5; }
	.ngl-prox .ngl-ico { display: inline-block; vertical-align: -4px; margin-right: 6px; }
	.ngl-prox .ngl-cuenta { display: inline-block; margin: 6px 0 0; }
	.ngl-prox .ngl-cuenta:empty { display: none; }
	.ngl-saltos { flex-wrap: nowrap; margin-right: -16px; padding-right: 16px; }
	.ld-result { scroll-margin-top: 110px; }
}

/* ---------- Portada: ajustes finos ---------- */
.home .ngl-hero { margin-top: 8px; }
@media (max-width: 600px) {
	.ngl-hero__chips { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
}

/* ---------- Pie ---------- */
.ngl-pie { color: #C9D3E6; font-size: 14px; line-height: 1.6; }
.ngl-pie a { color: #fff; text-decoration: none; }
.ngl-pie a:hover { text-decoration: underline; }
.ngl-pie__marca { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 22px; margin-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.14); }
.ngl-pie__marca strong { color: #fff; font-size: 18px; font-weight: 800; }
.ngl-pie__marca p { margin: 2px 0 0; }
.ngl-pie__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-bottom: 24px; }
.ngl-pie h3 { margin: 0 0 10px; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ngl-pie ul { list-style: none; margin: 0; padding: 0; }
.ngl-pie li { margin: 0 0 6px; }
.ngl-pie__legal { margin: 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; color: #A9B6CE; }
@media (max-width: 767px) { .ngl-pie__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; } }
.ngl-cajon .ngl-sub-btn:hover, .ngl-cajon .ngl-sub-btn:focus { background: #F4F6FA !important; color: #0B2A5B !important; }
.ld-wrap .ld-toggle:hover, .ld-wrap .ld-toggle:focus { background: #fff !important; color: #0B2A5B !important; }
/* Elementor fuerza height:auto en las imágenes: se fija el tamaño del logo */
.ngl-cab .ngl-cab__logo { min-width: 0; flex: 0 1 auto; }
.ngl-cab .ngl-cab__logo img.ngl-cab__logo-img { display: block; width: auto !important; height: 42px !important; max-width: 200px !important; object-fit: contain; object-position: left center; }
@media (max-width: 767px) { .ngl-cab .ngl-cab__logo img.ngl-cab__logo-img { height: 34px !important; max-width: 46vw !important; } }
html, body { overflow-x: clip; }

/* =====================================================================
   2.0.3 · Proporciones y alineación
   ===================================================================== */
/* Mismo espacio (20 px) entre la cabecera y el primer bloque en todas las páginas */
.elementor-location-single > .elementor-section:first-child { padding-top: 0 !important; margin-top: 0 !important; }
.elementor-location-single .elementor-column > .elementor-widget-wrap { padding-top: 0 !important; }
.elementor-location-single .elementor-widget-shortcode:has(.elementor-shortcode:empty) { display: none; }
.home .ngl-hero, .ngl-phero { margin: 20px 0 22px; }
.ngl-migas { margin-top: 16px; }
.ngl-phero .ngl-migas { margin-top: 0; }

/* Portada y cabeceras de página: mismo relleno, título en dos líneas, decoración de bolas */
.ngl-hero, .ngl-phero { padding: 26px 30px 24px; border-radius: 20px; }
.ngl-hero__titulo { max-width: 24ch; }
.ngl-hero::after, .ngl-phero::after { content: ""; position: absolute; right: 34px; top: 30px; width: 150px; height: 150px; border-radius: 50%; opacity: .95; pointer-events: none;
	background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.75) 0 7%, rgba(255,255,255,0) 30%), radial-gradient(circle at 50% 120%, rgba(0,0,0,.35), rgba(0,0,0,0) 60%), #CE1126;
	box-shadow: -96px 70px 0 -34px rgba(255,255,255,.92), -38px 112px 0 -46px #F2B300, 0 20px 40px -18px rgba(0,0,0,.45); }
.ngl-phero::after { background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.8) 0 7%, rgba(255,255,255,0) 30%), radial-gradient(circle at 50% 120%, rgba(0,0,0,.25), rgba(0,0,0,0) 60%), rgba(255,255,255,.22); box-shadow: -96px 70px 0 -34px rgba(255,255,255,.18), -38px 112px 0 -46px rgba(255,255,255,.28); }
.ngl-phero { background: linear-gradient(135deg, var(--ngl-oscuro) 0%, var(--ngl-color) 100%); }
.ngl-hero > *, .ngl-phero > * { position: relative; z-index: 1; }
.ngl-hero__sub, .ngl-phero__sub { max-width: 60ch; }
@media (max-width: 900px) { .ngl-hero::after, .ngl-phero::after { width: 96px; height: 96px; right: -18px; top: -18px; box-shadow: none; opacity: .35; } }
@media (max-width: 600px) { .ngl-hero, .ngl-phero { padding: 18px 18px 18px; border-radius: 16px; margin: 14px 0 18px; } }

/* La tira solo se desvanece cuando hay más botones de los que caben (móvil) */
@media (min-width: 1025px) { .ngl-tira ul { -webkit-mask-image: none; mask-image: none; } }

/* Ritmo vertical uniforme entre bloques del contenido */
.ngl-respuesta, .ld-wrap.ld-buscador { margin-bottom: 20px; }
.ngl-sec-intro { margin: 0 0 16px; }
h2.ngl-sec { margin: 40px 0 12px; }
/* Espacio reservado para las bolas decorativas: el texto nunca pasa por debajo */
@media (min-width: 901px) {
	.ngl-hero__sub { max-width: 54ch; }
	.ngl-hero__chips, .ngl-phero .ngl-prox, .ngl-phero__sub { max-width: calc(100% - 270px); }
	.ngl-phero .ngl-saltos { margin-right: 0; }
}
@media (max-width: 900px) { .ngl-hero::after, .ngl-phero::after { display: none; } }
/* El contenido de Elementor quitaba el ancho máximo de los párrafos de la cabecera */
.ngl-hero p.ngl-hero__sub, .ngl-phero p.ngl-phero__sub { max-width: 58ch; }
@media (min-width: 901px) { .ngl-hero p.ngl-hero__sub { max-width: min(58ch, calc(100% - 270px)); } }
.ngl-prox b { white-space: nowrap; }
@media (max-width: 600px) { .ngl-prox .ngl-cuenta { display: table; margin-top: 6px; } }
/* Pie alineado con el contenido (Elementor ya aporta el margen lateral) */
.elementor-location-footer .ngl-pie.ngl-ancho { max-width: none; padding: 0; }

/* Formulario de contacto */
.ngl-ct { max-width: 640px; padding: 22px; border: 1px solid #E3E8F0; border-radius: 16px; background: #fff; }
.ngl-ct label { display: block; margin: 0 0 6px; font-weight: 700; color: #0B2A5B; font-size: 14px; }
.ngl-ct input[type=text], .ngl-ct input[type=email], .ngl-ct textarea { width: 100%; padding: 12px 14px; border: 1px solid #D3DAE5; border-radius: 10px; font: inherit; font-size: 16px; box-sizing: border-box; }
.ngl-ct button { min-height: 48px; padding: 0 24px; border: 0; border-radius: 10px; background: #0B2A5B; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.ngl-ct button:hover { background: #071D40; color: #fff; }
.ngl-ct-trampa { position: absolute !important; left: -9999px !important; }
.ngl-ct-priv { font-size: 13px; color: #5B6577; }
.ngl-ct-ok, .ngl-ct-err { padding: 12px 14px; border-radius: 10px; font-weight: 600; }
.ngl-ct-ok { background: #E6F7EE; color: #0B5E33; }
.ngl-ct-err { background: #FDECEC; color: #9B1C1C; }

/* Accesibilidad: contraste suficiente y enlaces del texto distinguibles sin depender del color */
.elementor-widget-theme-post-content p a, .elementor-widget-theme-post-content li a, .elementor-widget-theme-post-content td a, .ngl-faq a { text-decoration: underline; text-underline-offset: 2px; }
.ld-v2 .ld-updated, .ld-wrap .ld-updated { color: #5B6577 !important; }
.ngl-cuenta { color: #3A2700; }
.ngl-tira a.is-grupo { color: #1A2233; }
.ngl-sec-intro, p.ld-sep { color: #3F4A5C; }

/* Resultados por fecha */
.ngl-dias { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; margin: 4px 0 14px; }
.ngl-dias__btn { justify-self: start; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff !important; text-decoration: none !important; font-weight: 600; font-size: 14px; white-space: nowrap; }
.ngl-dias__btn[rel="next"] { justify-self: end; }
.ngl-dias__btn:hover, .ngl-dias__btn:focus-visible { background: rgba(255,255,255,.26); }
.ngl-dias__form { display: flex; align-items: center; gap: 6px; }
.ngl-dias__form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ngl-dias__form input { min-height: 40px; border: 0; border-radius: 10px; padding: 0 10px; font: inherit; font-size: 14px; color: var(--ngl-texto); background: #fff; }
.ngl-dias__form button { min-height: 40px; border: 0; border-radius: 10px; padding: 0 14px; font-weight: 700; color: var(--ngl-azul); background: #FFD447; cursor: pointer; }
.ngl-dias-lista { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.ngl-dias-lista a { display: block; padding: 10px 14px; border: 1px solid var(--ngl-borde); border-radius: 10px; background: #fff; color: var(--ngl-azul); font-weight: 600; text-decoration: none; }
.ngl-dias-lista a:hover { border-color: var(--ngl-azul); }
@media (max-width: 640px) {
	.ngl-dias { grid-template-columns: 1fr 1fr; }
	.ngl-dias__form { grid-column: 1 / -1; grid-row: 2; }
	.ngl-dias__form input { flex: 1; }
}

/* Números calientes */
.ngl-bolas { display: flex; flex-wrap: wrap; gap: 14px 12px; margin: 8px 0 18px; }
.ngl-bola { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; min-width: 64px; }
.ngl-bola::before { content: attr(data-n); }
.ngl-bola { font-size: 0; }
.ngl-bola { position: relative; }
.ngl-bolas .ngl-bola { font-size: 20px; font-weight: 800; color: #fff; }
.ngl-bolas .ngl-bola::before { content: none; }
.ngl-bolas .ngl-bola { width: 64px; padding-top: 0; }
.ngl-bolas .ngl-bola { background: none; }
.ngl-bola { line-height: 1; }
.ngl-bola { --c: #B3261E; }
.ngl-bolas--frias .ngl-bola { --c: #1D5FA8; }
.ngl-bola { color: var(--ngl-texto); }
.ngl-bola { text-align: center; }
.ngl-bola small { display: block; font-size: 12px; font-weight: 600; color: var(--ngl-suave); white-space: nowrap; }
.ngl-bolas .ngl-bola { color: #fff; }
.ngl-bolas .ngl-bola { background-image: radial-gradient(circle at 50% 26px, var(--c) 0 25px, transparent 26px); background-repeat: no-repeat; padding-top: 16px; min-height: 76px; }
.ngl-tabla-wrap { overflow-x: auto; margin: 8px 0 24px; border: 1px solid var(--ngl-borde); border-radius: 12px; }
.ngl-tabla { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
.ngl-tabla th, .ngl-tabla td { padding: 10px 12px; border-bottom: 1px solid var(--ngl-borde); text-align: left; vertical-align: top; }
.ngl-tabla thead th { background: var(--ngl-fondo); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--ngl-suave); }
.ngl-tabla tbody th a { color: var(--ngl-azul); font-weight: 700; }
.ngl-tabla small { color: var(--ngl-suave); }
.ngl-tabla tr:last-child th, .ngl-tabla tr:last-child td { border-bottom: 0; }

/* Retención: WhatsApp + instalar */
.ngl-ret { margin: 28px 0 8px; padding: 16px 18px; border-radius: var(--ngl-radio); background: #fff; border: 1px solid var(--ngl-borde); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.ngl-ret__txt { margin: 0; flex: 1 1 260px; color: var(--ngl-texto); font-size: 15px; }
.ngl-ret__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.ngl-ret__wa, .ngl-ret__app { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 700; text-decoration: none !important; cursor: pointer; border: 0; }
.ngl-ret__wa { background: #128C4B; color: #fff !important; }
.ngl-ret__app { background: var(--ngl-azul); color: #fff; }
.ngl-ret__ios { flex-basis: 100%; margin: 0; font-size: 14px; color: var(--ngl-suave); }
.ngl-ret__ios[hidden] { display: none !important; }

/* ===== UX v1 ===== */

/* Últimos resultados (portada) */
.ngl-ultimos { margin: 0 0 22px; padding: 14px 16px 6px; border: 1px solid #E1E6EF; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(11,42,91,.04); }
.ngl-ultimos__cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 6px; }
.ngl-ultimos__cab h2 { margin: 0; font-size: 18px; font-weight: 800; color: #0B2A5B; line-height: 1.25; }
.ngl-ultimos__cab a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; color: #0B2A5B; text-decoration: none; white-space: nowrap; }
.ngl-ultimos ol { list-style: none; margin: 0; padding: 0; }
.ngl-ultimos li { margin: 0; border-top: 1px solid #EEF1F6; }
.ngl-ultimos li:first-child { border-top: 0; }
.ngl-ultimos li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 8px 0 8px 12px; border-left: 4px solid var(--ngl-color); text-decoration: none !important; color: inherit; }
.ngl-ultimos li a:hover { background: #F7F9FC; }
.ngl-ultimos__n { display: flex; flex-direction: column; min-width: 0; }
.ngl-ultimos__n b { font-size: 15px; color: #1A2233; line-height: 1.25; }
.ngl-ultimos__n small { font-size: 12.5px; color: #5B6577; }
.ngl-ultimos__b { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; flex: 0 0 auto; max-width: 62%; }
.ngl-ultimos__b span { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; padding: 0 4px; border-radius: 50%; font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }

/* Resto de sorteos de cada lotería en la portada */
.ngl-mas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: none; margin: 4px 0 8px; font-size: 14px; }
.ngl-mas span { font-weight: 700; color: #3A4456; }
.ngl-mas a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid #E1E6EF; border-radius: 999px; background: #fff; color: #0B2A5B; font-weight: 600; text-decoration: none; }
.ngl-mas a:hover { border-color: #0B2A5B; }

/* Franjas horarias (respuesta rápida de la portada) */
.ngl-franjas ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 6px 0 10px; padding: 0; list-style: none; }
.ngl-franjas li { margin: 0; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid #F3D9A4; text-align: center; }
.ngl-franjas li b { display: block; font-size: 14px; color: #1A2233; }
.ngl-franjas li span { display: block; font-size: 13px; color: #5B6577; white-space: nowrap; }

/* Móvil: cabeceras compactas para que los números se vean antes */
@media (max-width: 640px) {
	.ngl-hero, .ngl-phero { padding: 14px 16px; margin: 10px 0 14px; }
	.ngl-hero__titulo { font-size: 22px !important; margin-bottom: 4px !important; }
	.ngl-hero p.ngl-hero__sub { display: none; }
	.ngl-hero__chips { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; margin-bottom: 8px; padding-bottom: 2px; }
	.ngl-hero__chips::-webkit-scrollbar { display: none; }
	.ngl-hero__chips a { flex: 0 0 auto; }
	.ngl-hero__prox ul { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; }
	.ngl-hero__prox li { flex: 0 0 auto; }
	.ngl-phero p.ngl-phero__sub { font-size: 14px; margin-bottom: 8px; }
	.ngl-phero .ngl-migas { margin-bottom: 6px; }
	.ngl-franjas li { padding: 8px 6px; }
	.ngl-franjas li span { font-size: 12px; white-space: normal; }
	.ngl-ultimos { padding: 12px 12px 4px; }
	.ngl-ultimos__b { max-width: 56%; }
	.ngl-ultimos__b span { min-width: 28px; height: 28px; font-size: 13px; }
}

/* Pantallas táctiles: zonas de toque de al menos 44 px */
@media (pointer: coarse) {
	.ngl-tira a, .ngl-tira a:visited { height: 44px; }
	.ngl-hero__chips a, .ngl-saltos a, .ngl-hero__prox a, .ngl-otros a, .ngl-dias__btn { min-height: 44px; display: inline-flex; align-items: center; }
	h2.ngl-sec a { display: inline-flex; align-items: center; min-height: 44px; }
	.ngl-migas a { display: inline-block; padding: 12px 0; }
	.ngl-pie a { display: inline-block; padding: 10px 0; }
	.ngl-indice a { display: inline-block; padding: 8px 0; }
	.ld-v2 .ld-act { min-height: 44px; }
}

/* Calculadora de premios */
.ngl-calc { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; align-items: end; margin: 8px 0 10px; padding: 16px; border: 1px solid #E1E6EF; border-radius: 16px; background: #fff; }
.ngl-calc label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: #3A4456; }
.ngl-calc select, .ngl-calc input { min-height: 48px; padding: 0 12px; border: 1px solid #CBD3E1; border-radius: 12px; font: inherit; font-size: 16px; color: #1A2233; background: #fff; }
.ngl-calc__res { grid-column: 1 / -1; display: block; padding: 14px 16px; border-radius: 12px; background: #0B6B3A; color: #fff; font-size: 17px; text-align: center; }
.ngl-calc__res b { font-size: 26px; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .ngl-calc { grid-template-columns: 1fr; } }
