/* Temas por fecha · se activan desde tema.js (atributo data-tema en <html>) */
.festivo{position:relative;padding:14px max(5vw,16px) 16px}
.festivo .wrap{position:relative;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 18px}
.festivo b{font:400 clamp(22px,2.8vw,32px)/1.2 "Segoe Print DT","Segoe Print",cursive}
.festivo span{font-size:16px}

/* ===== Navidad ===== rojo, dorado y verde pino, con buen contraste */
[data-tema=navidad]{--nr:#c8102e;--nrD:#8e0c1f;--ng:#f2c14e;--nv:#1e6b3a}
[data-tema=navidad] .festivo .wrap{flex-direction:column;align-items:center;text-align:center;gap:6px}
[data-tema=navidad] .festivo{background:linear-gradient(90deg,var(--nrD),var(--nr) 50%,var(--nrD));color:#fff;padding:30px max(5vw,16px) 40px;text-align:left}
[data-tema=navidad] .festivo b{color:var(--ng);text-shadow:0 2px 0 #0004}
[data-tema=navidad] .festivo span{color:#fff}
[data-tema=navidad] .festivo::before{content:"";position:absolute;left:0;right:0;top:0;height:18px;background:
 radial-gradient(circle at 50% 65%,#f2c14e 0 5px,transparent 6px) 0 0/60px 18px repeat-x,
 radial-gradient(circle at 50% 65%,#3fbf6a 0 5px,transparent 6px) 20px 0/60px 18px repeat-x,
 radial-gradient(circle at 50% 65%,#fff 0 5px,transparent 6px) 40px 0/60px 18px repeat-x,
 linear-gradient(#0006,#0006) 0 7px/100% 2px no-repeat}
[data-tema=navidad] .festivo::after{content:"";position:absolute;left:0;right:0;bottom:-20px;height:34px;background:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22120%22 height=%2234%22 viewBox=%220 0 120 34%22%3E%3Cpath d=%22M-2 4 Q60 34 122 4%22 fill=%22none%22 stroke=%22%23155c30%22 stroke-width=%2213%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M-2 4 Q60 34 122 4%22 fill=%22none%22 stroke=%22%232e8b4a%22 stroke-width=%227%22 stroke-dasharray=%222 3%22/%3E%3Cpath d=%22M-2 4 Q60 34 122 4%22 fill=%22none%22 stroke=%22%235cb85c%22 stroke-width=%222%22 stroke-dasharray=%221 5%22/%3E%3Ccircle cx=%2260%22 cy=%2224%22 r=%227%22 fill=%22%23c8102e%22/%3E%3Ccircle cx=%2257.5%22 cy=%2221.5%22 r=%222%22 fill=%22%23fff%22 opacity=%22.7%22/%3E%3Ccircle cx=%2222%22 cy=%2215%22 r=%224.5%22 fill=%22%23f2c14e%22/%3E%3Ccircle cx=%2298%22 cy=%2215%22 r=%224.5%22 fill=%22%23f2c14e%22/%3E%3C/svg%3E") 0 0/120px 34px repeat-x;z-index:3;pointer-events:none}
/* guirnalda de pino arriba de cada sección y del pie */
[data-tema=navidad] .band,[data-tema=navidad] footer{position:relative}
[data-tema=navidad] .band:not(.hero)::before,[data-tema=navidad] footer::before{content:"";position:absolute;left:0;right:0;top:-4px;height:34px;background:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22120%22 height=%2234%22 viewBox=%220 0 120 34%22%3E%3Cpath d=%22M-2 4 Q60 34 122 4%22 fill=%22none%22 stroke=%22%23155c30%22 stroke-width=%2213%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M-2 4 Q60 34 122 4%22 fill=%22none%22 stroke=%22%232e8b4a%22 stroke-width=%227%22 stroke-dasharray=%222 3%22/%3E%3Cpath d=%22M-2 4 Q60 34 122 4%22 fill=%22none%22 stroke=%22%235cb85c%22 stroke-width=%222%22 stroke-dasharray=%221 5%22/%3E%3Ccircle cx=%2260%22 cy=%2224%22 r=%227%22 fill=%22%23c8102e%22/%3E%3Ccircle cx=%2257.5%22 cy=%2221.5%22 r=%222%22 fill=%22%23fff%22 opacity=%22.7%22/%3E%3Ccircle cx=%2222%22 cy=%2215%22 r=%224.5%22 fill=%22%23f2c14e%22/%3E%3Ccircle cx=%2298%22 cy=%2215%22 r=%224.5%22 fill=%22%23f2c14e%22/%3E%3C/svg%3E") 0 0/120px 34px repeat-x;pointer-events:none;z-index:1}
/* acebo junto a cada título */
[data-tema=navidad] .band h2::after{content:"";display:inline-block;width:1.15em;height:.86em;margin-left:.3em;vertical-align:-.05em;background:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 36%22%3E%3Cpath d=%22M24 22 C14 24 6 18 2 10 C8 12 10 8 12 4 C16 10 20 10 24 8 C22 14 22 18 24 22Z%22 fill=%22%231e7a3e%22/%3E%3Cpath d=%22M24 22 C34 24 42 18 46 10 C40 12 38 8 36 4 C32 10 28 10 24 8 C26 14 26 18 24 22Z%22 fill=%22%232e8b4a%22/%3E%3Ccircle cx=%2220%22 cy=%2224%22 r=%225%22 fill=%22%23c8102e%22/%3E%3Ccircle cx=%2228%22 cy=%2224%22 r=%225%22 fill=%22%23c8102e%22/%3E%3Ccircle cx=%2224%22 cy=%2229%22 r=%225%22 fill=%22%23a50d26%22/%3E%3Ccircle cx=%2218.5%22 cy=%2222.5%22 r=%221.4%22 fill=%22%23fff%22 opacity=%22.7%22/%3E%3C/svg%3E") center/contain no-repeat}
/* portada cálida */
[data-tema=navidad] .hero{background:linear-gradient(180deg,light-dark(#fdeceb,#3a1016),var(--bg))}
[data-tema=navidad] .hero h1{color:var(--nrD)}
@media(prefers-color-scheme:dark){:root:not([data-theme=light])[data-tema=navidad] .hero h1{color:#ff8a8a}}
:root[data-theme=dark][data-tema=navidad] .hero h1{color:#ff8a8a}
[data-tema=navidad] .scene{box-shadow:0 0 0 6px var(--ng),0 20px 50px -20px #8e0c1f88}
/* pie rojo navideño */
[data-tema=navidad] footer{background:linear-gradient(180deg,var(--nrD),#5e0814);padding-top:60px}
[data-tema=navidad] .bar{background:repeating-linear-gradient(135deg,var(--nr) 0 14px,#fff 14px 28px)}
[data-tema=navidad] .quick .qa:nth-child(odd){border-top-color:var(--nr)}
[data-tema=navidad] .quick .qa:nth-child(even){border-top-color:var(--nv)}
/* gorro navideño: mismo tamaño que el escudo, el borde sigue su contorno */
.gorro-w{position:relative;display:inline-block;line-height:0}
.gorro{position:absolute;overflow:visible;pointer-events:none;filter:drop-shadow(0 2px 2px #0003)}
.gorro-w .gorro{left:0;top:0;width:100%;height:100%}
[data-tema=navidad] .scene>img{top:17%}
.scene .gorro-scene{left:5%;top:17%;width:30%!important;height:auto!important;aspect-ratio:1;z-index:2}
[data-tema=navidad] .sym{margin-top:46px}
/* estrellas que caen suavemente */
.copos{position:fixed;inset:0;pointer-events:none;z-index:15;overflow:hidden}
.copos i{position:absolute;top:-24px;font-style:normal;line-height:1;opacity:.85}
@media(prefers-reduced-motion:no-preference){
 .copos i{animation:caer linear infinite}
 @keyframes caer{to{transform:translate3d(30px,110vh,0) rotate(200deg)}}
 [data-tema=navidad] .scene .luz{animation:brillo 1.6s ease-in-out infinite}
 [data-tema=navidad] .scene .l1{animation-delay:.5s}
 [data-tema=navidad] .scene .l2{animation-delay:1s}
 @keyframes brillo{50%{opacity:.35}}
}
@media(prefers-reduced-motion:reduce){.copos{display:none}}