/* Shared club-site layout. Override --mal-remote-* per domain if needed. */

.mal-remote {
	--mal-remote-bg: #0b0b0e;
	--mal-remote-surface: #16161c;
	--mal-remote-text: #f3f3f5;
	--mal-remote-muted: #c8c8d0;
	--mal-remote-accent: #e84cff;
	--mal-remote-accent-2: #7b3cff;
	--mal-remote-border: #2a2a32;
	color: var(--mal-remote-text);
	font-family: Figtree, system-ui, sans-serif;
	background: var(--mal-remote-bg);
	isolation: isolate;
}

.mal-remote,
.mal-remote h1,
.mal-remote h2,
.mal-remote h3,
.mal-remote p,
.mal-remote li,
.mal-remote a,
.mal-remote span {
	color: var(--mal-remote-text) !important;
}

.mal-remote a {
	text-decoration: none;
}

.mal-remote-hero {
	background-color: #111;
	background-size: cover;
	background-position: center;
	padding: 72px 24px;
	position: relative;
}

.mal-remote-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(11, 11, 14, 0.92) 0%, rgba(11, 11, 14, 0.72) 48%, rgba(11, 11, 14, 0.45) 100%);
}

.mal-remote-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(120px, 200px) 1fr;
	gap: 32px;
	align-items: center;
}

.mal-remote--no-logo .mal-remote-hero__inner {
	grid-template-columns: 1fr;
}

.mal-remote-logo {
	width: 100%;
	height: auto;
	filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
}

.mal-remote-title {
	margin: 0 0 8px;
	font-size: clamp(28px, 4vw, 42px);
	line-height: 1.12;
	font-weight: 700;
}

.mal-remote-city,
.mal-remote-address,
.mal-remote-phone {
	margin: 0 0 6px;
	color: var(--mal-remote-muted) !important;
}

.mal-remote-ctas,
.mal-remote-social,
.mal-remote-features {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.mal-remote-btn {
	display: inline-block;
	padding: 10px 18px;
	border: 1px solid var(--mal-remote-border);
	border-radius: 4px;
	text-decoration: none;
	background: var(--mal-remote-surface);
	color: var(--mal-remote-text) !important;
}

.mal-remote-btn--primary {
	background: linear-gradient(90deg, var(--mal-remote-accent-2), var(--mal-remote-accent));
	border-color: transparent;
	color: #fff !important;
}

.mal-remote-section {
	max-width: 1100px;
	margin: 0 auto;
	padding: 48px 24px;
	background: var(--mal-remote-bg);
	position: relative;
}

.mal-remote-section h2 {
	margin: 0 0 18px;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.mal-remote-h2-follow {
	margin-top: 32px;
}

.mal-remote-events {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.mal-remote-events--n-1,
.mal-remote-events--n-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mal-remote-events--n-1 {
	grid-template-columns: 1fr;
}

.mal-remote-card {
	display: flex;
	flex-direction: column;
	background: var(--mal-remote-surface);
	border-radius: 6px;
	overflow: hidden;
	text-decoration: none;
}

.mal-remote-events--n-1 .mal-remote-card {
	display: grid;
	grid-template-columns: minmax(200px, 320px) 1fr;
	align-items: stretch;
}

.mal-remote-card img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	display: block;
}

.mal-remote-events--n-1 .mal-remote-card img {
	aspect-ratio: auto;
	height: 100%;
	min-height: 280px;
	object-fit: cover;
}

.mal-remote-card__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 12px 14px 16px;
	gap: 4px;
}

.mal-remote-events--n-1 .mal-remote-card__body {
	padding: 28px 32px;
}

.mal-remote-card__date {
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--mal-remote-muted) !important;
}

.mal-remote-card__title {
	font-weight: 600;
	font-size: 16px;
}

.mal-remote-events--n-1 .mal-remote-card__title {
	font-size: clamp(22px, 3vw, 32px);
	line-height: 1.2;
}

.mal-remote-gallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

.mal-remote-gallery a {
	display: block;
	background: var(--mal-remote-surface);
	border-radius: 6px;
	overflow: hidden;
}

.mal-remote-gallery img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	display: block;
}

.mal-remote-gallery--flyers img {
	aspect-ratio: 4 / 5;
}

.mal-remote-hours {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mal-remote-hours li {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid var(--mal-remote-border);
	gap: 16px;
}

.mal-remote-split {
	display: grid;
	grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.2fr);
	gap: 28px;
	align-items: stretch;
}

.mal-remote-map {
	min-height: 320px;
}

.mal-remote-map iframe {
	width: 100%;
	height: 100%;
	min-height: 320px;
	border: 0;
	border-radius: 6px;
}

.mal-remote-features span {
	padding: 6px 14px;
	border: 1px solid var(--mal-remote-border);
	border-radius: 4px;
	background: var(--mal-remote-surface);
	font-size: 13px;
}

.mal-remote-social {
	margin-top: 0;
}

.mal-remote-social a {
	padding: 8px 14px;
	border: 1px solid var(--mal-remote-border);
	border-radius: 4px;
}

.mal-remote-note,
.mal-remote-note a {
	margin: 12px 0 0;
	color: var(--mal-remote-muted) !important;
	font-size: 13px;
}

.mal-remote-center {
	text-align: center;
}

.mal-remote-error {
	color: #ffb4b4;
	padding: 16px;
}

@media (max-width: 900px) {
	.mal-remote-events,
	.mal-remote-events--n-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mal-remote-gallery {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.mal-remote-hero__inner,
	.mal-remote-split,
	.mal-remote-events--n-1 .mal-remote-card {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.mal-remote-logo {
		max-width: 180px;
		margin: 0 auto;
	}

	.mal-remote-ctas,
	.mal-remote-social {
		justify-content: center;
	}

	.mal-remote-hours li {
		text-align: left;
	}

	.mal-remote-events,
	.mal-remote-gallery {
		grid-template-columns: 1fr 1fr;
	}

	.mal-remote-events--n-1 .mal-remote-card img {
		min-height: 0;
		aspect-ratio: 4 / 5;
	}
}
