/* Vánoční výzdoba (js/xmas.js) */
:root { --xm-gold:#e9c98f; }

.xm-snow { position:fixed; inset:0; width:100%; height:100%; pointer-events:none; z-index:40; }
.xm-toggle { position:fixed; left:16px; bottom:16px; z-index:80; min-height:40px; padding:0 16px; border-radius:999px; border:1px solid var(--line); background:var(--paper, #fffdfa); color:var(--ink); font:inherit; font-size:.85rem; cursor:pointer; box-shadow:0 8px 22px -12px rgba(40,28,24,.5); }
.xm-toggle.is-off { color:var(--ink-3); text-decoration:line-through; }
.xm-toggle[hidden] { display:none; }

.xmas[hidden] { display:none; }
.xmas { position:relative; overflow:hidden; isolation:isolate; color:#eef3ec; padding:104px 24px 96px; text-align:center;
  background:radial-gradient(70% 55% at 50% 0%, rgba(70,128,96,.42), transparent 70%), linear-gradient(180deg, #17302a 0%, #0f211d 100%); }
.xm-bokeh { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; z-index:-1; }
.xmas-inner { max-width:1080px; margin:0 auto; }
.xmas h2 { font-family:var(--serif); font-weight:400; font-size:clamp(2.2rem, 5vw, 3.6rem); line-height:1.12; margin:0 auto 18px; max-width:16em; color:#fdf6ec; text-wrap:balance; }
.xmas-lead { max-width:560px; margin:0 auto; font-size:1.08rem; line-height:1.75; color:#d5e2d9; }
.xmas-count { margin:22px 0 56px; font-family:var(--serif); font-style:italic; font-size:1.35rem; color:var(--xm-gold); }
.xmas-cards { display:grid; grid-template-columns:repeat(3, 1fr); gap:32px; align-items:start; text-align:left; }
.xmas-item { display:block; color:inherit; text-decoration:none; }
.xmas-photo { display:block; aspect-ratio:4/5; overflow:hidden; border-radius:4px; background:#1c3830; box-shadow:0 34px 60px -30px rgba(0,0,0,.85); }
.xmas-photo img { display:block; width:100%; height:100%; object-fit:cover; transition:transform 1.1s cubic-bezier(.16,1,.3,1); }
/* poukaz je na šířku: nechá se celý, jako karta položená na stole */
.xmas-item:nth-child(2) .xmas-photo { display:flex; align-items:center; justify-content:center; padding:8%; box-sizing:border-box; background:radial-gradient(90% 80% at 50% 30%, #2f5c4c, #17302a); }
.xmas-item:nth-child(2) .xmas-photo img { height:auto; border-radius:3px; transform:rotate(-4deg); box-shadow:0 22px 34px -16px rgba(0,0,0,.8); }
.xmas-item:hover .xmas-photo img, .xmas-item:focus-visible .xmas-photo img { transform:scale(1.04); }
.xmas-item:nth-child(2):hover .xmas-photo img, .xmas-item:nth-child(2):focus-visible .xmas-photo img { transform:rotate(-1deg) scale(1.04); }
.xmas-item h3 { font-family:var(--serif); font-weight:400; font-size:1.55rem; margin:22px 0 8px; color:#fdf6ec; }
.xmas-item p { margin:0 0 12px; font-size:1rem; line-height:1.7; color:#c9d9ce; }
.xmas-go { color:var(--xm-gold); font-size:1rem; text-decoration:underline; text-underline-offset:5px; }
.xmas-wish { margin:64px 0 0; font-family:var(--serif); font-style:italic; font-size:1.45rem; color:#f3e3cc; }

@media (max-width:820px) {
  .xmas { padding:72px 18px 68px; }
  .xmas-count { margin-bottom:40px; }
  .xmas-cards { grid-template-columns:1fr; gap:44px; max-width:420px; margin:0 auto; }
  .xmas-wish { margin-top:48px; }
  .xm-toggle { left:10px; bottom:10px; }
}
@media (prefers-reduced-motion:reduce) { .xmas-photo img { transition:none; } }
