.mmm-gallery-shell {
	--mmm-accent: #4f7359;
	--mmm-accent-dark: #244234;
	--mmm-surface: #f6f4ee;
	--mmm-border: rgba(36, 66, 52, 0.12);
	--mmm-shadow: 0 18px 40px rgba(16, 24, 18, 0.08);
	margin: 0 auto;
	max-width: 1180px;
	padding: 4px 18px 0;
}

.mmm-gallery-sets {
	display: grid;
	gap: 28px;
}

.mmm-gallery-set__date,
.mmm-gallery-set__excerpt,
.mmm-gallery-set__content p {
	font-family: "Open Sans", sans-serif;
}

.mmm-gallery-set {
	background: linear-gradient(135deg, rgba(246, 244, 238, 0.96), rgba(255, 255, 255, 0.96));
	border: 1px solid var(--mmm-border);
	border-radius: 28px;
	box-shadow: var(--mmm-shadow);
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
	overflow: hidden;
	padding: 24px;
}

.mmm-gallery-set__copy {
	align-self: start;
	position: sticky;
	top: 24px;
}

.mmm-gallery-set__date {
	color: #63766d;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.mmm-gallery-set__title {
	color: #1f3528;
	font-family: "Josefin Sans", sans-serif;
	font-size: clamp(1.6rem, 2vw, 2.2rem);
	line-height: 1.05;
	margin: 0 0 12px;
}

.mmm-gallery-set__excerpt {
	color: var(--mmm-accent);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.45;
	margin: 0 0 12px;
}

.mmm-gallery-set__content {
	color: #44524b;
	font-size: 0.98rem;
	line-height: 1.7;
}

.mmm-gallery-set__content p:last-child {
	margin-bottom: 0;
}

.mmm-gallery-set__grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-auto-rows: 110px;
}

.mmm-gallery-set__item {
	border-radius: 18px;
	display: block;
	grid-column: span 4;
	grid-row: span 2;
	overflow: hidden;
	position: relative;
}

.mmm-gallery-set__item:first-child {
	grid-column: span 8;
	grid-row: span 4;
}

.mmm-gallery-set__item:nth-child(4n) {
	grid-row: span 3;
}

.mmm-gallery-set__item::after {
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.28));
	content: "";
	inset: 0;
	opacity: 0;
	position: absolute;
	transition: opacity 180ms ease;
}

.mmm-gallery-set__item:hover::after,
.mmm-gallery-set__item:focus::after {
	opacity: 1;
}

.mmm-gallery-set__item img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform 220ms ease;
	width: 100%;
}

.mmm-gallery-set__item:hover img,
.mmm-gallery-set__item:focus img {
	transform: scale(1.025);
}

.mmm-lightbox {
	align-items: center;
	background: rgba(12, 16, 13, 0.92);
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 24px;
	position: fixed;
	z-index: 99999;
}

.mmm-lightbox[hidden] {
	display: none;
}

.mmm-lightbox__stage {
	color: #fff;
	max-width: min(92vw, 1100px);
	text-align: center;
}

.mmm-lightbox__image {
	border-radius: 18px;
	box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
	display: block;
	max-height: 78vh;
	max-width: 100%;
}

.mmm-lightbox__caption {
	color: rgba(255, 255, 255, 0.88);
	font-size: 0.95rem;
	line-height: 1.5;
	margin: 14px auto 0;
	max-width: 780px;
}

.mmm-lightbox__close,
.mmm-lightbox__nav {
	background: rgba(255, 255, 255, 0.12);
	border: 0;
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	font-size: 2rem;
	line-height: 1;
	position: absolute;
}

.mmm-lightbox__close {
	height: 48px;
	right: 18px;
	top: 18px;
	width: 48px;
}

.mmm-lightbox__nav {
	height: 56px;
	top: 50%;
	transform: translateY(-50%);
	width: 56px;
}

.mmm-lightbox__nav--prev {
	left: 18px;
}

.mmm-lightbox__nav--next {
	right: 18px;
}

body.mmm-lightbox-open {
	overflow: hidden;
}

.vc_custom_1626694887306 .wd-heading h4 {
	line-height: 1.18 !important;
	padding-bottom: 0.16em;
}

@media (max-width: 1024px) {
	.mmm-gallery-set {
		grid-template-columns: 1fr;
	}

	.mmm-gallery-set__copy {
		position: static;
	}
}

@media (max-width: 767px) {
	.mmm-gallery-shell {
		padding-left: 10px;
		padding-right: 10px;
	}

	.mmm-gallery-set {
		border-radius: 20px;
		padding: 16px;
	}

	.mmm-gallery-set__grid {
		grid-auto-rows: 90px;
	}

	.mmm-gallery-set__item,
	.mmm-gallery-set__item:first-child,
	.mmm-gallery-set__item:nth-child(4n) {
		grid-column: span 6;
		grid-row: span 2;
	}

	.mmm-lightbox {
		padding: 14px;
	}

	.mmm-lightbox__nav {
		bottom: 18px;
		top: auto;
		transform: none;
	}

	.mmm-lightbox__nav--prev {
		left: calc(50% - 68px);
	}

	.mmm-lightbox__nav--next {
		right: calc(50% - 68px);
	}
}
