/* Home page "What's New at Wow Wow" cards (Nov 2026). Markup: template-parts/whats-new.php */
.wn-section {
	padding: 72px 0 80px;
	background: #ffffff;
	color: #14251a;
}
.wn-title {
	margin: 0 0 44px;
	text-align: center;
	font-family: 'Lifehack Sans', Gotham, sans-serif;
	font-weight: 700;
	font-size: 64px;
	line-height: 1;
	text-transform: uppercase;
	color: #14251a;
}
.wn-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}
.wn-grid.wn-count-1 { grid-template-columns: minmax(0, 520px); justify-content: center; }
.wn-grid.wn-count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wn-grid.wn-count-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.wn-card {
	display: flex;
	flex-direction: column;
	border-radius: 24px;
	overflow: hidden;
	background: var(--wn-bg);
	color: var(--wn-fg);
	transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}
.wn-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 18px 40px rgba(20, 37, 26, .18);
}

/* Photo area: always 4:3, images stacked and cross-faded. */
.wn-media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	flex: none;
}
.wn-slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity .7s ease, transform .6s cubic-bezier(.2, .8, .2, 1);
}
.wn-slide.is-active { opacity: 1; }
.wn-card:hover .wn-slide { transform: scale(1.05); }
.wn-tag {
	position: absolute;
	left: 20px;
	top: 20px;
	padding: 8px 16px 6px;
	border-radius: 999px;
	background: #edd900;
	color: #14251a;
	font-family: 'Lifehack Sans', Gotham, sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 1;
	text-transform: uppercase;
}

/* Falling snow (decorative). */
.wn-snow span {
	position: absolute;
	top: -12px;
	border-radius: 50%;
	background: #ffffff;
	animation-name: wn-fall;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}
@keyframes wn-fall {
	0% { transform: translate(0, -20px); }
	50% { transform: translate(14px, 160px); }
	100% { transform: translate(-6px, 340px); }
}

.wn-body {
	display: flex;
	flex-direction: column;
	gap: 14px;
	flex-grow: 1;
	padding: 30px 30px 34px;
}
.wn-headline {
	margin: 0;
	font-family: 'Lifehack Sans', Gotham, sans-serif;
	font-weight: 700;
	font-size: 40px;
	line-height: 1;
	text-transform: uppercase;
	color: inherit;
}
.wn-headline--accent { color: #edd900; }
.wn-card--light .wn-headline--accent { color: inherit; }
.wn-text {
	margin: 0;
	font-family: Gotham, Arial, sans-serif;
	font-size: 18px;
	line-height: 1.5;
	color: inherit;
}

/* Rotating messages share one spot; the tallest sets the height. */
.wn-messages {
	display: grid;
}
.wn-message {
	grid-area: 1 / 1;
	display: flex;
	flex-direction: column;
	gap: 14px;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity .5s ease, transform .5s cubic-bezier(.2, .8, .2, 1);
}
.wn-message.is-active {
	opacity: 1;
	transform: none;
}
.wn-dots {
	display: flex;
	gap: 10px;
	align-items: center;
}
.wn-dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: currentColor;
	opacity: .45;
	cursor: pointer;
	transition: width .3s ease, opacity .3s ease, background .3s ease;
}
.wn-dot.is-active {
	width: 34px;
	opacity: 1;
	background: #edd900;
}
.wn-card--light .wn-dot.is-active { background: #14251a; }

/* Image tags (e.g. Island Boost names). */
.wn-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.wn-chip {
	padding: 7px 14px 6px;
	border-radius: 999px;
	border: 2px solid currentColor;
	background: transparent;
	color: inherit;
	font-family: Gotham, Arial, sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	opacity: .75;
	transition: background .3s ease, color .3s ease, opacity .3s ease;
}
.wn-chip.is-active {
	opacity: 1;
	background: var(--wn-fg);
	color: var(--wn-bg);
}

.wn-buttons {
	margin-top: auto;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding-top: 6px;
}
.wn-btn {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 14px 26px 12px;
	border-radius: 999px;
	background: var(--wn-fg);
	color: var(--wn-bg);
	font-family: 'Lifehack Sans', Gotham, sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	transition: background .2s ease, color .2s ease;
}
.wn-btn:hover,
.wn-btn:focus-visible {
	background: #edd900;
	color: #14251a;
	text-decoration: none;
}
.wn-card--light .wn-btn:hover,
.wn-card--light .wn-btn:focus-visible {
	background: #ffffff;
}
.wn-btn:focus-visible,
.wn-chip:focus-visible,
.wn-dot:focus-visible {
	outline: 3px solid #14251a;
	outline-offset: 3px;
}

@media (max-width: 1199px) {
	.wn-grid.wn-count-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wn-headline { font-size: 34px; }
}
@media (max-width: 991px) {
	.wn-section { padding: 48px 0 56px; }
	.wn-title { font-size: 46px; margin-bottom: 28px; }
	.wn-grid,
	.wn-grid.wn-count-2,
	.wn-grid.wn-count-4 {
		grid-template-columns: minmax(0, 560px);
		justify-content: center;
		gap: 24px;
	}
	.wn-body { padding: 24px 24px 28px; }
	.wn-text { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	.wn-snow { display: none; }
	.wn-card,
	.wn-slide,
	.wn-message,
	.wn-dot,
	.wn-chip { transition: none; }
	.wn-card:hover { transform: none; }
	.wn-card:hover .wn-slide { transform: none; }
}
