/**
 * Kayaking The Keys — Astra landing (Additional CSS).
 * Hero avoids 100vw + negative margins (Astra overflow-x). Crossfade uses explicit per-slide delays.
 */

.kk-landing {
	--kk-landing-max: 1140px;
	--kk-landing-pad: 1.25rem;
	--kk-landing-header-h: 4rem;
	/* One full loop; each slide ~6s visible */
	--kk-landing-hero-cycle: 24s;
	--kk-bf-accent: #00875a;
	--kk-bf-accent-hover: #009e6c;
	--kk-landing-text: #0f172a;
	--kk-landing-muted: #64748b;
	--kk-landing-radius: 12px;
	box-sizing: border-box;
	color: var(--kk-landing-text);
	font-family: -apple-system, blinkmacsystemfont, "Segoe UI", roboto, helvetica, arial, sans-serif;
	line-height: 1.5;
	/* Contain any subpixel overflow from transforms */
	overflow-x: clip;
}

.kk-landing *,
.kk-landing *::before,
.kk-landing *::after {
	box-sizing: border-box;
}

/* Hide duplicate hero media as first block in .entry-content when #kk-landing-top is present. */
body:has(#kk-landing-top) .entry-content > .wp-block-image:first-child,
body:has(#kk-landing-top) .entry-content > figure.wp-block-image:first-child,
body:has(#kk-landing-top) .entry-content > .wp-block-cover:first-child,
body:has(#kk-landing-top) .entry-content > .wp-block-media-text:first-child {
	display: none !important;
}

/* Stray inline images inside .kk-landing hero (wrong layer); backgrounds live on .kk-landing__slide only. */
.kk-landing > img {
	display: none !important;
}

.kk-landing__hero > :is(img, figure) {
	display: none !important;
}

.kk-landing__hero-content :is(img, figure) {
	display: none !important;
}

/* -------------------------------------------------------------------------
   Header
   ------------------------------------------------------------------------- */
.kk-landing__header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.kk-landing__header-inner {
	max-width: var(--kk-landing-max);
	margin: 0 auto;
	padding: 0 var(--kk-landing-pad);
	min-height: var(--kk-landing-header-h);
	display: flex;
	align-items: center;
	gap: clamp(0.75rem, 2vw, 1.5rem);
	flex-wrap: nowrap;
}

/* Classic bar: logo left, horizontal links stay visible, hamburger far right */
.kk-landing__brand {
	flex: 0 1 auto;
	margin-right: auto;
	min-width: 0;
	font-weight: 800;
	font-size: 1.05rem;
	letter-spacing: -0.02em;
	color: #082f47;
	text-decoration: none;
	white-space: nowrap;
}

.kk-landing__brand:hover,
.kk-landing__brand:focus-visible {
	color: var(--kk-bf-accent);
}

.kk-landing__nav--primary {
	display: flex !important;
	flex: 0 0 auto;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-end;
	gap: clamp(0.5rem, 1.8vw, 1.35rem);
	font-size: 0.9375rem;
	font-weight: 600;
	list-style: none;
	margin: 0;
	padding: 0;
}

.kk-landing__nav--primary a {
	color: var(--kk-landing-text);
	text-decoration: none;
	white-space: nowrap;
	flex-shrink: 0;
}

.kk-landing__nav--primary a:hover,
.kk-landing__nav--primary a:focus-visible {
	color: #0c4a6e;
}

@media (max-width: 700px) {
	.kk-landing__header-inner {
		flex-wrap: wrap;
		row-gap: 0.65rem;
	}

	.kk-landing__brand {
		margin-right: 0;
		flex: 1 1 auto;
		order: 1;
	}

	.kk-landing__menu-toggle {
		order: 2;
		margin-left: auto;
	}

	.kk-landing__nav--primary {
		order: 3;
		flex: 1 1 100%;
		width: 100%;
		justify-content: space-between;
		flex-wrap: wrap;
		row-gap: 0.5rem;
		padding-top: 0.65rem;
		border-top: 1px solid rgba(15, 23, 42, 0.08);
		font-size: 0.8125rem;
	}
}

.kk-landing__menu-toggle {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.kk-landing__menu-toggle:hover,
.kk-landing__menu-toggle:focus-visible {
	border-color: #0c4a6e;
	outline: none;
}

.kk-landing__menu-toggle-bars,
.kk-landing__menu-toggle-bars::before,
.kk-landing__menu-toggle-bars::after {
	display: block;
	width: 20px;
	height: 2px;
	background: #082f47;
	border-radius: 1px;
	position: relative;
}

.kk-landing__menu-toggle-bars::before,
.kk-landing__menu-toggle-bars::after {
	content: "";
	position: absolute;
	left: 0;
}

.kk-landing__menu-toggle-bars::before {
	top: -6px;
}

.kk-landing__menu-toggle-bars::after {
	top: 6px;
}

html.kk-landing-drawer-open {
	overflow: hidden;
}

/* Drawer: closed by default; open when .kk-landing__drawer--open is on #kk-landing-drawer. */
#kk-landing-drawer.kk-landing__drawer {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none !important;
	justify-content: flex-end;
	pointer-events: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
}

#kk-landing-drawer.kk-landing__drawer.kk-landing__drawer--open {
	display: flex !important;
	pointer-events: auto !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.kk-landing__drawer-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
}

.kk-landing__drawer-panel {
	position: relative;
	width: min(100%, 360px);
	height: 100%;
	background: #fff;
	box-shadow: -8px 0 32px rgba(15, 23, 42, 0.15);
	display: flex;
	flex-direction: column;
}

.kk-landing__drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem var(--kk-landing-pad);
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.kk-landing__drawer-title {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 800;
}

.kk-landing__drawer-close {
	border: none;
	background: transparent;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	color: var(--kk-landing-muted);
	padding: 0.25rem 0.5rem;
	border-radius: 8px;
}

.kk-landing__drawer-close:hover,
.kk-landing__drawer-close:focus-visible {
	background: rgba(15, 23, 42, 0.06);
	outline: none;
}

.kk-landing__drawer-nav {
	display: flex;
	flex-direction: column;
	padding: 1rem var(--kk-landing-pad) 2rem;
	gap: 0.25rem;
}

.kk-landing__drawer-nav a {
	display: block;
	padding: 0.85rem 1rem;
	border-radius: 10px;
	font-weight: 600;
	color: var(--kk-landing-text);
	text-decoration: none;
}

.kk-landing__drawer-nav a:hover,
.kk-landing__drawer-nav a:focus-visible {
	background: rgba(12, 74, 110, 0.08);
	outline: none;
}

/* -------------------------------------------------------------------------
   Hero — full width of PARENT only (safe inside Astra .site-content)
   ------------------------------------------------------------------------- */
.kk-landing__hero {
	position: relative;
	width: 100%;
	max-width: none;
	margin: 0;
	min-height: 85vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: clamp(4.5rem, 12vw, 6rem) var(--kk-landing-pad) 2.5rem;
	overflow: hidden;
	isolation: isolate;
}

.kk-landing__slides {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.kk-landing__slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	opacity: 0;
	will-change: opacity;
}

/* Crossfade: same timing as theme kk-hero-xfade-4 */
@keyframes kk-landing-xfade-4 {
	0% {
		opacity: 0;
	}
	3% {
		opacity: 1;
	}
	21% {
		opacity: 1;
	}
	25% {
		opacity: 0;
	}
	100% {
		opacity: 0;
	}
}

.kk-landing__hero--slides-4 .kk-landing__slide {
	animation-name: kk-landing-xfade-4;
	animation-duration: var(--kk-landing-hero-cycle);
	animation-timing-function: ease-in-out;
	animation-iteration-count: infinite;
}

.kk-landing__hero--slides-4 .kk-landing__slide--1 {
	animation-delay: 0s;
}

.kk-landing__hero--slides-4 .kk-landing__slide--2 {
	animation-delay: -6s;
}

.kk-landing__hero--slides-4 .kk-landing__slide--3 {
	animation-delay: -12s;
}

.kk-landing__hero--slides-4 .kk-landing__slide--4 {
	animation-delay: -18s;
}

@media (prefers-reduced-motion: reduce) {
	.kk-landing__hero--slides .kk-landing__slide {
		animation: none !important;
		opacity: 0;
	}

	.kk-landing__hero--slides .kk-landing__slide--1 {
		opacity: 1;
	}
}

.kk-landing__hero-veil {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		180deg,
		rgba(17, 24, 39, 0.35) 0%,
		rgba(17, 24, 39, 0.55) 35%,
		rgba(0, 50, 40, 0.72) 85%,
		rgba(17, 24, 39, 0.88) 100%
	);
	pointer-events: none;
}

.kk-landing__hero-inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
}

.kk-landing__hero-content {
	position: relative;
	color: #fff;
	padding: clamp(1rem, 3vw, 2rem) clamp(1rem, 3vw, 1.25rem);
}

.kk-landing__hero-kicker {
	font-size: 0.6875rem;
	font-weight: 900;
	letter-spacing: 0.35em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
	margin: 0 0 1.25rem;
}

.kk-landing__hero-kicker-dot {
	color: var(--kk-bf-accent);
}

.kk-landing__hero-title {
	font-size: clamp(2.25rem, 5.5vw, 3.75rem);
	font-weight: 800;
	line-height: 1.08;
	margin: 0 0 1.125rem;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
	color: #fff;
	letter-spacing: -0.03em;
}

.kk-landing__hero-tagline {
	font-size: clamp(1rem, 2.2vw, 1.35rem);
	font-weight: 400;
	line-height: 1.55;
	margin: 0 0 2.25rem;
	max-width: 36rem;
	margin-left: auto;
	margin-right: auto;
	color: rgba(255, 255, 255, 0.82);
}

/* Hero CTAs — Bayfield-style placement */
.kk-landing__hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.25rem;
	justify-content: center;
	align-items: center;
	margin: 0;
}

.kk-landing__btn {
	width: auto;
	min-height: unset;
	padding: 0.75rem 1.75rem;
	border-radius: 2px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.75rem;
	font-weight: 700;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.kk-landing__btn--primary {
	background: var(--kk-bf-accent);
	color: #fff !important;
	border: none;
	box-shadow: 0 4px 15px rgba(0, 135, 90, 0.35);
}

.kk-landing__btn--primary:hover,
.kk-landing__btn--primary:focus-visible {
	background: var(--kk-bf-accent-hover);
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(0, 135, 90, 0.45);
	outline: none;
}

.kk-landing__btn--secondary {
	background: transparent;
	color: #fff !important;
	border: 2px solid rgba(255, 255, 255, 0.55);
	box-shadow: none;
}

.kk-landing__btn--secondary:hover,
.kk-landing__btn--secondary:focus-visible {
	border-color: #fff;
	color: #fff !important;
	background: rgba(255, 255, 255, 0.08);
	transform: translateY(-2px);
	outline: none;
}

.kk-landing__hero-browse {
	margin: 1rem 0 0;
	text-align: center;
	font-size: 0.95rem;
}

.kk-landing__hero-browse-link {
	color: rgba(255, 255, 255, 0.92);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.kk-landing__hero-browse-link:hover,
.kk-landing__hero-browse-link:focus-visible {
	color: #fff;
}

/* Sections below hero — explicit stacking + background so nothing “disappears” */
.kk-landing__why,
.kk-landing__featured {
	position: relative;
	z-index: 2;
	background: #fff;
}

.kk-landing__container {
	max-width: var(--kk-landing-max);
	margin: 0 auto;
	padding: 0 var(--kk-landing-pad);
}

.kk-landing__section-title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.75rem, 3.5vw, 2.25rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #082f47;
	text-align: center;
}

.kk-landing__section-lead {
	margin: 0 auto 2.5rem;
	max-width: 40rem;
	text-align: center;
	color: var(--kk-landing-muted);
	font-size: 1.05rem;
}

.kk-landing__why {
	padding: clamp(3.5rem, 8vw, 5rem) 0;
	background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.kk-landing__why-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.kk-landing__why-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.75rem;
	}
}

.kk-landing__why-card {
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: var(--kk-landing-radius);
	padding: 1.75rem 1.5rem;
	box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.kk-landing__why-icon {
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(12, 74, 110, 0.12), rgba(0, 135, 90, 0.12));
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	color: #0c4a6e;
	margin-bottom: 1rem;
	font-weight: 700;
}

.kk-landing__why-title {
	margin: 0 0 0.5rem;
	font-size: 1.125rem;
	font-weight: 800;
}

.kk-landing__why-text {
	margin: 0;
	color: var(--kk-landing-muted);
	font-size: 0.95rem;
	line-height: 1.6;
}

.kk-landing__featured {
	padding: clamp(3.5rem, 8vw, 5rem) 0;
}

.kk-landing__tour-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 600px) {
	.kk-landing__tour-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.kk-landing__tour-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 1.25rem;
	}
}

.kk-landing__tour-card {
	border-radius: var(--kk-landing-radius);
	overflow: hidden;
	border: 1px solid rgba(15, 23, 42, 0.08);
	background: #fff;
	box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
	display: flex;
	flex-direction: column;
	transition: transform 0.2s, box-shadow 0.2s;
}

.kk-landing__tour-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 48px rgba(15, 23, 42, 0.1);
}

.kk-landing__tour-media {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: #e2e8f0;
}

.kk-landing__tour-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.35s ease;
}

.kk-landing__tour-card:hover .kk-landing__tour-media img {
	transform: scale(1.04);
}

.kk-landing__tour-body {
	padding: 1.15rem 1.2rem 1.35rem;
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 0.35rem;
}

.kk-landing__tour-meta {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #0c4a6e;
}

.kk-landing__tour-title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.3;
}

.kk-landing__tour-title a {
	color: inherit;
	text-decoration: none;
}

.kk-landing__tour-title a:hover,
.kk-landing__tour-title a:focus-visible {
	color: #0c4a6e;
}

.kk-landing__tour-price {
	margin: 0.25rem 0 0.75rem;
	font-size: 0.95rem;
	color: var(--kk-landing-muted);
}

.kk-landing__tour-price strong {
	color: var(--kk-landing-text);
	font-size: 1.1rem;
}

.kk-landing__tour-price-hint {
	font-size: 0.8rem;
	font-weight: 500;
}

.kk-landing__tour-btn {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 1rem;
	border-radius: 8px;
	/* Featured card primary CTA */
	background: #0047ab;
	color: #fff !important;
	font-weight: 700;
	font-size: 0.875rem;
	text-decoration: none;
}

.kk-landing__tour-btn:hover,
.kk-landing__tour-btn:focus-visible {
	background: #003380;
	outline: none;
}

.kk-landing__featured-cta {
	text-align: center;
	margin: 2.5rem 0 0;
}

.kk-landing__link-arrow {
	font-weight: 800;
	color: #0c4a6e;
	text-decoration: none;
	font-size: 1rem;
}

.kk-landing__link-arrow:hover,
.kk-landing__link-arrow:focus-visible {
	color: var(--kk-bf-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
	outline: none;
}

.kk-landing__footer {
	position: relative;
	z-index: 2;
	margin-top: 0;
}

.kk-landing__footer-top {
	background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
	color: #e2e8f0;
	padding: clamp(3rem, 7vw, 4rem) 0;
}

.kk-landing__footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

@media (min-width: 600px) {
	.kk-landing__footer-grid {
		grid-template-columns: 1.2fr repeat(2, 1fr);
	}
}

@media (min-width: 900px) {
	.kk-landing__footer-grid {
		grid-template-columns: 1.35fr 1fr 1fr 1.1fr;
		gap: 2.5rem;
	}
}

.kk-landing__footer-logo {
	display: block;
	font-size: 1.25rem;
	font-weight: 800;
	color: #fff;
	letter-spacing: -0.02em;
	margin-bottom: 0.75rem;
}

.kk-landing__footer-tagline {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.6;
	color: #94a3b8;
	max-width: 22rem;
}

.kk-landing__footer-heading {
	margin: 0 0 1rem;
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #94a3b8;
}

.kk-landing__footer-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.kk-landing__footer-list a {
	color: #e2e8f0;
	text-decoration: none;
	font-weight: 500;
	font-size: 0.9375rem;
}

.kk-landing__footer-list a:hover,
.kk-landing__footer-list a:focus-visible {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
	outline: none;
}

.kk-landing__footer-address {
	color: #cbd5e1;
	font-size: 0.9375rem;
}

.kk-landing__footer-bottom {
	background: #020617;
	border-top: 1px solid rgba(148, 163, 184, 0.12);
	padding: 1.25rem 0;
}

.kk-landing__footer-bottom-inner {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	align-items: center;
	text-align: center;
}

@media (min-width: 640px) {
	.kk-landing__footer-bottom-inner {
		flex-direction: row;
		justify-content: space-between;
		text-align: left;
	}
}

.kk-landing__footer-copy {
	margin: 0;
	font-size: 0.8125rem;
	color: #64748b;
}

.kk-landing__footer-legal {
	margin: 0;
	font-size: 0.8125rem;
}

.kk-landing__footer-legal a {
	color: #94a3b8;
	text-decoration: none;
}

.kk-landing__footer-legal a:hover,
.kk-landing__footer-legal a:focus-visible {
	color: #e2e8f0;
	text-decoration: underline;
	outline: none;
}
/* Bundled rentals: mile-marker / mangrove guide */
.kk-prose .kk-mm-guide .kk-mm-guide__note {
	font-size: 0.95rem;
	color: var(--kk-muted);
	margin-bottom: 1rem;
}

.kk-prose .kk-mm-guide-list {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.kk-prose .kk-mm-spot {
	margin: 0;
	padding: 1.15rem 0 1.25rem;
	border-bottom: 1px solid var(--kk-sand-dark);
}

.kk-prose .kk-mm-spot:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.kk-prose .kk-mm-spot__title {
	margin: 0 0 0.5rem;
	font-size: 1.05rem;
}

.kk-prose .kk-mm-spot__mm {
	font-weight: 700;
}

.kk-prose .kk-mm-spot__hint {
	font-weight: 400;
	font-size: 0.9rem;
	color: var(--kk-muted);
}

.kk-prose .kk-mm-spot p {
	margin: 0;
}