/* PlayWizard pages. Text and link colours come from the Kadence Global Palette;
   the rainbow stage colours, star yellow and safety red are logo colours (not in the palette). */
.pw {
	--pw-teal: var(--global-palette2, #14323D);
	--pw-text: var(--global-palette3, #1F2A30);
	--pw-muted: var(--global-palette5, #5F6F75);
	--pw-line: #E3EEF1;
	--pw-soft: #F7FAFA;
	--pw-blue: #3FB6D3;
	--pw-green: #4FC98F;
	--pw-yellow: #F6CB4A;
	--pw-orange: #F7A048;
	--pw-coral: #F58579;
	--pw-purple: #B074B8;
	--pw-red: #D64545;
	--pw-radius: 14px;
	color: var(--pw-text);
	font-size: 16px;
	line-height: 1.55;
}
.pw *, .pw *::before, .pw *::after { box-sizing: border-box; }
.pw [hidden] { display: none !important; }
.pw { overflow-x: clip; }
.pw-wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px 48px; }
.pw-h2 { font-size: 1.3rem; font-weight: 800; margin: 0 0 .6rem; color: var(--pw-text); }
.pw-muted { color: var(--pw-muted); margin: 0; }
.pw-small { font-size: .85rem; margin-top: 1rem; }

/* Buttons */
.pw-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: 11px 20px; font-weight: 800; font-size: .95rem; cursor: pointer; text-decoration: none; background: var(--pw-yellow); color: #14323D; line-height: 1.2; transition: transform .1s ease, filter .15s ease; }
.pw-btn:hover { filter: brightness(1.05); transform: translateY(-1px); color: #14323D; }
.pw-btn:focus-visible, .pw-fchip:focus-visible, .pw-star:focus-visible { outline: 3px solid var(--pw-blue); outline-offset: 2px; }
.pw-btn-ghost { background: rgba(255,255,255,.92); color: #14323D; }
.pw-btn-sm { padding: 8px 14px; font-size: .85rem; }
.pw-plan-on, .pw-plan.is-on .pw-plan-off, .pw-save-on, .pw-save.is-on .pw-save-off { display: none; }
.pw-plan.is-on .pw-plan-on, .pw-save.is-on .pw-save-on { display: inline; }
.pw-plan.is-on { background: var(--pw-green); color: #fff; }
.pw-save.is-on { color: var(--pw-coral); }
.pw-link { background: none; border: 0; padding: 0; color: var(--global-palette1, #3FB6D3); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }

/* Hero: capped height so the key facts stay above the fold */
.pw-hero { position: relative; height: 300px; background-size: cover; background-position: center; display: flex; align-items: flex-end; overflow: hidden; }
.pw-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,50,61,0) 35%, rgba(20,50,61,.7) 100%); }
.pw-hero.pw-noimg::after { background: linear-gradient(180deg, rgba(20,50,61,0) 45%, rgba(20,50,61,.45) 100%); }
.pw-hero.pw-noimg .pw-title, .pw-hero.pw-noimg .pw-summary, .pw-hero.pw-noimg .pw-eyebrow { text-shadow: 0 1px 3px rgba(20,50,61,.45); }
.pw-hero-icon { position: absolute; right: 8%; top: 50%; transform: translateY(-60%) rotate(-8deg); font-size: 130px; opacity: .55; }
.pw-hero-in { position: relative; z-index: 1; width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px 44px; color: #fff; }
.pw-title { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; line-height: 1.1; margin: 0 0 6px; }
.pw-summary { margin: 0 0 14px; max-width: 640px; font-size: 1.02rem; opacity: .95; }
.pw-eyebrow { margin: 0 0 4px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; opacity: .85; }
.pw-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pw-badge { display: inline-block; background: var(--pw-yellow); color: #14323D; font-weight: 900; font-size: .75rem; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; }

/* Six fact tiles */
.pw-tiles { list-style: none; margin: -26px 0 24px; padding: 0; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.pw-tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pw-tile { --t: var(--pw-blue); --tb: #E6F6FA; background: var(--tb); border: 1.5px solid var(--t); border-left-width: 6px; border-radius: 12px; padding: 10px 12px; display: flex; gap: 10px; align-items: center; box-shadow: 0 4px 12px rgba(20,50,61,.10); margin: 0; min-width: 0; }
.pw-tile:nth-child(6n+2) { --t: var(--pw-green); --tb: #E6F7EF; }
.pw-tile:nth-child(6n+3) { --t: var(--pw-yellow); --tb: #FFF5D6; }
.pw-tile:nth-child(6n+4) { --t: var(--pw-orange); --tb: #FEECDD; }
.pw-tile:nth-child(6n+5) { --t: var(--pw-coral); --tb: #FDE8E6; }
.pw-tile:nth-child(6n+6) { --t: var(--pw-purple); --tb: #F3E6F4; }
.pw-tile-ico { font-size: 1.05rem; line-height: 1; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #fff; box-shadow: 0 1px 3px rgba(20,50,61,.12); }
.pw-tile > span:last-child { min-width: 0; }
.pw-card-img { border-bottom: 1px solid var(--pw-line); }
.pw-card-icon { filter: drop-shadow(0 4px 6px rgba(20,50,61,.18)); }
.pw-tile strong { display: block; font-size: .92rem; line-height: 1.25; }
.pw-tile small { display: block; color: var(--pw-muted); font-size: .78rem; line-height: 1.3; }

/* Soft panels */
.pw-panel { background: #fff; border: 1px solid #D3E3E8; box-shadow: 0 4px 14px rgba(20,50,61,.06); border-radius: var(--pw-radius); padding: 20px; }

/* Plan it */
.pw-planit { margin-bottom: 26px; }
.pw-planit-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 12px; }
.pw-planit-head .pw-h2 { margin: 0; }
.pw-stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.pw-stage { background: #E6F6FA; border-radius: 12px; padding: 12px 14px; border-top: 4px solid var(--pw-blue); }
.pw-stage-weeks { background: #F3E6F4; }
.pw-stage-eve { background: #FEECDD; }
.pw-stage-day { background: #E6F7EF; }
.pw-stage-weeks { border-top-color: var(--pw-purple); }
.pw-stage-days { border-top-color: var(--pw-blue); }
.pw-stage-eve { border-top-color: var(--pw-orange); }
.pw-stage-day { border-top-color: var(--pw-green); }
.pw-stage h3 { font-size: .95rem; font-weight: 800; margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.pw-stage-num { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; font-size: .75rem; color: #fff; background: var(--pw-blue); }
.pw-stage-weeks .pw-stage-num { background: var(--pw-purple); }
.pw-stage-eve .pw-stage-num { background: var(--pw-orange); }
.pw-stage-day .pw-stage-num { background: var(--pw-green); }
.pw-stage ul { list-style: none; margin: 0; padding: 0; }
.pw-stage li { margin: 0 0 6px; font-size: .9rem; line-height: 1.4; }
.pw-stage label { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }
.pw-chk { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--pw-green); flex: none; }
.pw-stage li.is-done .pw-txt { text-decoration: line-through; color: var(--pw-muted); }
.pw-progress { height: 8px; background: #EDF3F5; border-radius: 999px; margin: 14px 0 6px; overflow: hidden; border: 1px solid var(--pw-line); }
.pw-bar { display: block; height: 100%; background: var(--pw-green); border-radius: 999px; transition: width .25s ease; }
.pw-progress-line { margin: 0; font-size: .88rem; color: var(--pw-muted); }

/* Two columns: You'll need + How to do it */
.pw-two { display: grid; grid-template-columns: 1fr 1.25fr; gap: 26px; margin-bottom: 22px; align-items: start; }
.pw-label { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; color: var(--pw-muted); margin: 10px 0 6px; }
.pw-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pw-chip { margin: 0; background: #fff; border: 1px solid #CFE0E4; border-radius: 999px; padding: 5px 12px; font-size: .86rem; }
.pw-chip-buy { background: #fff; border: 1.5px solid var(--pw-orange); }
.pw-chip-buy a { color: #B5651D; text-decoration: none; font-weight: 700; }
.pw-chip-buy a:hover { text-decoration: underline; }
.pw-disclosure { font-size: .75rem; color: var(--pw-muted); margin: 8px 0 0; }
.pw-tip { margin-top: 16px; background: #FFF8E1; border-left: 4px solid var(--pw-yellow); border-radius: 10px; padding: 12px 14px; }
.pw-tip p { margin: 4px 0 0; font-size: .92rem; }
.pw-steps { margin: 0; padding-left: 0; list-style: none; counter-reset: pw; }
.pw-steps li { counter-increment: pw; position: relative; padding-left: 38px; margin: 0 0 10px; }
.pw-steps li::before { content: counter(pw); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: #14323D; color: #fff; font-weight: 800; font-size: .8rem; display: grid; place-items: center; }
.pw-ages { border-top: 1px dashed #CFE0E4; margin-top: 12px; padding-top: 10px; font-size: .9rem; }
.pw-ages p { margin: 0 0 4px; }

/* Safety, Builds, Clean-up */
.pw-lines { margin-bottom: 30px; }
.pw-lines p { margin: 0 0 8px; font-size: .94rem; }
.pw-lines strong { margin-right: 6px; }
.pw-safety { color: var(--pw-red); }
.pw-safety strong { color: var(--pw-red); }
.pw-skill { display: inline-block; background: #fff; border: 1px solid #9ADBBE; color: #1F6B4E; border-radius: 999px; padding: 2px 10px; margin: 2px 4px 2px 0; font-size: .82rem; font-weight: 700; }

/* Cards and grids */
.pw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.pw-grid-3 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.pw-card { background: #fff; border: 1px solid var(--pw-line); border-radius: var(--pw-radius); overflow: hidden; transition: box-shadow .15s ease, transform .15s ease; }
.pw-card:hover { box-shadow: 0 8px 22px rgba(20,50,61,.1); transform: translateY(-2px); }
.pw-card-link { display: block; color: inherit; text-decoration: none; height: 100%; }
.pw-card-link:hover { color: inherit; }
.pw-card-img { position: relative; aspect-ratio: 16 / 10; background-size: cover; background-position: center; display: grid; place-items: center; }
.pw-card-img .pw-badge { position: absolute; left: 10px; top: 10px; margin: 0; }
.pw-card-icon { font-size: 46px; opacity: .8; }
.pw-card-body { padding: 12px 14px 14px; }
.pw-card-title { font-size: 1.02rem; font-weight: 800; margin: 0 0 4px; line-height: 1.25; }
.pw-card-sum { font-size: .86rem; color: var(--pw-muted); margin: 0 0 8px; }
.pw-card-meta { font-size: .78rem; font-weight: 700; color: var(--pw-text); margin: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: space-between; }
.pw-card-stars { color: #C99A00; }
.pw-card-stars span { color: var(--pw-muted); font-weight: 400; }
.pw-more { margin-bottom: 30px; }

/* Rating */
.pw-rate { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border: 1px solid #D3E3E8; box-shadow: 0 4px 14px rgba(20,50,61,.06); border-radius: var(--pw-radius); padding: 18px 20px; margin-bottom: 30px; }
.pw-rate .pw-h2 { margin: 0; }
.pw-rate-summary { margin: 2px 0 0; color: var(--pw-muted); font-size: .92rem; }
.pw-stars { display: flex; gap: 2px; }
.pw-star { background: none; border: 0; padding: 2px; font-size: 30px; line-height: 1; color: #D5E1E4; cursor: pointer; }
.pw-star.is-on { color: var(--pw-yellow); }
.pw-rate:not(.is-rated) .pw-stars:hover .pw-star { color: var(--pw-yellow); }
.pw-rate:not(.is-rated) .pw-stars .pw-star:hover ~ .pw-star { color: #D5E1E4; }
.pw-rate.is-rated .pw-star { cursor: default; }
.pw-rate-thanks { width: 100%; margin: 0; font-weight: 700; color: #1F6B4E; font-size: .9rem; }

/* Sticky bar */
.pw-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #14323D; color: #fff; transform: translateY(110%); transition: transform .2s ease; box-shadow: 0 -4px 14px rgba(0,0,0,.15); }
.pw-sticky.is-on { transform: none; }
.pw-sticky-in { max-width: 1080px; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pw-sticky-title { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Places */
.pw-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 0; }
.pw-facts div { border-bottom: 1px solid var(--pw-line); padding-bottom: 6px; }
.pw-facts dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--pw-muted); font-weight: 800; }
.pw-facts dd { margin: 0; font-weight: 700; }
.pw-panel .pw-h2 + p { margin-top: 0; }
.pw-panel .pw-h2:not(:first-child) { margin-top: 16px; }
.pw-address { font-size: .92rem; margin-top: 16px; }

/* Listing filters */
.pw-list { margin: 10px 0 30px; }
.pw-filters { background: #fff; border: 1px solid #D3E3E8; border-radius: var(--pw-radius); padding: 14px 16px; margin-bottom: 18px; }
.pw-search { width: 100%; padding: 10px 14px; border: 1px solid #CFE0E4; border-radius: 999px; font-size: 1rem; margin-bottom: 10px; background: #fff; }
.pw-fgroup { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 8px; }
.pw-flabel { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; color: var(--pw-muted); min-width: 64px; }
.pw-fchip { background: #fff; border: 1px solid #CFE0E4; border-radius: 999px; padding: 5px 12px; font-size: .85rem; font-weight: 700; cursor: pointer; color: var(--pw-text); }
.pw-fchip[aria-pressed="true"] { background: #14323D; border-color: #14323D; color: #fff; }
.pw-more-filters summary { cursor: pointer; font-weight: 700; font-size: .88rem; margin: 4px 0 8px; color: var(--pw-muted); }
.pw-result-line { margin: 4px 0 0; font-size: .88rem; color: var(--pw-muted); }
.pw-result-count { font-weight: 800; color: var(--pw-text); }
.pw-empty-msg { padding: 18px; background: var(--pw-soft); border-radius: var(--pw-radius); text-align: center; }

/* My holiday plan */
.pw-myplan section { margin-bottom: 28px; }
.pw-planlist { list-style: none; margin: 10px 0 0; padding: 0; }
.pw-planlist li { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--pw-line); border-radius: 12px; padding: 10px 12px; margin: 0 0 8px; }
.pw-plan-img { width: 64px; height: 48px; border-radius: 8px; background: linear-gradient(135deg, #3FB6D3, #4FC98F); background-size: cover; background-position: center; flex: none; }
.pw-plan-txt { flex: 1; min-width: 0; }
.pw-plan-txt a { font-weight: 800; text-decoration: none; }
.pw-plan-txt small, .pw-plan-prog { display: block; font-size: .8rem; color: var(--pw-muted); }

.pw-comments { margin-top: 10px; }

/* Phones and tablets */
@media (max-width: 900px) {
	.pw-tiles { grid-template-columns: repeat(3, 1fr); }
	.pw-two { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.pw-hero { height: 280px; }
	.pw-hero-icon { font-size: 80px; }
	.pw-tiles, .pw-tiles-3 { grid-template-columns: repeat(2, 1fr); margin-top: -20px; }
	.pw-tile { padding: 8px 10px; }
	.pw-btn { padding: 10px 16px; }
	.pw-facts { grid-template-columns: 1fr; }
	.pw-flabel { min-width: 100%; }
	.pw-sticky .pw-btn { white-space: nowrap; }
}

@media print {
	.pw-sticky, .pw-actions, .pw-filters, .pw-remove, .pw-print, .pw-rate, .pw-comments { display: none !important; }
	.pw-hero { height: auto; min-height: 120px; }
}
