/* MW Hlavička – štýly podľa eventlads.sk */

:root {
	--mwh-bg: #C39E6E;
	--mwh-text: #FFFFFF;
	--mwh-hover: #2A2A2A;
	--mwh-sub: #333333;
	--mwh-container: 1170px;
	--mwh-logo-h: 35px;
	--mwh-logo-h-mobile: 30px;
	--mwh-mobile-h: 60px;
}

.mwh,
.mwh * {
	box-sizing: border-box;
}
.mwh {
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	line-height: 20px;
	font-weight: 700;
	text-transform: uppercase;
	background-color: var(--mwh-bg);
	color: var(--mwh-text);
	width: 100%;
	left: 0;
	right: 0;
	z-index: 300;
	margin: 0;
}
.mwh-pos-fixed,
.mwh-pos-overlay {
	position: fixed;
	top: 0;
}
.mwh-pos-static {
	position: relative;
}
.admin-bar .mwh-pos-fixed,
.admin-bar .mwh-pos-overlay {
	top: 32px;
}
@media (max-width: 782px) {
	.admin-bar .mwh-pos-fixed,
	.admin-bar .mwh-pos-overlay {
		top: 46px;
	}
}
/* Odsadenie obsahu pod fixnou hlavičkou (výšku dopĺňa JS do --mwh-h). */
body.mwh-position-fixed {
	padding-top: var(--mwh-h, var(--mwh-mobile-h));
}
/* Obal v Elementore (sekcia / stĺpec / widget so shortcode) nesmie mať vlastné pozadie,
   odsadenie ani Elementor sticky – o fixovanie sa stará plugin. */
.elementor-section:has(> .elementor-container .mwh),
.elementor-container:has(.mwh),
.elementor-column:has(.mwh),
.elementor-widget-wrap:has(> .elementor-widget .mwh),
.elementor-widget:has(> .elementor-widget-container > .mwh),
.elementor-widget-container:has(> .mwh) {
	background: transparent !important;
	padding: 0 !important;
	margin: 0 !important;
	min-height: 0 !important;
	box-shadow: none !important;
	border: 0 !important;
}
.elementor-section.elementor-sticky:has(.mwh),
.elementor-section.elementor-sticky--active:has(.mwh) {
	position: static !important;
	top: auto !important;
	width: auto !important;
}
.elementor-sticky__spacer:has(.mwh),
.elementor-section.elementor-sticky:has(.mwh) + .elementor-sticky__spacer {
	display: none !important;
}
/* To isté cez triedu, ktorú doplní JS – funguje aj bez podpory :has().
   transform / filter / contain na predkovi by robili kontext pre position:fixed. */
.mwh-host {
	background: transparent !important;
	padding: 0 !important;
	margin: 0 !important;
	min-height: 0 !important;
	box-shadow: none !important;
	border: 0 !important;
	transform: none !important;
	filter: none !important;
	-webkit-backdrop-filter: none !important;
	backdrop-filter: none !important;
	perspective: none !important;
	will-change: auto !important;
	contain: none !important;
	transition: none !important;
	animation: none !important;
}
.mwh-host.elementor-section,
.mwh-host.elementor-sticky {
	position: static !important;
	top: auto !important;
	bottom: auto !important;
	width: auto !important;
}
.mwh-host + .elementor-sticky__spacer {
	display: none !important;
}
/* V Elementor editore nech hlavička neprekrýva panel. */
body.elementor-editor-active .mwh-pos-fixed,
body.elementor-editor-active .mwh-pos-overlay {
	position: relative;
	top: auto;
}

.mwh ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.mwh li,
.mwh ul li,
.mwh ul ul li {
	list-style: none !important;
	background: none;
}
.mwh .mwh-menu > li,
.mwh .mwh-sub > li,
.mwh .mwh-icons > li {
	margin: 0;
}
.mwh li::before,
.mwh li::after {
	display: none;
}
.mwh a,
.mwh .mwh-link,
.mwh button {
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	font-size: inherit;
	line-height: 20px;
	letter-spacing: normal;
	box-shadow: none;
	border-bottom: 0;
}
.mwh a {
	color: var(--mwh-text);
	text-decoration: none;
	transition: color 0.15s ease;
}
.mwh a:hover,
.mwh a:focus {
	text-decoration: none;
	outline: none;
}
.mwh button {
	padding: 0;
	margin: 0;
	color: inherit;
	font: inherit;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	text-shadow: none;
	min-width: 0;
	min-height: 0;
}
/* Šablóny farbia všetky <button> (tu modrou) a ich pravidlo pre stav po kliknutí
   prebíja jednoduchý reset. Preto vypisujeme stavy natvrdo. Zámerne tu meníme
   len pozadie a rámček. Rozmery ani okraje sem nepatria, inak by pravidlo
   prebilo vlastné odsadenie šípky a tá by po kliknutí poskočila. */
.mwh button,
.mwh button:hover,
.mwh button:focus,
.mwh button:focus-visible,
.mwh button:active,
.mwh button:visited {
	background: none !important;
	background-color: transparent !important;
	background-image: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}
/* Žiadne modré zvýraznenie ani označenie textu pri ťuknutí na mobile. */
.mwh,
.mwh a,
.mwh button {
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	tap-highlight-color: rgba(0, 0, 0, 0);
}
.mwh button,
.mwh .mwh-burger,
.mwh .mwh-caret,
.mwh .mwh-caret-toggle {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
	touch-action: manipulation;
}
.mwh button::selection,
.mwh button *::selection {
	background: transparent;
}
.mwh button:focus,
.mwh a:focus {
	outline: none;
}
/* Obrys necháme len pre ovládanie klávesnicou, kvôli prístupnosti. */
.mwh button:focus-visible,
.mwh a:focus-visible {
	outline: 2px solid var(--mwh-hover);
	outline-offset: 2px;
}
.mwh .mwh-svg {
	display: inline-block;
	width: 1em;
	height: 1em;
	vertical-align: middle;
	fill: currentColor;
}

/* Vnútro */
.mwh-inner {
	min-height: 99px;
	position: relative;
	width: 100%;
	max-width: var(--mwh-container);
	margin: 0 auto;
	padding: 0 15px;
	display: flex;
	align-items: center;
}

/* Logo */
.mwh .mwh-logo {
	display: block;
	line-height: 0;
	flex-shrink: 0;
	padding: 0;
	/* Vzor: logo má vpravo 20 px + prvá položka menu 12 px = medzera 32 px. */
	margin: 0 20px 0 0;
}
.mwh .mwh-logo img {
	display: block;
	height: var(--mwh-logo-h) !important;
	width: auto !important;
	max-width: none;
	max-height: none;
	margin: 0;
}
.mwh .mwh-inner,
.mwh .mwh-collapse,
.mwh .mwh-menu,
.mwh .mwh-icons {
	margin-top: 0;
	margin-bottom: 0;
}
.mwh-logo-text {
	font-family: 'Abril Fatface', 'Lato', sans-serif;
	font-size: 26px;
	line-height: var(--mwh-logo-h);
	color: var(--mwh-text);
	white-space: nowrap;
}

/* Burger (Bootstrap 3 icon-bar) */
.mwh .mwh-burger {
	display: none;
	position: relative;
	width: 44px !important;
	height: 34px !important;
	min-height: 0 !important;
	min-width: 0 !important;
	padding: 0 !important;
	margin: 0;
	line-height: 0 !important;
	font-size: 0;
	flex-shrink: 0;
	background: none !important;
	border: 0 !important;
}
.mwh .mwh-bar {
	display: block;
	position: absolute;
	left: 11px;
	width: 22px;
	height: 2px;
	border-radius: 1px;
	margin: 0;
	padding: 0;
	background-color: var(--mwh-text);
}
.mwh .mwh-bar:nth-child(1) {
	top: 10px;
}
.mwh .mwh-bar:nth-child(2) {
	top: 16px;
}
.mwh .mwh-bar:nth-child(3) {
	top: 22px;
}

/* E-mail ikona (mobil) – rovnako veľká ako burger */
.mwh .mwh-email-mobile {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px !important;
	height: 34px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0;
	font-size: 22px !important;
	line-height: 0 !important;
	flex-shrink: 0;
}
.mwh .mwh-email-mobile .mwh-svg {
	width: 22px !important;
	height: 22px !important;
}
/* Elementor kit farbí a:hover svojou farbou (oranžovo-červená), preto vyššia špecificita. */
.mwh .mwh-email-mobile:hover,
.mwh .mwh-email-mobile:focus,
.mwh .mwh-email-mobile:active {
	color: var(--mwh-hover);
}

/* Menu */
.mwh-menu {
	display: flex;
	align-items: stretch;
}
.mwh-menu > li {
	position: relative;
	padding: 36px 12px;
	white-space: nowrap;
}
.mwh .mwh-menu > li > .mwh-link {
	display: inline-block;
	padding: 0;
	vertical-align: middle;
	font-family: 'Lato', sans-serif !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	font-size: inherit;
}
.mwh-menu > li > .mwh-link:hover,
.mwh-menu > li > .mwh-link:focus,
.mwh-menu > li.mwh-open > .mwh-link,
.mwh-menu > li:hover > .mwh-link {
	color: var(--mwh-hover);
}
.mwh .mwh-caret {
	display: inline-block;
	vertical-align: middle;
	margin: 0 0 0 10px;
	padding: 0;
	color: var(--mwh-text);
	line-height: 0;
}
.mwh-caret .mwh-svg-caret {
	width: 10px;
	height: 16px;
}
.mwh-menu > li:hover > .mwh-caret,
.mwh-menu > li.mwh-open > .mwh-caret {
	color: var(--mwh-hover);
}

/* Podmenu (desktop: dropdown na hover) */
.mwh-sub {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 160px;
	background-color: var(--mwh-bg);
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	z-index: 310;
}
.mwh-sub li {
	position: relative;
}
.mwh .mwh-sub a {
	display: block;
	padding: 20px 25px;
	font-family: 'Lato', sans-serif !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	text-transform: uppercase !important;
	line-height: 20px;
	color: var(--mwh-sub);
	white-space: nowrap;
}
.mwh-sub a:hover,
.mwh-sub a:focus,
.mwh-sub li.mwh-current > a {
	color: var(--mwh-text);
	background-color: var(--mwh-bg);
}
.mwh .mwh-sub .mwh-caret {
	position: absolute;
	right: 10px;
	top: 22px;
	margin: 0;
	color: var(--mwh-sub);
	transform: rotate(-90deg);
}
/* Tretia úroveň vpravo */
.mwh-sub .mwh-sub {
	top: 0;
	left: 100%;
}
.mwh-menu li:hover > .mwh-sub,
.mwh-menu li.mwh-open > .mwh-sub,
.mwh-icons li:hover > .mwh-sub,
.mwh-icons li.mwh-open > .mwh-sub {
	display: block;
}

/* Ikony vpravo */
.mwh-collapse {
	display: flex;
	flex: 1 1 auto;
	align-items: stretch;
	justify-content: space-between;
	min-width: 0;
}
.mwh-nav {
	min-width: 0;
}
.mwh-icons {
	display: flex;
	align-items: stretch;
	margin-left: auto;
}
.mwh-icons > li {
	position: relative;
	padding: 31px 0 31px 25px;
	display: flex;
	align-items: center;
}
.mwh-icons > li > a,
.mwh-icons > li > button {
	display: inline-flex;
	align-items: center;
	font-size: 32px;
	line-height: 0;
	color: var(--mwh-text);
}
.mwh-icons > li > a:hover,
.mwh-icons > li > a:focus,
.mwh-icons > li > button:hover,
.mwh-icons > li:hover > button {
	color: var(--mwh-hover);
}
.mwh-icon-text {
	display: none;
}
.mwh-flag {
	display: block;
	width: 24px;
	height: auto;
}
/* Vlajky ako na eventlads.sk: 32 px na desktope, farba sa pri nabehnutí nemení. */
.mwh .mwh-flag-svg {
	display: block;
	width: 32px;
	height: 32px;
	color: var(--mwh-text);
	vertical-align: middle;
}
.mwh .mwh-icons > li:hover .mwh-flag-svg,
.mwh .mwh-lang-toggle:hover .mwh-flag-svg,
.mwh .mwh-lang-toggle:focus .mwh-flag-svg {
	color: var(--mwh-text);
}
.mwh-lang .mwh-sub {
	left: auto;
	right: 0;
}
.mwh-lang .mwh-sub a {
	color: var(--mwh-hover);
	text-transform: uppercase;
}
.mwh-lang .mwh-sub a:hover,
.mwh-lang .mwh-sub li.mwh-lang-current > a {
	color: var(--mwh-text);
}
.mwh-lang .mwh-sub li.mwh-lang-current > a {
	cursor: default;
}

/* ---------- Responzívne stupne ako vzor (Bootstrap 3) ---------- */
@media (max-width: 1200px) {
	.mwh-inner {
		min-height: 0;
	}
	.mwh .mwh-logo {
		margin-right: 0;
	}
	.mwh .mwh-logo img {
		height: calc(var(--mwh-logo-h) * 0.857) !important;
	}
	.mwh-menu > li {
		padding: 25px 0 27px 12px;
		font-size: 14px;
	}
	.mwh-icons > li {
		padding: 26px 0 26px 10px;
	}
	.mwh-icons > li > a,
	.mwh-icons > li > button {
		font-size: 21px;
	}
	.mwh-flag {
		width: 16px;
	}
	.mwh .mwh-flag-svg {
		width: 16px;
		height: 16px;
	}
	.mwh .mwh-caret {
		margin-left: 3px;
	}
}
@media (max-width: 992px) {
	.mwh .mwh-logo img {
		height: calc(var(--mwh-logo-h) * 0.571) !important;
	}
	.mwh-menu > li {
		padding: 19px 0 20px 8px;
		font-size: 13px;
	}
	.mwh-icons > li {
		padding: 20px 0 20px 7px;
	}
}

/* ---------- Mobil: burger vľavo, logo v strede, e-mail vpravo ---------- */
@media (max-width: 767px) {
	.mwh-inner {
		height: var(--mwh-mobile-h);
		justify-content: space-between;
		padding: 0 15px;
	}
	.mwh .mwh-burger {
		display: block;
		margin-left: -10px;
	}
	.mwh .mwh-email-mobile {
		display: flex;
		margin-right: -10px;
	}
	.mwh-logo {
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		max-width: calc(100% - 140px);
	}
	.mwh .mwh-logo img {
		height: var(--mwh-logo-h-mobile) !important;
		max-width: 100%;
		object-fit: contain;
	}
	.mwh-logo-text {
		font-size: 20px;
		line-height: var(--mwh-logo-h-mobile);
	}

	/* Rozbaľovací panel pod lištou */
	.mwh-collapse {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: block;
		background-color: var(--mwh-bg);
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.35s ease;
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
		padding: 0 15px;
	}
	.mwh.mwh-menu-open .mwh-collapse {
		max-height: calc(100vh - var(--mwh-mobile-h));
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}
	.admin-bar .mwh.mwh-menu-open .mwh-collapse {
		max-height: calc(100vh - var(--mwh-mobile-h) - 46px);
	}
	/* dvh berie do úvahy skrytý adresný riadok na mobile. */
	@supports (height: 100dvh) {
		.mwh.mwh-menu-open .mwh-collapse {
			max-height: calc(100dvh - var(--mwh-mobile-h));
		}
		.admin-bar .mwh.mwh-menu-open .mwh-collapse {
			max-height: calc(100dvh - var(--mwh-mobile-h) - 46px);
		}
	}
	.mwh-pos-static .mwh-collapse {
		position: static;
	}

	.mwh-menu {
		display: block;
		padding-top: 8px;
	}
	.mwh-menu > li {
		padding: 10px 15px;
		font-size: 16px;
		white-space: normal;
	}
	.mwh-menu > li > .mwh-link,
	.mwh-menu > li:hover > .mwh-link,
	.mwh-menu > li.mwh-open > .mwh-link {
		color: var(--mwh-text);
	}
	.mwh-menu > li.mwh-open > .mwh-caret {
		color: var(--mwh-text);
	}
	.mwh-menu > li > .mwh-link:hover,
	.mwh-menu > li > .mwh-link:focus {
		color: var(--mwh-hover);
	}
	.mwh-menu > li:hover > .mwh-caret {
		color: var(--mwh-text);
	}
	.mwh .mwh-caret {
		margin-left: 10px;
		width: 25px;
		text-align: center;
	}

	/* Podmenu na mobile: v toku, rozbalí sa kliknutím na šípku */
	.mwh-sub,
	.mwh-sub .mwh-sub {
		position: static;
		display: none;
		min-width: 0;
		margin-top: 20px;
		box-shadow: none;
	}
	.mwh-menu li:hover > .mwh-sub {
		display: none;
	}
	.mwh-menu li.mwh-open > .mwh-sub {
		display: block;
	}
	.mwh-sub a {
		padding: 20px 10px;
		white-space: normal;
	}
	.mwh .mwh-sub .mwh-caret {
		position: static;
		transform: none;
		color: var(--mwh-sub);
	}
	.mwh-sub .mwh-sub a {
		padding-left: 25px;
	}

	/* Ikony pod menu s textom */
	.mwh-icons {
		display: block;
		margin: 0;
		padding-bottom: 10px;
	}
	.mwh-icons > li {
		display: block;
		padding: 10px 15px;
	}
	.mwh-icons > li > a,
	.mwh-icons > li > button {
		font-size: 21px;
		line-height: 20px;
	}
	.mwh-icons > li > a .mwh-svg,
	.mwh-icons > li > button .mwh-svg {
		vertical-align: middle;
	}
	.mwh-icon-text {
		display: inline-block;
		margin-left: 10px;
		font-size: 16px;
		font-weight: 700;
		vertical-align: middle;
	}
	.mwh-email-desktop {
		display: none;
	}

	/* Jazyky: vlajka + jazyky v jednom riadku */
	.mwh-lang {
		display: flex !important;
		align-items: center;
		flex-wrap: wrap;
	}
	.mwh-lang .mwh-sub,
	.mwh-lang.mwh-open .mwh-sub,
	.mwh-lang:hover .mwh-sub {
		display: inline-flex;
		flex-wrap: wrap;
		align-items: center;
		margin: 0;
		position: static;
		background: transparent;
	}
	.mwh-lang .mwh-sub li {
		display: inline-block;
	}
	.mwh-lang .mwh-sub a {
		padding: 5px 15px;
	}
	.mwh-flag {
		width: 21px;
	}
}
