.amcal-page {
	--amcal-ink: #172b3a;
	--amcal-accent: #0f5554;
	--amcal-accent-hover: #172b3a;
	--amcal-surface: #edf6f4;
	--amcal-border: #a7c5c9;
}

.ckae-page .ckae-hero {
	padding-block: clamp(1.75rem, 4vw, 3.75rem);
}

.ckae-page .ckae-hero .ckae-eyebrow {
	color: var(--ckae-wheat);
}

.ckae-page .ckae-hero h1 {
	font-size: clamp(2rem, 1.5rem + 2.1vw, 3.5rem);
	line-height: 1.1;
}

.ckae-page .ckae-content {
	padding-top: clamp(1rem, 2.5vw, 2rem);
}

.ckae-page .ckae-event-content {
	grid-template-columns: minmax(0, 1fr);
	gap: 0.75rem;
}

.ckae-page .ckae-event-card__inner:not(:has(.ckae-event-media img)) {
	grid-template-columns: minmax(0, 1fr);
}

.ckae-page .ckae-event-media:not(:has(img)) {
	display: none;
}

.ckae-page .ckae-event-date {
	align-items: baseline;
	border-radius: 999px;
	display: inline-flex;
	gap: 0.375rem;
	justify-self: start;
	padding: 0.35rem 0.75rem;
	background: var(--ckae-sky);
	color: var(--ckae-ink);
}

.ckae-page .ckae-event-date__month {
	color: var(--ckae-teal-dark);
	font-size: 0.8125rem;
	padding: 0;
}

.ckae-page .ckae-event-date__day {
	font-size: 1.25rem;
	padding: 0;
}

.ckae-page .ckae-event-copy h3 {
	font-size: clamp(1.375rem, 1.08rem + 0.75vw, 1.75rem);
	line-height: 1.2;
}

.ckae-page .ckae-event-copy h3 a {
	font: inherit;
}

.ckae-page .ckae-event-browser .ckae-event-tab {
	min-height: 44px;
}

.ckae-page .ck-event-search {
	margin: 0 0 0.75rem;
}

.ckae-page .ck-event-search label,
.ck-not-found label {
	display: block;
	margin-bottom: 0.3rem;
	font-weight: 700;
}

.ck-search-fields {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.5rem;
}

.ck-search-fields input,
.ck-search-fields button {
	box-sizing: border-box;
	min-height: 44px;
	min-width: 0;
	border: 1px solid #789299;
	border-radius: 0.65rem;
	padding: 0.5rem 0.75rem;
	background: #fffdf8;
	color: #172b3a;
	font: inherit;
}

.ck-search-fields button,
.single-tribe_events #tribe-events-content .ck-event-official {
	border-color: #0f5554;
	background: #0f5554;
	color: #fff;
	font-weight: 750;
}

.single-tribe_events #tribe-events-content .tribe-events-single-event-title,
.single-post .elementor-widget-theme-post-title h1.elementor-heading-title,
.single-post main h1.entry-title,
.ck-not-found h1 {
	font-size: clamp(2rem, 1.5rem + 2.1vw, 3.5rem);
	line-height: 1.12;
}

.single-tribe_events #tribe-events-content .tribe-events-schedule {
	margin-block: 0.5rem;
}

.single-tribe_events #tribe-events-content .tribe-events-schedule > div:first-child {
	font-size: clamp(1rem, 0.9rem + 0.45vw, 1.2rem);
	line-height: 1.4;
	margin-bottom: 0.65rem;
}

.single-tribe_events #tribe-events-content .tribe-events-back a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
}

.ck-event-essentials {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	margin: 0 0 1rem;
	padding: 0.875rem 1rem;
	border: 1px solid #a7c5c9;
	border-radius: 0.75rem;
	background: #edf6f4;
	color: #172b3a;
}

.ck-event-essentials p { margin: 0.25rem 0 0; }

.single-tribe_events #tribe-events-content .ck-event-official {
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
	min-height: 44px;
	border-radius: 0.65rem;
	padding: 0.5rem 0.75rem;
	text-decoration: none;
}

.single-tribe_events #tribe-events-content img {
	max-width: 100%;
	height: auto;
}

.ck-not-found {
	background: #fbf7ed;
	color: #172b3a;
	padding: clamp(2.5rem, 7vw, 6rem) 1rem;
}

.ck-not-found__inner {
	max-width: 46rem;
	margin-inline: auto;
}

.ck-not-found .ck-not-found__status {
	color: #0f5554;
	font-size: 0.875rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ck-not-found form { max-width: 30rem; }

.ck-not-found nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	margin-top: 1rem;
}

.ck-not-found nav a {
	align-items: center;
	color: #0f5554;
	display: inline-flex;
	min-height: 44px;
	text-decoration: underline;
}

.ck-not-found :is(a, button, input):focus-visible,
.ckae-page .ck-event-search :is(button, input):focus-visible,
.single-tribe_events #tribe-events-content .ck-event-official:focus-visible {
	outline: 2px solid #172b3a;
	outline-offset: 3px;
}

@media (max-width: 720px) {
	.ckae-page .ckae-hero {
		padding-block: 1.25rem 1.5rem;
	}

	.ckae-page .ckae-hero h1 {
		font-size: clamp(2rem, 8vw, 2.5rem);
		line-height: 1.1;
	}

	.ckae-page .ckae-plan-card,
	.ckae-page .ckae-hero .ckae-actions,
	.ckae-page .ckae-section-head > p {
		display: none;
	}

	.ckae-page .ckae-hero__lede {
		margin-bottom: 0;
		font-size: 1rem;
		line-height: 1.5;
	}

	.ckae-page .ckae-section-head {
		margin-bottom: 0.75rem;
	}

	.ckae-page .ckae-section-head h2 {
		font-size: 1.85rem;
		line-height: 1.15;
	}

	.ckae-page .ckae-event-media:has(img) {
		aspect-ratio: 16 / 9;
		min-height: 0;
	}
}
