.mmgf-foundation-gallery {
	display: grid;
	gap: clamp(28px, 4vw, 54px);
	width: 100%;
	max-width: none;
	margin: 0 auto;
	color: #111;
	font-family: Poppins, sans-serif;
}
.mmgf-gallery-intro {
	display: grid;
	gap: clamp(22px, 3vw, 38px);
	width: 100%;
	max-width: none;
	margin-left: 0;
	padding: clamp(56px, 7vw, 96px) max(24px, calc((100vw - 1400px) / 2 + 24px));
	border: 0;
	border-radius: 0;
	background: #111;
	color: #fff;
}
.mmgf-gallery-breadcrumb { display: flex; align-items: center; gap: 10px; color: #777066; font: 650 .74rem/1.2 Poppins, sans-serif; }
.mmgf-gallery-breadcrumb a { color: #b3212d; text-decoration: none; }
.mmgf-gallery-breadcrumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mmgf-gallery-breadcrumb > span { color: #a29a8f; }
.mmgf-gallery-breadcrumb > strong { color: #4a453f; font: inherit; }
.mmgf-gallery-heading { display: grid; width: 100%; max-width: 1352px; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: clamp(30px, 6vw, 100px); align-items: end; margin: 0 auto; }
.mmgf-gallery-intro h1 { max-width: 870px; margin: 0; color: #fff; font: 760 clamp(2.4rem, 4.4vw, 4.8rem)/.96 Inter, sans-serif; letter-spacing: -.055em; }
.mmgf-gallery-intro p { max-width: 520px; margin: 0 0 20px; color: rgba(255,255,255,.72); font: 400 .96rem/1.72 Poppins, sans-serif; }
.mmgf-gallery-heading > div > strong { display: inline-flex; min-height: 38px; align-items: center; padding: 0 13px; border: 1px solid rgba(239,168,58,.58); border-radius: 999px; color: #efa83a; font: 700 .72rem/1 Poppins, sans-serif; }
.mmgf-gallery-filters { display: flex; width: calc(100% - 48px); max-width: 1400px; flex-wrap: wrap; gap: 7px; margin-inline: auto; padding-bottom: 0; overflow: visible; }
.mmgf-gallery-filters button { display: inline-flex; min-height: 38px; flex: 0 0 auto; align-items: center; gap: 6px; padding: 0 11px; border: 1px solid #cfc7bc; border-radius: 999px; background: transparent !important; color: #37332e; box-shadow: none !important; font: 500 .66rem/1 Poppins, sans-serif; cursor: pointer; transition: transform .45s cubic-bezier(.22,1,.36,1), border-color .45s ease, color .45s ease; }
.mmgf-gallery-filters button::before,
.mmgf-gallery-filters button::after { display: none !important; content: none !important; }
.mmgf-gallery-filters button:hover,
.mmgf-gallery-filters button:focus-visible { transform: translateY(-2px); border-color: #111; }
.mmgf-gallery-filters button.is-active { border-color: #b3212d; background: transparent !important; color: #b3212d; }
.mmgf-gallery-filters button span { display: inline; min-width: 0; height: auto; border-radius: 0; background: transparent; color: #777066; font-size: .6rem; }
.mmgf-gallery-filters button.is-active span { background: transparent; color: #b3212d; }
.mmgf-gallery-grid { display: block; width: calc(100% - 48px); max-width: 1400px; margin-inline: auto; column-count: var(--mmgf-gallery-columns, 4); column-gap: 4px !important; }
.mmgf-gallery-item { position: relative; display: inline-block; width: 100%; min-width: 0; margin: 0 0 4px !important; overflow: hidden; break-inside: avoid; border-radius: 0; background: #e8e2d8; box-shadow: none; vertical-align: top; }
.mmgf-gallery-item[hidden] { display: none !important; }
.mmgf-gallery-item > button { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; background: #e8e2d8; color: #fff; cursor: zoom-in; }
.mmgf-gallery-item img { display: block; width: 100%; height: auto; object-fit: cover; transition: transform .9s cubic-bezier(.22,1,.36,1), filter .6s ease; }
.mmgf-gallery-item > button > span { position: absolute; right: 0; bottom: 0; left: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 52px 18px 16px; background: rgba(8, 8, 8, .68); clip-path: polygon(0 42%, 100% 10%, 100% 100%, 0 100%); opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .6s cubic-bezier(.22,1,.36,1); }
.mmgf-gallery-item > button b { max-width: 80%; text-align: left; font: 650 .72rem/1.35 Poppins, sans-serif; }
.mmgf-gallery-item > button i { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; font: 400 1.1rem/1 Inter, sans-serif; }
.mmgf-gallery-item:hover img,
.mmgf-gallery-item:focus-within img { transform: scale(1.055); filter: saturate(1.05); }
.mmgf-gallery-item:hover > button > span,
.mmgf-gallery-item:focus-within > button > span { opacity: 1; transform: translateY(0); }
.mmgf-gallery-lightbox { width: min(1180px, calc(100vw - 36px)); max-width: none; height: min(860px, calc(100vh - 36px)); padding: 0; overflow: visible; border: 0; border-radius: 0; background: transparent; color: #fff; box-shadow: none; }
.mmgf-gallery-lightbox::backdrop { background: rgba(245, 241, 233, .94); backdrop-filter: blur(8px); }
.mmgf-gallery-lightbox[open] { display: grid; grid-template-columns: 68px minmax(0, 1fr) 68px; align-items: center; }
.mmgf-gallery-lightbox figure { display: grid; min-width: 0; height: 100%; margin: 0; grid-template-rows: minmax(0, 1fr) auto; }
.mmgf-gallery-lightbox figure img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.mmgf-gallery-lightbox figcaption { min-height: 54px; padding: 17px 20px; color: rgba(255,255,255,.78); text-align: center; font: 600 .75rem/1.4 Poppins, sans-serif; }
.mmgf-gallery-lightbox button { padding: 0 !important; border: 0 !important; outline: 0; background: transparent !important; color: #111 !important; box-shadow: none !important; cursor: pointer; transform: none; }
.mmgf-gallery-lightbox button::before,
.mmgf-gallery-lightbox button::after { display: none !important; content: none !important; }
.mmgf-gallery-lightbox button:focus-visible { outline: 2px solid #111; outline-offset: 3px; }
.mmgf-gallery-lightbox__previous,
.mmgf-gallery-lightbox__next { height: 100%; font-size: 1.5rem; transition: transform .35s ease; }
.mmgf-gallery-lightbox__previous:hover { transform: translateX(-4px); }
.mmgf-gallery-lightbox__next:hover { transform: translateX(4px); }
.mmgf-gallery-lightbox__close { position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(17,17,17,.18) !important; border-radius: 50% !important; background: rgba(255,255,255,.88) !important; color: #111 !important; font-size: 1.7rem; line-height: 1; }
@media (max-width: 900px) {
	.mmgf-gallery-heading { grid-template-columns: 1fr; align-items: start; }
	.mmgf-gallery-lightbox[open] { grid-template-columns: 48px minmax(0,1fr) 48px; }
}
@media (max-width: 600px) {
	.mmgf-gallery-intro { padding: 44px 18px; border-radius: 0; }
	.mmgf-gallery-filters,
	.mmgf-gallery-grid { width: calc(100% - 28px); }
	.mmgf-gallery-grid { column-gap: 3px !important; }
	.mmgf-gallery-item { margin-bottom: 3px !important; border-radius: 0; box-shadow: none; }
	.mmgf-gallery-item > button > span { display: none; }
	.mmgf-gallery-lightbox { width: 100vw; height: 100vh; border-radius: 0; background: transparent; }
}
