/* ==================================================
   Seasonal skin: Thanksgiving
   Golden-hour cream with harvest orange, rich brown and gold; warm Young Serif
   headlines, an autumn-leaf garland with acorns and wheat, falling leaves
   (skin-effects.js) and a harvest still life beside the first headline.
   Loaded after skin-layout.css and skin-polish.css while this skin is active.
   ================================================== */

html[data-skin="thanksgiving"] {
	--sk-heading-weight: 400;
	--sk-heading-tracking: -.02em;
	--sk-stripe: linear-gradient(90deg, var(--sk-accent) 0 33.3%, var(--sk-accent-3) 0 66.6%, var(--sk-accent-2) 0);
	--sk-glow-1: rgba(240, 180, 76, .26);
	--sk-glow-2: rgba(180, 81, 26, .08);
	--sk-hero-art: var(--sk-art-harvest);
	--sk-hero-art-size: min(24vw, 320px);
}

html[data-skin="thanksgiving"] #content > section:first-of-type::before {
	filter: drop-shadow(0 16px 26px rgba(107, 62, 30, .3));
	transform-origin: 50% 90%;
	animation: sk-tg-sway 6s ease-in-out infinite alternate;
}

html[data-skin="thanksgiving"] #content h1 span,
html[data-skin="thanksgiving"] #content h2 span {
	color: var(--sk-accent);
}

html[data-skin="thanksgiving"] .navBar > ul > li > a:hover,
html[data-skin="thanksgiving"] .navBar > ul > li.current-menu-item > a {
	color: var(--sk-accent) !important;
}

/* A maple leaf on each card. */
html[data-skin="thanksgiving"] .blogBox::after {
	content: "";
	position: absolute;
	top: 12px;
	right: 14px;
	width: 28px;
	height: 28px;
	background: var(--sk-emblem) center / contain no-repeat;
	transform: rotate(18deg);
	pointer-events: none;
}

/* Testimonials: deep brown panels with a golden glow. */
html[data-skin="thanksgiving"] .testimonybox {
	background-color: var(--sk-dark);
	background-image: radial-gradient(circle at 50% 0, rgba(240, 180, 76, .3), transparent 60%);
}

/* ---------- Pumpkins and wheat (bottom-left, wide screens) ---------- */

.skin-harvest {
	--sk-corner-art: var(--sk-art-harvest);
	aspect-ratio: 150 / 120;
	filter: drop-shadow(0 6px 12px rgba(58, 36, 20, .35));
	transform-origin: 0 100%;
	animation: sk-sway-bl 7s ease-in-out infinite alternate;
}

html.event-motion-paused .skin-harvest {
	animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
	.skin-harvest {
		animation: none;
	}
}

@keyframes sk-tg-sway {
	from { transform: translateY(-50%) rotate(-2.5deg); }
	to   { transform: translateY(-50%) rotate(2.5deg); }
}
