/* ============================================================
   Gallery Page — design tokens & shared utilities
   ============================================================ */

.has-gallery-page-block,
.gallery-page-block,
.gallery-page-block.gallery-page {
	--gp-forest: #1a3d2b;
	--gp-forest-deep: #0f1f16;
	--gp-stone: #c4a882;
	--gp-stone-deep: #8a7457;
	--gp-white: #ffffff;
	--gp-paper: #f6f3ee;
	--gp-ink: #1b1f1b;
	--gp-muted: #4a524a;

	--gp-font-serif: "Cormorant Garamond", "Playfair Display", "Times New Roman", serif;
	--gp-font-sans: "Josefin Sans", "Futura PT", "Helvetica Neue", Arial, sans-serif;
	--gp-font-body: "Lato", "Source Sans 3", -apple-system, system-ui, sans-serif;
}

.lighthouse-gallery-page-layout #content,
.lighthouse-gallery-page-layout .site-content,
.lighthouse-gallery-page-layout .site-main,
.lighthouse-gallery-page-layout .site-main .container,
.lighthouse-gallery-page-layout .content-wrapper,
.lighthouse-gallery-page-layout .page-content,
.lighthouse-gallery-page-layout .entry-content,
.lighthouse-gallery-page-layout .wp-block-post-content,
.lighthouse-gallery-page-layout .is-layout-constrained,
.lighthouse-gallery-page-layout .is-layout-flow {
	max-width: none;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
	margin-left: 0;
	margin-right: 0;
}

.lighthouse-gallery-page-layout #masthead .container,
.lighthouse-gallery-page-layout #colophon .container,
.lighthouse-gallery-page-layout .site-footer .container {
	max-width: var(--container-max-width, 1400px);
	width: 100%;
	padding-left: var(--container-padding, 1rem);
	padding-right: var(--container-padding, 1rem);
	margin-left: auto;
	margin-right: auto;
}

.lighthouse-gallery-page-layout .site-main,
.lighthouse-gallery-page-layout .page-content {
	padding: 0;
	background-color: transparent;
}

.lighthouse-gallery-page-layout #content {
	overflow-x: clip;
}

.gallery-page-block.gallery-page {
	background: var(--gp-paper);
	color: var(--gp-ink);
	font-family: var(--gp-font-body);
	width: 100%;
	max-width: none;
}

.gallery-page-block,
.gallery-page-block.alignfull,
.gallery-page-block.alignwide {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
}

@keyframes galleryPageHeroKenBurns {
	from {
		transform: scale(1.04);
	}
	to {
		transform: scale(1.1);
	}
}

.gallery-page-block h1,
.gallery-page-block h2,
.gallery-page-block h3,
.gallery-page-block h4,
.gallery-page-block h5,
.gallery-page-block h6 {
	font-family: inherit;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
	margin: 0;
}

.gallery-page-block [class*="title"],
.gallery-page-block [class*="subtitle"] {
	font-family: inherit;
}

.gallery-page-block p {
	margin: 0;
}

.gallery-page-block .gallery-page-block__hero-heading,
.gallery-page-block .gallery-page-block__item-title,
.gallery-page-block .gallery-page-block__lightbox-title {
	font-family: var(--gp-font-serif);
}

.gallery-page-block .gallery-page-block__hero-heading p {
	margin: 0;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	letter-spacing: inherit;
	color: inherit;
}

.entry-content .gallery-page-block,
.entry-content .gallery-page-block p,
.entry-content .gallery-page-block h1,
.entry-content .gallery-page-block h2,
.entry-content .gallery-page-block h3 {
	margin: 0;
}

.gallery-page-block__data {
	display: none;
}

.gallery-page-block__empty {
	padding: 2rem;
	border: 1px dashed rgba(6, 40, 29, 0.25);
	color: rgba(6, 40, 29, 0.7);
	text-align: center;
}

.gallery-page-block__item.is-hidden {
	display: none;
}

.gallery-page-block__lightbox.is-open {
	display: block;
}

.gallery-page-block__lightbox.is-open[hidden] {
	display: block;
}

.gallery-page-block__lightbox[hidden]:not(.is-open) {
	display: none;
}

.gallery-page-block__lightbox-prev.is-disabled,
.gallery-page-block__lightbox-next.is-disabled {
	opacity: 0.35;
	pointer-events: none;
}
