/**
 * Music Lives Here Events — core view styles.
 *
 * Every value flows from a --mlhe-* custom property so a preset (presets.css)
 * can restyle the whole plugin by redefining a dozen tokens. Defaults below map
 * onto the WildEx theme's live Elementor global variables, so with no preset the
 * plugin already matches the site.
 *
 * Signature device: `.mlhe-date` — an oversized numeric date stamp (Bricolage
 * Grotesque) with an accent tick, echoing the big day numbers of a week view.
 */

/* ------------------------------------------------------------------ Tokens */
.mlhe {
	--mlhe-accent: var(--e-global-color-accent, #cbca7b);
	--mlhe-accent-ink: var(--e-global-color-primary, #101010);
	--mlhe-ink: var(--e-global-color-primary, #101010);
	--mlhe-body: var(--e-global-color-text, #6f6f6a);
	--mlhe-muted: color-mix(in srgb, var(--mlhe-body) 60%, transparent);
	--mlhe-surface: var(--e-global-color-secondary, #ffffff);
	--mlhe-surface-2: color-mix(in srgb, var(--mlhe-surface) 92%, var(--mlhe-ink));
	--mlhe-bg: var(--e-global-color-background, #f7f7f7);
	--mlhe-line: color-mix(in srgb, var(--mlhe-ink) 12%, transparent);
	--mlhe-radius: 20px;
	--mlhe-radius-sm: 10px;
	--mlhe-radius-pill: 100px;
	--mlhe-font-head: var(--e-global-typography-primary-font-family, "Bricolage Grotesque", sans-serif);
	--mlhe-font-body: var(--e-global-typography-text-font-family, "Manrope", sans-serif);
	--mlhe-head-weight: 600;
	--mlhe-head-transform: none;
	--mlhe-head-tracking: -0.01em;
	--mlhe-shadow: none;
	--mlhe-shadow-lg: 0 24px 60px -28px color-mix(in srgb, var(--mlhe-ink) 45%, transparent);
	--mlhe-scrim: rgba(12, 12, 14, 0.6);
	--mlhe-hero-scrim: rgba(12, 12, 14, 0.82);
	--mlhe-gap: 30px;
	--mlhe-ease: cubic-bezier(0.22, 1, 0.36, 1);

	color: var(--mlhe-body);
	font-family: var(--mlhe-font-body);
	line-height: 1.6;
}

.mlhe *,
.mlhe *::before,
.mlhe *::after {
	box-sizing: border-box;
}

.mlhe h1, .mlhe h2, .mlhe h3, .mlhe h4 {
	font-family: var(--mlhe-font-head);
	font-weight: var(--mlhe-head-weight);
	color: var(--mlhe-ink);
	line-height: 1.12;
	letter-spacing: var(--mlhe-head-tracking);
	text-transform: var(--mlhe-head-transform);
	margin: 0;
}

.mlhe a {
	color: inherit;
	text-decoration: none;
}

/* Neutralize theme <button> bleed (uppercase, ::after wipes, native chrome)
   without touching background/border/padding, which components set themselves. */
.mlhe button {
	-webkit-appearance: none;
	appearance: none;
	text-transform: none;
	letter-spacing: normal;
}
.mlhe button::before,
.mlhe button::after { content: none; }

/* ------------------------------------------------------------ Date stamp  */
.mlhe-date {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 0.9;
	font-family: var(--mlhe-font-head);
	color: var(--mlhe-ink);
}
.mlhe-date__dow {
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--mlhe-muted);
	margin-bottom: 0.35em;
}
.mlhe-date__day {
	font-size: clamp(2.4rem, 5vw, 3.4rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
}
.mlhe-date__mon {
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-top: 0.3em;
}
.mlhe-date::after {
	content: "";
	width: 26px;
	height: 4px;
	border-radius: 2px;
	margin-top: 0.7em;
	background: var(--mlhe-accent);
}

/* --------------------------------------------------------------- Buttons  */
/* Scoped under .mlhe so they out-specify theme <button> rules (which love to
   force their own background/padding onto every button on the page). */
.mlhe .mlhe-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	font-family: var(--mlhe-font-head);
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1;
	padding: 0.95em 1.35em;
	border-radius: var(--mlhe-radius-sm);
	border: 1.5px solid transparent;
	background: var(--mlhe-accent);
	color: var(--mlhe-accent-ink);
	cursor: pointer;
	text-decoration: none;
	transition: background 0.3s var(--mlhe-ease), color 0.3s var(--mlhe-ease), transform 0.3s var(--mlhe-ease), border-color 0.3s var(--mlhe-ease);
}
.mlhe .mlhe-btn:hover {
	background: var(--mlhe-ink);
	color: var(--mlhe-surface);
	transform: translateY(-2px);
}
.mlhe .mlhe-btn--ghost {
	background: transparent;
	color: var(--mlhe-ink);
	border-color: var(--mlhe-line);
}
.mlhe .mlhe-btn--ghost:hover {
	background: var(--mlhe-ink);
	color: var(--mlhe-surface);
	border-color: var(--mlhe-ink);
}
.mlhe .mlhe-btn--soldout,
.mlhe .mlhe-btn[aria-disabled="true"] {
	background: color-mix(in srgb, var(--mlhe-ink) 8%, transparent);
	color: var(--mlhe-muted);
	pointer-events: none;
	cursor: default;
	transform: none;
}
.mlhe-btn__icon { width: 1.1em; height: 1.1em; }

/* -------------------------------------------------------------- Toolbar   */
.mlhe-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin-bottom: var(--mlhe-gap);
}
.mlhe-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.mlhe .mlhe-filter {
	font-family: var(--mlhe-font-head);
	font-weight: 600;
	font-size: 0.85rem;
	padding: 0.55em 1.05em;
	border-radius: var(--mlhe-radius-pill);
	border: 1.5px solid var(--mlhe-line);
	color: var(--mlhe-ink);
	background: transparent;
	cursor: pointer;
	transition: all 0.25s var(--mlhe-ease);
}
.mlhe .mlhe-filter:hover { border-color: var(--mlhe-ink); }
.mlhe .mlhe-filter.is-active {
	background: var(--mlhe-accent);
	border-color: var(--mlhe-accent);
	color: var(--mlhe-accent-ink);
}
.mlhe-viewswitch {
	margin-left: auto;
	display: inline-flex;
	background: var(--mlhe-surface-2);
	border-radius: var(--mlhe-radius-pill);
	padding: 4px;
	gap: 2px;
}
.mlhe-viewswitch a {
	padding: 0.5em 1em;
	border-radius: var(--mlhe-radius-pill);
	font-size: 0.82rem;
	font-weight: 600;
	font-family: var(--mlhe-font-head);
	color: var(--mlhe-muted);
}
.mlhe-viewswitch a.is-active {
	background: var(--mlhe-surface);
	color: var(--mlhe-ink);
	box-shadow: var(--mlhe-shadow);
}

/* ----------------------------------------------------------------- Grid   */
.mlhe-grid {
	display: grid;
	grid-template-columns: repeat(var(--mlhe-cols, 3), minmax(0, 1fr));
	gap: var(--mlhe-gap);
}
.mlhe-grid--2 { --mlhe-cols: 2; }
.mlhe-grid--4 { --mlhe-cols: 4; }

/* ----------------------------------------------------------------- Card   */
.mlhe-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--mlhe-surface);
	border-radius: var(--mlhe-radius);
	padding: 14px;
	box-shadow: var(--mlhe-shadow);
	transition: transform 0.4s var(--mlhe-ease), box-shadow 0.4s var(--mlhe-ease);
	overflow: hidden;
}
.mlhe-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--mlhe-shadow-lg);
}
.mlhe-card__media {
	position: relative;
	display: block;
	border-radius: calc(var(--mlhe-radius) - 6px);
	overflow: hidden;
	aspect-ratio: 1 / 0.66;
	background: var(--mlhe-surface-2);
}
.mlhe-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--mlhe-ease);
}
.mlhe-card:hover .mlhe-card__media img { transform: scale(1.06); }
.mlhe-card__stamp {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--mlhe-surface);
	border-radius: var(--mlhe-radius-sm);
	padding: 8px 12px 10px;
	line-height: 0.85;
	text-align: center;
	box-shadow: 0 8px 20px -12px rgba(0,0,0,0.5);
}
.mlhe-card__stamp .d { display: block; font-family: var(--mlhe-font-head); font-weight: 700; font-size: 1.5rem; color: var(--mlhe-ink); font-variant-numeric: tabular-nums; }
.mlhe-card__stamp .m { display: block; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mlhe-accent-ink); margin-top: 3px; }
.mlhe-card__stamp { background: var(--mlhe-accent); }
.mlhe-card__stamp .d { color: var(--mlhe-accent-ink); }

.mlhe-card__body { padding: 18px 8px 8px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.mlhe-card__cats { display: flex; flex-wrap: wrap; gap: 6px; }
.mlhe-tag {
	font-family: var(--mlhe-font-head);
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--mlhe-muted);
	padding: 0.3em 0.7em;
	border: 1px solid var(--mlhe-line);
	border-radius: var(--mlhe-radius-pill);
}
.mlhe-card__title {
	font-size: 1.35rem;
	transition: color 0.3s var(--mlhe-ease);
}
.mlhe-card:hover .mlhe-card__title { color: var(--mlhe-accent); }
.mlhe-card__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.86rem; color: var(--mlhe-body); }
.mlhe-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.mlhe-card__meta svg { width: 15px; height: 15px; opacity: 0.6; }
.mlhe-card__excerpt { font-size: 0.92rem; color: var(--mlhe-body); }
.mlhe-card__foot { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mlhe-price { font-family: var(--mlhe-font-head); font-weight: 700; color: var(--mlhe-ink); font-size: 0.95rem; }
.mlhe-price small { color: var(--mlhe-muted); font-weight: 600; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; }
.mlhe-badge-soldout {
	font-family: var(--mlhe-font-head);
	font-weight: 700;
	font-size: 0.7rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #fff;
	background: #c8422d;
	padding: 0.4em 0.7em;
	border-radius: var(--mlhe-radius-sm);
}

/* ------------------------------------------------------------- List view  */
.mlhe-list { display: flex; flex-direction: column; gap: 34px; }
.mlhe-list__month {
	font-family: var(--mlhe-font-head);
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--mlhe-muted);
	padding-bottom: 10px;
	border-bottom: 1px solid var(--mlhe-line);
	margin-bottom: 6px;
}
.mlhe-row {
	display: grid;
	grid-template-columns: 90px 1fr auto;
	gap: 22px;
	align-items: center;
	padding: 18px;
	border-radius: var(--mlhe-radius);
	background: var(--mlhe-surface);
	box-shadow: var(--mlhe-shadow);
	transition: transform 0.3s var(--mlhe-ease), box-shadow 0.3s var(--mlhe-ease);
}
.mlhe-row + .mlhe-row { margin-top: 12px; }
.mlhe-row:hover { transform: translateX(4px); box-shadow: var(--mlhe-shadow-lg); }
.mlhe-row__thumb { display: none; }
.mlhe-row__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mlhe-row__title { font-size: 1.4rem; }
.mlhe-row__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.88rem; color: var(--mlhe-body); }
.mlhe-row__meta span { display: inline-flex; align-items: center; gap: 6px; }
.mlhe-row__meta svg { width: 15px; height: 15px; opacity: 0.6; }
.mlhe-row__cta { display: flex; align-items: center; gap: 10px; }

/* ----------------------------------------------------------- Empty state  */
.mlhe-empty {
	text-align: center;
	padding: 64px 24px;
	border: 1.5px dashed var(--mlhe-line);
	border-radius: var(--mlhe-radius);
	color: var(--mlhe-muted);
	font-family: var(--mlhe-font-head);
}

/* ---------------------------------------------------------------- Modal   */
.mlhe-modal-root { position: fixed; inset: 0; z-index: 99999; display: none; }
.mlhe-modal-root.is-open { display: block; }
.mlhe-modal-overlay {
	position: absolute; inset: 0;
	background: var(--mlhe-scrim);
	backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity 0.3s var(--mlhe-ease);
}
.mlhe-modal-root.is-open .mlhe-modal-overlay { opacity: 1; }
.mlhe-modal {
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -46%);
	width: min(560px, calc(100vw - 32px));
	max-height: calc(100vh - 48px);
	overflow: auto;
	background: var(--mlhe-surface);
	border-radius: var(--mlhe-radius);
	box-shadow: var(--mlhe-shadow-lg);
	opacity: 0;
	transition: opacity 0.35s var(--mlhe-ease), transform 0.35s var(--mlhe-ease);
}
.mlhe-modal-root.is-open .mlhe-modal { opacity: 1; transform: translate(-50%, -50%); }
.mlhe-modal__media { aspect-ratio: 16/9; overflow: hidden; border-radius: var(--mlhe-radius) var(--mlhe-radius) 0 0; background: var(--mlhe-surface-2); }
.mlhe-modal__media img { width: 100%; height: 100%; object-fit: cover; }
.mlhe-modal__body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 14px; }
.mlhe .mlhe-modal__close {
	position: absolute; top: 14px; right: 14px; z-index: 2;
	width: 38px; height: 38px; padding: 0; border-radius: 50%;
	border: none; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
	/* Not user-customizable, so !important is safe here and guarantees the
	   close control survives even themes that use !important on <button>. */
	background: var(--mlhe-surface) !important; color: var(--mlhe-ink) !important;
	text-transform: none !important;
	font-size: 20px; line-height: 1;
	box-shadow: 0 6px 18px -8px rgba(0,0,0,0.5);
}
.mlhe .mlhe-modal__close:hover { background: var(--mlhe-surface-2) !important; }
.mlhe-modal__title { font-size: 1.7rem; }
.mlhe-modal__meta { display: flex; flex-direction: column; gap: 8px; font-size: 0.95rem; }
.mlhe-modal__meta span { display: inline-flex; align-items: center; gap: 9px; }
.mlhe-modal__meta svg { width: 17px; height: 17px; color: var(--mlhe-accent); }
.mlhe-modal__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.mlhe-modal__cats { display: flex; flex-wrap: wrap; gap: 6px; }
.mlhe-modal__excerpt { margin: 0; color: var(--mlhe-body); line-height: 1.6; }
.mlhe-modal__map { border-radius: var(--mlhe-radius-sm); overflow: hidden; border: 1px solid var(--mlhe-line); }
.mlhe-modal__map iframe { width: 100%; height: 200px; border: 0; display: block; }
/* Add-to-calendar 2x2 grid (quick-view popup) */
.mlhe-atcg { margin-top: 2px; }
.mlhe-atcg__title {
	font-family: var(--mlhe-font-head);
	font-weight: 700; font-size: 0.7rem;
	letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--mlhe-muted);
	margin: 0 0 10px;
}
.mlhe-atcg__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mlhe-atcg__item {
	display: flex; align-items: center; gap: 10px;
	padding: 11px 13px;
	border: 1px solid var(--mlhe-line);
	border-radius: var(--mlhe-radius-sm);
	background: var(--mlhe-surface);
	color: var(--mlhe-ink);
	font-family: var(--mlhe-font-head);
	font-weight: 600; font-size: 0.9rem; line-height: 1.1;
	text-decoration: none;
	transition: border-color 0.2s var(--mlhe-ease), background 0.2s var(--mlhe-ease), transform 0.2s var(--mlhe-ease);
}
.mlhe-atcg__item:hover { border-color: var(--mlhe-accent); background: var(--mlhe-surface-2); transform: translateY(-1px); }
.mlhe-atcg__ico {
	flex: 0 0 auto;
	display: inline-flex; align-items: center; justify-content: center;
	width: 30px; height: 30px; border-radius: 9px;
	background: color-mix(in srgb, var(--mlhe-accent) 12%, transparent);
	color: var(--mlhe-accent);
}
.mlhe-atcg__ico svg { width: 17px; height: 17px; }
.mlhe-atcg__lbl { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media ( max-width: 380px ) { .mlhe-atcg__grid { grid-template-columns: 1fr; } }

/* Safety: inline button icons must never balloon (unconstrained inline SVG). */
.mlhe .mlhe-btn > svg { width: 1.15em; height: 1.15em; flex: 0 0 auto; }

/* -------------------------------------------------------- Add to calendar */
.mlhe-atc { position: relative; display: inline-block; }
.mlhe-atc__menu {
	position: absolute; top: calc(100% + 8px); left: 0; z-index: 40;
	min-width: 210px;
	background: var(--mlhe-surface);
	border: 1px solid var(--mlhe-line);
	border-radius: var(--mlhe-radius-sm);
	box-shadow: var(--mlhe-shadow-lg);
	padding: 6px;
	display: none;
}
.mlhe-atc.is-open .mlhe-atc__menu { display: block; }
.mlhe-atc__menu a {
	display: flex; align-items: center; gap: 10px;
	padding: 0.7em 0.85em;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--mlhe-ink);
}
.mlhe-atc__menu a:hover { background: var(--mlhe-surface-2); }
.mlhe-atc__menu svg { width: 17px; height: 17px; opacity: 0.7; }

/* ------------------------------------------------------------- Featured   */
.mlhe-featured {
	position: relative;
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	background: var(--mlhe-surface);
	border-radius: var(--mlhe-radius);
	overflow: hidden;
	box-shadow: var(--mlhe-shadow);
}
.mlhe-featured__media { position: relative; min-height: 320px; background: var(--mlhe-surface-2); }
.mlhe-featured__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mlhe-featured__body { padding: 40px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.mlhe-eyebrow {
	font-family: var(--mlhe-font-head);
	font-weight: 700;
	font-size: 0.72rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--mlhe-accent);
}
.mlhe-featured__title { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.mlhe-countdown { display: flex; gap: 14px; }
.mlhe-countdown__unit { text-align: center; }
.mlhe-countdown__num {
	font-family: var(--mlhe-font-head);
	font-weight: 700;
	font-size: 2rem;
	color: var(--mlhe-ink);
	font-variant-numeric: tabular-nums;
	line-height: 1;
}
.mlhe-countdown__lbl { font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mlhe-muted); margin-top: 4px; }

/* --------------------------------------------------------------- Lineup   */
.mlhe-lineup {
	display: grid;
	grid-template-columns: repeat(var(--mlhe-cols, 4), minmax(0, 1fr));
	gap: var(--mlhe-gap);
}
.mlhe-artist { text-align: center; display: flex; flex-direction: column; gap: 12px; }
.mlhe-artist__photo {
	aspect-ratio: 1;
	border-radius: var(--mlhe-radius);
	overflow: hidden;
	background: var(--mlhe-surface-2);
}
.mlhe-artist__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--mlhe-ease); }
.mlhe-artist:hover .mlhe-artist__photo img { transform: scale(1.05); }
.mlhe-artist__name { font-size: 1.15rem; }
.mlhe-artist__home { font-size: 0.82rem; color: var(--mlhe-muted); }

/* ---------------------------------------------------------- Single event  */
.mlhe-single { display: block; }
.mlhe-single__hero {
	position: relative;
	border-radius: var(--mlhe-radius);
	overflow: hidden;
	min-height: 420px;
	display: flex;
	align-items: flex-end;
	background: var(--mlhe-ink);
}
.mlhe-single__hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.86; }
.mlhe-single__hero::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, transparent 28%, var(--mlhe-hero-scrim) 100%);
}
.mlhe-single__herobody { position: relative; z-index: 2; padding: 44px; color: #fff; display: flex; flex-direction: column; gap: 14px; }
.mlhe-single__herobody .mlhe-eyebrow { color: color-mix(in srgb, var(--mlhe-accent) 85%, #fff); }
.mlhe-single__title { font-size: clamp(2rem, 5vw, 3.6rem); color: #fff; }
.mlhe-single__hero .mlhe-single__facts { color: rgba(255,255,255,0.9); }

.mlhe-single__layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; margin-top: 40px; align-items: start; }
.mlhe-single__facts { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 1rem; }
.mlhe-single__facts span { display: inline-flex; align-items: center; gap: 9px; }
.mlhe-single__facts svg { width: 18px; height: 18px; }
.mlhe-prose { font-size: 1.05rem; line-height: 1.75; color: var(--mlhe-body); }
.mlhe-prose h2, .mlhe-prose h3 { margin: 1.4em 0 0.5em; }

.mlhe-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.mlhe-gallery a { display: block; border-radius: var(--mlhe-radius-sm); overflow: hidden; aspect-ratio: 1; background: var(--mlhe-surface-2); }
.mlhe-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--mlhe-ease); }
.mlhe-gallery a:hover img { transform: scale(1.08); }

.mlhe-videos { display: flex; flex-direction: column; gap: 16px; margin-top: 26px; }
.mlhe-video { position: relative; aspect-ratio: 16/9; border-radius: var(--mlhe-radius-sm); overflow: hidden; background: #000; }
.mlhe-video iframe, .mlhe-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.mlhe-aside {
	position: sticky; top: 24px;
	background: var(--mlhe-surface);
	border-radius: var(--mlhe-radius);
	padding: 26px;
	box-shadow: var(--mlhe-shadow);
	display: flex; flex-direction: column; gap: 18px;
}
.mlhe-aside__price { font-family: var(--mlhe-font-head); font-weight: 700; font-size: 1.6rem; color: var(--mlhe-ink); }
.mlhe-aside__row { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; }
.mlhe-aside__row svg { width: 18px; height: 18px; color: var(--mlhe-accent); flex: none; margin-top: 2px; }
.mlhe-aside .mlhe-btn { width: 100%; justify-content: center; }
.mlhe-map { border-radius: var(--mlhe-radius-sm); overflow: hidden; aspect-ratio: 3/2; border: 1px solid var(--mlhe-line); }
.mlhe-map iframe { width: 100%; height: 100%; border: 0; }
.mlhe-aside__group { display: flex; flex-direction: column; gap: 16px; }

/* Single event — full-width (horizontal) layout: main spans full width and the
   aside becomes a horizontal band of its three groups across the section. */
.mlhe-single--wide .mlhe-single__layout { grid-template-columns: 1fr; }
.mlhe-single--wide .mlhe-aside {
	position: static;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 26px 32px;
	align-items: start;
}
.mlhe-single--wide .mlhe-aside__mapwrap { grid-column: auto; }

/* Single event — split layout: featured image alone on the left, every detail
   (title, facts, description, tickets, calendar, address, map) on the right. */
.mlhe-single--split .mlhe-single__split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 44px;
	align-items: start;
}
.mlhe-single__splitmedia {
	position: sticky; top: 24px;
	border-radius: var(--mlhe-radius);
	overflow: hidden;
	background: var(--mlhe-surface-2);
}
.mlhe-single__splitmedia img { width: 100%; height: auto; display: block; }
.mlhe-single__splitbody { display: flex; flex-direction: column; gap: 24px; }
.mlhe-single__splithead { display: flex; flex-direction: column; gap: 12px; }
.mlhe-single--split .mlhe-single__title { color: var(--mlhe-ink); font-size: clamp(1.8rem, 3vw, 2.8rem); }
.mlhe-single--split .mlhe-single__facts { color: var(--mlhe-body); }
.mlhe-single--split .mlhe-aside { position: static; }

.mlhe-section-h {
	font-size: 1.6rem;
	margin: 46px 0 20px;
	display: flex; align-items: center; gap: 14px;
}
.mlhe-section-h::after { content: ""; flex: 1; height: 1px; background: var(--mlhe-line); }

/* ----------------------------------------------------- Sidebar compact    */
.mlhe-compact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.mlhe-compact__item { display: flex; gap: 12px; align-items: center; }
.mlhe-compact__date {
	flex: none; width: 46px; text-align: center; line-height: 1;
	border-radius: var(--mlhe-radius-sm); padding: 8px 0;
	background: color-mix(in srgb, var(--mlhe-chip, var(--mlhe-accent)) 16%, var(--mlhe-surface));
	border: 1px solid var(--mlhe-line);
}
.mlhe-compact__date b { display: block; font-family: var(--mlhe-font-head); font-weight: 700; font-size: 1.15rem; color: var(--mlhe-ink); }
.mlhe-compact__date i { display: block; font-style: normal; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mlhe-muted); margin-top: 2px; }
.mlhe-compact__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mlhe-compact__title { font-family: var(--mlhe-font-head); font-weight: 600; font-size: 0.98rem; color: var(--mlhe-ink); }
.mlhe-compact__item:hover .mlhe-compact__title { color: var(--mlhe-accent); }
.mlhe-compact__meta { font-size: 0.8rem; color: var(--mlhe-muted); }

/* Mini calendar */
.mlhe-mini { background: var(--mlhe-surface); border-radius: var(--mlhe-radius); padding: 16px; box-shadow: var(--mlhe-shadow); }
.mlhe-mini__head { font-family: var(--mlhe-font-head); font-weight: 700; color: var(--mlhe-ink); text-align: center; margin-bottom: 10px; }
.mlhe-mini__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.mlhe-mini__dow { text-align: center; font-size: 0.62rem; font-weight: 700; color: var(--mlhe-muted); padding-bottom: 4px; }
.mlhe-mini__cell {
	aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
	font-size: 0.78rem; font-weight: 600; color: var(--mlhe-body); border-radius: 50%; position: relative;
}
.mlhe-mini__cell.has-event { color: var(--mlhe-ink); }
.mlhe-mini__cell.has-event::after { content: ""; position: absolute; bottom: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--mlhe-accent); }
.mlhe-mini__cell.is-today { background: var(--mlhe-accent); color: var(--mlhe-accent-ink); }
.mlhe-mini__cell.is-today.has-event::after { background: var(--mlhe-accent-ink); }
.mlhe-mini__all { display: block; text-align: center; margin-top: 12px; font-family: var(--mlhe-font-head); font-weight: 700; font-size: 0.82rem; color: var(--mlhe-accent); }

/* ---------------------------------------------------------- Responsive    */
@media (max-width: 1024px) {
	.mlhe-grid { --mlhe-cols: 2; }
	.mlhe-lineup { --mlhe-cols: 3; }
	.mlhe-single__layout { grid-template-columns: 1fr; }
	.mlhe-single--split .mlhe-single__split { grid-template-columns: 1fr; }
	.mlhe-single__splitmedia { position: static; }
	.mlhe-aside { position: static; }
	.mlhe-featured { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
	.mlhe-grid, .mlhe-grid--4 { --mlhe-cols: 1; }
	.mlhe-lineup { --mlhe-cols: 2; }
	.mlhe-row { grid-template-columns: 70px 1fr; }
	.mlhe-row__cta { grid-column: 1 / -1; }
	.mlhe-gallery { grid-template-columns: repeat(2, 1fr); }
	.mlhe-viewswitch { margin-left: 0; width: 100%; justify-content: space-between; }
}

/* --------------------------------------------------- A11y & motion prefs  */
.mlhe :focus-visible,
.mlhe-modal__close:focus-visible {
	outline: 3px solid var(--mlhe-accent);
	outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
	.mlhe *, .mlhe *::before, .mlhe *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
	.mlhe-card:hover, .mlhe-row:hover, .mlhe-btn:hover { transform: none; }
}
