/* Diwali festive theme: loaded only while it is switched on (inc/festive.php). */

/* ── Announcement bar with a marigold toran along the top edge ── */
.c-announce--diwali {
	position: relative;
	padding-top: 0.75rem;
	color: #fff4e0;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='18' viewBox='0 0 48 18'%3E%3Cpath d='M0 1Q24 9 48 1' fill='none' stroke='%23e3b04b' stroke-width='1.1'/%3E%3Cpath d='M10 3.6q-3 4.6.6 8.4 2.6-4.2-.6-8.4Z' fill='%236c9a3f'/%3E%3Cpath d='M38 3.6q3 4.6-.6 8.4-2.6-4.2.6-8.4Z' fill='%236c9a3f'/%3E%3Ccircle cx='24' cy='10.4' r='5.4' fill='%23f39a2c' stroke='%23e0721c' stroke-width='1.6' stroke-dasharray='1.8 1.2'/%3E%3Ccircle cx='24' cy='10.4' r='2.6' fill='%23f7c24a'/%3E%3C/svg%3E") repeat-x 0 0 / 48px 18px,
		linear-gradient(90deg, #4a1630 0%, #6c1f30 50%, #4a1630 100%);
}
.c-announce--diwali .c-announce__inner { min-height: 2rem; }
.c-announce__festive { color: #ffc46b; font-weight: 700; letter-spacing: 0.04em; }
.c-announce__star { color: #f6b93b; opacity: 0.85; }
.c-announce--diwali .c-diya { width: 1.15rem; height: 1.15rem; }

/* ── Little diyas sprinkled beside section eyebrows across the site ── */
.is-diwali .c-eyebrow:not(.elementor-widget)::before,
.is-diwali .c-eyebrow .elementor-heading-title::before {
	content: "";
	display: inline-block;
	width: 1.35em;
	height: 1.35em;
	margin: -0.3em 0.45em 0 0;
	vertical-align: middle;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='22' r='16' fill='%23ffc46b' fill-opacity='.28'/%3E%3Cpath d='M32 6c5 7 7 11 7 15a7 7 0 0 1-14 0c0-4 2-8 7-15Z' fill='%23ff9a2e'/%3E%3Cpath d='M32 14c3 4 4 7 4 9a4 4 0 0 1-8 0c0-2 1-5 4-9Z' fill='%23ffe08a'/%3E%3Cpath d='M6 34c7 0 11 4 26 4s19-4 26-4c-2 12-12 20-26 20S8 46 6 34Z' fill='%23c4572e'/%3E%3Cpath d='M6 34c7 0 11 4 26 4s19-4 26-4' fill='none' stroke='%23e9a23b' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
	filter: drop-shadow(0 0 3px rgb(255 170 60 / 0.55));
}

/* ── Motion (off for visitors who prefer reduced motion) ── */
@media (prefers-reduced-motion: no-preference) {
	.c-diya__flame { transform-box: fill-box; transform-origin: 50% 100%; animation: diyaFlicker 1.6s ease-in-out infinite alternate; }
	.c-diya__glow { transform-box: fill-box; transform-origin: 50% 50%; animation: diyaGlow 2.4s ease-in-out infinite alternate; }
	.is-diwali .c-eyebrow:not(.elementor-widget)::before,
	.is-diwali .c-eyebrow .elementor-heading-title::before { animation: diyaSprinkle 2.6s ease-in-out infinite alternate; }
}
@keyframes diyaFlicker {
	0% { transform: scale(1, 1) rotate(-2deg); }
	40% { transform: scale(0.94, 1.07) rotate(2deg); }
	70% { transform: scale(1.04, 0.96) rotate(-1deg); }
	100% { transform: scale(0.97, 1.04) rotate(1.5deg); }
}
@keyframes diyaGlow { from { opacity: 0.6; transform: scale(0.9); } to { opacity: 1; transform: scale(1.08); } }
@keyframes diyaSprinkle { from { filter: drop-shadow(0 0 2px rgb(255 170 60 / 0.35)); } to { filter: drop-shadow(0 0 5px rgb(255 170 60 / 0.8)); } }
