/* =========================================================
   Play Wander - Design System
   Source: Play_Wander_Website_Design_Reference.docx, section 2
   ========================================================= */

:root {
	--pw-color-primary: #4C8BF5;   /* Sky Blue */
	--pw-color-secondary: #69C7A5; /* Mint Green */
	--pw-color-accent-yellow: #F9C74F;
	--pw-color-accent-coral: #F58C7C;
	--pw-color-text: #27364B;      /* Deep Navy */
	--pw-color-bg: #FFFDF8;        /* Warm White / Cream */
	--pw-color-surface: #FFFFFF;
	--pw-color-border: #E7E2D8;

	--pw-font-heading: 'Fredoka', sans-serif;
	--pw-font-body: 'Poppins', sans-serif;

	--pw-radius-sm: 10px;
	--pw-radius-md: 16px;
	--pw-radius-lg: 24px;

	--pw-shadow-sm: 0 2px 8px rgba(39, 54, 75, 0.06);
	--pw-shadow-md: 0 8px 24px rgba(39, 54, 75, 0.10);

	--pw-container-width: 1180px;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--pw-color-bg);
	color: var(--pw-color-text);
	font-family: var(--pw-font-body);
	font-size: 16px;
	line-height: 1.6;
}

h1, h2, h3, h4 {
	font-family: var(--pw-font-heading);
	font-weight: 600;
	margin: 0 0 0.5em;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	display: block;
}

.pw-container {
	max-width: var(--pw-container-width);
	margin: 0 auto;
	padding: 0 20px;
}

.pw-section {
	padding: 48px 20px;
}

.pw-section--alt {
	background: var(--pw-color-surface);
}

.pw-section__title {
	font-size: 1.75rem;
	margin-bottom: 24px;
}

.pw-section__title--sm {
	font-size: 1.25rem;
	margin-bottom: 16px;
}

/* ---------- Buttons ---------- */

.pw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	border-radius: var(--pw-radius-sm);
	font-family: var(--pw-font-body);
	font-weight: 600;
	font-size: 0.95rem;
	border: none;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pw-btn:hover {
	transform: translateY(-1px);
	box-shadow: var(--pw-shadow-sm);
}

.pw-btn--primary {
	background: var(--pw-color-primary);
	color: #fff;
	transition: background-color 0.2s ease;
}

.pw-btn--primary:hover {
	background: var(--pw-color-secondary);
	color: #fff;
}

/*
 * "Submit a Spot" CTA: deep-navy pill with a yellow "+" badge. Navy gives it
 * real weight against the colourful logo/menu; the badge pulses gently and
 * spins on hover while the pill warms to Soft Coral. Disabled motion for
 * prefers-reduced-motion.
 */
.pw-header__cta.pw-btn--primary {
	gap: 10px;
	padding: 7px 22px 7px 8px;
	border-radius: 999px;
	background: var(--pw-color-text);
	color: #fff;
	font-weight: 600;
	letter-spacing: 0.01em;
	box-shadow: 0 6px 16px rgba(39, 54, 75, 0.28);
	transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.pw-header__cta.pw-btn--primary:hover {
	background: var(--pw-color-accent-coral);
	color: var(--pw-color-text);
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(245, 140, 124, 0.5);
}

.pw-cta-plus {
	position: relative;
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--pw-color-accent-yellow);
	transition: transform 0.35s ease;
	animation: pw-pulse 2.4s ease-out infinite;
}

.pw-cta-plus::before,
.pw-cta-plus::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 14px;
	height: 2.5px;
	border-radius: 2px;
	background: var(--pw-color-text);
	transform: translate(-50%, -50%);
}

.pw-cta-plus::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.pw-header__cta:hover .pw-cta-plus,
.pw-footer__cta:hover .pw-cta-plus {
	transform: rotate(90deg);
	animation-play-state: paused;
}

@keyframes pw-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(249, 199, 79, 0.65); }
	70%  { box-shadow: 0 0 0 10px rgba(249, 199, 79, 0); }
	100% { box-shadow: 0 0 0 0 rgba(249, 199, 79, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.pw-cta-plus {
		animation: none;
	}
}

.pw-btn--secondary {
	background: var(--pw-color-secondary);
	color: #fff;
}

.pw-btn--ghost {
	background: transparent;
	color: var(--pw-color-text);
	border: 1px solid var(--pw-color-border);
}

/* ---------- Header ---------- */

.pw-header {
	background: rgba(255, 255, 255, 0.94);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--pw-color-border);
	position: sticky;
	top: 0;
	z-index: 50;
	transition: box-shadow 0.25s ease;
}

.pw-header.is-scrolled {
	box-shadow: 0 6px 20px rgba(39, 54, 75, 0.08);
}

/* Three columns: logo left (hanging below the bar), menu centered, CTA right. */
.pw-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
	padding-top: 10px;
	padding-bottom: 10px;
	min-height: 76px;
}

.pw-header__logo {
	grid-column: 1;
	grid-row: 1;
	justify-self: start;
	align-self: start;
	position: relative;
	z-index: 2;
	line-height: 0;
	margin: -10px 0 -52px; /* negative bottom margin = logo hangs below the bar */
}

.pw-header__logo a {
	display: block;
	padding: 8px 18px 12px;
	background: var(--pw-color-surface);
	border-radius: 0 0 28px 28px;
	box-shadow: 0 10px 22px rgba(39, 54, 75, 0.14);
	transition: transform 0.2s ease;
}

.pw-header__logo a:hover {
	transform: translateY(2px) scale(1.03);
}

.pw-header__logo img {
	display: block;
	height: 118px;
	width: auto;
	max-width: none;
}

.pw-header__nav {
	grid-column: 2;
	grid-row: 1;
	justify-self: center;
}

.pw-header__cta {
	grid-column: 3;
	grid-row: 1;
}

.pw-header__menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: var(--pw-font-body);
	font-weight: 600;
	font-size: 0.95rem;
}

/* Each menu item is a button. */
.pw-header__menu a {
	position: relative;
	display: block;
	padding: 10px 22px;
	border-radius: 999px;
	background: rgba(105, 199, 165, 0.18);
	border: 1.5px solid rgba(105, 199, 165, 0.6);
	color: var(--pw-color-text);
	line-height: 1.2;
	white-space: nowrap;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.pw-header__menu a:hover,
.pw-header__menu a:focus-visible {
	background: var(--pw-color-secondary);
	border-color: var(--pw-color-secondary);
	color: var(--pw-color-text);
	transform: translateY(-2px);
	box-shadow: 0 6px 14px rgba(105, 199, 165, 0.5);
	outline: none;
}

.pw-header__menu .current-menu-item > a,
.pw-header__menu .current_page_item > a {
	background: var(--pw-color-secondary);
	border-color: var(--pw-color-secondary);
	color: var(--pw-color-text);
}

.pw-header__cta {
	justify-self: end;
	white-space: nowrap;
}

.pw-header__toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--pw-color-primary);
	border-radius: 12px;
	background: var(--pw-color-primary);
	cursor: pointer;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.pw-header__toggle span {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: #fff; /* white bars, and white X when the menu is open */
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.pw-header.is-open .pw-header__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pw-header.is-open .pw-header__toggle span:nth-child(2) { opacity: 0; }
.pw-header.is-open .pw-header__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
	.pw-header__menu a {
		padding: 9px 16px;
	}
}

@media (max-width: 860px) {
	.pw-header__inner {
		grid-template-columns: auto 1fr auto auto;
		gap: 10px;
		min-height: 64px;
	}

	.pw-header__logo {
		grid-column: 1;
		margin: -8px 0 -34px;
	}

	.pw-header__logo img {
		height: 84px;
	}

	.pw-header__logo a {
		padding: 6px 12px 10px;
		border-radius: 0 0 20px 20px;
	}

	.pw-header__cta.pw-btn--primary {
		grid-column: 3;
		padding: 6px 16px 6px 6px;
		font-size: 0.85rem;
	}

	.pw-header__toggle {
		display: flex;
		grid-column: 4;
		grid-row: 1;
	}

	.pw-header__nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		z-index: 1;
		background: var(--pw-color-surface);
		border-bottom: 1px solid var(--pw-color-border);
		box-shadow: 0 12px 24px rgba(39, 54, 75, 0.1);
		padding: 52px 20px 18px; /* top padding clears the hanging logo */
	}

	.pw-header.is-open .pw-header__nav {
		display: block;
	}

	.pw-header__menu {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}

	.pw-header__menu a {
		padding: 13px 18px;
		text-align: center;
	}
}

@media (max-width: 420px) {
	.pw-header__logo img {
		height: 68px;
	}

	.pw-header__cta.pw-btn--primary {
		padding: 5px 12px 5px 5px;
		font-size: 0.78rem;
		gap: 6px;
	}

	.pw-cta-plus {
		width: 26px;
		height: 26px;
	}

	.pw-header__toggle {
		width: 40px;
		height: 40px;
	}
}

/* ---------- Header polish (final pass) ---------- */

/* Brand-colour ribbon along the bottom edge instead of a plain border. */
.pw-header {
	border-bottom: none;
	box-shadow: 0 2px 12px rgba(39, 54, 75, 0.05);
}

.pw-header::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--pw-color-accent-coral) 0 25%, var(--pw-color-accent-yellow) 25% 50%, var(--pw-color-secondary) 50% 75%, var(--pw-color-primary) 75% 100%);
}

/* Menu buttons: crisp white pill, mint ring, gradient fill on hover. */
.pw-header__menu a {
	background: #fff;
	border: 1.5px solid rgba(105, 199, 165, 0.7);
	box-shadow: 0 2px 6px rgba(39, 54, 75, 0.06);
	letter-spacing: 0.01em;
}

.pw-header__menu a:hover,
.pw-header__menu a:focus-visible,
.pw-header__menu .current-menu-item > a,
.pw-header__menu .current_page_item > a {
	background: linear-gradient(135deg, #8fdcc0, var(--pw-color-secondary) 60%, #4fb48f);
	border-color: transparent;
}

.pw-header__menu a:active {
	transform: translateY(0) scale(0.97);
}

/* Visible keyboard focus everywhere in the header. */
.pw-header a:focus-visible,
.pw-header__toggle:focus-visible {
	outline: 3px solid rgba(76, 139, 245, 0.55);
	outline-offset: 3px;
}

/* Logo tab: slightly livelier hover. */
.pw-header__logo a:hover {
	box-shadow: 0 14px 28px rgba(39, 54, 75, 0.18);
}

@keyframes pw-menu-in {
	from { opacity: 0; transform: translateY(-8px); }
	to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 860px) {
	.pw-header.is-open .pw-header__nav {
		animation: pw-menu-in 0.22s ease-out;
	}

	.pw-header__toggle {
		border-color: var(--pw-color-primary);
	}
}

@media (prefers-reduced-motion: reduce) {
	.pw-header.is-open .pw-header__nav {
		animation: none;
	}
}

/* The logo hangs below the header bar, so push every page's content down
   by that overhang (+ breathing room) - nothing hides behind it. */
.pw-header {
	margin-bottom: 56px;
}

@media (max-width: 860px) {
	.pw-header {
		margin-bottom: 36px;
	}
}

/* Small phones (e.g. Galaxy S20, 360px): keep logo + CTA + hamburger inside the screen. */
@media (max-width: 860px) {
	.pw-header {
		max-width: 100vw;
		overflow-x: clip;
	}

	.pw-header__inner {
		grid-template-columns: auto minmax(0, 1fr) auto auto;
		padding-left: 12px;
		padding-right: 12px;
	}

	.pw-header__nav {
		box-sizing: border-box;
		width: 100%;
	}
}

@media (max-width: 400px) {
	.pw-header__inner {
		gap: 6px;
		padding-left: 10px;
		padding-right: 10px;
	}

	.pw-header__logo img {
		height: 56px;
	}

	.pw-header__logo a {
		padding: 5px 9px 8px;
	}

	.pw-header__cta.pw-btn--primary {
		padding: 4px 10px 4px 4px;
		font-size: 0.72rem;
		gap: 5px;
	}

	.pw-header__toggle {
		width: 38px;
		height: 38px;
	}
}

/* ---------- Hero ---------- */

.pw-hero {
	padding: 64px 20px;
	background: linear-gradient(180deg, rgba(76, 139, 245, 0.08), transparent);
}

.pw-hero__content {
	max-width: 700px;
}

.pw-hero__title {
	font-size: clamp(2rem, 4vw, 2.75rem);
	color: var(--pw-color-text);
}

.pw-hero__subtitle {
	font-size: 1.1rem;
	margin-bottom: 28px;
}

.pw-search {
	display: flex;
	gap: 12px;
	background: var(--pw-color-surface);
	padding: 10px;
	border-radius: var(--pw-radius-lg);
	box-shadow: var(--pw-shadow-md);
}

.pw-search__input {
	flex: 1;
	border: none;
	padding: 12px 16px;
	font-family: var(--pw-font-body);
	font-size: 1rem;
	border-radius: var(--pw-radius-md);
	background: var(--pw-color-bg);
}

.pw-search__input:focus {
	outline: 2px solid var(--pw-color-primary);
}

/* ---------- Category grid ---------- */

.pw-category-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 16px;
}

.pw-category-card {
	position: relative;
	background: var(--pw-color-surface);
	border: 1px solid var(--pw-color-border);
	border-radius: var(--pw-radius-md);
	padding: 28px 16px;
	text-align: center;
	font-family: var(--pw-font-heading);
	font-weight: 600;
	box-shadow: var(--pw-shadow-sm);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	overflow: hidden;
}

.pw-category-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--pw-shadow-md);
}

.pw-category-card--has-image {
	padding: 0;
	aspect-ratio: 4 / 3;
	display: flex;
	align-items: flex-end;
	border: none;
}

.pw-category-card__image {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}

.pw-category-card--has-image::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(39, 54, 75, 0) 40%, rgba(39, 54, 75, 0.72) 100%);
}

.pw-category-card--has-image .pw-category-card__label {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: 16px;
	color: #fff;
	text-align: left;
}

/* Interactive icon tiles ([pw_categories], [pw_by_location style="icon"]). */
.pw-category-grid--icon {
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 24px;
}

.pw-category-card--icon {
	--pw-tile-accent: var(--pw-color-primary);
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 22px 16px 18px;
	background: var(--pw-color-surface);
	border: 1px solid var(--pw-color-border);
	border-radius: var(--pw-radius-lg);
	box-shadow: var(--pw-shadow-sm);
	text-align: center;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Accent bar that grows in from the top on hover. */
.pw-category-card--icon::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 5px;
	background: var(--pw-tile-accent);
	transform: scaleX(0.25);
	transform-origin: left;
	transition: transform 0.3s ease;
}

.pw-category-card--icon:hover,
.pw-category-card--icon:focus-visible {
	transform: translateY(-6px);
	border-color: var(--pw-tile-accent);
	box-shadow: 0 16px 32px rgba(39, 54, 75, 0.14);
}

.pw-category-card--icon:hover::before,
.pw-category-card--icon:focus-visible::before {
	transform: scaleX(1);
}

.pw-category-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 132px;
	height: 132px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--pw-tile-accent) 18%, #fff);
	transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.25s ease;
}

.pw-category-card--icon:hover .pw-category-card__media {
	transform: scale(1.08) rotate(-4deg);
	background: color-mix(in srgb, var(--pw-tile-accent) 32%, #fff);
}

/* Plain variant ([pw_categories]): no circle, image shown as-is. */
.pw-category-grid--plain .pw-category-card__media {
	width: 100%;
	height: auto;
	border-radius: var(--pw-radius-md);
	background: none;
}

.pw-category-grid--plain .pw-category-card--icon:hover .pw-category-card__media {
	background: none;
	transform: scale(1.05);
}

.pw-category-grid--plain .pw-category-card__icon {
	width: 100%;
	max-width: 180px;
	height: 150px;
	object-fit: contain;
}

.pw-category-grid--plain .pw-default-icon.pw-category-card__icon {
	width: 120px;
	height: 120px;
}

.pw-category-card__icon {
	width: 104px;
	height: 104px;
	object-fit: contain;
}

.pw-category-card--icon .pw-category-card__label {
	margin-top: 6px;
	font-size: 1.1rem;
}

.pw-category-card__desc {
	font-family: var(--pw-font-body);
	font-weight: 400;
	font-size: 0.85rem;
	color: #6b7686;
	line-height: 1.4;
}

/* "12 spots ->" pill: arrow slides on hover. */
.pw-category-card__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	padding: 5px 14px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--pw-tile-accent) 22%, #fff);
	color: var(--pw-color-text);
	font-family: var(--pw-font-body);
	font-size: 0.8rem;
	font-weight: 600;
	transition: background-color 0.25s ease;
}

.pw-category-card__more span {
	transition: transform 0.25s ease;
}

.pw-category-card--icon:hover .pw-category-card__more {
	background: var(--pw-tile-accent);
}

.pw-category-card--icon:hover .pw-category-card__more span {
	transform: translateX(4px);
}

/* ---------- Chips ([pw_by_location] default) ---------- */

.pw-chip-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.pw-chip {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px 8px 8px;
	border-radius: 999px;
	background: var(--pw-color-surface);
	border: 1.5px solid var(--pw-color-border);
	box-shadow: var(--pw-shadow-sm);
	font-size: 0.95rem;
	font-weight: 600;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pw-chip__image,
.pw-chip__pin {
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	object-fit: cover;
}

/* Default artwork when no image is set. */
.pw-chip__pin {
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(105, 199, 165, 0.25);
}

.pw-chip__svg {
	width: 24px;
	height: 24px;
}

.pw-default-icon.pw-category-card__icon {
	width: 92px;
	height: 92px;
}

.pw-chip__count {
	min-width: 24px;
	padding: 1px 8px;
	border-radius: 999px;
	background: rgba(76, 139, 245, 0.12);
	color: var(--pw-color-primary);
	font-size: 0.75rem;
	text-align: center;
	transition: background-color 0.2s ease, color 0.2s ease;
}

a.pw-chip:hover,
a.pw-chip:focus-visible {
	transform: translateY(-3px);
	background: var(--pw-color-secondary);
	border-color: var(--pw-color-secondary);
	box-shadow: 0 8px 18px rgba(105, 199, 165, 0.45);
	color: var(--pw-color-text);
}

a.pw-chip:hover .pw-chip__count {
	background: #fff;
	color: var(--pw-color-text);
}

.pw-chip--static {
	background: rgba(105, 199, 165, 0.12);
	border-color: transparent;
	color: var(--pw-color-text);
}

/* ---------- Scroll reveal ---------- */

.pw-js .pw-reveal {
	opacity: 0;
	transform: translateY(18px);
}

.pw-js .pw-reveal.is-visible {
	opacity: 1;
	transform: none;
	transition: opacity 0.5s ease var(--pw-delay, 0ms), transform 0.5s ease var(--pw-delay, 0ms), box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.2s ease;
}

/* Once revealed, hover transforms must stay snappy. */
.pw-js .pw-category-card--icon.is-visible:hover,
.pw-js a.pw-chip.is-visible:hover,
.pw-js .pw-card.is-visible:hover {
	transition-delay: 0ms;
}

@media (prefers-reduced-motion: reduce) {
	.pw-js .pw-reveal {
		opacity: 1;
		transform: none;
	}
}

/* ---------- Cards ---------- */

.pw-card-grid {
	display: grid;
	/* auto-fill (not auto-fit) so 1-2 spots stay card-sized instead of stretching full width */
	grid-template-columns: repeat(auto-fill, minmax(240px, 300px));
	justify-content: start;
	gap: 24px;
}

.pw-card {
	display: block;
	background: var(--pw-color-surface);
	border-radius: var(--pw-radius-md);
	overflow: hidden;
	box-shadow: var(--pw-shadow-sm);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pw-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--pw-shadow-md);
}

.pw-card__media {
	position: relative;
	aspect-ratio: 3 / 2;
	max-height: 200px;
	overflow: hidden;
}

.pw-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.pw-card:hover .pw-card__image {
	transform: scale(1.06);
}

.pw-card__image--placeholder {
	width: 100%;
	height: 100%;
	background: var(--pw-color-border);
}

.pw-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 600;
}

.pw-badge--featured {
	background: var(--pw-color-accent-yellow);
	color: var(--pw-color-text);
}

.pw-card__body {
	padding: 16px;
}

.pw-card__title {
	font-size: 1.1rem;
	margin: 0 0 4px;
}

.pw-card__location {
	color: #6b7686;
	font-size: 0.9rem;
	margin: 0 0 12px;
}

.pw-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.pw-tag {
	font-size: 0.75rem;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(76, 139, 245, 0.10);
	color: var(--pw-color-primary);
}

/* ---------- Filter bar ---------- */

.pw-filter-bar {
	background: var(--pw-color-surface);
	border-bottom: 1px solid var(--pw-color-border);
	padding: 18px 20px;
}

.pw-filter-bar__form {
	max-width: var(--pw-container-width);
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: flex-end;
}

.pw-filter-bar__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--pw-color-text);
}

.pw-filter-bar__field select {
	appearance: none;
	-webkit-appearance: none;
	height: 44px;
	min-width: 160px;
	padding: 0 38px 0 14px;
	border: 1.5px solid var(--pw-color-border);
	border-radius: 999px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2327364B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
	color: var(--pw-color-text);
	font-family: var(--pw-font-body);
	font-size: 0.9rem;
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pw-filter-bar__field select:hover,
.pw-filter-bar__field select:focus {
	border-color: var(--pw-color-secondary);
	outline: none;
	box-shadow: 0 0 0 3px rgba(105, 199, 165, 0.25);
}

/* Apply / Clear: same height as the selects, always readable. */
.pw-filter-bar .pw-btn {
	height: 44px;
	padding: 0 26px;
	border-radius: 999px;
	font-size: 0.9rem;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.pw-filter-bar .pw-btn--primary {
	background: var(--pw-color-text);
	color: #fff;
	box-shadow: 0 4px 12px rgba(39, 54, 75, 0.22);
}

.pw-filter-bar .pw-btn--primary:hover {
	background: var(--pw-color-secondary);
	color: var(--pw-color-text);
	box-shadow: 0 8px 16px rgba(105, 199, 165, 0.45);
}

.pw-filter-bar .pw-btn--ghost {
	border: 1.5px solid var(--pw-color-border);
	background: #fff;
	color: var(--pw-color-text);
}

.pw-filter-bar .pw-btn--ghost:hover {
	border-color: var(--pw-color-accent-coral);
	color: var(--pw-color-text);
}

/* ---------- Spot detail page ---------- */

.pw-icon {
	flex: none;
	width: 20px;
	height: 20px;
}

.pw-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
	font-size: 0.85rem;
	color: #6b7686;
}

.pw-crumbs a {
	font-weight: 500;
	transition: color 0.2s ease;
}

.pw-crumbs a:hover {
	color: #2f9c78;
}

/* Hero image */
.pw-spot__hero {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 7;
	max-height: 460px;
	width: 100%;
	border-radius: 28px;
	background: linear-gradient(135deg, rgba(105, 199, 165, 0.35), rgba(76, 139, 245, 0.25) 60%, rgba(249, 199, 79, 0.35));
	box-shadow: var(--pw-shadow-md);
}

.pw-spot__hero-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pw-spot__hero::after {
	content: '';
	position: absolute;
	inset: auto 0 0 0;
	height: 35%;
	background: linear-gradient(180deg, transparent, rgba(39, 54, 75, 0.35));
	pointer-events: none;
}

.pw-spot__badges {
	position: absolute;
	top: 18px;
	left: 18px;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pw-badge-pill {
	padding: 6px 16px;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 700;
	box-shadow: 0 4px 12px rgba(39, 54, 75, 0.18);
}

.pw-badge-pill--cat {
	background: #fff;
	color: var(--pw-color-text);
	transition: background-color 0.2s ease;
}

.pw-badge-pill--cat:hover {
	background: var(--pw-color-secondary);
}

.pw-badge-pill--featured {
	background: var(--pw-color-accent-yellow);
	color: var(--pw-color-text);
}

/* Title + actions */
.pw-spot__header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	padding: 28px 0 8px;
}

.pw-spot__title {
	margin: 0 0 6px;
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	line-height: 1.15;
}

.pw-spot__location {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	color: #5b6778;
	font-weight: 500;
}

.pw-spot__location .pw-icon {
	color: var(--pw-color-accent-coral);
}

.pw-spot__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.pw-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 46px;
	padding: 0 22px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.92rem;
	white-space: nowrap;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pw-action:hover {
	transform: translateY(-2px);
}

.pw-action--primary {
	background: var(--pw-color-text);
	color: #fff;
	box-shadow: 0 6px 16px rgba(39, 54, 75, 0.25);
}

.pw-action--primary:hover {
	background: var(--pw-color-secondary);
	color: var(--pw-color-text);
	box-shadow: 0 10px 20px rgba(105, 199, 165, 0.45);
}

.pw-action--coral {
	background: var(--pw-color-accent-coral);
	color: var(--pw-color-text);
	box-shadow: 0 6px 16px rgba(245, 140, 124, 0.4);
}

.pw-action--coral:hover {
	box-shadow: 0 10px 20px rgba(245, 140, 124, 0.55);
}

.pw-action--outline {
	background: #fff;
	border-color: rgba(105, 199, 165, 0.8);
	color: var(--pw-color-text);
}

.pw-action--outline:hover {
	background: rgba(105, 199, 165, 0.18);
}

.pw-action--block {
	width: 100%;
	margin-top: 18px;
}

.pw-action:focus-visible {
	outline: 3px solid rgba(76, 139, 245, 0.55);
	outline-offset: 3px;
}

/* Quick facts */
.pw-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 14px;
	list-style: none;
	margin: 22px 0 32px;
	padding: 0;
}

.pw-fact {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	background: var(--pw-color-surface);
	border: 1px solid var(--pw-color-border);
	border-radius: var(--pw-radius-md);
	box-shadow: var(--pw-shadow-sm);
}

.pw-fact__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(105, 199, 165, 0.22);
	color: #2a8f6d;
}

.pw-fact:nth-child(4n+2) .pw-fact__icon { background: rgba(249, 199, 79, 0.28); color: #a8780a; }
.pw-fact:nth-child(4n+3) .pw-fact__icon { background: rgba(76, 139, 245, 0.16); color: var(--pw-color-primary); }
.pw-fact:nth-child(4n+4) .pw-fact__icon { background: rgba(245, 140, 124, 0.22); color: #c9503c; }

.pw-fact__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.pw-fact__label {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #8a93a3;
}

.pw-fact__value {
	font-weight: 600;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

/* Two-column body */
.pw-spot__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 28px;
	align-items: start;
}

.pw-spot__layout:not(:has(.pw-spot__side)) {
	grid-template-columns: minmax(0, 1fr);
}

.pw-spot__main {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.pw-panel {
	padding: 26px 28px;
	background: var(--pw-color-surface);
	border: 1px solid var(--pw-color-border);
	border-radius: var(--pw-radius-lg);
	box-shadow: var(--pw-shadow-sm);
}

.pw-panel--sticky {
	position: sticky;
	top: 110px;
}

.pw-panel__title {
	position: relative;
	display: inline-block;
	margin: 0 0 16px;
	padding-bottom: 8px;
	font-size: 1.25rem;
}

.pw-panel__title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 32px;
	height: 3px;
	border-radius: 3px;
	background: var(--pw-color-accent-coral);
}

.pw-spot__content > :last-child {
	margin-bottom: 0;
}

.pw-spot__content p {
	margin: 0 0 1em;
}

/* Play Wander Note callout */
.pw-note {
	position: relative;
	padding: 24px 28px 24px 32px;
	background: linear-gradient(135deg, rgba(249, 199, 79, 0.22), rgba(245, 140, 124, 0.14));
	border-radius: var(--pw-radius-lg);
	border-left: 6px solid var(--pw-color-accent-yellow);
}

.pw-note__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px;
	font-size: 1.1rem;
}

.pw-note__title .pw-icon {
	color: #c9503c;
}

.pw-note p {
	margin: 0;
}

.pw-chip--static {
	gap: 6px;
}

.pw-chip--static .pw-icon {
	width: 16px;
	height: 16px;
	color: #2a8f6d;
}

/* Practical info list */
.pw-info {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pw-info li {
	display: flex;
	gap: 12px;
	font-size: 0.93rem;
	line-height: 1.5;
}

.pw-info strong {
	display: block;
	font-size: 0.78rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #8a93a3;
}

.pw-info a {
	font-weight: 600;
	color: var(--pw-color-primary);
}

.pw-info__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(76, 139, 245, 0.12);
	color: var(--pw-color-primary);
}

/* Related + back */
.pw-related {
	margin-top: 48px;
}

.pw-related__title {
	margin-bottom: 20px;
	font-size: 1.5rem;
}

.pw-spot__back {
	margin: 36px 0 0;
}

.pw-spot__back a {
	font-weight: 600;
	color: #2a8f6d;
	transition: color 0.2s ease;
}

.pw-spot__back a:hover {
	color: var(--pw-color-text);
}

@media (max-width: 900px) {
	.pw-spot__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.pw-panel--sticky {
		position: static;
	}
}

@media (max-width: 640px) {
	.pw-spot__hero {
		aspect-ratio: 4 / 3;
		border-radius: 20px;
	}

	.pw-spot__actions {
		width: 100%;
	}

	.pw-spot__actions .pw-action {
		flex: 1 1 auto;
	}

	.pw-panel {
		padding: 20px;
	}
}

/* ---------- Newsletter ---------- */

.pw-newsletter {
	background: var(--pw-color-text);
	color: #fff;
	padding: 56px 20px;
	text-align: center;
}

.pw-newsletter__form {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 20px;
	flex-wrap: wrap;
}

.pw-newsletter__form input {
	padding: 12px 16px;
	border-radius: var(--pw-radius-sm);
	border: none;
	min-width: 260px;
}

/* ---------- Footer ---------- */

.pw-footer {
	position: relative;
	margin-top: 48px;
	background: linear-gradient(180deg, rgba(105, 199, 165, 0.14), rgba(105, 199, 165, 0.04) 60%, var(--pw-color-surface));
	color: var(--pw-color-text);
}

/* Same four-colour ribbon as the header. */
.pw-footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--pw-color-accent-coral) 0 25%, var(--pw-color-accent-yellow) 25% 50%, var(--pw-color-secondary) 50% 75%, var(--pw-color-primary) 75% 100%);
}

.pw-footer__inner {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 40px;
	padding: 64px 20px 48px;
}

.pw-footer__logo {
	display: inline-block;
	margin-bottom: 14px;
}

.pw-footer__logo img {
	height: 96px;
	width: auto;
	max-width: none;
}

.pw-footer__tagline {
	max-width: 300px;
	margin: 0 0 18px;
	color: #5b6778;
	font-size: 0.95rem;
}

.pw-footer a.pw-footer__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 7px 22px 7px 8px;
	border-radius: 999px;
	background: var(--pw-color-text);
	color: #fff;
	font-weight: 600;
	font-size: 0.9rem;
	box-shadow: 0 6px 16px rgba(39, 54, 75, 0.25);
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.pw-footer a.pw-footer__cta:hover {
	background: var(--pw-color-accent-coral);
	color: var(--pw-color-text);
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(245, 140, 124, 0.5);
}

.pw-footer__title {
	position: relative;
	display: inline-block;
	margin: 0 0 18px;
	padding-bottom: 8px;
	font-size: 1.1rem;
}

.pw-footer__title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 28px;
	height: 3px;
	border-radius: 3px;
	background: var(--pw-color-accent-coral);
}

.pw-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pw-footer ul a {
	display: inline-block;
	color: #3d4b60;
	font-weight: 500;
	transition: color 0.2s ease, transform 0.2s ease;
}

.pw-footer ul a:hover {
	color: #2f9c78;
	transform: translateX(4px);
}

.pw-footer a:focus-visible {
	outline: 3px solid rgba(76, 139, 245, 0.55);
	outline-offset: 3px;
	border-radius: 6px;
}

.pw-footer__bottom {
	border-top: 1px solid rgba(39, 54, 75, 0.1);
	padding: 18px 0;
	font-size: 0.85rem;
	color: #6b7686;
}

.pw-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 20px;
}

.pw-footer__bottom p {
	margin: 0;
}

.pw-footer__motto {
	font-family: var(--pw-font-heading);
	font-weight: 500;
	color: #2f9c78;
}

@media (max-width: 900px) {
	.pw-footer__inner {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}

	.pw-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 520px) {
	.pw-footer__inner {
		grid-template-columns: 1fr;
		padding-top: 48px;
	}

	.pw-footer__logo img {
		height: 80px;
	}

	.pw-footer__bottom-inner {
		flex-direction: column;
		text-align: center;
	}
}

/* ---------- Mobile (section 8: mobile-first, thumb-friendly) ---------- */

.pw-filter-bar__toggle {
	display: none;
}

@media (max-width: 640px) {
	.pw-search {
		flex-direction: column;
	}

	.pw-filter-bar {
		padding: 10px 16px;
	}

	.pw-filter-bar__toggle {
		display: flex;
		align-items: center;
		gap: 8px;
		width: 100%;
		height: 42px;
		padding: 0 16px;
		border: 1.5px solid var(--pw-color-border);
		border-radius: 999px;
		background: #fff;
		color: var(--pw-color-text);
		font-family: var(--pw-font-body);
		font-size: 0.9rem;
		font-weight: 600;
		cursor: pointer;
	}

	.pw-filter-bar__toggle > span:first-of-type {
		flex: 1;
		text-align: left;
	}

	.pw-filter-bar__count {
		min-width: 22px;
		height: 22px;
		padding: 0 6px;
		border-radius: 999px;
		background: var(--pw-color-accent-coral);
		color: var(--pw-color-text);
		font-size: 0.75rem;
		line-height: 22px;
		text-align: center;
	}

	.pw-filter-bar__chev {
		transition: transform 0.2s ease;
	}

	.pw-filter-bar.is-open .pw-filter-bar__chev {
		transform: rotate(180deg);
	}

	/* Collapsed by default on phones (only when JS is running). */
	.pw-filter-bar.is-collapsible:not(.is-open) .pw-filter-bar__form {
		display: none;
	}

	.pw-filter-bar.is-collapsible .pw-filter-bar__form {
		margin-top: 10px;
	}

	.pw-filter-bar__form {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}

	.pw-filter-bar__field {
		min-width: 0;
		gap: 4px;
		font-size: 0.72rem;
	}

	.pw-filter-bar__field select {
		height: 40px;
		font-size: 0.85rem;
		padding: 0 32px 0 12px;
		background-position: right 12px center;
	}

	.pw-filter-bar .pw-btn {
		height: 40px;
		padding: 0 12px;
	}

	.pw-filter-bar__field select {
		min-width: 0;
		width: 100%;
	}

}

/* Footer widget area under the Contact links. */
.pw-footer__widgets { margin-top: 12px; }
.pw-footer__widgets,
.pw-footer__widgets p,
.pw-footer__widgets li { color: var(--pw-color-text); }
.pw-footer__widgets a { color: var(--pw-color-text); }
.pw-footer__widgets .widget-title,
.pw-footer__widgets h2 { display: none; }

/* Footer contact column: force visibility against Elementor/kit overrides. */
.pw-footer .pw-footer__col .pw-footer__contact {
	display: flex;
	visibility: visible;
	opacity: 1;
}

.pw-footer .pw-footer__col .pw-footer__contact li {
	display: block;
	margin: 0;
	color: #3d4b60;
	overflow-wrap: anywhere;
}

.pw-footer .pw-footer__col .pw-footer__contact a {
	display: inline-block;
	color: #3d4b60;
	font-size: 0.95rem;
	text-decoration: none;
}

.pw-footer .pw-footer__col .pw-footer__contact a:hover {
	color: #2f9c78;
}

.pw-footer .pw-footer__title {
	color: var(--pw-color-text);
}

/* Filters toggle: beat Elementor/kit global button styles (blue bg, blue text). */
.pw-filter-bar .pw-filter-bar__toggle,
.pw-filter-bar .pw-filter-bar__toggle:hover,
.pw-filter-bar .pw-filter-bar__toggle:focus,
.pw-filter-bar .pw-filter-bar__toggle:active {
	background: #fff;
	background-color: #fff;
	color: var(--pw-color-text);
	border: 1.5px solid var(--pw-color-border);
	box-shadow: none;
	text-transform: none;
	letter-spacing: normal;
	text-decoration: none;
}

.pw-filter-bar .pw-filter-bar__toggle:hover,
.pw-filter-bar .pw-filter-bar__toggle:focus-visible {
	border-color: var(--pw-color-secondary);
	box-shadow: 0 0 0 3px rgba(105, 199, 165, 0.25);
}

.pw-filter-bar .pw-filter-bar__toggle span,
.pw-filter-bar .pw-filter-bar__toggle svg {
	color: inherit;
	opacity: 1;
	visibility: visible;
}

.pw-filter-bar .pw-filter-bar__toggle .pw-filter-bar__count {
	background: var(--pw-color-accent-coral);
	color: var(--pw-color-text);
}
