/* Nk'Mip Campground — adjustments so WordPress blocks match the original design. */


/* Mobile menu button (keeps the original icon look). */
.mobile-primary .nk-menu-toggle {
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	color: inherit;
	font: inherit;
	line-height: inherit;
	cursor: pointer;
}

/* Activity tabs: tab text is a link (for editors and keyboard users) but looks like before. */
.section-tab { cursor: pointer; }
.section-tab-content p,
.section-tab-content-icon p {
	margin: 0;
	padding: 0;
	font: inherit;
	color: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	line-height: inherit;
	text-align: inherit;
}
.section-tab-content a,
.section-tab-content a:hover,
.section-tab-content a:focus { color: inherit; text-decoration: none; }

/* "What to do" slider: the icon + title for each slide is moved into the pager by the script. */
.img-slider .nk-slide-control { display: none; }
.slider-control .section-slider-control { cursor: pointer; }
.slider-control .section-slider-control:hover { text-decoration: none; }

/* Background images on sections (hasWaveBg, slider slides). */
.section-imag-content,
.section-image-with-text.hasWaveBg {
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}

/* The wave background is anchored to the top, as in the original stylesheet. */
.section-image-with-text.hasWaveBg { background-position: center top !important; }

/* Gallery section */
.section-gallery .nk-gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	grid-auto-flow: dense;
}
.section-gallery .nk-gallery::after,
.section-gallery .nk-gallery .grid-sizer { display: none; }
.section-gallery .nk-gallery .grid-item {
	float: none;
	width: auto;
	margin: 0;
}
.section-gallery .nk-gallery .grid-item { aspect-ratio: 4 / 3; }
.section-gallery .nk-gallery .grid-item--width2 { grid-column: span 2; aspect-ratio: auto; }
.section-gallery .nk-gallery a { display: block; height: 100%; }
.section-gallery .nk-gallery img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.section-gallery .nk-gallery figcaption { display: none; }
@media (max-width: 640px) {
	.section-gallery .nk-gallery { grid-template-columns: minmax(0, 1fr); }
	.section-gallery .nk-gallery .grid-item--width2 { grid-column: auto; aspect-ratio: 4 / 3; }
}

/* Lightbox (replaces fancyBox) */
html.nk-lightbox-open { overflow: hidden; }
.nk-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 70px 70px;
}
.nk-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(30, 30, 30, 0.92);
}
.nk-lightbox__stage {
	position: relative;
	max-width: 100%;
	max-height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.nk-lightbox__stage img {
	max-width: 100%;
	max-height: calc(100vh - 140px);
	width: auto;
	height: auto;
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
}
.nk-lightbox__video {
	width: min(1000px, 90vw);
	aspect-ratio: 16 / 9;
	background: #000;
}
.nk-lightbox__video iframe,
.nk-lightbox__page {
	width: 100%;
	height: 100%;
	border: 0;
}
.nk-lightbox__page { width: min(1000px, 90vw); height: 80vh; background: #fff; }
.nk-lightbox__close {
	position: absolute;
	top: 15px;
	right: 20px;
	z-index: 2;
	background: none;
	border: 0;
	color: #fff;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1px;
	cursor: pointer;
}
.nk-lightbox__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	transform: translateY(-50%);
	background: none;
	border: 0;
	color: #fff;
	font-size: 60px;
	line-height: 1;
	padding: 10px 15px;
	cursor: pointer;
	opacity: 0.8;
}
.nk-lightbox__nav:hover { opacity: 1; }
.nk-lightbox__prev { left: 5px; }
.nk-lightbox__next { right: 5px; }
.nk-lightbox__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 15px;
	z-index: 2;
	color: #eee;
	text-align: center;
	font-size: 14px;
	padding: 0 70px;
}
.nk-lightbox__caption h3 { color: #fff; font-size: 16px; margin: 0 0 4px; }
.nk-lightbox button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
