.dlp-gallery-widget {
	background: #f5f1eb;
	color: #1d1b1a;
}

.dlp-gallery-kicker {
	font-family: "Courier New", monospace;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .28em;
	line-height: 1.2;
	margin: 0 0 18px;
	text-transform: uppercase;
}

.dlp-gallery-title {
	color: #222;
	font-family: "Times New Roman", Times, serif;
	font-size: clamp(34px, 4.6vw, 66px);
	font-weight: 400;
	letter-spacing: 0;
	line-height: .98;
	margin: 0 0 42px;
}

.dlp-gallery-featured {
	appearance: none;
	background: transparent;
	border: 0;
	cursor: zoom-in;
	display: block;
	margin: 0;
	padding: 0;
	width: 100%;
}

.dlp-gallery-featured img {
	display: block;
	height: 520px;
	object-fit: cover;
	width: 100%;
}

.dlp-gallery-thumbs {
	display: flex;
	gap: 14px;
	margin-top: 24px;
	overflow-x: auto;
	padding: 0 0 8px;
	scroll-snap-type: x proximity;
	scrollbar-width: thin;
}

.dlp-gallery-thumb {
	appearance: none;
	background: transparent;
	border: 3px solid transparent;
	cursor: pointer;
	display: block;
	flex: 0 0 clamp(130px, 15vw, 210px);
	height: 90px;
	margin: 0;
	opacity: .72;
	padding: 0;
	scroll-snap-align: start;
	transition: border-color .2s ease, opacity .2s ease, transform .2s ease;
}

.dlp-gallery-thumb:hover,
.dlp-gallery-thumb.is-active {
	opacity: 1;
}

.dlp-gallery-thumb:hover {
	transform: translateY(-1px);
}

.dlp-gallery-thumb img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.dlp-gallery-empty {
	background: #f5f1eb;
	border: 1px dashed #c9c2b7;
	color: #6d6861;
	font-family: Arial, sans-serif;
	padding: 24px;
}

.dlp-gallery-lightbox {
	align-items: center;
	background: rgba(5, 8, 5, .92);
	display: grid;
	inset: 0;
	justify-items: center;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	transition: opacity .2s ease;
	z-index: 999999;
}

.dlp-gallery-lightbox.is-open {
	opacity: 1;
	pointer-events: auto;
}

.dlp-gallery-lightbox img {
	display: block;
	max-height: 86vh;
	max-width: min(92vw, 1320px);
	object-fit: contain;
}

.dlp-gallery-lightbox button {
	align-items: center;
	appearance: none;
	background: rgba(245, 241, 235, .94);
	border: 0;
	color: #171717;
	cursor: pointer;
	display: flex;
	font-family: Arial, sans-serif;
	font-size: 28px;
	height: 48px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	position: fixed;
	width: 48px;
}

.dlp-gallery-lightbox-close {
	right: 24px;
	top: 24px;
}

.dlp-gallery-lightbox-prev {
	left: 24px;
	top: 50%;
	transform: translateY(-50%);
}

.dlp-gallery-lightbox-next {
	right: 24px;
	top: 50%;
	transform: translateY(-50%);
}

.dlp-gallery-counter {
	bottom: 22px;
	color: #f5f1eb;
	font-family: "Courier New", monospace;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .18em;
	position: fixed;
	text-transform: uppercase;
}

@media (max-width: 767px) {
	.dlp-gallery-title {
		font-size: clamp(31px, 10vw, 46px);
		margin-bottom: 26px;
	}

	.dlp-gallery-featured img {
		height: 310px;
	}

	.dlp-gallery-thumbs {
		gap: 10px;
		margin-top: 14px;
	}

	.dlp-gallery-thumb {
		flex-basis: 118px;
		height: 72px;
	}

	.dlp-gallery-lightbox button {
		height: 42px;
		width: 42px;
	}

	.dlp-gallery-lightbox-prev {
		left: 12px;
	}

	.dlp-gallery-lightbox-next,
	.dlp-gallery-lightbox-close {
		right: 12px;
	}
}
