/* Homepage seasonal styling. Loaded on the front page only (see functions.php). */

/* Santa Land section: light blue background with falling snowflakes.
   Two layers of six-armed SVG flakes (small/slow, large/faster) drift down; each
   moves a whole number of tiles per cycle so the loop is seamless. The date cards
   stay white on top. The section itself hides on Dec 26 (tc-hide-from-2026-12-26). */
html body .et_pb_section.tc-santa-land {
	background-color: #d9ebfa !important;
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cdefs%3E%3Cg id='f' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M0-10V10M-8.66-5L8.66 5M-8.66 5L8.66-5M0-6.5L-2.2-8.6M0-6.5L2.2-8.6M0 6.5L-2.2 8.6M0 6.5L2.2 8.6M-5.6-3.25L-8.6-2.4M-5.6-3.25L-6.4-6.2M5.6 3.25L8.6 2.4M5.6 3.25L6.4 6.2M-5.6 3.25L-8.6 2.4M-5.6 3.25L-6.4 6.2M5.6-3.25L8.6-2.4M5.6-3.25L6.4-6.2'/%3E%3C/g%3E%3C/defs%3E%3Cuse href='%23f' transform='translate(30 40) rotate(0) scale(0.55)' opacity='0.85'/%3E%3Cuse href='%23f' transform='translate(140 150) rotate(20) scale(0.45)' opacity='0.75'/%3E%3Cuse href='%23f' transform='translate(210 60) rotate(10) scale(0.6)' opacity='0.9'/%3E%3Cuse href='%23f' transform='translate(80 215) rotate(35) scale(0.5)' opacity='0.8'/%3E%3Cuse href='%23f' transform='translate(235 195) rotate(15) scale(0.45)' opacity='0.75'/%3E%3Cuse href='%23f' transform='translate(170 10) rotate(5) scale(0.5)' opacity='0.8'/%3E%3C/svg%3E"),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420'%3E%3Cdefs%3E%3Cg id='f' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M0-10V10M-8.66-5L8.66 5M-8.66 5L8.66-5M0-6.5L-2.2-8.6M0-6.5L2.2-8.6M0 6.5L-2.2 8.6M0 6.5L2.2 8.6M-5.6-3.25L-8.6-2.4M-5.6-3.25L-6.4-6.2M5.6 3.25L8.6 2.4M5.6 3.25L6.4 6.2M-5.6 3.25L-8.6 2.4M-5.6 3.25L-6.4 6.2M5.6-3.25L8.6-2.4M5.6-3.25L6.4-6.2'/%3E%3C/g%3E%3C/defs%3E%3Cuse href='%23f' transform='translate(70 95) rotate(0) scale(1.1)' opacity='0.95'/%3E%3Cuse href='%23f' transform='translate(305 45) rotate(25) scale(0.9)' opacity='0.9'/%3E%3Cuse href='%23f' transform='translate(215 265) rotate(12) scale(1.25)' opacity='0.95'/%3E%3Cuse href='%23f' transform='translate(385 335) rotate(30) scale(0.95)' opacity='0.85'/%3E%3Cuse href='%23f' transform='translate(125 385) rotate(8) scale(1.05)' opacity='0.9'/%3E%3C/svg%3E"),
		linear-gradient(180deg, #cde3f7 0%, #e8f3fd 100%) !important;
	background-size: 260px 260px, 420px 420px, 100% 100% !important;
	background-repeat: repeat, repeat, no-repeat !important;
	animation: tc-snowfall 20s linear infinite;
}

@keyframes tc-snowfall {
	from { background-position: 0 0, 0 0, 0 0; }
	to   { background-position: 0 260px, 0 840px, 0 0; }
}

@media (prefers-reduced-motion: reduce) {
	html body .et_pb_section.tc-santa-land {
		animation: none;
	}
}
