:root {
	--jott-events-navy: #062842;
	--jott-events-navy-deep: #102a43;
	--jott-events-teal: #2b6872;
	--jott-events-coral: #ff6548;
	--jott-events-coral-dark: #e84f34;
	--jott-events-ink: #0b2134;
	--jott-events-muted: #51606c;
	--jott-events-border: #d8dee2;
	--jott-events-soft: #f5f7f7;
	--jott-events-white: #fff;
}

.jott-air-events-page .entry-header,
.jott-air-events-page main > header,
.jott-air-events-page .wp-block-post-title {
	display: none;
}

.jott-air-events-page .entry-content,
.jott-air-events-page .site-main,
.jott-air-events-page main {
	margin: 0;
	padding: 0;
	max-width: none;
}

.jott-air-events,
.jott-air-events * {
	box-sizing: border-box;
}

.jott-air-events {
	width: 100vw;
	max-width: none;
	margin-inline: calc(50% - 50vw);
	background: var(--jott-events-white);
	color: var(--jott-events-ink);
	font-family: "DM Sans", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
}

.jott-air-events h1,
.jott-air-events h2,
.jott-air-events h3,
.jott-air-events p {
	margin-top: 0;
}

.jott-air-events h1,
.jott-air-events h2,
.jott-air-events h3 {
	color: var(--jott-events-navy);
	font-family: Newsreader, Georgia, serif;
	font-weight: 600;
	letter-spacing: -0.025em;
}

.jott-air-events a {
	color: var(--jott-events-teal);
}

.jott-air-events__hero {
	display: grid;
	grid-template-columns: minmax(0, 54fr) minmax(0, 46fr);
	min-height: 420px;
	border-bottom: 1px solid var(--jott-events-border);
}

.jott-air-events__hero-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: clamp(48px, 4.5vw, 72px) clamp(24px, 4vw, 64px) clamp(48px, 4.5vw, 72px) clamp(28px, 7vw, 112px);
	background: var(--jott-events-white);
}

.jott-air-events__hero h1 {
	max-width: 690px;
	margin-bottom: 20px;
	font-size: clamp(48px, 5.1vw, 70px);
	line-height: 0.98;
}

.jott-air-events__hero p {
	max-width: 560px;
	margin-bottom: 28px;
	font-size: clamp(18px, 1.45vw, 22px);
	line-height: 1.35;
}

.jott-air-events__hero-image {
	min-height: 420px;
	background-image: url("events-hero.jpg");
	background-position: center;
	background-size: cover;
}

.jott-air-events__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 24px;
	border: 1px solid var(--jott-events-coral);
	border-radius: 4px;
	background: var(--jott-events-coral);
	box-shadow: none;
	color: var(--jott-events-white) !important;
	font-family: "DM Sans", Arial, sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.jott-air-events__button:hover,
.jott-air-events__button:focus-visible {
	border-color: var(--jott-events-coral-dark);
	background: var(--jott-events-coral-dark);
	transform: translateY(-1px);
}

.jott-air-events__button:focus-visible,
.jott-air-events input:focus-visible,
.jott-air-events textarea:focus-visible {
	outline: 3px solid rgba(43, 104, 114, 0.28);
	outline-offset: 2px;
}

.jott-air-events__body {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
	width: min(100% - 48px, 1240px);
	margin: 0 auto;
	padding: clamp(56px, 6vw, 88px) 0;
}

.jott-air-events__schedule {
	padding-right: clamp(28px, 4vw, 60px);
}

.jott-air-registration {
	padding-left: clamp(28px, 4vw, 60px);
	border-left: 1px solid var(--jott-events-border);
	scroll-margin-top: 32px;
}

.jott-air-events__body h2 {
	margin-bottom: 28px;
	font-size: clamp(36px, 3vw, 48px);
	line-height: 1.08;
}

.jott-air-event {
	display: grid;
	grid-template-columns: 72px 112px minmax(170px, 1fr) 74px 116px;
	gap: 18px;
	align-items: center;
	min-height: 150px;
	padding: 22px 0;
	border-bottom: 1px solid var(--jott-events-border);
	transition: border-color 160ms ease, background 160ms ease;
}

.jott-air-event:first-child {
	border-top: 1px solid var(--jott-events-border);
}

.jott-air-event.is-selected {
	border-color: var(--jott-events-teal);
	background: #f5f9f9;
}

.jott-air-event__date {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-right: 16px;
	border-right: 1px solid var(--jott-events-border);
	color: var(--jott-events-teal);
	font-family: Newsreader, Georgia, serif;
}

.jott-air-event__date span {
	font-size: 17px;
	font-weight: 700;
	line-height: 1;
}

.jott-air-event__date strong {
	font-size: 46px;
	font-weight: 500;
	line-height: 1;
}

.jott-air-event__time {
	display: flex;
	flex-direction: column;
	font-size: 13px;
	line-height: 1.35;
}

.jott-air-event__time strong {
	color: var(--jott-events-teal);
	font-family: Newsreader, Georgia, serif;
	font-size: 21px;
}

.jott-air-event__copy h3 {
	margin-bottom: 4px;
	font-size: 20px;
	line-height: 1.2;
}

.jott-air-event__copy p {
	margin-bottom: 0;
	color: var(--jott-events-muted);
	font-size: 13px;
	line-height: 1.45;
}

.jott-air-event__flyer,
.jott-air-registration__thumb {
	display: flex;
	overflow: hidden;
	align-items: center;
	justify-content: center;
	background: var(--jott-events-soft);
	color: var(--jott-events-teal);
	font-family: Newsreader, Georgia, serif;
	text-align: center;
}

.jott-air-event__flyer {
	width: 72px;
	height: 92px;
	border: 1px solid var(--jott-events-border);
	font-size: 11px;
	line-height: 1.2;
}

.jott-air-event__flyer-button {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	overflow: hidden;
	border: 0;
	background: transparent;
	cursor: zoom-in;
}

.jott-air-event__flyer-button > span {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 5px 3px;
	background: rgba(6, 40, 66, 0.9);
	color: var(--jott-events-white);
	font-family: "DM Sans", Arial, sans-serif;
	font-size: 9px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	opacity: 0;
	transition: opacity 160ms ease;
}

.jott-air-event__flyer-button:hover > span,
.jott-air-event__flyer-button:focus-visible > span {
	opacity: 1;
}

.jott-air-event__flyer-button:focus-visible {
	outline: 3px solid var(--jott-events-coral);
	outline-offset: 3px;
}

.jott-air-event__flyer img,
.jott-air-registration__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.jott-air-event__select {
	min-height: 42px;
	padding: 10px 14px;
	font-size: 13px;
}

.jott-air-events__check-back {
	margin: 24px 0 0;
	color: var(--jott-events-muted);
	font-size: 14px;
}

.jott-air-events__empty {
	padding: 44px;
	border: 1px solid var(--jott-events-border);
	background: var(--jott-events-soft);
}

.jott-air-events__empty h3 {
	margin-bottom: 8px;
	font-size: 28px;
}

.jott-air-registration__selected {
	display: grid;
	grid-template-columns: 78px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	margin-bottom: 22px;
	padding: 12px;
	border: 1px solid var(--jott-events-border);
	border-radius: 8px;
	background: var(--jott-events-soft);
}

.jott-air-registration__thumb {
	width: 78px;
	height: 64px;
	border-radius: 3px;
}

.jott-air-registration__selected h3 {
	margin-bottom: 4px;
	font-size: 20px;
}

.jott-air-registration__selected p {
	margin-bottom: 0;
	color: var(--jott-events-muted);
	font-size: 13px;
}

.jott-air-registration__fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.jott-air-registration__fields p {
	margin-bottom: 0;
}

.jott-air-registration__wide {
	grid-column: 1 / -1;
}

.jott-air-registration label {
	display: block;
	color: var(--jott-events-ink);
	font-size: 13px;
	font-weight: 700;
}

.jott-air-registration label > span {
	color: var(--jott-events-coral-dark);
}

.jott-air-registration input:not([type="checkbox"]),
.jott-air-registration textarea {
	display: block;
	width: 100%;
	margin-top: 5px;
	padding: 11px 12px;
	border: 1px solid #bfc8ce;
	border-radius: 3px;
	background: var(--jott-events-white);
	color: var(--jott-events-ink);
	font: inherit;
	font-size: 15px;
	line-height: 1.35;
}

.jott-air-registration textarea {
	min-height: 86px;
	resize: vertical;
}

.jott-air-registration__consent {
	margin: 18px 0 4px;
}

.jott-air-registration__consent label {
	display: grid;
	grid-template-columns: 18px 1fr;
	gap: 9px;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.45;
}

.jott-air-registration__consent input {
	width: 17px;
	height: 17px;
	margin: 1px 0 0;
	accent-color: var(--jott-events-teal);
}

.jott-air-registration__privacy,
.jott-air-registration__reassurance {
	color: var(--jott-events-muted);
	font-size: 12px;
}

.jott-air-registration__privacy {
	margin-bottom: 14px;
}

.jott-air-registration__submit {
	width: 100%;
}

.jott-air-registration__reassurance {
	margin: 10px 0 0;
	text-align: center;
}

.jott-air-registration__success,
.jott-air-registration__error {
	margin-bottom: 20px;
	padding: 20px;
	border-radius: 8px;
}

.jott-air-registration__success {
	border: 1px solid var(--jott-events-teal);
	background: #f0f8f7;
	text-align: center;
}

.jott-air-registration__success > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin-bottom: 8px;
	border-radius: 50%;
	background: var(--jott-events-teal);
	color: var(--jott-events-white);
	font-weight: 700;
}

.jott-air-registration__success h3 {
	margin-bottom: 4px;
	font-size: 26px;
}

.jott-air-registration__success p,
.jott-air-registration__error p {
	margin-bottom: 0;
}

.jott-air-registration__error {
	border: 1px solid #c94b3a;
	background: #fff4f1;
}

.jott-air-hp {
	position: absolute !important;
	left: -10000px !important;
}

body.jott-air-flyer-lightbox-open {
	overflow: hidden;
}

.jott-air-flyer-lightbox[hidden] {
	display: none !important;
}

.jott-air-flyer-lightbox {
	position: fixed;
	z-index: 100000;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 24px;
}

.jott-air-flyer-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(3, 20, 33, 0.9);
	cursor: zoom-out;
}

.jott-air-flyer-lightbox__dialog {
	position: relative;
	z-index: 1;
	display: flex;
	max-width: min(94vw, 1050px);
	max-height: calc(100vh - 48px);
	flex-direction: column;
	padding: 18px;
	border-radius: 8px;
	background: var(--jott-events-white);
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.jott-air-flyer-lightbox__close {
	position: absolute;
	z-index: 2;
	top: 8px;
	right: 8px;
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--jott-events-navy);
	color: var(--jott-events-white);
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}

.jott-air-flyer-lightbox__close:hover,
.jott-air-flyer-lightbox__close:focus-visible {
	background: var(--jott-events-coral-dark);
}

.jott-air-flyer-lightbox figure {
	display: flex;
	min-width: 0;
	min-height: 0;
	flex-direction: column;
	align-items: center;
	margin: 0;
}

.jott-air-flyer-lightbox figure img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 132px);
	width: auto;
	height: auto;
	object-fit: contain;
}

.jott-air-flyer-lightbox figcaption {
	padding: 12px 42px 0;
	color: var(--jott-events-ink);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	text-align: center;
}

@media (max-width: 1080px) {
	.jott-air-events__body {
		grid-template-columns: 1fr;
	}

	.jott-air-events__schedule {
		padding-right: 0;
	}

	.jott-air-registration {
		margin-top: 56px;
		padding: 48px 0 0;
		border-top: 1px solid var(--jott-events-border);
		border-left: 0;
	}
}

@media (max-width: 760px) {
	.jott-air-events__hero {
		grid-template-columns: 1fr;
	}

	.jott-air-events__hero-copy {
		padding: 52px 24px;
	}

	.jott-air-events__hero h1 {
		font-size: clamp(46px, 14vw, 64px);
	}

	.jott-air-events__hero-image {
		min-height: 300px;
		background-position: 58% center;
	}

	.jott-air-events__body {
		width: min(100% - 32px, 1240px);
		padding: 48px 0 64px;
	}

	.jott-air-event {
		grid-template-columns: 62px minmax(0, 1fr) 76px;
		gap: 14px;
	}

	.jott-air-event__date {
		grid-row: span 2;
	}

	.jott-air-event__time {
		grid-column: 2;
	}

	.jott-air-event__copy {
		grid-column: 2;
	}

	.jott-air-event__flyer {
		grid-column: 3;
		grid-row: 1 / span 2;
	}

	.jott-air-event__select {
		grid-column: 1 / -1;
	}
}

@media (max-width: 520px) {
	.jott-air-events__hero-image {
		min-height: 240px;
	}

	.jott-air-event {
		grid-template-columns: 58px minmax(0, 1fr) 64px;
	}

	.jott-air-event__flyer {
		display: flex;
		width: 64px;
		height: 82px;
	}

	.jott-air-flyer-lightbox {
		padding: 10px;
	}

	.jott-air-flyer-lightbox__dialog {
		max-width: calc(100vw - 20px);
		max-height: calc(100vh - 20px);
		padding: 10px;
	}

	.jott-air-flyer-lightbox figure img {
		max-height: calc(100vh - 104px);
	}

	.jott-air-flyer-lightbox figcaption {
		padding: 9px 38px 0 8px;
		font-size: 12px;
		text-align: left;
	}

	.jott-air-registration__fields {
		grid-template-columns: 1fr;
	}

	.jott-air-registration__wide {
		grid-column: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jott-air-events *,
	.jott-air-events *::before,
	.jott-air-events *::after {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
