/* Mamasan Happenings — scoped to the Happenings page only (body.mh-happenings). */

/* Homepage popup is not shown on this page. */
.mh-happenings #popop-enable,
.mh-happenings .pop-sec-outer {
	display: none !important;
}

/* The homepage's mobile menu backdrop is not needed: this page is already black. */
.mh-happenings .inner-sec::before {
	display: none !important;
}

/* Corner menus stay on top and clickable; the rest of their layer lets the page scroll. */
.mh-happenings .menu-section {
	pointer-events: none;
}
.mh-happenings .menu-section h6,
.mh-happenings .menu-section h6 *,
.mh-happenings .menu-section .close-icon,
.mh-happenings .menu-section .open-menus .black-sec,
.mh-happenings .menu-section .open-menus .black-sec * {
	pointer-events: auto;
}

/* Labels sit on black here, so content scrolls cleanly beneath them. */
.mh-happenings .menu-section h6 {
	background: #000;
}

/* The happenings label: old panel hidden, close (x) always shown. */
.mh-happenings .mh-hp-menu .black-sec {
	display: none !important;
}
.mh-happenings .mh-hp-menu .close-icon {
	right: 0;
	opacity: 1;
}
.mh-happenings .mh-hp-label,
.mh-happenings .mh-hp-label h6 {
	cursor: pointer;
}

/* Room for the longer "find us / gifting" label on one line. */
@media (min-width: 768px) {
	.mh-happenings .right-third-menu.common-menu .menu-text {
		width: 210px;
	}
}

/* ------------------------------------------------------------------
 * Full-frame panel
 * ------------------------------------------------------------------ */

.mh-overlay {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 60;
	background: #000;
	color: #fff;
	overflow: hidden;
	font-family: 'Maison Neue', monospace;
	font-weight: 400;
	text-transform: uppercase;
	opacity: 0;
	transition: opacity 400ms;
}
.mh-ready .mh-overlay {
	opacity: 1;
}
.mh-leaving .mh-overlay {
	opacity: 0;
}
.admin-bar .mh-overlay {
	top: 32px;
}

.mh-overlay *,
.mh-overlay *::before,
.mh-overlay *::after {
	box-sizing: border-box;
}

.mh-overlay p,
.mh-overlay h1,
.mh-overlay h2,
.mh-overlay h3,
.mh-overlay ul,
.mh-overlay dl,
.mh-overlay dd {
	margin: 0;
	padding: 0;
	font-weight: 400;
	letter-spacing: normal;
}

/* Scroll area sits between the top and bottom menu rows, so nothing overlaps. */
.mh-inner {
	position: absolute;
	top: 64px;
	right: 0;
	bottom: 64px;
	left: 0;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	padding: 56px 0 72px;
	scrollbar-width: none;
	-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
	mask-image: linear-gradient(to bottom, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}
.mh-inner::-webkit-scrollbar {
	display: none;
}

/* One centred column that stays clear of the side menu labels. */
.mh-head,
.mh-section,
.mh-signoff {
	width: min(820px, calc(100vw - 520px));
	margin-left: auto;
	margin-right: auto;
}

/* Centre brand marks (mamasan / (母)) would sit over the text on this page. */
.mh-happenings .menu-section .right-sidemeu {
	visibility: hidden;
}

/* Heading */
.mh-head {
	display: block;
	padding-bottom: 64px;
}
.mh-title {
	text-align: center;
	font-size: 34px;
	line-height: 1;
	color: #fff;
}
.mh-intro {
	text-align: center;
	margin-top: 24px !important;
	font-size: 12px;
	line-height: 20px;
	opacity: 0.84;
}

/* Section label */
.mh-section {
	border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.mh-section-label {
	display: block;
	text-align: center;
	padding: 28px 0 8px;
	font-size: 12px;
	line-height: 20px;
	color: rgba(255, 255, 255, 0.44);
}
.mh-num {
	color: #AB1730;
}

/* Experiences */
.mh-item {
	display: grid;
	grid-template-columns: 180px 1fr;
	padding: 40px 0 44px;
}
.mh-item + .mh-item {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.mh-when {
	padding-right: 36px;
	text-align: right;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
}
.mh-when-main {
	font-size: 18px;
	line-height: 22px;
	color: #AB1730;
}
.mh-when-sub {
	font-size: 12px;
	line-height: 20px;
	color: rgba(255, 255, 255, 0.6);
}
.mh-body {
	padding-left: 36px;
	border-left: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 12px;
	line-height: 20px;
}
.mh-item-title {
	font-size: 18px;
	line-height: 22px;
	color: #fff;
}
.mh-tagline {
	margin-top: 12px !important;
	opacity: 0.84;
}
.mh-details {
	margin-top: 4px !important;
	color: rgba(255, 255, 255, 0.6);
}
.mh-description {
	margin-top: 16px;
	opacity: 0.84;
}
.mh-description p + p {
	margin-top: 12px;
}

/* NYE seatings: two quiet blocks, side by side, not cards. */
.mh-seatings {
	margin-top: 20px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}
.mh-seating {
	border-left: 1px solid rgba(255, 255, 255, 0.24);
	padding-left: 14px;
}
.mh-seating dt {
	color: #fff;
}
.mh-seating dd {
	margin-top: 4px;
	color: rgba(255, 255, 255, 0.6);
}

.mh-list {
	margin-top: 16px !important;
	list-style: none;
}
.mh-list li {
	list-style: none;
	opacity: 0.84;
}
.mh-after {
	margin-top: 16px !important;
	opacity: 0.84;
}
.mh-note {
	margin-top: 16px !important;
	color: rgba(255, 255, 255, 0.6);
}
.mh-fine {
	margin-top: 16px !important;
	font-size: 10px;
	line-height: 16px;
	color: rgba(255, 255, 255, 0.44);
}

/* Arrow links, exactly as the homepage panels: dim, then white with a red sliding arrow. */
.mh-links {
	margin-top: 24px !important;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.mh-links li {
	list-style: none;
}
.mh-link {
	display: inline-flex;
	gap: 12px;
	align-items: center;
	font-size: 13px;
	line-height: 20px;
	color: #fff;
	opacity: 0.44;
	text-decoration: none;
	text-transform: uppercase;
	transition: opacity 0.5s;
}
.mh-link strong {
	font-weight: 400;
	position: relative;
	left: 0;
	transition: 0.5s;
}
.mh-link:hover,
.mh-link:focus-visible {
	opacity: 1;
	color: #fff;
}
.mh-link:hover strong,
.mh-link:focus-visible strong {
	color: #AB1730;
	left: 6px;
}
.mh-link:focus-visible {
	outline: 1px solid rgba(255, 255, 255, 0.44);
	outline-offset: 4px;
}

/* Sign-off */
.mh-signoff {
	display: block;
	text-align: center;
	padding-top: 56px;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	font-size: 12px;
	line-height: 20px;
	opacity: 0.84;
}

/* ------------------------------------------------------------------
 * Tablet
 * ------------------------------------------------------------------ */
@media (min-width: 768px) and (max-width: 1099px) {
	.mh-head,
	.mh-section,
	.mh-signoff {
		width: max(300px, calc(100vw - 440px));
	}
	.mh-title {
		font-size: 28px;
	}
	.mh-item {
		display: block;
	}
	.mh-when {
		padding-right: 0;
		text-align: left;
		align-items: flex-start;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 4px 12px;
		margin-bottom: 14px;
	}
	.mh-when-main {
		font-size: 13px;
		line-height: 20px;
	}
	.mh-body {
		padding-left: 0;
		border-left: 0;
	}
	.mh-seatings {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

/* ------------------------------------------------------------------
 * Mobile: everything stacks, same hierarchy.
 * ------------------------------------------------------------------ */
@media (max-width: 767px) {
	.admin-bar .mh-overlay {
		top: 46px;
	}
	.mh-inner {
		top: 44px;
		bottom: 84px;
		padding: 40px 0 56px;
	}
	.mh-head,
	.mh-section,
	.mh-signoff {
		width: calc(100% - 40px);
	}
	.mh-head {
		padding-bottom: 48px;
	}
	.mh-title {
		font-size: 22px;
	}
	.mh-item {
		display: block;
		padding: 32px 0 36px;
	}
	.mh-when {
		padding-right: 0;
		text-align: left;
		align-items: flex-start;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 4px 12px;
		margin-bottom: 14px;
	}
	.mh-when-main {
		font-size: 13px;
		line-height: 20px;
	}
	.mh-body {
		padding-left: 0;
		border-left: 0;
	}
	.mh-item-title {
		font-size: 16px;
		line-height: 20px;
	}
	.mh-seatings {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.mh-link {
		opacity: 0.7;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mh-overlay,
	.mh-link,
	.mh-link strong {
		transition: none;
	}
}

/* Mailing list sign-up, above the sign-off. */
.mh-join {
	width: min(820px, calc(100vw - 520px));
	margin: 0 auto;
	padding: 48px 0 56px;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	text-align: center;
	font-size: 12px;
	line-height: 20px;
}
.mh-join p {
	color: rgba(255, 255, 255, 0.6);
}
.mh-join .mh-link {
	margin-top: 16px;
}
@media (min-width: 768px) and (max-width: 1099px) {
	.mh-join {
		width: max(300px, calc(100vw - 440px));
	}
}
@media (max-width: 767px) {
	.mh-join {
		width: calc(100% - 40px);
		padding: 40px 0 48px;
	}
}

/* Mobile: the (x) sits just after "happenings", not on top of it. */
@media (max-width: 767px) {
	.mh-happenings .right-first-mobile-menu .menu-text h6 {
		width: auto !important;
	}
	.mh-happenings .right-first-mobile-menu .close-icon {
		position: relative !important;
		left: auto !important;
		right: auto !important;
		top: 0 !important;
		margin-left: 8px;
	}
}

/* Mobile: overall type one to two sizes smaller, in line with the rest of the site. */
@media (max-width: 767px) {
	.mh-title {
		font-size: 20px;
	}
	.mh-intro,
	.mh-section-label,
	.mh-body,
	.mh-when-sub,
	.mh-signoff,
	.mh-join {
		font-size: 11px;
		line-height: 18px;
	}
	.mh-item-title {
		font-size: 14px;
		line-height: 18px;
	}
	.mh-when-main {
		font-size: 12px;
		line-height: 18px;
	}
	.mh-link {
		font-size: 12px;
		line-height: 18px;
	}
	.mh-fine {
		font-size: 9px;
		line-height: 14px;
	}
}
