/* Feestdagen-aankleding. Wordt alleen geladen van 1 dec t/m 6 jan (lib/cb_feest.php). */

/* Lichtslinger onder de header, op elke pagina. De lampjes knipperen via SVG-animatie. */
header::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -20px;
  height: 22px;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='22' viewBox='0 0 160 22'%3E%3Cpath d='M0 2 Q20 10 40 2 T80 2 T120 2 T160 2' fill='none' stroke='%23264a2c' stroke-width='1.6'/%3E%3Cg%3E%3Crect x='17.5' y='4.5' width='5' height='4' fill='%23444'/%3E%3Cellipse cx='20' cy='13.5' rx='4.2' ry='6' fill='%23d6402e'%3E%3Canimate attributeName='opacity' values='1;.45;1' dur='2.4s' repeatCount='indefinite'/%3E%3C/ellipse%3E%3Crect x='57.5' y='4.5' width='5' height='4' fill='%23444'/%3E%3Cellipse cx='60' cy='13.5' rx='4.2' ry='6' fill='%23e8b53a'%3E%3Canimate attributeName='opacity' values='.5;1;.5' dur='2.4s' repeatCount='indefinite'/%3E%3C/ellipse%3E%3Crect x='97.5' y='4.5' width='5' height='4' fill='%23444'/%3E%3Cellipse cx='100' cy='13.5' rx='4.2' ry='6' fill='%233d8a4f'%3E%3Canimate attributeName='opacity' values='1;.5;1' dur='3s' repeatCount='indefinite'/%3E%3C/ellipse%3E%3Crect x='137.5' y='4.5' width='5' height='4' fill='%23444'/%3E%3Cellipse cx='140' cy='13.5' rx='4.2' ry='6' fill='%233a7bd5'%3E%3Canimate attributeName='opacity' values='.5;1;.5' dur='3s' repeatCount='indefinite'/%3E%3C/ellipse%3E%3C/g%3E%3C/svg%3E") repeat-x left top / 160px 22px;
}

/* Sneeuw in de homepage-hero, achter de inhoud. */
.cb-sneeuw { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.cb-sneeuw i {
  position: absolute; top: -10px;
  background: #fff; border-radius: 50%; opacity: .75;
  animation-name: cb-val; animation-timing-function: linear; animation-iteration-count: infinite;
}
@keyframes cb-val {
  0%   { transform: translate(0, -10px); }
  50%  { transform: translate(14px, 50vh); }
  100% { transform: translate(-6px, 110vh); }
}

/* Feestregel boven de kop. */
.cb-feest-regel {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 12px;
  margin: 0 0 18px; padding: 8px 16px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px; font-size: .95rem; color: #fff; font-weight: 600;
}
.cb-feest-regel a { color: #ffe3a8; text-decoration: none; font-weight: 600; }
.cb-feest-regel a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .cb-feest-regel { border-radius: 12px; font-size: .88rem; }
}

/* Geen beweging voor wie dat uit heeft staan: slinger blijft, sneeuw verdwijnt. */
@media (prefers-reduced-motion: reduce) {
  .cb-sneeuw { display: none; }
}
