/*
Theme Name: Moab Music Festival
Template: hello-elementor
Version: 1.2.0
*/

/* Moab Music Festival child theme.
   Mirrors the production header and navigation.
   navy #2A2740 | header #21212F | rust #A0452D | copper #AC613E
   ink #16181A | muted #818A91 | canyon blue #3284C2 */

/* ---------- Header bar ---------- */
body header.site-header {
	background-color: #21212F;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 100px;
	padding: 0 max(20px, calc((100% - 1170px) / 2));
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
}

.site-header .site-branding {
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
	max-width: none;
	text-align: left;
}

.site-header .custom-logo-link { display: block; }

.site-header .custom-logo {
	display: block;
	width: 337px;
	max-width: 100%;
	height: auto;
}

.site-header .site-navigation {
	flex: 1 1 auto;
	display: flex;
	justify-content: flex-end;
	max-width: none;
}

.site-header .site-navigation ul.menu {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-end;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-header .site-navigation ul.menu > li { position: relative; }

.site-header .site-navigation ul.menu > li > a {
	display: block;
	padding: 5px 14px;
	white-space: nowrap;
	font-family: "Marcellus", Georgia, serif;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.25;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none;
	color: #FFFFFF;
	transition: color .18s ease;
}

.site-header .site-navigation ul.menu > li > a:hover,
.site-header .site-navigation ul.menu > li > a:focus,
.site-header .site-navigation ul.menu > li.current-menu-item > a,
.site-header .site-navigation ul.menu > li.current-menu-ancestor > a,
.site-header .site-navigation ul.menu > li.current_page_item > a {
	color: #AC613E;
}

/* ---------- Dropdowns ---------- */
.site-header .site-navigation ul.sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 999;
	min-width: 230px;
	margin: 0;
	padding: 0;
	list-style: none;
	background-color: #21212F;
	box-shadow: 0 8px 15px rgba(0, 0, 0, .25);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.site-header .site-navigation ul.menu > li:hover > .sub-menu,
.site-header .site-navigation ul.menu > li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.site-header .site-navigation ul.sub-menu > li {
	position: relative;
	display: block;
}

.site-header .site-navigation ul.sub-menu > li > a {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 12px 20px;
	font-family: "Marcellus", Georgia, serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: normal;
	text-transform: uppercase;
	text-decoration: none;
	color: #FFFCFC;
	transition: color .18s ease, background-color .18s ease;
}

.site-header .site-navigation ul.sub-menu > li > a:hover,
.site-header .site-navigation ul.sub-menu > li > a:focus {
	color: #AC613E;
	background-color: rgba(255, 255, 255, .05);
}

.site-header .site-navigation ul.sub-menu .sub-menu {
	top: 0;
	left: 100%;
}

/* ---------- Header: tablet and phone ---------- */
/* ---------- Homepage hero ---------- */
/* The slides widget now runs edge to edge, so pull the intro block that shares
   its section back to the normal content width. */
.elementor-element-a66453d {
	max-width: 1140px;
	margin-left: auto;
	margin-right: auto;
}

/* ---------- Search affordance in the header ---------- */
.site-header .site-navigation ul.menu > li.mmf-search-item {
	margin-left: 8px;
	padding-left: 16px;
	border-left: 1px solid rgba(255, 255, 255, .35);
}

.site-header .site-navigation ul.menu > li.mmf-search-item > a {
	display: flex;
	align-items: center;
	padding: 5px 8px;
	color: #FFFFFF;
}

.site-header .site-navigation ul.menu > li.mmf-search-item > a:hover,
.site-header .site-navigation ul.menu > li.mmf-search-item > a:focus {
	color: #AC613E;
}
/* ---------- Mobile navigation ---------- */
.mmf-nav-toggle { display: none; }

.mmf-nav-toggle:hover,
.mmf-nav-toggle:focus {
	background-color: transparent;
}

@media (max-width: 1209px) {
	body header.site-header {
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: center;
		padding-top: 12px;
		padding-bottom: 12px;
	}

	.site-header .site-branding { flex: 0 1 auto; text-align: left; }
	.site-header .custom-logo { width: 220px; margin: 0; }

	.mmf-nav-toggle {
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 5px;
		width: 44px;
		height: 44px;
		padding: 10px;
		border: 0;
		background: transparent;
		cursor: pointer;
	}

	.mmf-nav-toggle span {
		display: block;
		height: 2px;
		background-color: #FFFFFF;
		transition: transform .2s ease, opacity .2s ease;
	}

	.site-header.mmf-nav-open .mmf-nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.site-header.mmf-nav-open .mmf-nav-toggle span:nth-child(2) { opacity: 0; }
	.site-header.mmf-nav-open .mmf-nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

	.site-header .site-navigation { display: none; flex: 1 1 100%; }
	.site-header.mmf-nav-open .site-navigation { display: block; padding-top: 8px; }

	.site-header .site-navigation ul.menu > li { display: block; width: 100%; }
	/* submenus are already expanded here, so the dropdown caret is noise */
	.site-header .site-navigation ul.menu > li::after { display: none; }

	.site-header .site-navigation ul.menu {
		flex-direction: column;
		align-items: stretch;
		flex-wrap: nowrap;
	}

	.site-header .site-navigation ul.menu > li > a {
		padding: 11px 4px;
		font-size: 16px;
		border-top: 1px solid rgba(255, 255, 255, .12);
	}

	.site-header .site-navigation ul.sub-menu {
		position: static;
		display: block;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		background-color: rgba(255, 255, 255, .04);
		min-width: 0;
	}

	.site-header .site-navigation ul.sub-menu > li > a { padding: 9px 18px; font-size: 14px; }

	.site-header .site-navigation ul.menu > li.mmf-search-item { margin-left: 0; padding-left: 0; border-left: 0; }
	.site-header .site-navigation ul.menu > li.mmf-search-item > a { padding: 12px 4px; }
}

/* ---------- Spacing under the image band ---------- */
/* Hello Elementor stretches whatever follows the theme header to fill the
   viewport (.site-header + .elementor { min-height: calc(100vh - 320px) }).
   Since the theme header now sits above the Elementor banner template, that
   rule was padding the banner itself with up to a few hundred pixels of empty
   space, growing with window height. Exempt the banner; the page content below
   it is what should fill the screen. */
.site-header + .elementor.elementor-location-header {
	min-height: 0;
}