/* ============================================
   NAVIGATION
   ============================================ */

header {
	background: #fff;
	border-bottom: 1px solid #ebebeb;
	position: sticky;
	top: 0;
	z-index: 1000;
}

header .mobile_menu {
	display: none;
}

.mobile_search_btn {
	display: none;
}

.nav {
	display: flex;
	height: 64px;
	align-items: center;
	justify-content: space-between;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 40px;
	background: #fff;
	position: relative;
}

/* ── Brand text ── */

.nav_brand {
	font-size: 22px;
	font-weight: 800;
	background: linear-gradient(135deg, #E91E63, #F44336);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	letter-spacing: -0.3px;
	line-height: 1;
}

.nav_left {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.nav_left a {
	text-decoration: none;
}

/* ── Desktop Menu ── */

.nav_right {
	flex: 1;
	display: flex;
	justify-content: center;
}

.nav_right>div {
	display: flex;
}

.nav_right ul {
	display: flex;
	list-style: none;
	align-items: center;
	gap: 0;
	margin: 0;
	padding: 0;
}

.nav_right ul li {
	position: relative;
}

.nav_right ul li a {
	display: block;
	text-decoration: none;
	font-size: 14.5px;
	color: #333;
	font-weight: 500;
	padding: 8px 16px;
	white-space: nowrap;
	transition: color 0.15s;
}

.nav_right ul li a:hover {
	color: #E91E63;
}

.nav_right ul li.current-menu-item>a,
.nav_right ul li.current-page-ancestor>a {
	color: #E91E63;
}

/* ── Chevron on items with children ── */

.adddrop>a {
	padding-right: 28px;
	position: relative;
}

.adddrop>a::after {
	content: "";
	position: absolute;
	right: -1px;
	top: 57%;
	transform: translateY(-50%);
	width: 14px;
	height: 14px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='14px' viewBox='0 -960 960 960' width='14px' fill='%23999'%3E%3Cpath d='M480-344 240-584l56-56 184 184 184-184 56 56-240 240Z'/%3E%3C/svg%3E") center/contain no-repeat;
	pointer-events: none;
	transition: transform 0.2s;
	font-size: 20px;
}

.adddrop:hover>a::after {
	transform: translateY(-50%) rotate(180deg);
}

/* ============================================
   DESKTOP SUBMENU — completely new approach
   Hover-triggered, left-aligned, accent border
   ============================================ */

@keyframes submenuReveal {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.nav_right .adddrop:hover>.sub-menu,
.nav_right .adddrop:focus-within>.sub-menu {
	display: block;
}

.nav_right .menu-item-has-children>.sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 210px;
	background: #fff;
	border-top: 2px solid #E91E63;
	border-radius: 0 0 8px 8px;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.11);
	padding: 6px 0;
	z-index: 999;
	animation: submenuReveal 0.16s ease both;
	list-style: none;
	margin: 0;
}

.nav_right .menu-item-has-children>.sub-menu li {
	margin: 0;
	padding: 0;
}

.nav_right .menu-item-has-children>.sub-menu li+li {
	border-top: 1px solid #f4f4f4;
}

.nav_right .menu-item-has-children>.sub-menu li a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px;
	font-size: 13.5px;
	color: #444;
	font-weight: 400;
	white-space: nowrap;
	transition: color 0.15s, background 0.15s, padding-left 0.15s;
	border-left: 2px solid transparent;
}

.nav_right .menu-item-has-children>.sub-menu li a::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #ddd;
	flex-shrink: 0;
	transition: background 0.15s;
}

.nav_right .menu-item-has-children>.sub-menu li a:hover {
	color: #E91E63;
	background: #fef6f9;
	border-left-color: #E91E63;
	padding-left: 22px;
}

.nav_right .menu-item-has-children>.sub-menu li a:hover::before {
	background: #E91E63;
}

.nav_right .menu-item-has-children>.sub-menu li.current-menu-item>a {
	color: #E91E63;
	background: #fef6f9;
	border-left-color: #E91E63;
	padding-left: 22px;
	font-weight: 500;
}

.nav_right .menu-item-has-children>.sub-menu li.current-menu-item>a::before {
	background: #E91E63;
}

/* ── Nav Actions (search + events button) ── */

.nav_actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.nav_events_btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: linear-gradient(135deg, #E91E63, #F44336);
	color: #fff;
	font-size: 13.5px;
	font-weight: 600;
	padding: 9px 20px;
	border-radius: 6px;
	text-decoration: none;
	transition: opacity 0.2s, transform 0.15s;
	white-space: nowrap;
}

.nav_events_btn:hover {
	opacity: 0.88;
	color: #fff;
	transform: translateY(-1px);
}

.nav_events_btn svg {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

/* ── Compact Search ── */

.nav_search_wrap {
	position: relative;
	display: flex;
	align-items: center;
}

.search_icon {
	cursor: pointer;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	border: none;
	background: transparent;
	transition: background 0.2s;
	padding: 0;
	flex-shrink: 0;
}

.search_icon:hover {
	background: #f5f5f5;
}

.search_icon svg {
	fill: #555;
	display: block;
}

@keyframes searchBoxFadeIn {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.nav_search_box {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	width: 300px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13), 0 0 0 1px rgba(0, 0, 0, 0.07);
	padding: 6px 12px 6px 14px;
	align-items: center;
	gap: 6px;
	z-index: 9999;
	animation: searchBoxFadeIn 0.16s ease both;
}

.nav_search_box.search_open {
	display: flex;
}

.search_box_icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
}

.nav_search_box .search-form {
	flex: 1;
	display: flex;
	min-width: 0;
}

input#s {
	width: 100%;
	height: 40px;
	background: transparent;
	border: none;
	outline: none;
	font-size: 14px;
	color: #333;
	padding: 0;
}

input#s::placeholder {
	color: #bbb;
}

label.screen-reader-text,
#searchsubmit {
	display: none;
}

/* ── Search Suggestions ── */

.search_suggestions {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.07);
	z-index: 101;
	max-height: 260px;
	overflow-y: auto;
	display: none;
}

.search_suggestion_item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	font-size: 13px;
	color: #333;
	text-decoration: none;
	border-bottom: 1px solid #f5f5f5;
	transition: background 0.15s, color 0.15s;
}

.search_suggestion_item::before {
	content: "→";
	font-size: 11px;
	color: #E91E63;
	flex-shrink: 0;
}

.search_suggestion_item:last-child {
	border-bottom: none;
}

.search_suggestion_item:hover {
	background: #fef6f9;
	color: #E91E63;
}

/* ============================================
   SIDEBAR / MOBILE NAVIGATION
   ============================================ */

.sidebar_overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.4);
	z-index: 998;
	backdrop-filter: blur(2px);
}

.sidebar_overlay.overlay_visible {
	display: block;
}

.sidebar_nav {
	position: fixed;
	top: 0;
	left: -320px;
	width: 300px;
	height: 100vh;
	background: white;
	z-index: 999;
	overflow-y: auto;
	box-shadow: 4px 0 32px rgba(0, 0, 0, 0.12);
	transition: left 0.3s ease;
	display: flex;
	flex-direction: column;
}

.sidebar_nav.sidebar_open {
	left: 0;
}

.sidebar_nav_header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px;
	background: #fff;
	border-bottom: 1px solid #ebebeb;
	flex-shrink: 0;
}

.sn-logo {
	width: 38px;
	height: 38px;
	border-radius: 8px;
	background: linear-gradient(135deg, #E91E63, #F44336);
	color: #fff;
	font-size: 18px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.sn-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.sn-name {
	font-size: 14px;
	font-weight: 700;
	color: #111;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.sn-tag {
	font-size: 11px;
	color: #aaa;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-top: 1px;
}

.close_sidebar_nav {
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 6px;
	background: #f0f0f0;
	color: #666;
	transition: background 0.2s;
	flex-shrink: 0;
}

.close_sidebar_nav:hover {
	background: #e4e4e4;
}

.sidebar_menu_icon {
	width: 18px;
	min-width: 18px;
	height: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-right: 10px;
	flex-shrink: 0;
	pointer-events: none;
	color: #999;
}

.sidebar_nav .menu-desk-menu-container {
	padding: 10px 0 20px;
	flex: 1;
}

.sidebar_nav .sidebar_menu {
	list-style: none;
	margin: 0;
	padding: 4px 8px;
}

.sidebar_nav .sidebar_menu>li {
	position: relative;
	margin-bottom: 2px;
}

.sidebar_nav .sidebar_menu>li>a {
	display: flex;
	align-items: center;
	padding: 9px 44px 9px 12px;
	font-size: 14px;
	font-weight: 500;
	color: #444;
	transition: background 0.15s, color 0.15s;
	border-radius: 8px;
	min-height: 40px;
}

.sidebar_nav .sidebar_menu>li>a:hover {
	background: #ececec;
	color: #111;
}

.sidebar_nav .sidebar_menu>li>a:hover .sidebar_menu_icon {
	color: #E91E63;
}

.sidebar_nav .sidebar_menu>li.current-menu-item>a,
.sidebar_nav .sidebar_menu>li.current-menu-ancestor>a {
	background: #fef6f9;
	color: #E91E63;
}

.sidebar_nav .sidebar_menu>li.current-menu-item>a .sidebar_menu_icon,
.sidebar_nav .sidebar_menu>li.current-menu-ancestor>a .sidebar_menu_icon {
	color: #E91E63;
}

.submenu_toggle {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	background: transparent;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: background 0.15s;
	z-index: 1;
	color: #bbb;
}

.submenu_toggle svg {
	transition: transform 0.25s;
	fill: currentColor;
	display: block;
}

.submenu_toggle:hover {
	background: #e4e4e4;
	color: #666;
}

.menu-item-has-children.submenu_active>.submenu_toggle {
	color: #E91E63;
	background: #fef6f9;
}

.menu-item-has-children.submenu_active>.submenu_toggle svg {
	transform: rotate(180deg);
}

.sidebar_nav .sub-menu {
	display: none;
	list-style: none;
	margin: 2px 0 4px 28px;
	padding: 2px 0;
	background: transparent;
	border-left: 2px solid #e0e0e0;
}

.sidebar_nav .sub-menu li {
	border-bottom: none !important;
}

.sidebar_nav .sub-menu li a {
	display: flex;
	align-items: center;
	padding: 7px 10px 7px 14px;
	font-size: 13px;
	color: #777;
	font-weight: 400;
	transition: color 0.15s, background 0.15s;
	border-radius: 6px;
	margin: 1px 4px;
}

.sidebar_nav .sub-menu li a::before {
	display: none;
}

.sidebar_nav .sub-menu li a:hover {
	background: #ececec;
	color: #111;
}

.sidebar_social {
	padding: 12px 12px 20px;
	border-top: 1px solid #ebebeb;
	margin-top: auto;
	margin-bottom: 80px;
}

.sidebar_social_label {
	font-size: 10px !important;
	font-weight: 600;
	letter-spacing: 1px;
	color: #bbb;
	text-transform: uppercase !important;
	margin: 0 0 10px !important;
	padding: 0 !important;
}

.sidebar_social_icons {
	display: flex;
	gap: 8px;
}

.sidebar_social_link {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: #fff;
	border: 1px solid #e8e8e8;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s, border-color 0.2s;
}

.sidebar_social_link svg {
	width: 16px;
	height: 16px;
	fill: #888;
	transition: fill 0.2s;
}

.sidebar_social_link:hover {
	background: linear-gradient(135deg, #E91E63, #F44336);
	border-color: #E91E63;
}

.sidebar_social_link:hover svg {
	fill: white;
}

.menu-desk-menu-container {
	padding: 0;
	position: relative;
}

svg#open_mobile_menu {
	position: absolute;
	top: 15px;
	left: 15px;
	display: block;
}

/* ============================================
   TABLET / MOBILE  (max-width: 988px)
   ============================================ */

@media screen and (max-width: 988px) {

	header {
		padding: 0;
	}

	.nav {
		height: 50px;
		padding: 0;
		justify-content: center;
		max-width: 100%;
		margin: 0;
	}

	.nav_brand {
		font-size: 26px;
	}

	.nav_right {
		display: none;
	}

	.nav_actions {
		visibility: hidden;
		pointer-events: none;
		position: absolute;
		right: 0;
		top: 0;
		height: 50px;
		padding: 0;
	}

	.nav_events_btn {
		display: none;
	}

	.nav_search_box.search_open {
		visibility: visible;
		pointer-events: auto;
		position: fixed;
		top: 52px;
		left: 12px;
		right: 12px;
		width: auto;
		display: flex;
	}

	header .mobile_menu {
		display: block;
		position: absolute;
		left: 0;
		width: 100vw;
		top: 0;
		right: 0;
		background: none;
	}

	.mobile_search_btn {
		display: flex;
		position: absolute;
		top: 13px;
		right: 16px;
		width: 28px;
		height: 28px;
		background: none;
		border: none;
		cursor: pointer;
		align-items: center;
		justify-content: center;
		padding: 0;
		z-index: 10;
	}

}

/* ============================================
   SMALL MOBILE  (max-width: 400px)
   ============================================ */

@media screen and (max-width: 400px) {

	.mobile_search_btn {
		top: 12px;
		right: 10px;
	}

}