/* 30/11/2026: franja "Manises - 7 Gordos de Navidad" de la portada (General_Inicio.aspx, .lm7). CSS de la entrega del 30/11/2026
   (bloque-7-gordos.html), sin cambios salvo quitar la regla .lmh:has(~ .lm7), que era para su slider. */
/* Sustituye al bloque móvil antiguo de los 7 Gordos: se oculta (sin borrarlo) para poder volver atrás quitando este bloque */
.hm-m.hm-gordos{display:none!important}
.lm7{--pi:max(36px,calc((100% - 1170px) / 2 + 36px));position:relative;display:grid;grid-template-columns:minmax(0,470px) minmax(0,1fr);align-items:center;gap:18px 56px;margin:0 0 24px;padding:22px var(--pi);font-family:Roboto,Arial,sans-serif;color:#fff;background:radial-gradient(70% 140% at 0% 0%,rgb(255 255 255/.10) 0%,rgb(255 255 255/0) 60%),linear-gradient(135deg,#0050b0 0%,#004394 55%,#003a80 100%)}
.lm7 *,.lm7 *::before,.lm7 *::after{box-sizing:border-box}
.lm7 :where(p,h2,ol){margin:0;padding:0}

.lm7-eyebrow{display:flex;align-items:center;gap:10px;font-family:"Roboto Condensed",Roboto,Arial,sans-serif;font-size:15px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:#fdca27}
.lm7-eyebrow::before{content:"";width:26px;height:3px;border-radius:2px;background:#fdca27}
.lm7-h{margin-top:0!important;font-family:Roboto,Arial,sans-serif;font-size:42px;font-weight:900;line-height:1.02;letter-spacing:-.01em;color:#fff}
.lm7-txt{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"eye eye" "siete h" "siete sub";column-gap:20px}
.lm7-eyebrow{grid-area:eye;margin-bottom:8px!important}
.lm7-h{grid-area:h;align-self:end}
.lm7-sub{grid-area:sub;align-self:start}
/* El 7: tan alto como el titular y el párrafo juntos */
.lm7-7{grid-area:siete;align-self:center;margin:-.02em -.1em -.06em -.06em;padding:.04em .14em .04em .04em;font-family:Roboto,Arial,sans-serif;font-size:154px;font-weight:900;font-style:italic;line-height:.74;color:#fdca27;
	background:linear-gradient(180deg,#ffe27a 0%,#fdca27 45%,#e9a800 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
	filter:drop-shadow(0 8px 14px rgb(0 15 50/.45))}
/* Ajuste exacto (lo calcula el script): el 7 va de la parte alta del titular a la línea base del párrafo */
.lm7-txt{position:relative}
.lm7.is-fit .lm7-txt{grid-template-columns:var(--lm7-w) minmax(0,1fr)}
.lm7.is-fit .lm7-7{position:absolute;grid-area:auto;left:var(--lm7-x);top:var(--lm7-y);margin:0;padding:var(--lm7-p);font-size:var(--lm7-fs);line-height:1}
.lm7-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.lm7-sub{margin-top:10px!important;font-size:17px;line-height:1.4;color:rgb(255 255 255/.88)}
.lm7-sub b{color:#fff}

/* Bolas de boj: madera clara, veta casi invisible, acabado satinado y cifras quemadas a láser */
.lm7-bolas{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:16px;padding-bottom:8px!important;list-style:none}
.lm7-bolas li{position:relative;display:grid;place-items:center;aspect-ratio:1;max-width:80px;border-radius:50%;container-type:inline-size;
	filter:brightness(calc(.97 + var(--i) * .008));
	background:
		radial-gradient(ellipse 34% 24% at 34% 24%,rgb(255 255 255/.75) 0,rgb(255 255 255/0) 100%),
		repeating-radial-gradient(ellipse 160% 90% at calc(-40% + var(--i) * 4%) calc(130% - var(--i) * 6%),rgb(150 105 40/0) 0 5px,rgb(150 105 40/.07) 5px 6px,rgb(150 105 40/0) 6px 11px),
		radial-gradient(circle at 38% 32%,#fff6dc 0%,#f4e2b2 30%,#e6c98a 62%,#c9a160 86%,#a87d42 100%);
	box-shadow:inset -7px -9px 16px rgb(110 70 20/.32),inset 3px 4px 8px rgb(255 252 240/.55),0 14px 18px -10px rgb(0 12 40/.6);
	animation:lm7-cae .8s cubic-bezier(.3,1.45,.5,1) both;animation-delay:calc(var(--i) * 110ms)}
/* Sombra de apoyo bajo cada bola */
.lm7-bolas li::after{content:"";position:absolute;z-index:-1;left:14%;right:14%;bottom:-9px;height:10px;border-radius:50%;background:radial-gradient(closest-side,rgb(0 10 35/.45),rgb(0 10 35/0))}
/* Número grabado: marrón quemado, nítido, con el borde inferior que coge luz */
.lm7-bolas span{font-family:"Roboto Condensed","Arial Narrow",Arial,sans-serif;font-size:30cqw;font-weight:700;letter-spacing:-.01em;line-height:1;color:#3b2208;text-shadow:0 .6px 0 rgb(255 246 222/.85),0 0 .6px rgb(70 35 5/.7);transform:scaleY(1.08)}
/* El último Gordo: misma bola con halo dorado */
.lm7-bolas li.is-last{box-shadow:inset -7px -9px 16px rgb(110 70 20/.32),inset 3px 4px 8px rgb(255 252 240/.55),0 14px 18px -10px rgb(0 12 40/.6),0 0 26px 6px rgb(253 202 39/.45)}
@keyframes lm7-cae{from{opacity:0;transform:translateY(-46px) scale(.9)}to{opacity:1;transform:none}}

/* Tableta horizontal: misma fila, con menos separación */
@media (min-width:960px) and (max-width:1099px){
	.lm7{gap:18px 32px}
	.lm7-bolas{gap:10px}
}
/* Tableta vertical: texto arriba y bolas debajo, agrupadas */
@media (min-width:768px) and (max-width:959px){
	.lm7{grid-template-columns:minmax(0,1fr);gap:16px}
	.lm7-bolas{max-width:600px}
	.lm7-h{font-size:36px}
	.lm7-7{font-size:136px}
}
/* Móvil */
@media (max-width:767px){
	.lm7{--pi:18px;grid-template-columns:minmax(0,1fr);gap:14px;padding-top:18px;padding-bottom:18px;margin-bottom:16px}
	.lm7-eyebrow{font-size:13px}
	.lm7-h{font-size:clamp(24px,7.6vw,30px)}
	.lm7-txt{column-gap:14px}
	.lm7-eyebrow{margin-bottom:8px!important}
	.lm7-7{font-size:clamp(96px,30vw,120px)}
	.lm7-sub{font-size:14.5px}
	.lm7-bolas{gap:6px}
	.lm7-bolas li::after{bottom:-6px;height:7px}
}
/* Móviles muy estrechos: párrafo algo más pequeño para que siga en dos líneas */
@media (max-width:374px){.lm7-sub{font-size:12px}.lm7-txt{column-gap:10px}}
@media (prefers-reduced-motion:reduce){.lm7-bolas li{animation:none}}
/* Alambre dorado: las bolas van ensartadas, como las premiadas en el sorteo; cada número, algo girado */
.lm7-bolas{position:relative}
.lm7-bolas::before{content:"";position:absolute;z-index:0;left:-18px;right:-18px;top:calc(50% - 4px);height:3px;margin-top:-1.5px;border-radius:3px;
	background:linear-gradient(180deg,#fff1b8 0%,#f2c230 45%,#b8860b 100%);box-shadow:0 2px 4px rgb(0 15 50/.45)}
/* Remates del alambre */
.lm7-bolas::after{content:"";position:absolute;z-index:0;left:-24px;right:-24px;top:calc(50% - 4px);height:9px;margin-top:-4.5px;
	background:radial-gradient(circle 4.5px at 4.5px 50%,#f2c230 0 3.5px,#b8860b 3.5px 4.5px,transparent 4.6px),radial-gradient(circle 4.5px at calc(100% - 4.5px) 50%,#f2c230 0 3.5px,#b8860b 3.5px 4.5px,transparent 4.6px)}
.lm7-bolas li{z-index:1}
.lm7-bolas li:nth-child(1) span{rotate:-9deg}
.lm7-bolas li:nth-child(2) span{rotate:6deg}
.lm7-bolas li:nth-child(3) span{rotate:-4deg}
.lm7-bolas li:nth-child(4) span{rotate:8deg}
.lm7-bolas li:nth-child(5) span{rotate:-7deg}
.lm7-bolas li:nth-child(6) span{rotate:4deg}
.lm7-bolas li:nth-child(7) span{rotate:-5deg}
@media (max-width:767px){.lm7-bolas::before{left:-10px;right:-10px;top:calc(50% - 5px)}.lm7-bolas::after{left:-14px;right:-14px;top:calc(50% - 5px)}}

