/* Postcard Kit components. Colours come from the theme palette (theme.json). */
:root {
	--pk-ink: var(--wp--preset--color--ink, #10283a);
	--pk-ink-2: var(--wp--preset--color--ink-2, #3c5566);
	--pk-line: var(--wp--preset--color--line, #d9e3e6);
	--pk-mist: var(--wp--preset--color--mist, #eef4f3);
	--pk-night: var(--wp--preset--color--night, #0b1d2a);
	--pk-lime: var(--wp--preset--color--lime, #b6d22a);
	--pk-lime-deep: var(--wp--preset--color--lime-deep, #6f8410);
	--pk-accent: var(--wp--preset--color--orange, #f47b20);
	--pk-display: var(--wp--preset--font-family--display, system-ui);
	--pk-hand: var(--wp--preset--font-family--hand, cursive);
}
.pk-advisor-only { display: none !important; }
.pk-advisor .pk-advisor-only { display: revert !important; }
.pk-wrap { max-width: var(--wp--style--global--wide-size, 1240px); margin-inline: auto; padding-inline: clamp(16px, 4vw, 48px); }
.pk-admin-note { font-size: 14px; padding: 12px 14px; border: 1px dashed var(--pk-accent); border-radius: 10px; background: #fff8f2; color: var(--pk-ink); }
.pk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }
.pk-chip { border: 1.5px solid var(--pk-line); border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 600; color: var(--pk-ink-2); background: #fff; line-height: 1; }
.pk-yt-dot { width: 22px; height: 16px; border-radius: 5px; background: #ff0033; position: relative; flex: none; display: inline-block; }
.pk-links .pk-yt-dot { margin-right: 8px; vertical-align: -3px; }
.pk-yt-dot::after { content: ""; position: absolute; left: 8px; top: 4px; border-left: 7px solid #fff; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }

/* ---------- postcards ---------- */
.pk-cards { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 30px 4px 34px; scrollbar-width: thin; }
.pk-postcard { flex: 0 0 clamp(270px, 32vw, 380px); scroll-snap-align: start; position: relative; background: #fff; padding: 10px; border-radius: 4px; box-shadow: 0 18px 34px -18px rgba(16,40,58,.45), 0 1px 0 rgba(16,40,58,.06); transform: rotate(var(--r, 0deg)); transition: transform .3s ease, box-shadow .3s ease; text-decoration: none; color: #fff; display: block; }
a.pk-postcard:hover { transform: rotate(0deg) translateY(-6px); box-shadow: 0 26px 44px -18px rgba(16,40,58,.55); }
.pk-pc-photo { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 2px; background: var(--pk-mist); }
.pk-pc-photo > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pk-pc-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,0) 55%); }
.pk-pc-text { position: absolute; right: 14px; bottom: 10px; z-index: 2; text-align: right; }
.pk-gf { font: 700 24px/1 var(--pk-hand); display: block; text-shadow: 0 2px 6px rgba(0,0,0,.5); }
.pk-nm { font: 800 30px/1 var(--pk-display); text-transform: uppercase; -webkit-text-stroke: 5px var(--c, var(--pk-accent)); paint-order: stroke fill; display: block; }
.pk-stamp { position: absolute; top: 10px; right: 10px; z-index: 3; width: 54px; height: 64px; background: #fff; padding: 4px; transform: rotate(4deg);
	-webkit-mask: radial-gradient(circle at 3px 3px, transparent 2.4px, #000 2.6px) -3px -3px / 8px 8px; mask: radial-gradient(circle at 3px 3px, transparent 2.4px, #000 2.6px) -3px -3px / 8px 8px; }
.pk-stamp img { width: 100%; height: 42px; object-fit: cover; display: block; }
.pk-stamp span { display: block; background: var(--c, var(--pk-accent)); color: #fff; font: 800 7px/12px system-ui, sans-serif; text-align: center; letter-spacing: .08em; overflow: hidden; white-space: nowrap; }
.pk-postmark { position: absolute; top: 6px; right: 34px; z-index: 4; width: 150px; height: 74px; color: var(--c, var(--pk-accent)); opacity: .9; transform: rotate(-8deg); pointer-events: none; font-family: system-ui, sans-serif; }
.pk-postcard.pk-inview .pk-postmark { animation: pk-thump .5s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes pk-thump { from { transform: rotate(-8deg) scale(1.35); } to { transform: rotate(-8deg) scale(1); } }
.pk-pc-meta { color: var(--pk-ink); font-size: 13px; line-height: 1.4; padding: 10px 4px 2px; display: flex; justify-content: space-between; gap: 8px; }
.pk-credit { color: #6c7b84; }

/* stops (episode page) */
.pk-stops { display: grid; gap: clamp(40px, 6vw, 72px); margin-block: clamp(40px, 6vw, 72px); }
.pk-stop { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 60px); align-items: center; }
.pk-stop:nth-child(even) .pk-postcard { order: 2; }
.pk-stop .pk-postcard { width: 100%; max-width: 520px; justify-self: center; }
.pk-stop h3 { font-size: clamp(26px, 3vw, 38px); margin: 8px 0 12px; }
.pk-stop p { color: var(--pk-ink-2); }
.pk-src { font-size: 13px; font-weight: 600; margin-top: 14px; display: flex; gap: 14px; flex-wrap: wrap; }
.pk-num { font-size: 14px; font-weight: 800; letter-spacing: .14em; color: var(--pk-lime-deep); text-transform: uppercase; }

/* ---------- player ---------- */
.pk-player { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(16,40,58,.6); background: #000; aspect-ratio: 16 / 9; }
.pk-player > img, .pk-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.pk-play { position: absolute; inset: 0; display: grid; place-items: center; background: none; border: 0; cursor: pointer; padding: 0; }
.pk-play span { width: 84px; height: 84px; border-radius: 50%; background: var(--pk-lime); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .2s; }
.pk-play:hover span { transform: scale(1.08); }
.pk-play span::after { content: ""; margin-left: 6px; border-left: 24px solid var(--pk-night); border-top: 15px solid transparent; border-bottom: 15px solid transparent; }
.pk-yt-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--pk-ink-2); text-decoration: none; }
.pk-yt-link:hover { color: var(--pk-ink); }

.pk-chapters { background: #fff; border: 1px solid var(--pk-line); border-radius: 18px; padding: 22px; }
.pk-chapters h3 { font-size: 22px; margin: 0 0 12px; }
.pk-chapters ol { list-style: none; margin: 0; padding: 0; }
.pk-chapters li a { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--pk-line); text-decoration: none; font-weight: 600; color: var(--pk-ink); }
.pk-chapters time { font-variant-numeric: tabular-nums; color: var(--pk-lime-deep); min-width: 40px; }
.pk-disclose { display: flex; gap: 14px; align-items: center; margin-top: 18px; padding: 14px; border-radius: 14px; background: var(--pk-mist); font-size: 14px; color: var(--pk-ink-2); }
.pk-disclose img { width: 72px; border-radius: 10px; }

.pk-ep-top { background: var(--pk-night); color: #fff; padding-block: clamp(48px, 7vw, 84px); margin-bottom: clamp(24px, 4vw, 48px); }
.pk-ep-top h1 { font-size: clamp(40px, 6.4vw, 86px); max-width: 17ch; margin: 14px 0 0; color: #fff; }
.pk-ep-top .is-style-eyebrow { color: var(--pk-lime); }
.pk-ep-top .pk-chip { background: transparent; color: #d8e4e8; border-color: #2b4556; }

.pk-feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.pk-feature h3 { font-size: clamp(28px, 3.4vw, 42px); margin: 12px 0 14px; }
.pk-feature p { color: var(--pk-ink-2); max-width: 48ch; }

/* ---------- host tablet ---------- */
.pk-tablet { background: #1c1f26; border-radius: 28px; padding: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), inset 0 0 0 2px #3a3f4c; position: relative; margin: 0; width: min(100%, 440px); transform: rotate(2deg); }
.pk-tablet video, .pk-tablet img { border-radius: 14px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #223; display: block; }
.pk-tablet::before { content: ""; position: absolute; left: 6px; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: #48506a; }
.pk-tape { position: absolute; width: 120px; height: 30px; background: repeating-linear-gradient(115deg, rgba(182,210,42,.9) 0 14px, rgba(200,224,80,.85) 14px 22px); top: -14px; left: 50%; transform: translateX(-50%) rotate(-4deg); box-shadow: 0 2px 4px rgba(0,0,0,.15); z-index: 2; }
.pk-host-cap { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; font-size: 13px; font-weight: 600; line-height: 1.3; color: #dfe8ea; }
.pk-live { display: inline-flex; align-items: center; gap: 6px; color: var(--pk-lime); }
.pk-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pk-lime); animation: pk-pulse 1.6s infinite; }
@keyframes pk-pulse { 50% { opacity: .3; } }

/* ---------- wishlist phone ---------- */
.pk-phone { width: 300px; max-width: 100%; background: #1c1d23; border-radius: 44px; padding: 11px; box-shadow: 0 40px 70px -30px rgba(16,40,58,.6), inset 0 0 0 2px #3d4150; transform: rotate(3deg); margin-inline: auto; }
.pk-screen { background: #f8f7f4; border-radius: 34px; overflow: hidden; min-height: 560px; position: relative; color: #111; }
.pk-island { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 14px; background: #0b0b0d; }
.pk-status { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px 0; font-size: 14px; font-weight: 700; height: 44px; }
.pk-sb { display: flex; align-items: center; gap: 6px; }
.pk-bars { display: flex; align-items: flex-end; gap: 2px; height: 11px; }
.pk-bars i { width: 3px; background: #111; border-radius: 1px; }
.pk-bars i:nth-child(1) { height: 4px; } .pk-bars i:nth-child(2) { height: 6px; } .pk-bars i:nth-child(3) { height: 8px; } .pk-bars i:nth-child(4) { height: 11px; }
.pk-batt { width: 24px; height: 12px; border: 1.5px solid #111; border-radius: 3px; padding: 1.5px; position: relative; }
.pk-batt::after { content: ""; position: absolute; right: -4px; top: 3px; width: 2px; height: 4px; background: #111; border-radius: 1px; }
.pk-batt i { display: block; height: 100%; background: #34c759; border-radius: 1px; }
.pk-app-head { margin: 14px 14px 8px; background: var(--pk-accent); border-radius: 16px; color: #fff; padding: 14px 16px; }
.pk-app-head b { font: 800 21px/1 var(--pk-display); display: block; }
.pk-app-head small { font-size: 11px; font-weight: 600; opacity: .9; }
.pk-wl { list-style: none; margin: 0; padding: 0 12px 16px; }
.pk-wl li { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px solid #e7e6e2; }
.pk-wl img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.pk-wl span { flex: 1; font-size: 14px; font-weight: 600; line-height: 1.2; }
.pk-wl button { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #b9b9c0; background: #fff; cursor: pointer; display: grid; place-items: center; padding: 0; }
.pk-wl button[aria-pressed="true"] { background: #34c759; border-color: #34c759; }
.pk-wl button[aria-pressed="true"]::after { content: ""; width: 9px; height: 5px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }

/* ---------- destinations ---------- */
.pk-dest-hero { position: relative; color: #fff; overflow: hidden; background: var(--pk-night); }
.pk-dest-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: pk-drift 30s ease-in-out infinite alternate; }
.pk-dest-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,24,34,.78), rgba(8,24,34,.05) 60%); }
@keyframes pk-drift { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-2%, -1.5%); } }
.pk-dest-hero .pk-wrap { position: relative; z-index: 2; min-height: clamp(520px, 72vh, 720px); display: flex; flex-direction: column; justify-content: flex-end; padding-block: 48px; }
.pk-dest-hero .pk-gf { font-size: clamp(34px, 4vw, 52px); }
.pk-dest-hero h1 { font-size: clamp(64px, 13vw, 190px); font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; -webkit-text-stroke: clamp(6px, 1vw, 12px) var(--c); paint-order: stroke fill; line-height: .9; color: #fff; margin: 0; }
.pk-lede { max-width: 46ch; margin-top: 18px; font-size: clamp(17px, 1.8vw, 20px); color: #e6eef0; }
.pk-facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--pk-line); border-radius: 18px; overflow: hidden; background: #fff; margin: clamp(-40px, -3vw, -20px) 0 0; position: relative; z-index: 3; }
.pk-facts div { padding: 22px; border-right: 1px solid var(--pk-line); }
.pk-facts div:last-child { border-right: 0; }
.pk-facts dt { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pk-lime-deep); margin-bottom: 10px; }
.pk-facts dd { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.35; }
.pk-plan { border: 2px dashed var(--pk-accent); border-radius: 22px; padding: 28px; background: #fff8f2; margin-block: 48px; }

/* ---------- subscribe ---------- */
.pk-subscribe { background: var(--pk-lime); color: var(--pk-night); padding-block: clamp(64px, 9vw, 112px); }
.pk-sub-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.pk-subscribe h2 { font-size: clamp(34px, 5vw, 64px); margin: 10px 0 0; color: var(--pk-night); }
.pk-subscribe .is-style-eyebrow { color: var(--pk-night); opacity: .7; }
.pk-yt-btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; background: #fff; color: var(--pk-night); border-radius: 999px; padding: 12px 18px; font-weight: 700; text-decoration: none; }

.pk-logo img { height: 110px; width: auto; }
.pk-tagline { max-width: 30ch; margin-top: 16px; }
.pk-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pk-legal { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; margin-top: 40px; padding-top: 22px; }

@media (max-width: 980px) {
	.pk-stop, .pk-feature, .pk-sub-grid { grid-template-columns: 1fr; }
	.pk-stop:nth-child(even) .pk-postcard { order: 0; }
	.pk-facts { grid-template-columns: 1fr 1fr; }
	.pk-facts div:nth-child(2) { border-right: 0; }
	.pk-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--pk-line); }
}
@media (max-width: 600px) {
	.pk-tablet { width: calc(100% - 12px); margin-inline: auto; transform: rotate(1deg); padding: 10px; border-radius: 22px; }
	.pk-phone { transform: none; }
	.pk-facts { grid-template-columns: 1fr; }
	.pk-facts div { border-right: 0; border-bottom: 1px solid var(--pk-line); }
}
@media (prefers-reduced-motion: reduce) {
	.pk-postcard, .pk-dest-hero > img, .pk-live::before { animation: none !important; transition: none !important; }
}
