/* ==========================================================================
   Nomora — 2035 design system for the custom blocks
   Dark-first · aurora gradients · glass surfaces · volt accent · motion with intent
   ========================================================================== */

:root {
	--tv-ink: #06070D;
	--tv-space: #0C0E1A;
	--tv-nebula: #141729;
	--tv-text: #EEF0FF;
	--tv-muted: #9BA1BD;
	--tv-volt: #D2FF4D;
	--tv-volt-hi: #E6FF8F;
	--tv-ion: #5EEBFF;
	--tv-plasma: #8E7CFF;
	--tv-flare: #FF7AD1;
	--tv-aurora: linear-gradient(120deg, var(--tv-ion) 0%, var(--tv-plasma) 50%, var(--tv-flare) 100%);
	--tv-line: rgba(255, 255, 255, .09);
	--tv-line-hi: rgba(255, 255, 255, .18);
	--tv-glass: rgba(255, 255, 255, .04);
	--tv-glass-hi: rgba(255, 255, 255, .07);
	--tv-display: var(--wp--preset--font-family--unbounded, Unbounded, Inter, sans-serif);
	--tv-sans: var(--wp--preset--font-family--inter, Inter, system-ui, sans-serif);
	--tv-mono: var(--wp--preset--font-family--mono, "JetBrains Mono", ui-monospace, monospace);
	--tv-radius: 28px;
	--tv-radius-sm: 16px;
	--tv-gutter: clamp(20px, 2.3vw, 32px);
	--tv-section-y: clamp(80px, 9.7vw, 140px);
	--tv-ease-out: cubic-bezier(.22, 1, .36, 1);
	--tv-ease-spring: cubic-bezier(.34, 1.56, .64, 1);
	--tv-fast: 180ms;
	--tv-med: 420ms;
	--tv-slow: 900ms;
	--tv-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
	--tv-glow: 0 0 0 1px rgba(255, 255, 255, .06), 0 30px 60px -30px rgba(142, 124, 255, .45);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { background: var(--tv-ink); color: var(--tv-text); -webkit-font-smoothing: antialiased; }
::selection { background: var(--tv-volt); color: var(--tv-ink); }
.tv-container { width: 100%; max-width: calc(1376px + 2 * var(--tv-gutter)); margin-inline: auto; padding-inline: var(--tv-gutter); box-sizing: border-box; position: relative; }
.tv-section { position: relative; padding-block: var(--tv-section-y); overflow: hidden; isolation: isolate; }
.tv-track { list-style: none; margin: 0; padding: 0; }
.tv-section img, .tv-hero img { display: block; max-width: 100%; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
.tv-hp { position: absolute; left: -9999px; }
.tv-empty-notice { padding: 2rem; border: 1px dashed var(--tv-volt); border-radius: var(--tv-radius-sm); background: var(--tv-space); color: var(--tv-text); font-family: var(--tv-sans); }

:where(.tv-hero, .tv-section, .tv-newsletter, .tv-footer, .tv-header) :focus-visible,
.tv-totop:focus-visible {
	outline: 2px solid var(--tv-volt);
	outline-offset: 4px;
	border-radius: 12px;
}

/* Ambient aurora glows behind sections */
.tv-section::before {
	content: "";
	position: absolute;
	z-index: -1;
	width: 900px; height: 900px;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(142, 124, 255, .16), transparent 70%);
	top: -200px; right: -300px;
	pointer-events: none;
}
.tv-section:nth-of-type(even)::before { right: auto; left: -350px; background: radial-gradient(closest-side, rgba(94, 235, 255, .12), transparent 70%); }

/* ---------- Section heading (numbered eyebrow + display title) ---------- */
.wp-block-post-content { counter-reset: tv-sec; }
.tv-section__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(40px, 6vw, 80px); }
.tv-section__top--reverse { flex-direction: row-reverse; text-align: right; }
.tv-section__bottom { display: flex; justify-content: flex-end; margin-top: clamp(40px, 6vw, 72px); }
.tv-head { counter-increment: tv-sec; }
.tv-head::before {
	content: "/ " counter(tv-sec, decimal-leading-zero);
	display: block;
	margin-bottom: 20px;
	font: 500 12px/1 var(--tv-mono);
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--tv-volt);
}
.tv-head__title {
	position: relative;
	display: block;
	margin: 0 0 18px;
	font-family: var(--tv-display);
	font-weight: 400;
	font-size: clamp(2.25rem, 4.6vw, 4.25rem);
	line-height: 1.08;
	letter-spacing: -.035em;
	color: var(--tv-text);
	text-wrap: balance;
}
.tv-head__title::after {
	content: "";
	display: block;
	width: 72px; height: 3px;
	margin-top: 22px;
	border-radius: 3px;
	background: var(--tv-aurora);
	transform-origin: left;
	transition: transform var(--tv-slow) var(--tv-ease-out) .2s;
}
.tv-section__top--reverse .tv-head__title::after { margin-left: auto; transform-origin: right; }
.tv-head__text { margin: 0; max-width: 56ch; font: 400 clamp(1rem, 1.3vw, 1.1875rem)/1.6 var(--tv-sans); color: var(--tv-muted); text-wrap: pretty; }
.tv-section__top--reverse .tv-head__text { margin-left: auto; }

/* ---------- Buttons & links ---------- */
.tv-btn {
	position: relative;
	display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
	min-height: 54px; padding: 0 1.75rem;
	border: 0; border-radius: 999px;
	background: var(--tv-volt); color: var(--tv-ink) !important;
	font: 600 1rem/1 var(--tv-sans); letter-spacing: .01em; text-decoration: none;
	cursor: pointer;
	transition: background-color var(--tv-fast) ease, transform var(--tv-med) var(--tv-ease-spring), box-shadow var(--tv-med) var(--tv-ease-out);
	will-change: transform;
}
.tv-btn:hover { background: var(--tv-volt-hi); box-shadow: 0 14px 40px -12px rgba(210, 255, 77, .65); }
.tv-btn:active { transform: scale(.96); transition-duration: 80ms; }
.tv-btn[disabled] { cursor: default; }
.tv-btn--lg { min-height: 62px; padding: 0 2.25rem; font-size: 1.0625rem; }

/* "Build my itinerary" — aurora halo */
.tv-btn--framed { margin: 1.5rem 0 0; isolation: isolate; }
.tv-btn--framed::before { content: ""; position: absolute; inset: -6px; border-radius: inherit; background: var(--tv-aurora); z-index: -1; opacity: .35; filter: blur(14px); transition: opacity var(--tv-med) ease; }
.tv-btn--framed:hover::before { opacity: .85; }

.tv-link { display: inline-flex; align-items: center; gap: .6rem; color: var(--tv-volt); font: 600 1rem/2 var(--tv-sans); text-decoration: none; }
.tv-link svg { width: 32px; transition: transform var(--tv-med) var(--tv-ease-spring); }
.tv-link:hover svg { transform: translateX(8px); }
.tv-link:hover { color: var(--tv-volt-hi); }

/* Slider arrows: glass circles, next = volt */
.tv-arrows { display: flex; gap: 12px; flex-shrink: 0; }
.tv-arrow {
	display: grid; place-items: center;
	width: 56px; height: 56px;
	border: 1px solid var(--tv-line-hi); border-radius: 50%;
	background: var(--tv-glass); color: var(--tv-text);
	backdrop-filter: blur(12px);
	cursor: pointer;
	transition: background-color var(--tv-fast) ease, color var(--tv-fast) ease, border-color var(--tv-fast) ease, transform var(--tv-med) var(--tv-ease-spring), opacity var(--tv-med) ease;
}
.tv-arrow--next { background: var(--tv-volt); color: var(--tv-ink); border-color: transparent; }
.tv-arrow:hover { transform: translateY(-3px); border-color: var(--tv-volt); }
.tv-arrow--next:hover { background: var(--tv-volt-hi); }
.tv-arrow:active { transform: scale(.9); }
.tv-arrow--prev:hover svg { animation: tv-nudge-left .5s var(--tv-ease-out); }
.tv-arrow--next:hover svg { animation: tv-nudge-right .5s var(--tv-ease-out); }
.tv-arrow[aria-disabled="true"] { opacity: .35; cursor: default; transform: none; }
.tv-arrow[aria-disabled="true"]:hover { border-color: var(--tv-line-hi); }
.tv-arrow--next[aria-disabled="true"]:hover { border-color: transparent; background: var(--tv-volt); }
.tv-arrow[aria-disabled="true"]:hover svg { animation: none; }
@keyframes tv-nudge-left { 50% { transform: translateX(-4px); } }
@keyframes tv-nudge-right { 50% { transform: translateX(4px); } }

/* Stars */
.tv-stars { display: inline-flex; gap: 3px; color: rgba(255, 255, 255, .15); }
.tv-star.is-on { color: var(--tv-volt); }
.tv-star svg { display: block; width: 18px; height: 18px; }

/* Cursor spotlight on cards (JS sets --mx / --my) */
.tv-dest__link::after, .tv-offer::after, .tv-quote__inner::after {
	content: "";
	position: absolute; inset: 0; z-index: 4;
	border-radius: inherit;
	pointer-events: none;
	background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .12), transparent 45%);
	opacity: 0;
	transition: opacity var(--tv-med) ease;
}
.tv-dest__link:hover::after, .tv-offer:hover::after, .tv-quote__inner:hover::after { opacity: 1; }

/* ---------- Horizontal slider track ---------- */
.tv-track[data-tv-track] {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	padding-block: 14px 2.5rem;
	margin-block: -14px -2.5rem;
	cursor: grab;
}
.tv-track[data-tv-track]::-webkit-scrollbar { display: none; }
.tv-track[data-tv-track].is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.tv-track[data-tv-track].is-dragging a { pointer-events: none; }
.tv-track[data-tv-track] > li { scroll-snap-align: start; flex-shrink: 0; }

/* ---------- Hero ---------- */
.tv-hero { position: relative; min-height: clamp(720px, 100svh, 1080px); display: flex; align-items: flex-end; color: var(--tv-text); overflow: hidden; isolation: isolate; }
.tv-hero__bg { position: absolute; inset: 0; z-index: -1; }
.tv-hero__bg::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(6,7,13,.6) 0%, rgba(6,7,13,.05) 35%, rgba(6,7,13,.35) 65%, var(--tv-ink) 100%); }
.tv-hero__bg::after { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(60% 50% at 85% 15%, rgba(142,124,255,.35), transparent 70%), radial-gradient(50% 40% at 5% 95%, rgba(94,235,255,.18), transparent 70%); mix-blend-mode: screen; }
.tv-hero__img { width: 100%; height: 100%; object-fit: cover; animation: tv-kenburns 24s var(--tv-ease-out) both; }
.tv-hero__inner { padding-top: 180px; padding-bottom: clamp(48px, 7vw, 96px); }
.tv-hero__title { max-width: 1120px; }
.tv-hero__title::before {
	content: "\25CF\00a0 Now booking \00b7 Winter 2035";
	display: inline-flex; align-items: center;
	margin-bottom: 28px; padding: 10px 16px;
	border: 1px solid var(--tv-line-hi); border-radius: 999px;
	background: rgba(6, 7, 13, .35);
	backdrop-filter: blur(12px);
	font: 500 12px/1 var(--tv-mono); letter-spacing: .14em; text-transform: uppercase;
	color: var(--tv-volt);
	animation: tv-rise var(--tv-slow) var(--tv-ease-out) both;
}
.tv-hero__heading {
	margin: 0 0 24px;
	font: 400 clamp(2.75rem, 7.2vw, 7rem)/1 var(--tv-display);
	letter-spacing: -.045em;
	text-wrap: balance;
	background: linear-gradient(180deg, #fff 35%, rgba(238, 240, 255, .62));
	-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.tv-hero__text { margin: 0; max-width: 50ch; font: 400 clamp(1.0625rem, 1.5vw, 1.3125rem)/1.55 var(--tv-sans); color: rgba(238, 240, 255, .82); }
.tv-hero__title > * { animation: tv-rise var(--tv-slow) var(--tv-ease-out) .1s both; }
.tv-hero__title > *:nth-child(2) { animation-delay: .25s; }
.tv-hero .tv-book { animation: tv-rise var(--tv-slow) var(--tv-ease-out) .4s both; }
@keyframes tv-kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes tv-rise { from { opacity: 0; transform: translateY(32px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* Booking bar — glass command bar */
.tv-book {
	display: flex; align-items: stretch;
	margin-top: clamp(40px, 6vw, 72px);
	padding: 10px;
	background: rgba(12, 14, 26, .55);
	border: 1px solid var(--tv-line-hi);
	border-radius: 32px;
	backdrop-filter: blur(24px) saturate(1.5);
	-webkit-backdrop-filter: blur(24px) saturate(1.5);
	box-shadow: var(--tv-shadow), inset 0 1px 0 rgba(255,255,255,.08);
	color: var(--tv-text);
}
.tv-book__fields { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tv-book__field { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 14px 24px; border-radius: 22px; position: relative; transition: background-color var(--tv-fast) ease; }
.tv-book__field + .tv-book__field::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--tv-line-hi); transition: opacity var(--tv-fast) ease; }
.tv-book__field:hover, .tv-book__field:focus-within { background: var(--tv-glass-hi); }
.tv-book__field:hover::before, .tv-book__field:focus-within::before,
.tv-book__field:hover + .tv-book__field::before, .tv-book__field:focus-within + .tv-book__field::before { opacity: 0; }
.tv-book__field label { font: 500 11px/1.2 var(--tv-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--tv-muted); }
.tv-book__field select, .tv-book__field input {
	appearance: none; -webkit-appearance: none;
	width: 100%; padding: 2px 24px 2px 0;
	border: 0; border-radius: 0;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%239BA1BD' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right center;
	font: 500 1rem/1.4 var(--tv-sans); color: var(--tv-text);
	color-scheme: dark;
	cursor: pointer;
}
.tv-book__field select option { background: var(--tv-space); color: var(--tv-text); }
.tv-book__field input::placeholder { color: var(--tv-text); opacity: 1; }
.tv-book__field input[type="date"] { background-image: none; padding-right: 0; }
.tv-book__field select:focus, .tv-book__field input:focus { outline: none; }
.tv-book__submit {
	flex: 0 0 auto;
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	padding: 0 32px; min-height: 76px;
	border: 0; border-radius: 24px;
	background: var(--tv-volt); color: var(--tv-ink);
	font: 600 1.0625rem/1 var(--tv-sans);
	cursor: pointer;
	transition: background-color var(--tv-fast) ease, box-shadow var(--tv-med) var(--tv-ease-out), transform var(--tv-med) var(--tv-ease-spring);
	will-change: transform;
}
.tv-book__submit span { white-space: nowrap; }
.tv-book__submit svg { transition: transform var(--tv-med) var(--tv-ease-spring); }
.tv-book__submit:hover { background: var(--tv-volt-hi); box-shadow: 0 16px 48px -12px rgba(210, 255, 77, .6); }
.tv-book__submit:hover svg { transform: translateX(6px); }
.tv-book__submit:active { transform: scale(.97); }

/* ---------- Destinations ---------- */
.tv-dest { width: clamp(260px, 30vw, 440px); }
.tv-dest__link { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--tv-radius); overflow: hidden; color: var(--tv-text); text-decoration: none; background: var(--tv-nebula); isolation: isolate; transform: translateZ(0); transition: transform var(--tv-med) var(--tv-ease-out), box-shadow var(--tv-med) var(--tv-ease-out); }
.tv-dest__link::before { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, rgba(255,255,255,.28), rgba(255,255,255,.04) 40%, rgba(142,124,255,.55)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.tv-dest__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--tv-ease-out); }
.tv-dest__body { position: absolute; left: 14px; right: 14px; bottom: 14px; display: grid; gap: 10px; padding: 18px 20px; border-radius: 20px; background: rgba(12,14,26,.38); border: 1px solid var(--tv-line); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); transition: transform var(--tv-med) var(--tv-ease-out), background-color var(--tv-med) ease; }
.tv-dest__title { font: 500 clamp(1.125rem, 1.6vw, 1.375rem)/1.2 var(--tv-display); letter-spacing: -.02em; }
.tv-dest__loc { display: flex; align-items: center; gap: 8px; font: 500 12px/1.2 var(--tv-mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(238,240,255,.75); }
.tv-dest__loc svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--tv-volt); transition: transform var(--tv-med) var(--tv-ease-spring); }
.tv-dest__link:hover, .tv-dest__link:focus-visible { transform: translateY(-10px); box-shadow: var(--tv-glow); }
.tv-dest__link:hover .tv-dest__img { transform: scale(1.08); }
.tv-dest__link:hover .tv-dest__body { transform: translateY(-4px); background: rgba(12,14,26,.58); }
.tv-dest__link:hover .tv-dest__loc svg { transform: translateY(-3px) scale(1.15); }

/* ---------- Offers ---------- */
.tv-offer { position: relative; width: clamp(280px, 30.4vw, 437px); display: flex; flex-direction: column; padding: 10px; background: var(--tv-glass); border: 1px solid var(--tv-line); border-radius: var(--tv-radius); transition: transform var(--tv-med) var(--tv-ease-out), box-shadow var(--tv-med) var(--tv-ease-out), border-color var(--tv-med) ease, background-color var(--tv-med) ease; }
.tv-offer:hover { transform: translateY(-8px); box-shadow: var(--tv-glow); border-color: var(--tv-line-hi); background: var(--tv-glass-hi); }
.tv-offer__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 20px; background: var(--tv-nebula); }
.tv-offer__media::after { content: "Limited drop"; position: absolute; top: 14px; left: 14px; padding: 7px 12px; border-radius: 999px; background: rgba(6,7,13,.55); backdrop-filter: blur(10px); border: 1px solid var(--tv-line-hi); font: 500 11px/1 var(--tv-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--tv-volt); }
.tv-offer__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--tv-ease-out); }
.tv-offer:hover .tv-offer__img { transform: scale(1.07); }
.tv-offer__body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 22px 14px 10px; }
.tv-offer__title { margin: 0; font: 500 1.25rem/1.25 var(--tv-display); letter-spacing: -.02em; color: var(--tv-text); }
.tv-offer__text { margin: 4px 0 0; font: 400 .9375rem/1.6 var(--tv-sans); color: var(--tv-muted); }
.tv-offer__foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--tv-line); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.tv-offer__price { margin: 0; display: flex; align-items: baseline; gap: 10px; font: 500 11px/1 var(--tv-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--tv-muted); }
.tv-offer__price strong { font: 500 1.875rem/1 var(--tv-display); letter-spacing: -.03em; color: var(--tv-text); text-transform: none; }
.tv-offer .tv-btn { min-height: 48px; padding: 0 1.4rem; background: transparent; color: var(--tv-text) !important; border: 1px solid var(--tv-line-hi); position: relative; z-index: 5; }
.tv-offer .tv-btn:hover, .tv-offer:hover .tv-btn { background: var(--tv-volt); color: var(--tv-ink) !important; border-color: transparent; }

/* ---------- Blog highlight ---------- */
.tv-blog__card { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.tv-blog__media { position: relative; aspect-ratio: 5 / 6; border-radius: var(--tv-radius); overflow: hidden; background: var(--tv-nebula); }
.tv-blog__media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--tv-line-hi); background: linear-gradient(180deg, transparent 60%, rgba(6,7,13,.5)); }
.tv-blog__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--tv-ease-out); }
.tv-blog__card:hover .tv-blog__img { transform: scale(1.05); }
.tv-blog__body::before { content: "Field notes \00b7 6 min read"; display: block; margin-bottom: 20px; font: 500 12px/1 var(--tv-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--tv-muted); }
.tv-blog__title { margin: 0 0 24px; font: 400 clamp(2rem, 3.6vw, 3.25rem)/1.08 var(--tv-display); letter-spacing: -.035em; color: var(--tv-text); text-wrap: balance; }
.tv-blog__text { margin: 0 0 28px; font: 400 clamp(1rem, 1.25vw, 1.125rem)/1.8 var(--tv-sans); color: var(--tv-muted); }

/* ---------- Trip planners ---------- */
.tv-trips__grid { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.tv-trip { width: 300px; }
.tv-trip:nth-child(odd) { padding-top: 64px; }
.tv-trip__link { display: grid; gap: 16px; color: var(--tv-text); text-decoration: none; font: 400 .9375rem/1.3 var(--tv-sans); }
.tv-trip__media { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--tv-radius); overflow: hidden; background: var(--tv-nebula); transition: transform var(--tv-med) var(--tv-ease-out), box-shadow var(--tv-med) var(--tv-ease-out); }
.tv-trip__media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--tv-line-hi); }
.tv-trip__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--tv-ease-out); }
.tv-trip__info { display: grid; gap: 10px; padding: 0 4px; }
.tv-trip__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.tv-trip__meta { font: 500 11px/1 var(--tv-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--tv-muted); }
.tv-trip__meta span:last-child { color: var(--tv-volt); }
.tv-trip__title { font: 500 1.25rem/1.25 var(--tv-display); letter-spacing: -.02em; background: linear-gradient(var(--tv-volt), var(--tv-volt)) no-repeat 0 100% / 0 2px; padding-bottom: 4px; transition: background-size var(--tv-med) var(--tv-ease-out); justify-self: start; }
.tv-trip__link:hover .tv-trip__media { transform: translateY(-8px); box-shadow: var(--tv-glow); }
.tv-trip__link:hover .tv-trip__img { transform: scale(1.08); }
.tv-trip__link:hover .tv-trip__title { background-size: 100% 2px; }
@media (min-width: 1101px) {
	.tv-track[data-tv-track].tv-track--trips { padding-bottom: calc(2.5rem + 64px); margin-bottom: calc(-2.5rem - 64px); }
}

/* ---------- Gallery ---------- */
.tv-gallery__item { width: clamp(240px, 22.2vw, 320px); padding-block: 32px; }
.tv-gallery__item:nth-child(even) { padding-top: 0; padding-bottom: 64px; }
.tv-gallery__img { width: 100%; height: auto; aspect-ratio: 320 / 460; object-fit: cover; border-radius: var(--tv-radius); transition: transform var(--tv-med) var(--tv-ease-out), box-shadow var(--tv-med) var(--tv-ease-out), filter var(--tv-med) ease; }
.tv-gallery__item:hover .tv-gallery__img { transform: translateY(-10px) rotate(-1.5deg); box-shadow: var(--tv-glow); }
.tv-track--gallery:hover .tv-gallery__item:not(:hover) .tv-gallery__img { filter: saturate(.5) brightness(.6); }

/* ---------- Testimonials ---------- */
.tv-track[data-tv-track].tv-track--testimonials { padding-top: 56px; margin-top: 0; }
.tv-quote { width: clamp(280px, 36vw, 520px); }
.tv-quote__inner { position: relative; margin: 0; height: 100%; box-sizing: border-box; padding: 64px 36px 32px; background: var(--tv-glass); border: 1px solid var(--tv-line); border-radius: var(--tv-radius); transition: transform var(--tv-med) var(--tv-ease-out), box-shadow var(--tv-med) var(--tv-ease-out), border-color var(--tv-med) ease, background-color var(--tv-med) ease; }
.tv-quote__inner::before { content: "\201C"; position: absolute; top: 14px; right: 28px; font: 400 96px/1 var(--tv-display); background: var(--tv-aurora); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; opacity: .55; }
.tv-quote:hover .tv-quote__inner { transform: translateY(-6px); box-shadow: var(--tv-glow); border-color: var(--tv-line-hi); background: var(--tv-glass-hi); }
.tv-quote__avatar { position: absolute; top: -40px; left: 32px; width: 80px; height: 80px; border-radius: 50%; object-fit: cover; padding: 3px; background: var(--tv-ink); box-shadow: 0 0 0 2px var(--tv-plasma); transition: transform var(--tv-med) var(--tv-ease-spring); }
.tv-quote:hover .tv-quote__avatar { transform: scale(1.08) rotate(-6deg); }
.tv-quote__text { margin: 0 0 20px; }
.tv-quote__text p { margin: 0; font: 400 1.0625rem/1.65 var(--tv-sans); color: var(--tv-text); }
.tv-quote__who { display: grid; gap: 6px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--tv-line); }
.tv-quote__name { font: 500 1.0625rem/1.2 var(--tv-display); letter-spacing: -.01em; color: var(--tv-text); }
.tv-quote__role { font: 500 11px/1.2 var(--tv-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--tv-muted); }
.tv-quote .tv-star.is-on { transition: transform var(--tv-med) var(--tv-ease-spring); }
.tv-quote:hover .tv-star.is-on { transform: scale(1.2); }
.tv-quote:hover .tv-star.is-on:nth-child(2) { transition-delay: 40ms; }
.tv-quote:hover .tv-star.is-on:nth-child(3) { transition-delay: 80ms; }
.tv-quote:hover .tv-star.is-on:nth-child(4) { transition-delay: 120ms; }
.tv-quote:hover .tv-star.is-on:nth-child(5) { transition-delay: 160ms; }

/* ---------- Newsletter ---------- */
.tv-newsletter, .wp-block-post-content > .tv-newsletter.alignfull { position: relative; z-index: 2; margin-bottom: -120px !important; padding-top: 0; scroll-margin-top: 120px; }
.tv-newsletter__box {
	position: relative; overflow: hidden; isolation: isolate;
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 2rem 64px; align-items: center;
	max-width: 1262px; margin-inline: auto;
	padding: clamp(32px, 5vw, 64px) clamp(24px, 5vw, 72px);
	background: linear-gradient(135deg, rgba(20,23,41,.94), rgba(12,14,26,.94));
	border: 1px solid var(--tv-line-hi);
	border-radius: 36px;
	box-shadow: var(--tv-shadow);
}
.tv-newsletter__box::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; left: -160px; top: -260px; border-radius: 50%; background: var(--tv-aurora); filter: blur(100px); opacity: .45; animation: tv-orbit 16s ease-in-out infinite alternate; }
@keyframes tv-orbit { to { transform: translate(180px, 120px) scale(1.2); } }
.tv-newsletter__title { margin: 0; font: 400 clamp(2rem, 3.8vw, 3.5rem)/1.05 var(--tv-display); letter-spacing: -.035em; color: var(--tv-text); }
.tv-newsletter__form { display: flex; align-items: flex-end; gap: 12px; }
.tv-newsletter__field { flex: 1; display: grid; gap: 10px; }
.tv-newsletter__field label { font: 500 11px/1.2 var(--tv-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--tv-muted); }
.tv-newsletter__field input { width: 100%; box-sizing: border-box; min-height: 62px; padding: 0 24px; border: 1px solid var(--tv-line-hi); border-radius: 999px; background: rgba(255,255,255,.04); font: 400 1.0625rem/1.2 var(--tv-sans); color: var(--tv-text); transition: border-color var(--tv-fast) ease, box-shadow var(--tv-med) var(--tv-ease-out), background-color var(--tv-fast) ease; }
.tv-newsletter__field input::placeholder { color: var(--tv-muted); opacity: 1; }
.tv-newsletter__field input:hover { border-color: rgba(255,255,255,.3); }
.tv-newsletter__field input:focus { outline: none; border-color: var(--tv-ion); background: rgba(94,235,255,.06); box-shadow: 0 0 0 5px rgba(94,235,255,.14); }
.tv-newsletter__field input:user-invalid { border-color: var(--tv-flare); animation: tv-shake .4s; }
.tv-newsletter__msg { grid-column: 1 / -1; margin: 0; padding: 12px 20px; border-radius: 999px; font: 500 .9375rem/1.4 var(--tv-sans); animation: tv-rise var(--tv-med) var(--tv-ease-out) both; }
.tv-newsletter__msg.is-ok { background: rgba(210,255,77,.12); color: var(--tv-volt); border: 1px solid rgba(210,255,77,.3); }
.tv-newsletter__msg.is-invalid, .tv-newsletter__msg.is-error { background: rgba(255,122,209,.1); color: var(--tv-flare); border: 1px solid rgba(255,122,209,.3); }
@keyframes tv-shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }

/* ---------- Logo, footer bits ---------- */
.tv-logo a { display: inline-flex; color: inherit; }
.tv-logo svg, .tv-logo__img { width: clamp(150px, 13vw, 190px); height: auto; overflow: visible; }
.tv-logo__text { font-family: var(--wp--preset--font-family--unbounded, inherit); font-size: 1.375rem; font-weight: 600; }
.tv-logo__ring, .tv-logo__dot { transform-box: view-box; transform-origin: 19px 19px; }
.tv-logo__ring { transition: transform 1.2s var(--tv-ease-out); }
.tv-logo__dot { transition: transform 1.2s var(--tv-ease-spring); }
.tv-logo a:hover .tv-logo__dot { transform: rotate(220deg); }
.tv-logo a:hover .tv-logo__ring { transform: rotate(-90deg); }
.tv-copyright { margin: 1rem 0 0; font: 400 .8125rem/1.5 var(--tv-sans); color: var(--tv-muted); }
.tv-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font: 400 .9375rem/1.3 var(--tv-sans); color: var(--tv-muted); }
.tv-contact a { color: var(--tv-text); text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; transition: background-size var(--tv-med) var(--tv-ease-out), color var(--tv-fast); }
.tv-contact a:hover { color: var(--tv-volt); background-size: 100% 1px; }
.tv-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.tv-social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--tv-line-hi); background: var(--tv-glass); color: var(--tv-text); transition: transform var(--tv-med) var(--tv-ease-spring), color var(--tv-fast) ease, background-color var(--tv-fast) ease, border-color var(--tv-fast) ease; }
.tv-social a svg { width: 20px; height: 20px; }
.tv-social a:hover { color: var(--tv-ink); background: var(--tv-volt); border-color: transparent; transform: translateY(-4px); }

/* Item details on single pages */
.tv-details { list-style: none; margin: 1rem 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; font: 500 .9375rem/1.4 var(--tv-sans); color: var(--tv-text); }
.tv-details li { display: inline-flex; align-items: center; gap: .5rem; padding: 10px 16px; border: 1px solid var(--tv-line-hi); border-radius: 20px; background: var(--tv-glass); }
.tv-details svg { width: 16px; height: 16px; color: var(--tv-volt); }
.tv-details__price { font: 500 1.25rem/1 var(--tv-display); color: var(--tv-volt); }

/* ---------- Back to top (scroll-progress ring) ---------- */
.tv-totop {
	position: fixed; right: clamp(16px, 2.5vw, 32px); bottom: clamp(16px, 2.5vw, 32px); z-index: 50;
	display: grid; place-items: center;
	width: 56px; height: 56px; padding: 0;
	border: 1px solid var(--tv-line-hi); border-radius: 50%;
	background: rgba(12, 14, 26, .72);
	backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
	color: var(--tv-text);
	cursor: pointer;
	opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9);
	transition: opacity var(--tv-med) var(--tv-ease-out), transform var(--tv-med) var(--tv-ease-spring), visibility 0s linear var(--tv-med), background-color var(--tv-fast) ease, color var(--tv-fast) ease;
}
.tv-totop[hidden] { display: grid; }
.tv-totop.is-shown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.tv-totop:hover { background: var(--tv-volt); color: var(--tv-ink); }
.tv-totop:hover .tv-totop__arrow { animation: tv-up .6s var(--tv-ease-out); }
.tv-totop:active { transform: scale(.92); }
.tv-totop__ring { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); pointer-events: none; }
.tv-totop__ring circle { fill: none; stroke-width: 2; }
.tv-totop__track { stroke: transparent; }
.tv-totop__bar { stroke: var(--tv-volt); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--tv-progress, 0) * 100); transition: stroke-dashoffset 120ms linear; }
.tv-totop:hover .tv-totop__bar { stroke: var(--tv-ink); }
@keyframes tv-up { 40% { transform: translateY(-5px); } }

/* Film grain overlay */
.tv-grain { position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); mix-blend-mode: overlay; }

/* ==========================================================================
   Scroll reveal (JS adds .tv-anim to <html>; elements get .is-visible)
   ========================================================================== */
.tv-anim [data-tv-reveal] { opacity: 0; transform: translateY(48px); filter: blur(8px); transition: opacity var(--tv-slow) var(--tv-ease-out), transform var(--tv-slow) var(--tv-ease-out), filter var(--tv-slow) var(--tv-ease-out); transition-delay: var(--tv-delay, 0s); }
.tv-anim [data-tv-reveal].is-visible { opacity: 1; transform: none; filter: none; }
.tv-anim .tv-section:not(.is-visible) .tv-head__title::after { transform: scaleX(0); }

/* Sticky glass header after the hero */
.tv-header-part.is-overlay.is-stuck { position: fixed; animation: tv-drop var(--tv-med) var(--tv-ease-out); }
.tv-header-part.is-overlay.is-stuck .tv-header { background: rgba(6, 7, 13, .62); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); padding-block: .875rem; border-bottom: 1px solid var(--tv-line); }
.tv-header { transition: padding var(--tv-med) var(--tv-ease-out), background-color var(--tv-med) ease; }
@keyframes tv-drop { from { transform: translateY(-100%); } to { transform: none; } }

/* ---------- Editor: never hide content or animate there ---------- */
.editor-styles-wrapper [data-tv-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
.editor-styles-wrapper .tv-hero__img, .editor-styles-wrapper .tv-hero__title > *, .editor-styles-wrapper .tv-book { animation: none; }
.editor-styles-wrapper .tv-track[data-tv-track] { cursor: default; }
.editor-styles-wrapper .tv-hero { min-height: 720px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.tv-book { flex-direction: column; border-radius: 28px; }
	.tv-book__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tv-book__field:nth-child(3)::before { display: none; }
	.tv-book__submit { min-height: 62px; margin-top: 6px; }
	.tv-trips__grid { grid-template-columns: 1fr; gap: 48px; }
	.tv-newsletter__box { grid-template-columns: 1fr; }
}
@media (max-width: 781px) {
	.tv-section__top, .tv-section__top--reverse { flex-direction: column; align-items: flex-start; text-align: left; }
	.tv-section__top--reverse .tv-head__title::after { margin-left: 0; transform-origin: left; }
	.tv-section__top--reverse .tv-head__text { margin-left: 0; }
	.tv-blog__card { grid-template-columns: 1fr; }
	.tv-blog__media { aspect-ratio: 4 / 3; }
	.tv-dest, .tv-offer, .tv-quote { width: 82vw; }
	.tv-trip, .tv-gallery__item { width: 72vw; }
	.tv-trip:nth-child(odd), .tv-gallery__item, .tv-gallery__item:nth-child(even) { padding: 0; }
	.tv-newsletter__form { flex-direction: column; align-items: stretch; }
	.tv-hero__inner { padding-top: 140px; }
}
@media (max-width: 480px) {
	.tv-book__fields { grid-template-columns: 1fr; }
	.tv-book__field::before { display: none; }
	.tv-track[data-tv-track] { gap: 16px; }
}

/* ==========================================================================
   Reduced motion: keep everything, drop the movement
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.tv-anim [data-tv-reveal] { opacity: 1; transform: none; filter: none; }
}

/* ==========================================================================
   Custom select (listbox) + traveller stepper — booking bar
   ========================================================================== */
.tv-native-hidden { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; clip-path: inset(50%); }
.tv-book__field:has(.tv-select.is-open) { z-index: 30; background: var(--tv-glass-hi); }

.tv-select { position: relative; }
.tv-select__btn {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	width: 100%; padding: 2px 0; border: 0; background: none;
	font: 500 1rem/1.4 var(--tv-sans); color: var(--tv-text); text-align: left;
	cursor: pointer;
}
.tv-select__btn:focus-visible { outline: 2px solid var(--tv-volt); outline-offset: 6px; border-radius: 8px; }
.tv-select__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv-select__chev { flex-shrink: 0; color: var(--tv-muted); transition: transform var(--tv-med) var(--tv-ease-spring), color var(--tv-fast) ease; }
.tv-select.is-open .tv-select__chev { transform: rotate(180deg); color: var(--tv-volt); }
.tv-select.is-picked .tv-select__value { animation: tv-pick .45s var(--tv-ease-out); }
@keyframes tv-pick { from { opacity: 0; transform: translateY(6px); } }

.tv-select__list {
	position: absolute; left: -16px; top: calc(100% + 18px); z-index: 40;
	min-width: 300px; max-height: 340px; overflow-y: auto;
	margin: 0; padding: 8px; list-style: none;
	background: rgba(14, 16, 30, .985);
	border: 1px solid var(--tv-line-hi);
	border-radius: 22px;
	backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5);
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(142, 124, 255, .08);
	scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent;
	opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.97); transform-origin: top left;
	transition: opacity var(--tv-fast) ease, transform var(--tv-med) var(--tv-ease-spring), visibility 0s linear var(--tv-med);
}
.tv-select.is-up .tv-select__list { top: auto; bottom: calc(100% + 18px); transform-origin: bottom left; transform: translateY(8px) scale(.97); }
.tv-select.is-open .tv-select__list { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.tv-select__list:focus { outline: none; }
.tv-select__list [role="option"] {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 12px 14px; border-radius: 14px;
	cursor: pointer;
	transition: background-color var(--tv-fast) ease;
}
.tv-select__list [role="option"].is-active { background: rgba(255, 255, 255, .07); }
.tv-select__list:focus-visible [role="option"].is-active { box-shadow: inset 0 0 0 1px rgba(210, 255, 77, .5); }
.tv-select__text { display: grid; gap: 3px; min-width: 0; }
.tv-select__title { font: 500 .9375rem/1.25 var(--tv-sans); color: var(--tv-text); }
.tv-select__meta { font: 500 10.5px/1.2 var(--tv-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--tv-muted); }
.tv-select__meta:empty { display: none; }
.tv-select__check { flex-shrink: 0; color: var(--tv-ink); background: var(--tv-volt); border-radius: 50%; padding: 3px; opacity: 0; transform: scale(.4); transition: opacity var(--tv-fast) ease, transform var(--tv-med) var(--tv-ease-spring); }
.tv-select__list [aria-selected="true"] .tv-select__check { opacity: 1; transform: none; }
.tv-select__list [aria-selected="true"] .tv-select__title { color: var(--tv-volt); }
.tv-select.is-open .tv-select__list [role="option"] { animation: tv-opt-in var(--tv-med) var(--tv-ease-out) both; }
.tv-select.is-open .tv-select__list [role="option"]:nth-child(2) { animation-delay: 25ms; }
.tv-select.is-open .tv-select__list [role="option"]:nth-child(3) { animation-delay: 50ms; }
.tv-select.is-open .tv-select__list [role="option"]:nth-child(4) { animation-delay: 75ms; }
.tv-select.is-open .tv-select__list [role="option"]:nth-child(5) { animation-delay: 100ms; }
.tv-select.is-open .tv-select__list [role="option"]:nth-child(n+6) { animation-delay: 125ms; }
@keyframes tv-opt-in { from { opacity: 0; transform: translateY(-4px); } }

.tv-stepper { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tv-stepper__btn {
	display: grid; place-items: center; flex-shrink: 0;
	width: 30px; height: 30px; padding: 0;
	border: 1px solid var(--tv-line-hi); border-radius: 50%;
	background: var(--tv-glass); color: var(--tv-text);
	cursor: pointer;
	transition: background-color var(--tv-fast) ease, color var(--tv-fast) ease, border-color var(--tv-fast) ease, transform var(--tv-med) var(--tv-ease-spring), opacity var(--tv-fast) ease;
}
.tv-stepper__btn:hover:not(:disabled) { background: var(--tv-volt); color: var(--tv-ink); border-color: transparent; }
.tv-stepper__btn:active:not(:disabled) { transform: scale(.85); }
.tv-stepper__btn:disabled { opacity: .3; cursor: default; }
.tv-stepper__btn:focus-visible { outline: 2px solid var(--tv-volt); outline-offset: 3px; }
.tv-stepper__value { font: 500 1rem/1.4 var(--tv-sans); color: var(--tv-text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tv-stepper__value.is-bump { animation: tv-bump .35s var(--tv-ease-spring); }
@keyframes tv-bump { 40% { transform: scale(1.12); color: var(--tv-volt); } }

@media (max-width: 480px) {
	.tv-select__list { left: -8px; right: -8px; min-width: 0; }
}

/* ==========================================================================
   Focus: no outlines on mouse/touch focus (WordPress core adds a white
   2px outline to every focused element). Keyboard users still get a slim
   volt ring via :focus-visible so the site stays accessible.
   ========================================================================== */
.wp-site-blocks :focus,
.wp-site-blocks :focus:not(:focus-visible),
:root :where(.wp-element-button:focus, .wp-block-button__link:focus) { outline: none; }
.wp-site-blocks :focus-visible,
.tv-totop:focus-visible {
	outline: 2px solid var(--tv-volt);
	outline-offset: 3px;
}
/* Fields and sliders have their own focus treatment (glow / highlight). */
.wp-site-blocks input:focus-visible,
.wp-site-blocks select:focus-visible,
.wp-site-blocks textarea:focus-visible,
.tv-select__list:focus-visible,
.tv-track[data-tv-track]:focus-visible { outline: none; }
.tv-track[data-tv-track]:focus-visible > li:first-child { outline: none; }
.tv-track[data-tv-track]:focus-visible { box-shadow: inset 0 -2px 0 var(--tv-volt); }

/* ==========================================================================
   Date range picker (check-in / check-out)
   ========================================================================== */
.tv-book__field.is-editing { z-index: 30; background: var(--tv-glass-hi); }
.tv-date__btn {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	width: 100%; padding: 2px 0; border: 0; background: none;
	font: 500 1rem/1.4 var(--tv-sans); color: var(--tv-text); text-align: left;
	cursor: pointer;
}
.tv-date__btn.is-empty .tv-date__value { color: var(--tv-muted); }
.tv-date__value { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-date__icon { flex-shrink: 0; color: var(--tv-muted); transition: color var(--tv-fast) ease, transform var(--tv-med) var(--tv-ease-spring); }
.tv-date__btn:hover .tv-date__icon, .tv-date__btn[aria-expanded="true"] .tv-date__icon { color: var(--tv-volt); transform: scale(1.1); }
.tv-date__btn.is-picked .tv-date__value { animation: tv-pick .45s var(--tv-ease-out); }

.tv-cal {
	position: absolute; left: 0; top: calc(100% + 10px); z-index: 40;
	width: 336px; padding: 18px;
	background: rgba(14, 16, 30, .985);
	border: 1px solid var(--tv-line-hi);
	border-radius: 24px;
	backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5);
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(142, 124, 255, .08);
	color: var(--tv-text);
	opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.97); transform-origin: top left;
	transition: opacity var(--tv-fast) ease, transform var(--tv-med) var(--tv-ease-spring), visibility 0s linear var(--tv-med);
}
.tv-cal.is-up { top: auto; bottom: calc(100% + 10px); transform-origin: bottom left; transform: translateY(8px) scale(.97); }
.tv-cal.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.tv-book__field:last-child .tv-cal { left: auto; right: 0; transform-origin: top right; }
.tv-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.tv-cal__title { margin: 0; font: 500 1rem/1 var(--tv-display); letter-spacing: -.01em; }
.tv-cal__nav { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--tv-line-hi); border-radius: 50%; background: var(--tv-glass); color: var(--tv-text); cursor: pointer; transition: background-color var(--tv-fast) ease, color var(--tv-fast) ease, border-color var(--tv-fast) ease, transform var(--tv-med) var(--tv-ease-spring); }
.tv-cal__nav:hover:not(:disabled) { background: var(--tv-volt); color: var(--tv-ink); border-color: transparent; }
.tv-cal__nav:active:not(:disabled) { transform: scale(.88); }
.tv-cal__nav:disabled { opacity: .3; cursor: default; }
.tv-cal__dow, .tv-cal__row { display: grid; grid-template-columns: repeat(7, 1fr); }
.tv-cal__dow { margin-bottom: 6px; }
.tv-cal__dow span { text-align: center; font: 500 10.5px/2 var(--tv-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--tv-muted); }
.tv-cal__row { row-gap: 2px; }
.tv-cal__row > span { display: grid; }
.tv-cal__day {
	position: relative;
	height: 40px; padding: 0; border: 0; border-radius: 12px;
	background: transparent; color: var(--tv-text);
	font: 500 .875rem/1 var(--tv-sans); font-variant-numeric: tabular-nums;
	cursor: pointer;
	transition: background-color var(--tv-fast) ease, color var(--tv-fast) ease, transform var(--tv-med) var(--tv-ease-spring);
}
.tv-cal__day:hover:not(:disabled) { background: rgba(255, 255, 255, .08); }
.tv-cal__day:active:not(:disabled) { transform: scale(.9); }
.tv-cal__day:disabled { color: rgba(238, 240, 255, .2); cursor: default; }
.tv-cal__day.is-today::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--tv-volt); }
.tv-cal__day.is-between { background: rgba(210, 255, 77, .1); border-radius: 0; color: var(--tv-volt); }
.tv-cal__day.is-start, .tv-cal__day.is-end { background: var(--tv-volt); color: var(--tv-ink); font-weight: 600; }
.tv-cal__day.is-start.is-today::after, .tv-cal__day.is-end.is-today::after { background: var(--tv-ink); }
.tv-cal__day:focus-visible { outline: 2px solid var(--tv-ion); outline-offset: 1px; }
.tv-cal.is-open .tv-cal__grid { animation: tv-opt-in var(--tv-med) var(--tv-ease-out); }
.tv-cal__hint { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--tv-line); font: 500 11px/1.4 var(--tv-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--tv-muted); }

@media (max-width: 480px) {
	.tv-cal, .tv-book__field:last-child .tv-cal { left: -8px; right: -8px; width: auto; }
}

/* Mouse/touch users never see focus rings, even when a script moves focus. */
html:not(.tv-kbd) .wp-site-blocks :focus-visible,
html:not(.tv-kbd) .tv-totop:focus-visible,
html:not(.tv-kbd) .tv-cal__day:focus-visible { outline: none; box-shadow: none; }
