body.gallery-page {
	background: #f5f6f2;
	color: #17302e;
}

.gallery-hero {
	align-items: center;
	background: url("../images/gallery/front.jpg") center 38% / cover no-repeat;
	display: flex;
	min-height: 560px;
	overflow: hidden;
	position: relative;
}

.gallery-hero-shade {
	background: linear-gradient(90deg, rgba(7, 25, 25, 0.82) 0%, rgba(7, 25, 25, 0.54) 48%, rgba(7, 25, 25, 0.08) 100%);
	inset: 0;
	position: absolute;
}

.gallery-hero-content {
	padding-bottom: 48px;
	padding-top: 48px;
	position: relative;
	z-index: 1;
}

.gallery-eyebrow {
	color: #f0a24a;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.7px;
	line-height: 1.5;
	margin: 0 0 13px;
}

.gallery-hero h1 {
	color: #fff;
	font-size: 58px;
	font-weight: 700;
	line-height: 1.08;
	margin: 0 0 18px;
	max-width: 680px;
}

.gallery-hero-content > p:last-child {
	color: rgba(255, 255, 255, 0.88);
	font-size: 17px;
	line-height: 1.6;
	margin: 0;
	max-width: 430px;
}

.gallery-scroll {
	align-items: center;
	border: 1px solid rgba(255, 255, 255, 0.65);
	border-radius: 50%;
	bottom: 28px;
	color: #fff;
	display: flex;
	font-size: 19px;
	height: 42px;
	justify-content: center;
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
	transition: background .2s ease;
	width: 42px;
	z-index: 1;
}

.gallery-scroll:hover,
.gallery-scroll:focus {
	background: #ed7d22;
	border-color: #ed7d22;
	color: #fff;
	text-decoration: none;
}

.gallery-section {
	background: #f5f6f2;
	padding: 76px 0 86px;
}

.gallery-heading {
	align-items: end;
	border-bottom: 1px solid #d9e0dc;
	display: flex;
	gap: 36px;
	justify-content: space-between;
	margin-bottom: 26px;
	padding-bottom: 25px;
}

.gallery-heading .gallery-eyebrow {
	color: #b76324;
	margin-bottom: 8px;
}

.gallery-heading h2 {
	color: #17302e;
	font-size: 37px;
	font-weight: 600;
	line-height: 1.15;
	margin: 0;
}

.gallery-heading-copy {
	color: #687774;
	font-size: 15px;
	line-height: 1.7;
	margin: 0;
	max-width: 460px;
}

.gallery-toolbar {
	align-items: center;
	display: flex;
	gap: 18px;
	justify-content: space-between;
	margin-bottom: 24px;
}

.gallery-filters {
	background: #e8ece7;
	border: 1px solid #d7dfda;
	border-radius: 5px;
	display: inline-flex;
	max-width: 100%;
	overflow-x: auto;
	padding: 4px;
}

.gallery-filter {
	background: transparent;
	border: 0;
	border-radius: 3px;
	color: #52615e;
	cursor: pointer;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	padding: 10px 13px;
	transition: background .18s ease, color .18s ease;
	white-space: nowrap;
}

.gallery-filter:hover,
.gallery-filter:focus-visible {
	color: #17302e;
	outline: 2px solid #ed7d22;
	outline-offset: 1px;
}

.gallery-filter.is-active {
	background: #17645c;
	box-shadow: 0 2px 6px rgba(23, 48, 46, 0.15);
	color: #fff;
}

.gallery-count {
	color: #7b8883;
	flex: 0 0 auto;
	font-size: 13px;
	margin: 0;
}

.gallery-count span {
	color: #17302e;
	font-weight: 700;
}

.gallery-grid {
	column-count: 4;
	column-gap: 16px;
}

.gallery-photo {
	appearance: none;
	background: #dce3de;
	border: 0;
	border-radius: 4px;
	break-inside: avoid;
	cursor: zoom-in;
	display: block;
	margin: 0 0 16px;
	overflow: hidden;
	padding: 0;
	position: relative;
	text-align: left;
	width: 100%;
}

.gallery-photo[hidden] {
	display: none !important;
}

.gallery-photo img {
	display: block;
	height: auto;
	transition: transform .45s cubic-bezier(.2, .7, .2, 1), filter .3s ease;
	width: 100%;
}

.gallery-photo::after {
	background: linear-gradient(180deg, transparent 42%, rgba(8, 25, 24, 0.76) 100%);
	content: "";
	inset: 0;
	opacity: 0.86;
	position: absolute;
	transition: opacity .25s ease;
}

.gallery-photo:hover img,
.gallery-photo:focus-visible img {
	filter: saturate(1.08);
	transform: scale(1.035);
}

.gallery-photo:hover::after,
.gallery-photo:focus-visible::after {
	opacity: 1;
}

.gallery-photo:focus-visible {
	outline: 3px solid #ed7d22;
	outline-offset: 3px;
}

.photo-caption {
	bottom: 0;
	color: #fff;
	left: 0;
	padding: 26px 18px 17px;
	position: absolute;
	right: 0;
	z-index: 1;
}

.photo-caption span,
.photo-caption strong {
	display: block;
}

.photo-caption span {
	color: #f3b46b;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1.3px;
	margin-bottom: 5px;
	text-transform: uppercase;
}

.photo-caption strong {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
}

.photo-open {
	align-items: center;
	background: rgba(255, 255, 255, 0.95);
	border-radius: 50%;
	color: #17302e;
	display: flex;
	height: 34px;
	justify-content: center;
	opacity: 0;
	position: absolute;
	right: 13px;
	top: 13px;
	transform: translateY(4px);
	transition: opacity .2s ease, transform .2s ease;
	width: 34px;
	z-index: 2;
}

.gallery-photo:hover .photo-open,
.gallery-photo:focus-visible .photo-open {
	opacity: 1;
	transform: translateY(0);
}

.gallery-more {
	border-top: 1px solid #d9e0dc;
	margin-top: 30px;
	padding-top: 24px;
	text-align: center;
}

.gallery-more a,
.gallery-footer-contact {
	color: #17645c;
	font-size: 14px;
	font-weight: 700;
}

.gallery-more a i,
.gallery-footer-contact i {
	margin-left: 7px;
	transition: transform .2s ease;
}

.gallery-more a:hover,
.gallery-footer-contact:hover {
	color: #b76324;
	text-decoration: none;
}

.gallery-more a:hover i,
.gallery-footer-contact:hover i {
	transform: translateX(3px);
}

.gallery-footer {
	background: #17302e;
	margin: 0;
	padding: 28px 0;
}

.gallery-footer-inner {
	align-items: center;
	display: flex;
	gap: 26px;
	justify-content: space-between;
}

.gallery-footer-inner img {
	max-height: 46px;
	max-width: 175px;
	object-fit: contain;
}

.gallery-footer-inner p {
	color: #c1cfca;
	font-size: 13px;
	line-height: 1.6;
	margin: 0;
}

.gallery-footer .gallery-footer-contact {
	color: #f2a24e;
}

.gallery-lightbox[hidden] {
	display: none !important;
}

.gallery-lightbox {
	align-items: center;
	background: rgba(5, 12, 13, 0.96);
	bottom: 0;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 58px 72px 38px;
	position: fixed;
	z-index: 9999;
}

.gallery-viewer-open {
	overflow: hidden;
}

.lightbox-figure {
	align-items: center;
	display: flex;
	flex-direction: column;
	margin: 0;
	max-height: 100%;
	max-width: 100%;
}

.lightbox-figure img {
	display: block;
	max-height: calc(100vh - 125px);
	max-width: min(100%, 1200px);
	object-fit: contain;
	width: auto;
}

.lightbox-figure figcaption {
	color: #e7eeea;
	font-size: 14px;
	margin-top: 13px;
	text-align: center;
}

.lightbox-close,
.lightbox-nav {
	align-items: center;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	display: flex;
	font-size: 22px;
	justify-content: center;
	position: absolute;
	transition: background .2s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
	background: #17645c;
	outline: 2px solid #f2a24e;
	outline-offset: 2px;
}

.lightbox-close {
	height: 42px;
	right: 24px;
	top: 20px;
	width: 42px;
}

.lightbox-nav {
	height: 48px;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
}

.lightbox-prev {
	left: 20px;
}

.lightbox-next {
	right: 20px;
}

@media (max-width: 1199px) {
	.gallery-grid {
		column-count: 3;
	}
}

@media (max-width: 767px) {
	.gallery-hero {
		background-position: 56% center;
		min-height: 440px;
	}

	.gallery-hero-shade {
		background: linear-gradient(90deg, rgba(7, 25, 25, 0.82), rgba(7, 25, 25, 0.34));
	}

	.gallery-hero h1 {
		font-size: 42px;
	}

	.gallery-hero-content > p:last-child {
		font-size: 15px;
		max-width: 330px;
	}

	.gallery-section {
		padding: 52px 0 58px;
	}

	.gallery-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
		margin-bottom: 20px;
		padding-bottom: 20px;
	}

	.gallery-heading h2 {
		font-size: 31px;
	}

	.gallery-heading-copy {
		font-size: 14px;
	}

	.gallery-toolbar {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.gallery-filters {
		align-self: stretch;
		width: 100%;
	}

	.gallery-filter {
		flex: 0 0 auto;
		padding: 9px 11px;
	}

	.gallery-grid {
		column-count: 2;
		column-gap: 10px;
	}

	.gallery-photo {
		margin-bottom: 10px;
	}

	.photo-caption {
		padding: 24px 12px 12px;
	}

	.photo-caption strong {
		font-size: 14px;
	}

	.gallery-footer-inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 15px;
	}

	.gallery-lightbox {
		padding: 58px 16px 25px;
	}

	.lightbox-figure img {
		max-height: calc(100vh - 130px);
		max-width: 100%;
	}

	.lightbox-nav {
		background: rgba(5, 12, 13, 0.72);
		height: 40px;
		width: 40px;
	}

	.lightbox-prev {
		left: 8px;
	}

	.lightbox-next {
		right: 8px;
	}
}

@media (max-width: 480px) {
	.gallery-grid {
		column-count: 1;
	}

	.gallery-hero h1 {
		font-size: 36px;
	}
}
