/* After Dark local homepage: native Atomic sections plus retained MEC/newsletter widgets. */
body.home label.nissis-newsletter-label {
	display: block;
	margin-bottom: 0.4rem;
	color: #fff !important;
	font: inherit;
	font-weight: 600;
	text-align: left;
}
body.home .elementor-element-1660cc64 {
	margin-top: 0 !important;
}

body.home .elementor-element-4b79bc7c > .e-image-base {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
}

body.home .elementor-element-298759e6 {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
}

body.home .elementor-element-f6b8a3d {
	background: var(--nissis-surface, #f5f7fb);
	padding: clamp(2.5rem, 4vw, 4rem) 10px 0 !important;
}

body.home .elementor-element-f6b8a3d > .elementor-container {
	/* The nested MEC canvas is 1920px; allow its two outer 10px gutters. */
	max-width: 1940px;
}

/* Center the six homepage cards between the former narrow and full-width layouts. */
@media (min-width: 1101px) {
	body.home .elementor-element-f6b8a3d > .elementor-container {
		width: 92%;
		max-width: 1620px; /* 1600px card canvas plus the existing two 10px gutters. */
		margin-inline: auto;
	}
}

body.home .elementor-element-f6b8a3d > .elementor-container > .elementor-column > .elementor-widget-wrap {
	padding: 10px;
}

/* The embedded calendar already has the section gutter; remove the nested shortcode gutter. */
body.home .elementor-element-44a15d7 > .elementor-widget-container {
	padding: 0 !important;
}

body.home .elementor-element-5fb3f4c .elementor-heading-title {
	margin: 0 0 1.75rem;
	font-family: var(--nissis-heading-font, "Montserrat");
	font-size: clamp(2rem, 3vw, 2.75rem);
	font-weight: 700;
	letter-spacing: -.035em;
	line-height: 1.15;
	text-align: left;
}

body.home .elementor-element-77988c5 {
	margin-top: 1.25rem;
	text-align: center !important;
}

body.home .elementor-element-77988c5 .elementor-button {
	min-height: 44px;
	padding: .75rem 1.25rem;
	border: 0;
	border-radius: 7px;
	background: var(--nissis-navy, #001269);
	color: #fff;
	box-shadow: none;
	transition: background-color 180ms ease;
}

body.home .elementor-element-77988c5 .elementor-button:hover {
	background: var(--nissis-ink, #091638);
	color: #fff;
	box-shadow: none;
}

body.home .elementor-element-77988c5 .elementor-button:focus-visible {
	outline: 3px solid var(--nissis-focus, #527bc4);
	outline-offset: 4px;
}

body.home .elementor-element-304a9f1 {
	background: var(--nissis-ink, #091638) !important;
	padding-top: 3rem !important;
	padding-bottom: 3rem !important;
}

body.home .elementor-element-304a9f1 h2 {
	color: var(--nissis-white, #fff) !important;
	font-family: var(--nissis-heading-font, "Montserrat");
	font-size: clamp(1.75rem, 2.7vw, 2.6rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.02em;
}

body.home .elementor-element-304a9f1 .elementor-social-icon {
	color: var(--nissis-white, #fff) !important;
	background-color: transparent !important;
}

body.home .elementor-element-304a9f1 .elementor-social-icon i,
body.home .elementor-element-304a9f1 .elementor-social-icon svg {
	color: var(--nissis-white, #fff) !important;
	fill: var(--nissis-white, #fff) !important;
}

body.home .elementor-element-fc9f57b {
	padding: 0 2rem 0;
	background: var(--nissis-white, #fff) !important;
}

body.home .elementor-element-fc9f57b > .elementor-container {
	max-width: 1280px;
}

body.home .elementor-element-fc9f57b .elementor-element-3a842a7 > .elementor-element-populated {
	padding: 0 !important;
	background: var(--nissis-white, #fff) !important;
}

body.home .elementor-element-fc9f57b .elementor-widget-gallery,
body.home .elementor-element-fc9f57b .elementor-widget-container,
body.home .elementor-element-fc9f57b .e-gallery-container {
	background: var(--nissis-white, #fff) !important;
}

@media (max-width: 767px) {
	/* The shared Food & Drink section already provides the mobile gutter and gap. */
	body.home .elementor-element-154fd728 > .elementor-element-6fafff0f {
		padding: 0 !important;
	}

	body.home .elementor-element-f6b8a3d {
		padding: 2.5rem 10px 0 !important;
	}

	body.home .elementor-element-f6b8a3d > .elementor-container {
		padding-right: 0;
		padding-left: 0;
	}

	body.home .elementor-element-304a9f1 > .elementor-container,
	body.home .elementor-element-fc9f57b > .elementor-container {
		padding-right: 1.25rem;
		padding-left: 1.25rem;
	}

	body.home .elementor-element-fc9f57b {
		padding-right: 0;
		padding-bottom: 0;
		padding-left: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.home .elementor-element-261f83d0,
	body.home .elementor-element-3d56521,
	body.home .elementor-element-7d5df61c,
	body.home .elementor-element-2dc7e07a,
	body.home .elementor-element-41d5a2bb,
	body.home .elementor-element-4541c8bf,
	body.home .elementor-element-63de4b4f,
	body.home .elementor-element-1d371ce2 {
		animation: none !important;
		transition: none !important;
		transform: none !important;
		opacity: 1 !important;
	}

	body.home .elementor-element-77988c5 .elementor-button,
	body.home .elementor-element-77988c5 .elementor-button:hover {
		transition: none !important;
		transform: none !important;
	}
}

/* Keep social destinations native; place the compact links below the newsletter form. */
body.home .elementor-element-304a9f1 > .elementor-container {
 flex-direction: column;
 align-items: center;
 gap: 1.5rem;
 max-width: 48rem;
}
body.home .elementor-element-304a9f1 > .elementor-container > .elementor-column { width: 100%; }
body.home .elementor-element-304a9f1 .elementor-heading-title { text-align: center; }
body.home .elementor-element-bcfa523 .elementor-social-icons-wrapper {
 display: flex !important;
 gap: .75rem;
 justify-content: center;
}
body.home .elementor-element-bcfa523 .elementor-social-icon {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 width: 48px;
 height: 48px;
 padding: 0;
 border: 1px solid rgba(255,255,255,.28);
 border-radius: 12px;
 background: rgba(255,255,255,.06) !important;
 font-size: 22px !important;
 transition: background-color 160ms ease, border-color 160ms ease;
}
body.home .elementor-element-bcfa523 .elementor-social-icon:hover {
 border-color: #fff;
 background: rgba(255,255,255,.16) !important;
}
body.home .elementor-element-bcfa523 .elementor-social-icon:focus-visible {
 outline: 3px solid #fff;
 outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
 body.home .elementor-element-bcfa523 .elementor-social-icon { transition: none; }
}

/* Atomic linked images need their link wrapper to fill each intentional mosaic crop. */
body.home .elementor-element-26b13852 .e-image-link-base {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
}
body.home .elementor-element-26b13852 .e-image-base {
 width: 100%;
 height: 100% !important;
 object-fit: cover;
}
body.home .elementor-element-26b13852 .e-image-link-base:focus-visible {
 outline: 3px solid var(--nissis-focus, #527bc4);
 outline-offset: -5px;
}

/* Decorative music notes stay behind authentic venue imagery and readable copy. */
body.home .elementor-7 .elementor-element-762fbcc {
 background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22600%22%20height%3D%22460%22%20viewBox%3D%220%200%20600%20460%22%3E%3Cg%20fill%3D%22%238ba5df%22%20opacity%3D%22.12%22%3E%3Cpath%20d%3D%22M82%20100v72c-10-6-29-1-34%209-6%2013%2012%2020%2026%2012%209-4%2013-10%2013-20v-48l49-13v45c-11-6-29-1-34%209-6%2013%2012%2020%2026%2012%209-4%2013-10%2013-20V84z%22%2F%3E%3Cpath%20d%3D%22M453%20306v70c-12-6-31%200-35%2012-4%2013%2016%2017%2030%208%208-5%2011-11%2011-21v-47c17%208%2028%2023%2024%2040%2016-16%206-34-8-45z%22%2F%3E%3Cpath%20d%3D%22M332%2027v52c-9-5-23%200-26%208-4%2010%2010%2014%2020%208%207-4%2010-8%2010-16V43c13%206%2021%2017%2018%2030%2012-12%205-25-7-34z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
 background-repeat:repeat;
 background-size:600px 460px;
}

/* Month links on Home open the existing full Shows filter at that month. */
body.home .nissis-home-months{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 28px;padding:8px 0 24px;border-bottom:1px solid #d9deeb}
body.home .nissis-home-months a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 20px;border:1px solid #8792c2;border-radius:999px;background:#fff;color:#001269;font:inherit;font-weight:600;line-height:1.3;text-decoration:none;box-shadow:0 4px 12px rgb(9 22 56 / 6%)}
body.home .nissis-home-months a:hover{background:#001269;border-color:#001269;color:#fff}
body.home .nissis-home-months a:focus-visible{outline:3px solid #527bc4;outline-offset:3px}
@media(max-width:767px){body.home .nissis-home-months{margin-bottom:20px;padding-top:4px}body.home .nissis-home-months a{padding-inline:16px;font-size:.95rem}}

/* October 15 local candidate: align the body canvas to the existing Home card edges.
 * Home's card canvas = min(92% of (page width - 20px), 1620px) - 40px.
 * The 40px are the existing outer and embedded MEC widget-wrap gutters.
 * Keep the MEC canvas unchanged; mirror that measured geometry in native sections.
 * Tablet and phone retain their current padding, stacking and image rules.
 */
@media (min-width: 1101px) {
	/* Full-bleed photographs and section surfaces keep their current outer width. */
	body.home .elementor-7 :is(
		.elementor-element-4b79bc7c,
		.elementor-element-762fbcc,
		.elementor-element-7d1d9eb4,
		.elementor-element-1348d581,
		.elementor-element-2bec1657
	) {
		padding-inline: 10px !important;
	}

	body.home .elementor-7 :is(
		.elementor-element-7221be9a,
		.elementor-element-4b4b40d9,
		.elementor-element-6b6f5024,
		.elementor-element-63de4b4f,
		.elementor-element-1d371ce2
	) {
		width: calc(92% - 40px) !important;
		max-width: 1580px !important;
		margin-inline: auto !important;
	}

	/* Food/Private Events is itself the two-column canvas, directly inside the page. */
	body.home .elementor-7 > .elementor-element-154fd728 {
		width: calc(92% - 58.4px) !important;
		max-width: 1580px !important;
		margin-inline: auto !important;
		padding-inline: 0 !important;
	}

	/* The heading had an extra 10px inset beyond the actual card edge. */
	body.home .elementor-7 .elementor-element-5fb3f4c > .elementor-widget-container {
		padding-inline: 10px !important;
	}

	/* Wider visual columns retain a comfortable body-copy line length. */
	body.home .elementor-7 :is(
		.elementor-element-3d56521,
		.elementor-element-7d5df61c,
		.elementor-element-4541c8bf,
		.elementor-element-63de4b4f
	) > .e-paragraph-base {
		max-width: 40rem;
	}
}

/* Align the retained MailerLite button with its labelled email field. */
@media (min-width: 751px) {
	body.home #mlb2-4423384 .ml-form-embedWrapper .ml-form-embedBody .ml-form-formContent.horozintalForm .ml-form-horizontalRow {
		display: flex;
		align-items: flex-end;
	}
}
