.club-mm-page {
	background: #ffffff;
	color: #3a3a3a;
	font-family: "Open Sans", Arial, sans-serif;
}

.club-mm-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: clamp(34rem, 82vh, 70rem);
	padding: 8rem 1.5rem 6rem;
	background-image: var(--club-mm-hero);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	overflow: hidden;
}

.club-mm-hero__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.42) 100%);
}

.club-mm-hero__content {
	position: relative;
	z-index: 1;
	text-align: center;
}

.club-mm-hero__title {
	display: grid;
	gap: 0.3rem;
	margin: 0;
	color: #ffffff;
	font-size: clamp(3.3rem, 7vw, 5.2rem);
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 0.95;
	text-shadow: 7px 7px 0 rgba(0, 0, 0, 0.35);
	text-transform: uppercase;
}

.club-mm-section {
	padding: 5.5rem 1.5rem 6.5rem;
}

.club-mm-shell {
	max-width: 1120px;
	margin: 0 auto;
}

.club-mm-gallery + .club-mm-gallery {
	margin-top: 5.5rem;
}

.club-mm-gallery__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	margin-bottom: 2.4rem;
	text-align: center;
}

.club-mm-gallery__accent {
	width: 2.9rem;
	height: 2.9rem;
	border-radius: 999px;
	background: radial-gradient(circle at 35% 35%, #f3df9f 0, #f3df9f 28%, #d8b35f 29%, #a6802e 68%, #765612 100%);
	box-shadow: 0 12px 24px rgba(118, 86, 18, 0.18);
	position: relative;
}

.club-mm-gallery__accent::before,
.club-mm-gallery__accent::after {
	content: "";
	position: absolute;
	background: rgba(255, 255, 255, 0.82);
	left: 50%;
	transform: translateX(-50%);
}

.club-mm-gallery__accent::before {
	top: 0.62rem;
	width: 0.86rem;
	height: 1rem;
	border-radius: 0.35rem 0.35rem 0.1rem 0.1rem;
}

.club-mm-gallery__accent::after {
	top: 1.54rem;
	width: 1.35rem;
	height: 0.2rem;
	box-shadow: 0 0.34rem 0 0 rgba(255, 255, 255, 0.82);
	border-radius: 999px;
}

.club-mm-gallery__title {
	margin: 0;
	color: #535353;
	font-size: clamp(1.2rem, 1.3vw, 1.45rem);
	font-weight: 700;
	letter-spacing: 0.07em;
	line-height: 1.45;
	text-transform: uppercase;
}

.club-mm-gallery__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2.6rem;
	align-items: start;
}

.club-mm-card {
	appearance: none;
	border: 0;
	padding: 0;
	margin: 0;
	background: transparent;
	cursor: pointer;
	text-align: inherit;
	transition: transform 180ms ease;
}

.club-mm-card:hover,
.club-mm-card:focus-visible {
	transform: translateY(-3px);
	outline: none;
}

.club-mm-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	background: #f2f2f2;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.club-mm-card.is-landscape .club-mm-card__media {
	aspect-ratio: 400 / 284;
}

.club-mm-card.is-portrait .club-mm-card__media {
	aspect-ratio: 400 / 516;
}

.club-mm-card img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.club-mm-card__overlay {
	position: absolute;
	inset: 0;
	border: 1px solid #e6e6e6;
	background: rgba(255, 255, 255, 0.88);
	opacity: 0;
	transition: opacity 180ms ease;
}

.club-mm-card__overlay::before,
.club-mm-card__overlay::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 2rem;
	height: 0.18rem;
	background: #2ea3f2;
	transform: translate(-50%, -50%);
	border-radius: 999px;
}

.club-mm-card__overlay::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.club-mm-card:hover .club-mm-card__overlay,
.club-mm-card:focus-visible .club-mm-card__overlay {
	opacity: 1;
}

.club-mm-pagination {
	display: flex;
	justify-content: flex-end;
	gap: 1rem;
	margin-top: 2.7rem;
	padding-top: 1rem;
	border-top: 1px solid #e2e2e2;
	font-size: 0.95rem;
	line-height: 1;
	flex-wrap: wrap;
}

.club-mm-pagination__button {
	appearance: none;
	border: 0;
	padding: 0;
	background: transparent;
	color: #979797;
	cursor: pointer;
	font: inherit;
	transition: color 160ms ease;
}

.club-mm-pagination__button:hover,
.club-mm-pagination__button:focus-visible {
	color: #2ea3f2;
	outline: none;
}

.club-mm-pagination__button.is-active {
	color: #2ea3f2;
}

.club-mm-pagination__button[disabled] {
	opacity: 0.42;
	cursor: default;
}

.club-mm-lightbox[hidden] {
	display: none;
}

.club-mm-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: grid;
	place-items: center;
	padding: 1.5rem;
}

.club-mm-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 17, 25, 0.88);
	backdrop-filter: blur(6px);
}

.club-mm-lightbox__dialog {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 1rem;
	align-items: center;
	width: min(92vw, 1180px);
	max-height: calc(100vh - 3rem);
}

.club-mm-lightbox__figure {
	margin: 0;
	background: #101010;
	border-radius: 0.75rem;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.club-mm-lightbox__figure img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 9rem);
	margin: 0 auto;
}

.club-mm-lightbox__caption {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.25rem;
	color: #ffffff;
	background: rgba(0, 0, 0, 0.5);
	font-size: 0.96rem;
	line-height: 1.5;
}

.club-mm-lightbox__close,
.club-mm-lightbox__nav {
	appearance: none;
	border: 0;
	background: rgba(255, 255, 255, 0.14);
	color: #ffffff;
	cursor: pointer;
	font: inherit;
	transition: background 160ms ease, transform 160ms ease;
}

.club-mm-lightbox__close:hover,
.club-mm-lightbox__close:focus-visible,
.club-mm-lightbox__nav:hover,
.club-mm-lightbox__nav:focus-visible {
	background: rgba(255, 255, 255, 0.24);
	outline: none;
	transform: translateY(-1px);
}

.club-mm-lightbox__close {
	position: absolute;
	top: -3.15rem;
	right: 0;
	padding: 0.65rem 0.95rem;
	border-radius: 999px;
	font-size: 0.88rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.club-mm-lightbox__nav {
	width: 3rem;
	height: 3rem;
	border-radius: 999px;
	font-size: 0;
	position: relative;
}

.club-mm-lightbox__nav::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0.9rem;
	height: 0.9rem;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: translate(-58%, -50%) rotate(225deg);
}

.club-mm-lightbox__nav.is-next::before {
	transform: translate(-42%, -50%) rotate(45deg);
}

body.club-mm-lightbox-open {
	overflow: hidden;
}

@media (max-width: 980px) {
	.club-mm-gallery__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.8rem;
	}

	.club-mm-lightbox__dialog {
		grid-template-columns: 1fr;
		width: min(92vw, 780px);
	}

	.club-mm-lightbox__nav {
		position: absolute;
		top: 50%;
		z-index: 2;
		transform: translateY(-50%);
	}

	.club-mm-lightbox__nav.is-prev {
		left: 0.85rem;
	}

	.club-mm-lightbox__nav.is-next {
		right: 0.85rem;
	}

	.club-mm-lightbox__nav:hover,
	.club-mm-lightbox__nav:focus-visible {
		transform: translateY(calc(-50% - 1px));
	}
}

@media (max-width: 767px) {
	.club-mm-hero {
		min-height: 32rem;
		padding-top: 6rem;
	}

	.club-mm-section {
		padding-top: 4.2rem;
	}

	.club-mm-gallery__header {
		margin-bottom: 1.8rem;
	}

	.club-mm-pagination {
		justify-content: center;
	}

	.club-mm-lightbox {
		padding: 1rem;
	}

	.club-mm-lightbox__close {
		top: -2.85rem;
	}

	.club-mm-lightbox__caption {
		flex-direction: column;
	}
}

@media (max-width: 479px) {
	.club-mm-gallery__grid {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.club-mm-gallery + .club-mm-gallery {
		margin-top: 4.25rem;
	}

	.club-mm-pagination {
		gap: 0.8rem;
		font-size: 0.9rem;
	}

	.club-mm-lightbox__nav {
		width: 2.6rem;
		height: 2.6rem;
	}

	.club-mm-lightbox__nav.is-prev {
		left: 0.4rem;
	}

	.club-mm-lightbox__nav.is-next {
		right: 0.4rem;
	}
}
