/*
Theme Name: TBK Boarding � GeneratePress Child
Template: generatepress
Theme URI: https://travelblockkey.com/
Author: Elestra
Description: Boarding-pass and departures-board theme for TravelBlockKey advertorial content.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tbk-boarding
*/

/* ---------- Tokens ---------- */
:root {
	--navy: #0B0A4F;
	--ink: #1F1C5E;
	--plum: #7B1773;
	--plum-hi: #A8389C;
	--plum-lt: #E7A9DE;
	--plum-tint: #F2DFEE;
	--plum-ink: #6A1463;
	--paper: #F3F1F8;
	--white: #FDFCFF;
	--slate: #5C587A;
	--mist: #C5C1DC;
	--lav: #ECE9F5;
	--line: #DCD8E8;
	--f-head: "Space Grotesk", "Segoe UI", Arial, sans-serif;
	--f-mono: "IBM Plex Mono", Consolas, "Courier New", monospace;
	--f-body: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--r: 14px;
	--notch: 11px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--navy);
	font-family: var(--f-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--plum-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--navy); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
address { font-style: normal; }
.tbk-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.tbk-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.tbk-skip { position: absolute; left: -9999px; top: 0; background: var(--plum); color: var(--white); padding: .6em 1em; z-index: 100; font-weight: 600; }
.tbk-skip:focus { left: 12px; top: 12px; }

.tbk-field {
	display: block;
	font-family: var(--f-mono);
	font-size: .72rem;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--slate);
}

/* ---------- Buttons ---------- */
.tbk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	min-height: 48px;
	padding: .8em 1.5em;
	background: var(--plum);
	color: var(--white);
	font-family: var(--f-head);
	font-weight: 700;
	font-size: 1.02rem;
	line-height: 1.2;
	text-decoration: none;
	text-align: center;
	border: 2px solid var(--navy);
	border-radius: 10px;
	box-shadow: 0 4px 0 var(--navy);
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.tbk-btn:hover { color: var(--white); background: #8E2A8B; transform: translateY(2px); box-shadow: 0 2px 0 var(--navy); }
.tbk-btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--navy); }
.tbk-btn--sm { min-height: 44px; padding: .55em 1.1em; font-size: .95rem; }
.tbk-btn--lg { min-height: 56px; padding: 1em 2em; font-size: 1.15rem; }
.tbk-link { font-family: var(--f-head); font-weight: 600; color: var(--navy); }

/* ---------- Top bar & header ---------- */
.tbk-topbar { background: var(--navy); color: var(--white); font-size: .82rem; }
.tbk-topbar__in { display: flex; align-items: center; gap: 14px; min-height: 36px; padding-block: 6px; }
.tbk-topbar__tag {
	font-family: var(--f-mono);
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-size: .74rem;
	background: var(--plum-lt);
	color: var(--navy);
	padding: 2px 10px;
	border-radius: 3px;
	flex-shrink: 0;
}
.tbk-topbar__txt { color: var(--mist); }
.tbk-header {
	position: static;
	background: var(--white);
	border-bottom: 1px solid var(--line);
}
.tbk-header__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; padding-block: 14px; }
.tbk-logo { display: inline-flex; line-height: 0; }
.tbk-logo img { height: 50px; width: auto; }

/* ---------- Main nav (boarding-pass labels) ---------- */
.tbk-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tbk-header__in { position: relative; }
.tbk-nav { margin-left: auto; }
.tbk-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.tbk-nav__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 14px;
	font-family: var(--f-mono);
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ink);
	text-decoration: none;
	background: linear-gradient(var(--plum), var(--plum)) center bottom 6px / 0 2px no-repeat;
	transition: background-size .2s ease, color .15s ease;
}
.tbk-nav__link:hover { color: var(--plum-ink); background-size: calc(100% - 28px) 2px; }
.tbk-nav__link[aria-current="page"] { color: var(--plum-ink); background-size: calc(100% - 28px) 3px; }
.tbk-nav__link:focus-visible { outline: 3px solid var(--navy); outline-offset: -3px; border-radius: 4px; }
.tbk-menu-toggle { display: none; }

@media (max-width: 860px) {
	.tbk-header__in { gap: 10px; }
	.tbk-menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		margin-left: auto;
		padding: 0;
		background: var(--white);
		color: var(--navy);
		border: 2px solid var(--navy);
		border-radius: 10px;
		cursor: pointer;
		flex-shrink: 0;
	}
	.tbk-menu-toggle__bars { display: grid; gap: 4px; width: 20px; }
	.tbk-menu-toggle__bars span { display: block; height: 2px; background: currentColor; border-radius: 1px; transition: transform .2s ease, opacity .15s ease; }
	.tbk-menu-toggle[aria-expanded="true"] { background: var(--plum-tint); }
	.tbk-menu-toggle[aria-expanded="true"] .tbk-menu-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
	.tbk-menu-toggle[aria-expanded="true"] .tbk-menu-toggle__bars span:nth-child(2) { opacity: 0; }
	.tbk-menu-toggle[aria-expanded="true"] .tbk-menu-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
	.tbk-header__cta { flex-shrink: 0; }
	.js .tbk-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		z-index: 50;
		margin: 0;
		background: var(--white);
		border-top: 2px dashed var(--line);
		border-bottom: 3px solid var(--plum);
		box-shadow: 0 10px 24px rgba(11, 10, 79, .12);
	}
	.js .tbk-nav.is-open { display: block; }
	.js .tbk-nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 12px; }
	.js .tbk-nav__list li + li { border-top: 1px solid var(--line); }
	.js .tbk-nav__link { display: flex; min-height: 52px; padding: 0 4px; font-size: .86rem; background-position: left 4px bottom 10px; }
	.js .tbk-nav__link:hover { background-size: 48px 2px; }
	.js .tbk-nav__link[aria-current="page"] { background-size: 48px 3px; }
	/* No-JS fallback: menu wraps onto its own row */
	.no-js .tbk-menu-toggle { display: none; }
	.no-js .tbk-header__in { flex-wrap: wrap; }
	.no-js .tbk-nav { order: 3; flex-basis: 100%; margin: 0; }
	.no-js .tbk-nav__list { flex-wrap: wrap; }
	.no-js .tbk-header__cta { margin-left: auto; }
}
@media (max-width: 420px) {
	.tbk-header__in { gap: 8px; }
	.no-js .tbk-nav__link { padding: 0 8px; font-size: .74rem; }
}

/* ---------- Boarding pass component ---------- */
.tbk-pass {
	--stubw: 132px;
	position: relative;
	display: grid;
	grid-template-columns: 1fr var(--stubw);
	background: var(--white);
	color: var(--navy);
	border-radius: var(--r);
	-webkit-mask:
		radial-gradient(circle var(--notch) at calc(100% - var(--stubw)) 0, #0000 98%, #000) top / 100% 51% no-repeat,
		radial-gradient(circle var(--notch) at calc(100% - var(--stubw)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
	mask:
		radial-gradient(circle var(--notch) at calc(100% - var(--stubw)) 0, #0000 98%, #000) top / 100% 51% no-repeat,
		radial-gradient(circle var(--notch) at calc(100% - var(--stubw)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
}
.tbk-pass__main { padding: 22px 24px; min-width: 0; }
.tbk-pass__stub {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 22px 18px;
	border-left: 2px dashed var(--line);
	background: var(--paper);
}
.tbk-pass__stub strong { font-family: var(--f-head); font-size: 2.2rem; line-height: 1; letter-spacing: -0.03em; }
.tbk-pass__stub small { font-size: .78rem; color: var(--slate); line-height: 1.35; }
.tbk-pass__stub .tbk-barcode { margin-top: auto; }
.tbk-pass__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.tbk-pass__brand { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.tbk-pass__group { font-family: var(--f-mono); font-size: .74rem; font-weight: 600; background: var(--navy); color: var(--white); padding: 3px 9px; border-radius: 3px; letter-spacing: .08em; }
.tbk-pass__route { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 14px; }
.tbk-pass__route strong { display: block; font-family: var(--f-head); font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1; letter-spacing: -0.03em; }
.tbk-pass__route small { display: block; font-size: .78rem; color: var(--slate); }
.tbk-pass__route > div:last-child { text-align: right; }
.tbk-pass__plane { width: 100%; height: 26px; fill: var(--plum); stroke: none; align-self: center; background: linear-gradient(90deg, var(--line) 0 0) center / 100% 2px no-repeat; }
.tbk-pass__rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; padding-top: 12px; border-top: 1px solid var(--line); }
.tbk-pass__rows dd { margin: 2px 0 0; font-family: var(--f-mono); font-weight: 600; font-size: 1.05rem; }

.tbk-barcode {
	display: block;
	height: 38px;
	width: 100%;
	background: repeating-linear-gradient(90deg,
		var(--navy) 0 2px, transparent 2px 4px,
		var(--navy) 4px 7px, transparent 7px 8px,
		var(--navy) 8px 9px, transparent 9px 12px,
		var(--navy) 12px 15px, transparent 15px 17px);
}

/* ---------- Hero ---------- */
.tbk-hero {
	position: relative;
	padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 100px);
	background:
		linear-gradient(90deg, transparent calc(50% - 1px), rgba(92,88,122,.18) calc(50% - 1px), rgba(92,88,122,.18) calc(50% + 1px), transparent calc(50% + 1px)) 0 0 / 100% 100%,
		var(--paper);
	overflow: hidden;
}
.tbk-hero::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 8px;
	background: repeating-linear-gradient(90deg, var(--navy) 0 28px, transparent 28px 44px);
	opacity: .9;
}
.tbk-hero__grid { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 0; }
.tbk-hero__copy { position: relative; z-index: 1; padding-right: 132px; min-width: 0; }
.tbk-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-family: var(--f-mono); font-size: .82rem; color: var(--slate); margin-bottom: 22px; }
.tbk-chip { border: 1.5px solid var(--navy); color: var(--navy); border-radius: 999px; padding: 2px 12px; font-weight: 500; }
.tbk-hero__title { margin-bottom: 22px; }
.tbk-flaps { display: flex; flex-wrap: wrap; gap: .14em; margin-bottom: .32em; perspective: 600px; }
.tbk-flap {
	display: inline-block;
	font-size: clamp(1.75rem, 6.6vw, 4.4rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--white);
	padding: .12em .2em .14em;
	border-radius: .14em;
	background:
		linear-gradient(to bottom, transparent calc(50% - 1px), rgba(0,0,0,.55) calc(50% - 1px), rgba(0,0,0,.55) calc(50% + 1px), transparent calc(50% + 1px)),
		linear-gradient(var(--ink) 50%, var(--navy) 50%);
	box-shadow: 0 3px 0 rgba(11,10,79,.25);
	transform-origin: 50% 50%;
	animation: tbk-flip .7s cubic-bezier(.3,1.4,.5,1) both;
}
.tbk-flap:nth-child(2) { animation-delay: .12s; color: var(--plum-lt); }
.tbk-flap:nth-child(3) { animation-delay: .24s; }
@keyframes tbk-flip {
	0% { transform: rotateX(-95deg); opacity: 0; }
	60% { opacity: 1; }
	100% { transform: rotateX(0); opacity: 1; }
}
.tbk-hero__rest { display: block; font-size: clamp(1.35rem, 2.6vw, 2.1rem); font-weight: 600; line-height: 1.18; max-width: 22ch; color: var(--ink); }
.tbk-hero__sub { font-size: 1.1rem; max-width: min(58ch, 100%); color: var(--ink); margin-bottom: 28px; }
.tbk-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }
.tbk-hero__visual { position: relative; z-index: 2; margin-left: -96px; min-width: 0; }
.tbk-hero__photo {
	position: relative;
	margin: 0 0 0 16%;
	aspect-ratio: 4 / 5;
	border: 2px solid var(--navy);
	border-radius: var(--r);
	overflow: hidden;
	background: var(--navy);
	box-shadow: 12px 12px 0 var(--plum);
}
.tbk-hero__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
.tbk-hero__photo::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(11,10,79,.18) 0%, transparent 35%, rgba(11,10,79,.45) 100%);
	pointer-events: none;
}
.tbk-hero__tag {
	position: absolute; top: 14px; right: 14px; z-index: 1;
	font-family: var(--f-mono); font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
	background: var(--navy); color: var(--white);
	padding: 5px 10px; border-radius: 4px;
}
.tbk-hero__tag span { color: var(--plum-lt); margin-right: 4px; }
.tbk-hero__pass {
	position: relative;
	width: 88%;
	margin-top: -34%;
	transform: rotate(-2.5deg);
	border: 2px solid var(--navy);
	z-index: 2;
}

/* ---------- Article ---------- */
.tbk-article { padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 6vw, 80px); background: var(--white); }
.tbk-band { margin: 0 auto clamp(40px, 6vw, 72px); }
.tbk-band--1 { max-width: 740px; }
.tbk-band--2 { max-width: 1040px; }
.tbk-band--3 { max-width: 1160px; }
.tbk-band h3 { margin-top: 1.4em; }
.tbk-band h2 + h3, .tbk-cols h3:first-child, .tbk-gate h3 { margin-top: 0; }
.tbk-lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--ink); }
.tbk-lead::first-letter {
	float: left;
	font-family: var(--f-head);
	font-weight: 700;
	font-size: 4.6em;
	line-height: .82;
	padding: .08em .14em .06em;
	margin: .06em .14em 0 0;
	background: var(--navy);
	color: var(--plum-lt);
	border-radius: 8px;
}
.tbk-cols { column-gap: 48px; }
.tbk-cols > * { break-inside: avoid; }
.tbk-band__note { font-size: .92rem; color: var(--slate); border-top: 1px dashed var(--line); padding-top: 14px; margin-top: 10px; }
.tbk-ticks { list-style: none; padding: 0; margin: 0 0 1.3em; }
.tbk-ticks li { position: relative; padding-left: 30px; margin-bottom: .55em; }
.tbk-ticks li::before {
	content: "";
	position: absolute;
	left: 0; top: .32em;
	width: 18px; height: 18px;
	border: 2px solid var(--navy);
	border-radius: 4px;
	background: linear-gradient(135deg, transparent 0 40%, var(--plum) 40% 60%, transparent 60%) center / 70% 70% no-repeat;
}

/* departures board pull quote */
.tbk-board {
	margin: 0 calc(50% - 50vw) clamp(48px, 7vw, 88px);
	padding: clamp(36px, 6vw, 72px) var(--gutter);
	background: var(--navy);
	color: var(--white);
	position: relative;
}
.tbk-board::before, .tbk-board::after {
	content: "";
	position: absolute; left: 0; right: 0; height: 6px;
	background: repeating-linear-gradient(90deg, var(--plum-hi) 0 18px, transparent 18px 30px);
}
.tbk-board::before { top: 0; }
.tbk-board::after { bottom: 0; }
.tbk-board > * { max-width: 1040px; margin-inline: auto; }
.tbk-board__head { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(197,193,220,.3); padding-bottom: 10px; }
.tbk-board__head .tbk-field { color: var(--mist); }
.tbk-board__quote { margin-block: 26px 30px; }
.tbk-board__quote p { font-family: var(--f-head); font-weight: 600; font-size: clamp(1.5rem, 3.6vw, 2.6rem); line-height: 1.2; letter-spacing: -0.02em; margin: 0; max-width: 30ch; }
.tbk-board__rows { display: grid; gap: 8px; }
.tbk-board__rows > div { display: grid; grid-template-columns: 80px 1fr auto; gap: 10px; font-family: var(--f-mono); font-size: .95rem; }
.tbk-board__rows span {
	padding: 8px 12px;
	background:
		linear-gradient(to bottom, transparent calc(50% - .5px), rgba(0,0,0,.6) calc(50% - .5px), rgba(0,0,0,.6) calc(50% + .5px), transparent calc(50% + .5px)),
		linear-gradient(#23206A 50%, var(--ink) 50%);
	border-radius: 4px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tbk-board__ok { color: #ADA8EE; }
.tbk-board__go { color: var(--plum-lt); }

/* gates band */
.tbk-gates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tbk-gate {
	position: relative;
	padding: 26px 24px 22px;
	background: var(--paper);
	border-radius: var(--r);
	border-top: 6px solid var(--navy);
}
.tbk-gate:nth-child(2) { border-top-color: var(--plum); }
.tbk-gate p { margin: 0; font-size: 1rem; }
.tbk-gate__id { display: inline-block; font-family: var(--f-mono); font-weight: 600; font-size: .8rem; background: var(--navy); color: var(--white); padding: 3px 10px; border-radius: 3px; margin-bottom: 14px; letter-spacing: .06em; }

.tbk-callout {
	position: relative;
	overflow: hidden;
	margin: 30px 0 0;
	padding: 24px 26px 24px 26px;
	background: var(--navy);
	color: var(--white);
	border-radius: var(--r);
	border-left: 8px solid var(--plum-hi);
}
.tbk-callout p { margin: 0; position: relative; }
.tbk-callout strong { color: var(--plum-lt); }
.tbk-callout__mark { position: absolute; right: -14px; bottom: -22px; width: 130px; height: 130px; fill: none; stroke: var(--white); stroke-width: 1.4; opacity: .08; }
.tbk-inline-cta { margin: 28px 0 44px; clear: both; }

/* ---------- Photo treatments ---------- */
.tbk-board { overflow: hidden; }
.tbk-board > .tbk-board__bg {
	position: absolute; inset: 0;
	width: 100%; height: 100%; max-width: none; margin: 0;
	object-fit: cover; object-position: 50% 40%;
	opacity: .26;
	z-index: 0;
}
.tbk-board::before, .tbk-board::after { z-index: 1; }
.tbk-board > :not(.tbk-board__bg) { position: relative; z-index: 1; }

.tbk-strip {
	position: relative;
	margin: 0 0 24px;
	aspect-ratio: 21 / 8;
	border: 2px solid var(--navy);
	border-radius: var(--r);
	overflow: hidden;
	background: var(--navy);
}
.tbk-strip img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 70% 62%; }
.tbk-strip__tag {
	position: absolute; left: 16px; bottom: 16px;
	font-family: var(--f-mono); font-weight: 600; font-size: .9rem; letter-spacing: .08em;
	background: var(--navy); color: var(--white);
	padding: 6px 12px; border-radius: 4px;
}
.tbk-strip__tag span { color: var(--plum-lt); margin-right: 6px; text-transform: uppercase; }

.tbk-photopass {
	--stubw: 150px;
	display: grid;
	grid-template-columns: 1fr var(--stubw);
	margin: 0 0 32px;
	border-radius: var(--r);
	overflow: hidden;
	background: var(--navy);
	-webkit-mask:
		radial-gradient(circle var(--notch) at calc(100% - var(--stubw)) 0, #0000 98%, #000) top / 100% 51% no-repeat,
		radial-gradient(circle var(--notch) at calc(100% - var(--stubw)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
	mask:
		radial-gradient(circle var(--notch) at calc(100% - var(--stubw)) 0, #0000 98%, #000) top / 100% 51% no-repeat,
		radial-gradient(circle var(--notch) at calc(100% - var(--stubw)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
}
.tbk-photopass img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 45%; }
.tbk-photopass__stub {
	display: flex; flex-direction: column; gap: 4px;
	padding: 20px 18px;
	background: var(--plum-tint); color: var(--navy);
	border-left: 2px dashed var(--navy);
}
.tbk-photopass__stub .tbk-field, .tbk-photopass__stub small { color: var(--navy); }
.tbk-photopass__stub strong { font-family: var(--f-head); font-size: 2.6rem; line-height: 1; letter-spacing: -0.03em; }
.tbk-photopass__stub small { font-size: .8rem; }
.tbk-photopass__stub .tbk-barcode { margin-top: auto; }

.tbk-window {
	float: right;
	width: 230px;
	margin: 6px 0 18px 30px;
	aspect-ratio: 4 / 5;
	border-radius: 46% / 38%;
	overflow: hidden;
	background: var(--navy);
	border: 6px solid var(--navy);
	box-shadow: 0 0 0 3px var(--plum);
}
.tbk-window img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(1.18); }

.tbk-who__head { display: grid; grid-template-columns: 1fr 280px; gap: 40px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.tbk-who__head .tbk-sec__head { margin-bottom: 0; }
.tbk-who__photo {
	position: relative;
	margin: 0;
	aspect-ratio: 4 / 5;
	border-radius: var(--r);
	overflow: hidden;
	border: 2px solid rgba(197,193,220,.45);
	transform: rotate(-2deg);
	background: var(--navy);
}
.tbk-who__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.tbk-who__tag {
	position: absolute; left: 12px; top: 12px;
	font-family: var(--f-mono); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
	background: var(--plum); color: var(--white);
	padding: 4px 10px; border-radius: 4px;
}

.tbk-final { overflow: hidden; }
.tbk-final > .tbk-final__bg {
	position: absolute; inset: 0;
	width: 100%; height: 100%; max-width: none;
	object-fit: cover; object-position: 50% 55%;
	opacity: .42;
	z-index: 0;
}
.tbk-final > .tbk-wrap { position: relative; z-index: 2; }

/* ---------- Generic sections ---------- */
.tbk-sec { padding: clamp(56px, 8vw, 104px) 0; }
.tbk-sec__head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.tbk-sec__head p { color: var(--slate); font-size: 1.08rem; margin: 0; }
.tbk-sec__cta { margin: 44px 0 0; }
.tbk-ico { width: 30px; height: 30px; fill: none; stroke: var(--plum-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Features: ticket stubs ---------- */
.tbk-features { background: var(--paper); }
.tbk-stubs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 26px; padding-bottom: 48px; }
.tbk-stub {
	--stubw: 76px;
	position: relative;
	display: grid;
	grid-template-columns: 1fr var(--stubw);
	background: var(--white);
	border-radius: var(--r);
	-webkit-mask:
		radial-gradient(circle var(--notch) at calc(100% - var(--stubw)) 0, #0000 98%, #000) top / 100% 51% no-repeat,
		radial-gradient(circle var(--notch) at calc(100% - var(--stubw)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
	mask:
		radial-gradient(circle var(--notch) at calc(100% - var(--stubw)) 0, #0000 98%, #000) top / 100% 51% no-repeat,
		radial-gradient(circle var(--notch) at calc(100% - var(--stubw)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
}
.tbk-stubs .tbk-stub:nth-child(3n+2) { transform: translateY(48px); }
.tbk-stub__main { padding: 26px 22px 24px 24px; min-width: 0; }
.tbk-stub__main h3 { margin: 16px 0 8px; }
.tbk-stub__main p { margin: 0; font-size: .98rem; color: var(--ink); }
.tbk-stub__side {
	position: relative;
	overflow: hidden;
	border-left: 2px dashed var(--line);
	background: var(--navy);
	display: flex;
	align-items: center;
	justify-content: center;
}
.tbk-stub__side::after {
	content: "";
	position: absolute; left: 14px; right: 14px; bottom: 16px; height: 26px;
	background: repeating-linear-gradient(90deg, var(--white) 0 2px, transparent 2px 4px, var(--white) 4px 6px, transparent 6px 9px);
	opacity: .5;
}
.tbk-stub__wm { width: 54px; height: 54px; fill: none; stroke: var(--plum-lt); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-12deg); opacity: .9; }
.tbk-stub:nth-child(even) .tbk-stub__side { background: var(--plum-tint); }
.tbk-stub:nth-child(even) .tbk-stub__wm { stroke: var(--navy); }
.tbk-stub:nth-child(even) .tbk-stub__side::after { background: repeating-linear-gradient(90deg, var(--navy) 0 2px, transparent 2px 4px, var(--navy) 4px 6px, transparent 6px 9px); }

/* ---------- How it works: flight path ---------- */
.tbk-how { background: var(--white); }
.tbk-path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; position: relative; }
.tbk-path::before {
	content: "";
	position: absolute;
	top: 31px; left: 32px; right: 32px;
	border-top: 3px dashed var(--slate);
}
.tbk-path__step { position: relative; }
.tbk-path__node {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px; height: 64px;
	border-radius: 50%;
	background: var(--white);
	border: 3px solid var(--navy);
	margin-bottom: 18px;
}
.tbk-path__node svg { width: 28px; height: 28px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tbk-path__node--end { background: var(--plum); }
.tbk-path__node--end svg { fill: var(--white); stroke: none; }
.tbk-path__num { display: block; font-family: var(--f-mono); font-size: .8rem; font-weight: 600; color: var(--plum-ink); margin-bottom: 4px; }
.tbk-path__step h3 { margin-bottom: 6px; }
.tbk-path__step p { margin: 0; font-size: .98rem; color: var(--ink); }

/* ---------- Who it's for: boarding groups ---------- */
.tbk-who { background: var(--ink); color: var(--white); }
.tbk-who h2, .tbk-who h3 { color: var(--white); }
.tbk-who .tbk-sec__head p { color: var(--mist); }
.tbk-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tbk-group {
	position: relative;
	overflow: hidden;
	padding: 24px 24px 26px;
	border: 1.5px solid rgba(197,193,220,.35);
	border-radius: var(--r);
	background: var(--navy);
}
.tbk-group__tag { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px dashed rgba(197,193,220,.35); padding-bottom: 12px; margin-bottom: 18px; }
.tbk-group__tag .tbk-field { color: var(--mist); }
.tbk-group__tag strong { font-family: var(--f-head); font-size: 1.5rem; line-height: 1; width: 42px; height: 42px; display: grid; place-items: center; background: var(--plum-lt); color: var(--navy); border-radius: 6px; }
.tbk-group .tbk-ico { stroke: var(--plum-lt); }
.tbk-group h3 { margin: 12px 0 8px; }
.tbk-group p { margin: 0; color: #E2DFF0; font-size: .98rem; position: relative; }
.tbk-group__wm { position: absolute; right: -24px; bottom: -28px; width: 150px; height: 150px; fill: none; stroke: var(--white); stroke-width: 1.2; opacity: .06; }

/* ---------- FAQ ---------- */
.tbk-faq { background: var(--paper); }
.tbk-faq__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 22px; align-items: start; }
.tbk-q { background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; }
.tbk-q[open] { border-color: var(--navy); }
.tbk-q summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
	padding: 18px 20px;
	font-family: var(--f-head);
	font-weight: 600;
	font-size: 1.06rem;
	line-height: 1.35;
}
.tbk-q summary::-webkit-details-marker { display: none; }
.tbk-q summary::after {
	content: "+";
	flex-shrink: 0;
	width: 28px; height: 28px;
	display: grid; place-items: center;
	font-family: var(--f-mono);
	font-weight: 600;
	background: var(--navy);
	color: var(--white);
	border-radius: 4px;
}
.tbk-q[open] summary::after { content: "\2212"; background: var(--plum); color: var(--white); }
.tbk-q summary:focus-visible { outline-offset: -3px; }
.tbk-q p { margin: 0; padding: 0 20px 20px; color: var(--ink); font-size: 1rem; }

/* ---------- Final CTA ---------- */
.tbk-final { background: var(--navy); padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.tbk-final::before {
	content: "";
	position: absolute; inset: 0;
	background:
		radial-gradient(circle at 85% 20%, rgba(168,56,156,.28), transparent 45%),
		linear-gradient(180deg, rgba(11,10,79,.55) 0%, rgba(11,10,79,.78) 100%);
	pointer-events: none;
	z-index: 1;
}
.tbk-pass--giant { --stubw: 220px; --notch: 18px; max-width: 1060px; margin-inline: auto; }
.tbk-pass--giant .tbk-pass__main { padding: clamp(28px, 4vw, 52px); }
.tbk-pass--giant .tbk-pass__stub { padding: 40px 28px; background: var(--plum-tint); border-left-color: var(--navy); }
.tbk-pass--giant .tbk-pass__stub .tbk-field, .tbk-pass--giant .tbk-pass__stub small { color: var(--navy); }
.tbk-pass--giant .tbk-pass__stub strong { font-size: 4.4rem; }
.tbk-final__title { font-size: clamp(1.9rem, 4.4vw, 3.4rem); max-width: 18ch; margin-top: 8px; }
.tbk-final__sub { font-size: 1.12rem; color: var(--ink); max-width: 52ch; }
.tbk-final__action { margin: 28px 0 22px; }
.tbk-disclaimer { font-size: .84rem; line-height: 1.6; color: var(--slate); margin: 0; max-width: 72ch; border-top: 1px dashed var(--line); padding-top: 18px; }
.tbk-disclaimer a { color: var(--navy); font-weight: 600; }

/* ---------- Inner pages ---------- */
.tbk-page__head { background: var(--navy); color: var(--white); padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 60px); position: relative; }
.tbk-page__head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--plum-hi) 0 18px, transparent 18px 30px); }
.tbk-page__headin { max-width: 860px; }
.tbk-page__crumb { display: block; font-family: var(--f-mono); font-size: .8rem; color: var(--mist); margin-bottom: 12px; letter-spacing: .04em; }
.tbk-page__head .tbk-page__title { color: var(--white); margin: 0; font-size: clamp(2rem, 5vw, 3.4rem); }
.tbk-page__body { max-width: 860px; padding-block: clamp(36px, 6vw, 72px); }
.tbk-prose { max-width: 720px; }
.tbk-prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin-top: 1.6em; }
.tbk-prose h3 { margin-top: 1.4em; }
.tbk-prose li { margin-bottom: .4em; }
.tbk-updated { font-family: var(--f-mono); font-size: .85rem; color: var(--slate); }
.tbk-intro { font-size: 1.18rem; color: var(--ink); }
.tbk-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 28px 0; }
.tbk-card { background: var(--white); border: 1.5px solid var(--line); border-top: 5px solid var(--navy); border-radius: 12px; padding: 20px 22px; }
.tbk-card:nth-child(even) { border-top-color: var(--plum); }
.tbk-card h3, .tbk-card h2 { margin-top: 0; font-size: 1.15rem; }
.tbk-card p:last-child { margin-bottom: 0; }
.tbk-facts { display: grid; grid-template-columns: 150px 1fr; gap: 10px 18px; margin: 0; padding: 22px 24px; background: var(--white); border-radius: 12px; border: 1.5px dashed var(--slate); }
.tbk-facts dt { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); padding-top: 3px; }
.tbk-facts dd { margin: 0; font-weight: 500; }
.tbk-map { margin: 28px 0 0; border-radius: 14px; overflow: hidden; border: 2px solid var(--navy); line-height: 0; }
.tbk-map iframe { width: 100%; height: 380px; border: 0; display: block; }
.tbk-note { background: var(--navy); color: var(--white); border-left: 8px solid var(--plum-hi); border-radius: 12px; padding: 20px 24px; margin: 28px 0; }
.tbk-note p:last-child { margin-bottom: 0; }
.tbk-note a { color: var(--plum-lt); }

/* 404 */
.tbk-404 { padding-block: clamp(56px, 9vw, 120px); }
.tbk-404 .tbk-stub { max-width: 720px; margin-inline: auto; --stubw: 140px; }
.tbk-404 .tbk-stub__main { padding: 36px; }
.tbk-404 .tbk-stub__side span { font-family: var(--f-head); font-weight: 700; font-size: 2.6rem; color: var(--plum-lt); transform: rotate(-90deg); }

/* ---------- Footer ---------- */
.tbk-footer { background: var(--lav); color: var(--ink); border-top: 1px solid var(--line); font-size: .95rem; }
.tbk-footer__barcode { height: 10px; background: repeating-linear-gradient(90deg, var(--plum) 0 3px, transparent 3px 6px, var(--plum) 6px 7px, transparent 7px 11px, var(--plum) 11px 15px, transparent 15px 18px); }
.tbk-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; padding-block: 52px 36px; }
.tbk-footer__logo img { height: 44px; width: auto; }
.tbk-footer__note { color: var(--slate); margin-top: 14px; max-width: 36ch; }
.tbk-footer__links { display: flex; flex-direction: column; gap: 8px; }
.tbk-footer a { color: var(--navy); text-decoration: none; }
.tbk-footer a:hover { color: var(--plum-ink); text-decoration: underline; }
.tbk-footer :focus-visible { outline-color: var(--navy); }
.tbk-footer__label { display: block; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin-bottom: 6px; }
.tbk-footer__op strong { color: var(--navy); font-family: var(--f-head); font-size: 1.1rem; }
.tbk-footer__copy { border-top: 1px solid var(--line); padding-block: 18px 26px; }
.tbk-footer__copy p { margin: 0; color: var(--slate); font-size: .86rem; }

/* Dark-background focus */
.tbk-who :focus-visible, .tbk-board :focus-visible, .tbk-final :focus-visible, .tbk-topbar :focus-visible { outline-color: var(--plum-lt); }

/* ---------- Responsive ---------- */
@media (min-width: 900px) {
	.tbk-cols { column-count: 2; }
}
@media (max-width: 1180px) and (min-width: 961px) {
	.tbk-hero__copy { padding-right: 76px; }
	.tbk-hero__visual { margin-left: -40px; }
	.tbk-flap { font-size: clamp(1.75rem, 5.4vw, 4.4rem); }
}
@media (max-width: 1080px) {
	.tbk-path { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
	.tbk-path::before { display: none; }
}
@media (max-width: 960px) {
	.tbk-hero__grid { grid-template-columns: 1fr; }
	.tbk-hero__copy { padding-right: 0; }
	.tbk-hero__visual { margin: 44px auto 0; max-width: 620px; width: 100%; }
	.tbk-hero__photo { margin: 0; aspect-ratio: 4 / 3; box-shadow: 8px 8px 0 var(--plum); }
	.tbk-hero__pass { width: calc(100% - 32px); margin: -72px 0 0 16px; transform: rotate(1.5deg); }
	.tbk-who__head { grid-template-columns: 1fr; gap: 28px; }
	.tbk-who__photo { aspect-ratio: 16 / 9; transform: none; }
	.tbk-who__photo img { object-position: 50% 55%; }
	.tbk-strip { aspect-ratio: 16 / 8; }
	.tbk-hero { background: var(--paper); }
	.tbk-stubs, .tbk-groups { grid-template-columns: repeat(2, 1fr); }
	.tbk-stubs .tbk-stub:nth-child(3n+2) { transform: none; }
	.tbk-stubs .tbk-stub:nth-child(even) { transform: translateY(36px); }
	.tbk-gates { grid-template-columns: 1fr; }
	.tbk-footer__grid { grid-template-columns: 1fr 1fr; }
	.tbk-footer__brand { grid-column: 1 / -1; }
	.tbk-pass--giant { --stubw: 160px; }
}
@media (max-width: 680px) {
	body { font-size: 1rem; }
	.tbk-topbar__txt { font-size: .76rem; }
	.tbk-header__in { min-height: 72px; }
	.tbk-logo img { height: 40px; }
	.tbk-stubs, .tbk-groups, .tbk-faq__grid, .tbk-cards { grid-template-columns: 1fr; }
	.tbk-stubs { padding-bottom: 0; }
	.tbk-stubs .tbk-stub:nth-child(even) { transform: none; }
	.tbk-path { grid-template-columns: 1fr; row-gap: 26px; padding-left: 0; }
	.tbk-path::before { display: block; top: 32px; bottom: 32px; left: 31px; right: auto; border-top: 0; border-left: 3px dashed var(--slate); }
	.tbk-path__step { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; }
	.tbk-path__node { grid-row: 1 / span 3; margin: 0; }
	.tbk-board__rows > div { grid-template-columns: 54px 1fr auto; font-size: .82rem; gap: 6px; }
	.tbk-board__rows span { padding: 7px 8px; }
	.tbk-facts { grid-template-columns: 1fr; gap: 2px; }
	.tbk-facts dd { margin-bottom: 10px; }
	.tbk-map iframe { height: 300px; }
	.tbk-footer__grid { grid-template-columns: 1fr; }

	/* Stack passes: tear line becomes horizontal */
	.tbk-pass {
		--stubh: 118px;
		grid-template-columns: 1fr;
		grid-template-rows: 1fr var(--stubh);
		-webkit-mask:
			radial-gradient(circle var(--notch) at 0 calc(100% - var(--stubh)), #0000 98%, #000) left / 51% 100% no-repeat,
			radial-gradient(circle var(--notch) at 100% calc(100% - var(--stubh)), #0000 98%, #000) right / 51% 100% no-repeat;
		mask:
			radial-gradient(circle var(--notch) at 0 calc(100% - var(--stubh)), #0000 98%, #000) left / 51% 100% no-repeat,
			radial-gradient(circle var(--notch) at 100% calc(100% - var(--stubh)), #0000 98%, #000) right / 51% 100% no-repeat;
	}
	.tbk-pass__stub, .tbk-pass--giant .tbk-pass__stub {
		border-left: 0;
		border-top: 2px dashed var(--line);
		display: grid;
		grid-template-columns: auto 1fr;
		grid-template-rows: auto auto 1fr;
		column-gap: 18px;
		padding: 16px 20px;
	}
	.tbk-pass--giant .tbk-pass__stub { border-top-color: var(--navy); }
	.tbk-pass__stub .tbk-field { grid-column: 1; }
	.tbk-pass__stub strong, .tbk-pass--giant .tbk-pass__stub strong { grid-column: 1; font-size: 2rem; }
	.tbk-pass__stub small { grid-column: 1; }
	.tbk-pass__stub .tbk-barcode { grid-column: 2; grid-row: 1 / span 3; height: 100%; margin: 0; }
	.tbk-pass__main { padding: 18px; }
	.tbk-pass__route { gap: 8px; }
	.tbk-hero__pass { transform: none; width: calc(100% - 20px); margin: -48px 0 0 10px; }
	.tbk-hero__photo { box-shadow: 6px 6px 0 var(--plum); }
	.tbk-hero__tag { top: 10px; right: 10px; font-size: .7rem; }
	.tbk-strip { aspect-ratio: 4 / 3; }
	.tbk-strip__tag { left: 10px; bottom: 10px; font-size: .8rem; }
	.tbk-photopass { --stubw: 96px; }
	.tbk-photopass img { aspect-ratio: 4 / 3; }
	.tbk-photopass__stub { padding: 14px 12px; }
	.tbk-photopass__stub strong { font-size: 1.9rem; }
	.tbk-window { float: none; width: min(240px, 78%); margin: 4px auto 24px; }
	.tbk-who__photo { aspect-ratio: 4 / 3; }
}
@media (max-width: 420px) {
	.tbk-topbar__txt { display: none; }
	.tbk-btn--sm { padding: .5em .8em; font-size: .88rem; }
	.tbk-logo img { height: 34px; }
	.tbk-pass__rows dd { font-size: .92rem; }
}

/* =========================================================
   Blog: Gate Notes (ticket-stub cards, post template)
   ========================================================= */
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Ticket card */
.tbk-tix {
	--tix-bg: var(--paper);
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: var(--white);
	border-radius: var(--r);
	overflow: hidden;
	box-shadow: 0 0 0 1.5px var(--line), 0 22px 34px -28px rgba(11,10,79,.55);
	transition: transform .2s ease, box-shadow .2s ease;
}
.tbk-tix:hover { transform: translateY(-4px); box-shadow: 0 0 0 1.5px var(--navy), 0 26px 36px -26px rgba(11,10,79,.6); }
.tbk-tix__photo {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--navy);
}
.tbk-tix__photo img {
	position: absolute; inset: 0;
	display: block;
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}
.tbk-tix:hover .tbk-tix__photo img { transform: scale(1.04); }
.tbk-tix__photo::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(11,10,79,.28) 0%, transparent 38%, transparent 70%, rgba(11,10,79,.3) 100%);
	pointer-events: none;
}
.tbk-tix__cat {
	position: absolute; left: 14px; top: 14px; z-index: 1;
	font-family: var(--f-mono); font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
	background: var(--plum); color: var(--white);
	padding: 4px 10px; border-radius: 4px;
}
.tbk-tix__perf {
	position: relative;
	flex: 0 0 auto;
	height: 0;
	margin: 0 20px;
	border-top: 2px dashed var(--line);
}
.tbk-tix__perf::before, .tbk-tix__perf::after {
	content: "";
	position: absolute;
	top: -12px;
	width: 22px; height: 22px;
	border-radius: 50%;
	background: var(--tix-bg);
	box-shadow: inset 0 0 0 1.5px var(--line);
}
.tbk-tix__perf::before { left: -31px; }
.tbk-tix__perf::after { right: -31px; }
.tbk-tix__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 20px 22px 18px; min-width: 0; }
.tbk-tix__meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; margin-bottom: 10px; }
.tbk-tix__date { font-family: var(--f-mono); font-size: .8rem; font-weight: 500; color: var(--slate); }
.tbk-tix__title { font-size: clamp(1.15rem, 1.6vw, 1.32rem); line-height: 1.22; margin: 0 0 10px; }
.tbk-tix__title a { color: var(--navy); text-decoration: none; }
.tbk-tix__title a:hover { color: var(--plum-ink); text-decoration: underline; }
.tbk-tix__excerpt { margin: 0 0 18px; font-size: .97rem; color: var(--ink); }
.tbk-tix__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.tbk-tix__more { font-family: var(--f-head); font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 3px solid var(--plum); padding-bottom: 2px; line-height: 1.3; }
.tbk-tix__more:hover { color: var(--plum-ink); }
.tbk-tix__code { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; width: 92px; flex-shrink: 0; }
.tbk-tix__code .tbk-barcode { height: 22px; opacity: .85; }
.tbk-tix__code small { font-family: var(--f-mono); font-size: .7rem; color: var(--slate); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }

/* Card grids */
.tbk-tixgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 26px; align-items: stretch; }
.tbk-tixgrid--2, .tbk-tixgrid--index { grid-template-columns: repeat(2, 1fr); }
.tbk-tixgrid--3 { padding-bottom: 30px; }
.tbk-tixgrid--3 .tbk-tix:nth-child(3n+2) { transform: translateY(30px); }
.tbk-tixgrid--3 .tbk-tix:nth-child(3n+2):hover { transform: translateY(26px); }

/* Lead ticket: horizontal with a vertical tear line */
@media (min-width: 681px) {
	.tbk-tix--lead { grid-column: 1 / -1; flex-direction: row; }
	.tbk-tix--lead .tbk-tix__photo { flex: 0 0 56%; aspect-ratio: auto; min-height: 380px; }
	.tbk-tix--lead .tbk-tix__perf { width: 0; height: auto; margin: 20px 0; border-top: 0; border-left: 2px dashed var(--line); }
	.tbk-tix--lead .tbk-tix__perf::before { top: -31px; left: -12px; }
	.tbk-tix--lead .tbk-tix__perf::after { top: auto; bottom: -31px; right: auto; left: -12px; }
	.tbk-tix--lead .tbk-tix__body { justify-content: center; padding: clamp(26px, 3.4vw, 44px); }
	.tbk-tix--lead .tbk-tix__title { font-size: clamp(1.5rem, 2.6vw, 2.15rem); line-height: 1.12; margin-bottom: 14px; }
	.tbk-tix--lead .tbk-tix__excerpt { font-size: 1.06rem; }
	.tbk-tix--lead .tbk-tix__foot { margin-top: 10px; }
}

/* Blog index header */
.tbk-blog__head { padding-bottom: clamp(44px, 6vw, 72px); }
.tbk-blog__headin { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: end; }
.tbk-blog__head .tbk-page__title { font-size: clamp(2.4rem, 7vw, 4.6rem); }
.tbk-blog__intro { color: #E2DFF0; font-size: 1.12rem; max-width: 56ch; margin: 16px 0 0; }
.tbk-blog__board { display: grid; gap: 8px; padding: 16px; border: 1.5px solid rgba(197,193,220,.3); border-radius: 12px; }
.tbk-blog__board .tbk-field { color: var(--mist); margin-bottom: 4px; }
.tbk-blog__row { display: grid; grid-template-columns: 52px 1fr; gap: 8px; font-family: var(--f-mono); font-size: .9rem; }
.tbk-blog__row > * {
	padding: 7px 10px;
	border-radius: 4px;
	background:
		linear-gradient(to bottom, transparent calc(50% - .5px), rgba(0,0,0,.6) calc(50% - .5px), rgba(0,0,0,.6) calc(50% + .5px), transparent calc(50% + .5px)),
		linear-gradient(#23206A 50%, var(--ink) 50%);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tbk-blog__row b { color: var(--plum-lt); font-weight: 600; text-align: center; }
.tbk-blog__list { background: var(--paper); }
.tbk-blog__empty { max-width: 620px; padding: 28px; background: var(--white); border: 1.5px dashed var(--slate); border-radius: 12px; }
.tbk-blog__empty p { margin: 0; }

/* Pagination */
.tbk-pager { margin-top: 56px; }
.tbk-pager .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tbk-pager .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; min-height: 44px; padding: 0 14px;
	font-family: var(--f-mono); font-weight: 600; font-size: .92rem;
	color: var(--navy); background: var(--white);
	border: 2px solid var(--navy); border-radius: 8px;
	text-decoration: none;
}
.tbk-pager a.page-numbers:hover { background: var(--plum); color: var(--white); }
.tbk-pager .page-numbers.current { background: var(--navy); color: var(--white); }
.tbk-pager .page-numbers.dots { border-color: transparent; background: transparent; }

/* "From the blog" / "More from the blog" strips */
.tbk-blogstrip { background: var(--paper); }
.tbk-blogstrip__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-bottom: clamp(28px, 4vw, 44px); padding-bottom: 16px; border-bottom: 2px solid var(--navy); }
.tbk-blogstrip__head h2 { margin: 6px 0 0; }
.tbk-blogstrip__head .tbk-field { color: var(--plum-ink); }

/* Single post */
.tbk-post { background: var(--white); }
.tbk-post__head { padding-bottom: clamp(84px, 10vw, 136px); }
.tbk-post__headin { max-width: 980px; }
.tbk-page__crumb a { color: var(--mist); text-decoration: underline; text-decoration-color: rgba(197,193,220,.5); }
.tbk-page__crumb a:hover { color: var(--plum-lt); }
.tbk-post__head :focus-visible { outline-color: var(--plum-lt); }
.tbk-post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 18px; font-family: var(--f-mono); font-size: .84rem; color: var(--mist); }
.tbk-post__cat { background: var(--plum); color: var(--white); padding: 3px 10px; border-radius: 3px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .76rem; }
.tbk-post__dot { color: var(--plum-lt); }
.tbk-post__head .tbk-post__title { font-size: clamp(2rem, 5vw, 3.5rem); max-width: 22ch; }
.tbk-post__herowrap { position: relative; z-index: 1; margin-top: calc(-1 * clamp(60px, 7.5vw, 104px)); }
.tbk-post__hero { max-width: 1100px; margin: 0 auto; }
.tbk-post__hero img { aspect-ratio: 16 / 9; height: auto; }
.tbk-post__wrap { max-width: 820px; padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px); }

/* Post body typography */
.entry-content { font-size: 1.09rem; line-height: 1.75; color: var(--navy); }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-content > :first-child { margin-top: 0; }
.entry-content p { margin: 0 0 1.15em; }
.entry-content a { color: var(--plum-ink); font-weight: 500; }
.entry-content h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin: 1.9em 0 .55em; }
.entry-content h2::before {
	content: "";
	display: block;
	width: 52px; height: 6px;
	margin-bottom: 14px;
	background: repeating-linear-gradient(90deg, var(--plum) 0 12px, transparent 12px 18px);
}
.entry-content h3 { font-size: clamp(1.15rem, 1.8vw, 1.32rem); margin: 1.6em 0 .45em; }
.entry-content h2 + h3 { margin-top: .6em; }
.entry-content ul:not(.tbk-ticks) { padding-left: 1.3em; margin: 0 0 1.3em; }
.entry-content li { margin-bottom: .5em; }
.entry-content ol { list-style: none; counter-reset: tbk-step; padding: 0; margin: 0 0 1.4em; }
.entry-content ol > li { counter-increment: tbk-step; position: relative; padding: 2px 0 0 52px; margin-bottom: .8em; min-height: 32px; }
.entry-content ol > li::before {
	content: counter(tbk-step, decimal-leading-zero);
	position: absolute; left: 0; top: 2px;
	width: 38px; height: 28px;
	display: grid; place-items: center;
	font-family: var(--f-mono); font-size: .8rem; font-weight: 600;
	background: var(--navy); color: var(--white);
	border-radius: 4px;
}
.tbk-post-lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.62; color: var(--ink); }
.tbk-post-lead::first-letter {
	float: left;
	font-family: var(--f-head);
	font-weight: 700;
	font-size: 4.4em;
	line-height: .82;
	padding: .08em .14em .06em;
	margin: .06em .14em 0 0;
	background: var(--navy);
	color: var(--plum-lt);
	border-radius: 8px;
}
.entry-content .tbk-callout { margin: 0 0 1.6em; clear: both; }
.entry-content .tbk-callout a { color: var(--plum-lt); }
.tbk-post-quote {
	position: relative;
	clear: both;
	margin: 2.4em 0 0;
	padding: 26px 28px 26px 30px;
	background: var(--navy);
	color: var(--white);
	border-radius: var(--r);
	border-left: 8px solid var(--plum-hi);
	overflow: hidden;
}
.tbk-post-quote::after {
	content: "";
	position: absolute; right: 18px; top: 18px;
	width: 70px; height: 20px;
	background: repeating-linear-gradient(90deg, var(--white) 0 2px, transparent 2px 4px, var(--white) 4px 6px, transparent 6px 9px);
	opacity: .18;
}
.tbk-post-quote p { margin: 0; font-family: var(--f-head); font-weight: 600; font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.4; position: relative; }

/* Inline figure (deployer adds class "tbk-post-fig" [+ "tbk-post-fig--tall"]) */
.tbk-post-fig {
	margin: 2em 0;
	border: 2px solid var(--navy);
	border-radius: var(--r);
	overflow: hidden;
	background: var(--navy);
	box-shadow: 8px 8px 0 var(--plum);
}
.tbk-post-fig img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.tbk-post-fig figcaption { padding: 10px 14px; font-family: var(--f-mono); font-size: .78rem; color: var(--mist); }
.tbk-post-fig--tall { float: right; width: 42%; margin: .4em 0 1.4em 30px; transform: rotate(1.5deg); }
.tbk-post-fig--tall img { aspect-ratio: 4 / 5; }

/* Embedded YouTube video (boarding-pass frame, matches .tbk-post-fig) */
.post-video {
	clear: both;
	width: calc(100% - 8px);
	max-width: 100%;
	margin: 2.2em 0;
	border: 2px solid var(--navy);
	border-radius: var(--r);
	overflow: hidden;
	background: var(--navy);
	box-shadow: 8px 8px 0 var(--plum);
}
.post-video__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--ink); }
.post-video__frame iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.post-video figcaption {
	padding: 10px 14px;
	border-top: 2px dashed var(--slate);
	font-family: var(--f-mono);
	font-size: .78rem;
	line-height: 1.5;
	color: var(--mist);
	overflow-wrap: anywhere;
}
@media (max-width: 680px) {
	.post-video { width: calc(100% - 6px); margin: 1.8em 0; box-shadow: 6px 6px 0 var(--plum); }
	.post-video figcaption { padding: 9px 12px; font-size: .74rem; }
}

/* Post CTA ticket */
.tbk-post__cta { --stubw: 150px; margin-top: 56px; border: 2px solid var(--navy); clear: both; }
.tbk-post__cta .tbk-pass__main { padding: clamp(22px, 3vw, 32px); }
.tbk-post__cta .tbk-pass__stub { background: var(--plum-tint); border-left-color: var(--navy); }
.tbk-post__cta .tbk-pass__stub .tbk-field, .tbk-post__cta .tbk-pass__stub small { color: var(--navy); }
.tbk-post__ctatitle { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 8px; }
.tbk-post__ctasub { color: var(--ink); margin: 0 0 20px; max-width: 52ch; }
.tbk-post__ctaaction { margin: 0; }
.tbk-post__disclaimer { margin-top: 22px; }

@media (max-width: 960px) {
	.tbk-tixgrid--3 { grid-template-columns: repeat(2, 1fr); padding-bottom: 0; }
	.tbk-tixgrid--3 .tbk-tix:nth-child(3n+2) { transform: none; }
	.tbk-tixgrid--3 .tbk-tix:nth-child(3n+2):hover { transform: translateY(-4px); }
	.tbk-tixgrid--3 .tbk-tix:nth-child(3):last-child { grid-column: 1 / -1; }
	.tbk-blog__headin { grid-template-columns: 1fr; gap: 28px; }
	.tbk-blog__board { max-width: 440px; }
}
@media (max-width: 960px) and (min-width: 681px) {
	.tbk-tixgrid--3 .tbk-tix:nth-child(3):last-child { flex-direction: row; }
	.tbk-tixgrid--3 .tbk-tix:nth-child(3):last-child .tbk-tix__photo { flex: 0 0 50%; aspect-ratio: auto; min-height: 300px; }
	.tbk-tixgrid--3 .tbk-tix:nth-child(3):last-child .tbk-tix__perf { width: 0; height: auto; margin: 20px 0; border-top: 0; border-left: 2px dashed var(--line); }
	.tbk-tixgrid--3 .tbk-tix:nth-child(3):last-child .tbk-tix__perf::before { top: -31px; left: -12px; }
	.tbk-tixgrid--3 .tbk-tix:nth-child(3):last-child .tbk-tix__perf::after { top: auto; bottom: -31px; right: auto; left: -12px; }
	.tbk-tixgrid--3 .tbk-tix:nth-child(3):last-child .tbk-tix__body { justify-content: center; }
}
@media (max-width: 680px) {
	.tbk-tixgrid, .tbk-tixgrid--2, .tbk-tixgrid--3, .tbk-tixgrid--index { grid-template-columns: 1fr; gap: 24px; }
	.tbk-tix__body { padding: 18px 18px 16px; }
	.tbk-tix__perf { margin: 0 18px; }
	.tbk-tix__perf::before { left: -29px; }
	.tbk-tix__perf::after { right: -29px; }
	.tbk-blog__board { display: none; }
	.tbk-pager { margin-top: 40px; }
	.entry-content { font-size: 1.03rem; }
	.tbk-post-fig { box-shadow: 6px 6px 0 var(--plum); }
	.tbk-post-fig--tall { float: none; width: min(340px, calc(100% - 8px)); margin: 1.8em auto; transform: none; }
	.tbk-post__hero img { aspect-ratio: 4 / 3; }
	.entry-content ol > li { padding-left: 48px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.tbk-tix:hover .tbk-tix__photo img { transform: none; }
}
