/* ==========================================================================
   Header Styles - Ray Theme (Native Semantic Header Component)
   ========================================================================== */

:root {
	--header-height: 82px;
	--header-bg: #ffffff;
	--header-border: #e8e8eb;
	--color-primary-dark: #0d1329;
	--color-text-body: #6b6f77;
	--color-text-hover: #080f1d;
	--color-yellow: #ffd305;
	--color-yellow-tint: rgba(255, 211, 5, 0.04);
	--color-yellow-border: rgba(255, 211, 5, 0.5);
	--color-btn-gray: #eaecf0;
}

div[data-elementor-type="popup"] {
	display: none !important;
}

/* Prevent nested SVG, images, and vectors from intercepting pointer clicks */
.header img,
.header svg {
	pointer-events: none;
}

/* Base Header Container */
.header {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 990;
	width: 100%;
	background-color: var(--header-bg);
	border-bottom: 1px solid var(--header-border);
	font-family: 'IRANYekanXFaNum', sans-serif;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 35px;
	height: var(--header-height);
	direction: rtl;
	transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

/* WP Admin Bar adjustments for sticky header */
.admin-bar .header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .header {
		top: 46px;
	}
}

@media screen and (max-width: 600px) {
	.admin-bar .header {
		top: 0;
	}
}

/* Scrolled state for sticky header elevation */
.header.is-scrolled {
	box-shadow: 0 4px 20px rgba(13, 19, 41, 0.08);
}


/* Focus visibility for accessible keyboard navigation */
.header a:focus-visible,
.header button:focus-visible,
.header input:focus-visible {
	outline: 2px solid var(--color-primary-dark);
	outline-offset: 2px;
}

/* Brand Logo & Identity */
.header-branding {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.header-logo,
.custom-logo-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
	color: #1b1a19;
	flex-shrink: 0;
	cursor: pointer;
}

.header-logo:hover,
.custom-logo-link:hover {
	text-decoration: none;
}

.custom-logo {
	max-height: 35px;
	width: auto;
	display: block;
}

.header-subtitle {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	line-height: 1;
	color: #1b1a19;
	white-space: nowrap;
}

.header-subtitle .sub-text {
	color: var(--color-yellow);
}

.header-logo-artwork {
	position: relative;
	width: 48px;
	height: 34px;
	overflow: hidden;
	flex-shrink: 0;
}

.header-img {
	position: absolute;
	top: 0;
	right: 0;
	height: 34px;
	width: auto;
	max-width: none;
}

/* Desktop Navigation Bar */
.header-navbar {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	position: relative;
}

.header-drawer-header,
.header-drawer-search {
	display: none;
}

.header-nav-desktop-wrap {
	display: flex;
	align-items: center;
}

.header-nav-mobile-wrap {
	display: none;
}

.header-nav-list {
	display: flex;
	align-items: center;
	gap: clamp(14px, 1.8vw, 24px);
	list-style: none;
	margin: 0;
	padding: 0;
}

.header-nav-list > li {
	display: inline-flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}

.header-nav-list > li.has-mega-menu {
	position: static;
}

.header-nav-chevron {
	width: 9px;
	height: 6px;
	margin-right: 4px;
	flex-shrink: 0;
	transition: transform 0.2s ease;
	pointer-events: none;
}

.header-nav-list > li.has-mega-menu:hover .header-nav-chevron,
.header-nav-list > li.has-mega-menu.is-open .header-nav-chevron {
	transform: rotate(180deg);
}

/* ==========================================================================
   Desktop Mega Menu Dropdown Component
   ========================================================================== */

.mega-menu-dropdown {
	position: absolute;
	top: calc(100% + 14px);
	left: 50%;
	transform: translateX(-50%) translateY(8px);
	width: min(940px, calc(100vw - 48px));
	background-color: #ffffff;
	border: 1px solid var(--header-border);
	border-radius: 24px;
	box-shadow: 0 20px 48px rgba(13, 19, 41, 0.12), 0 0 1px rgba(13, 19, 41, 0.08);
	padding: 22px;
	box-sizing: border-box;
	direction: rtl;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s ease;
	z-index: 1000;
}

/* Hover bridge between header navbar item and floating dropdown */
.mega-menu-dropdown::before {
	content: "";
	position: absolute;
	bottom: 100%;
	left: 0;
	right: 0;
	height: 18px;
}

.header-nav-list > li.has-mega-menu:hover > .mega-menu-dropdown,
.header-nav-list > li.has-mega-menu:focus-within > .mega-menu-dropdown,
.header-nav-list > li.has-mega-menu.is-open > .mega-menu-dropdown {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}

.mega-menu-inner {
	display: flex;
	align-items: stretch;
	gap: 22px;
	width: 100%;
}

/* Right Dark Navy Sidebar */
.mega-menu-sidebar {
	width: 195px;
	flex-shrink: 0;
	background-color: #182038;
	border-radius: 20px;
	padding: 14px 10px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.mega-menu-tab {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: none;
	border-radius: 12px;
	cursor: pointer;
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	background-color: #222b49;
	color: #ffffff;
	transition: background-color 0.18s ease, color 0.18s ease, transform 0.1s ease;
	user-select: none;
	box-sizing: border-box;
}

.mega-menu-tab:hover {
	background-color: #2c375c;
	color: #ffffff;
}

.mega-menu-tab.is-active {
	background-color: var(--color-yellow, #ffd305);
	color: var(--color-primary-dark, #0d1329);
	font-weight: 700;
	box-shadow: 0 4px 14px rgba(255, 211, 5, 0.28);
}

.mega-menu-tab-text {
	flex: 1;
	text-align: right;
	line-height: 1;
	font-weight: 400;
}

.mega-menu-tab-icon {
	width: 20px;
	height: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.mega-menu-tab-svg {
	width: 20px;
	height: 20px;
	display: block;
}

.mega-menu-tab.is-active .mega-menu-tab-svg {
	stroke: var(--color-primary-dark, #0d1329);
}

.mega-menu-tab:not(.is-active) .mega-menu-tab-svg {
	stroke: #ffffff;
}

/* Main Content Area */
.mega-menu-content {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.mega-menu-panel {
	display: none;
	flex-direction: column;
	width: 100%;
}

.mega-menu-panel.is-active {
	display: flex;
}

.mega-menu-panel-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
	padding: 2px 4px 0;
}

.mega-menu-panel-title {
	margin: 0;
	font-size: 19px;
	font-weight: 600;
	color: var(--color-primary-dark, #0d1329);
	line-height: 1.2;
}

.mega-menu-view-all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13.5px;
	font-weight: 400;
	color: #8c9099;
	text-decoration: none;
	transition: color 0.15s ease;
}

.mega-menu-view-all:hover {
	color: var(--color-primary-dark, #0d1329);
	text-decoration: none;
}

.view-all-arrow {
	font-size: 15px;
	line-height: 1;
}

/* 3-column Grid */
.mega-menu-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	width: 100%;
}

/* Card Styles */
.mega-menu-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-decoration: none;
	min-height: 74px;
	padding: 12px 10px;
	background-color: #ffffff;
	border: 1px solid #e8e8ec;
	border-radius: 16px;
	box-sizing: border-box;
	transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.mega-menu-card-title {
	display: block;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--color-primary-dark, #0d1329);
	line-height: 1.35;
	margin: 0;
	word-break: break-word;
	transition: color 0.15s ease;
}

.mega-menu-card-subtitle {
	display: block;
	font-size: 10.5px;
	font-weight: 500;
	color: #8c9099;
	line-height: 1.2;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	margin-top: 4px;
	transition: color 0.15s ease;
}

.mega-menu-card:hover {
	background-color: var(--color-yellow, #ffd305);
	border-color: var(--color-yellow, #ffd305);
	box-shadow: 0 6px 18px rgba(255, 211, 5, 0.25);
	transform: translateY(-2px);
	text-decoration: none;
}

.mega-menu-card:hover .mega-menu-card-title {
	color: var(--color-primary-dark, #0d1329);
}

.mega-menu-card:hover .mega-menu-card-subtitle {
	color: #4a4300;
}

.mega-menu-empty {
	grid-column: 1 / -1;
	text-align: center;
	padding: 30px 0;
	color: #8c9099;
	font-size: 14px;
}


.header-nav-list a,
.header-nav-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--color-text-body);
	text-decoration: none;
	font-size: 14px;
	font-weight: 300;
	white-space: nowrap;
	transition: color 0.15s ease;
	cursor: pointer;
	line-height: 1;
}

.header-nav-list a:hover,
.header-nav-item:hover {
	color: var(--color-text-hover);
	text-decoration: none;
}

.text-symbol {
	text-align: right;
	line-height: 1;
}

.header-nav-item .text-symbol {
	color: #6B6F77;
}

/* Desktop Action Buttons (Search + Login) */
.header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

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

.header-search .search-form {
	display: flex;
	align-items: center;
	position: relative;
	margin: 0;
}

.header-search .search-form label {
	display: flex;
	align-items: center;
	margin: 0;
}

.header-search .search-field {
	width: 140px;
	height: 38px;
	padding: 0 36px 0 12px;
	border-radius: 12px;
	border: 1px solid var(--color-yellow-border);
	background-color: var(--color-yellow-tint);
	font-family: inherit;
	font-size: 13px;
	color: var(--color-primary-dark);
	outline: none;
	transition: width 0.25s ease, border-color 0.15s ease, background-color 0.15s ease;
	box-sizing: border-box;
}

.header-search .search-field:focus {
	width: 200px;
	background-color: #ffffff;
	border-color: var(--color-yellow);
}

.header-search .search-submit {
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	border: none;
	background: transparent url('../images/header/header-linear-search.svg') no-repeat center center;
	background-size: 18px 18px;
	cursor: pointer;
	font-size: 0;
	padding: 0;
}

.header-btn-login {
	min-width: 136px;
	height: 38px;
	padding: 0 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--color-primary-dark);
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0;
	text-align: center;
	text-decoration: none;
	background-color: var(--color-yellow);
	border: none;
	border-radius: 12px;
	cursor: pointer;
	transition: filter 0.15s ease, transform 0.1s ease;
	box-sizing: border-box;
}

.header-btn-login:hover {
	filter: brightness(1.08);
	text-decoration: none;
}

.header-btn-login:active {
	transform: scale(0.98);
}

/* Mobile buttons & Drawer elements hidden by default on Desktop */
.header-btn-hamburger,
.header-btn-user,
.header-overlay {
	display: none;
}

.banner-header {
	display: flex;
	justify-content: center;
	height: 56px;
	overflow: hidden;
}

.banner-desktop-popup {
	display: none;
	position: fixed;
	height: 200px;
	width: 150px;
	z-index: 10;
	bottom: 20px;
    right: 20px;
}

.banner-desktop-popup.is-visible {
	display: block;
}

.banner-desktop-popup-close {
	position: absolute;
	top: -12px;
	right: -12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background-color: #0d1329;
	color: #fff;
	cursor: pointer;
	line-height: 1;
}

.banner-desktop-popup img {
	height: 200px;
	width: 150px;
	border-radius: 14px;
}

/* ==========================================================================
   Responsive Breakpoint: Tablet & Mobile (< 1400px)

   The assigned primary menu is wider than the SOURCE reference, so the
   drawer takes over below 1400px instead of 1024px.
   ========================================================================== */

@media screen and (max-width: 1399.98px) {
	.header {
		padding: 0 16px;
		height: 70px;
		justify-content: space-between;
	}

	/* Hamburger Menu Button (Right side in RTL) */
	.header-btn-hamburger {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 42px;
		height: 42px;
		background-color: var(--color-btn-gray);
		border: 1.5px solid var(--color-primary-dark);
		border-radius: 14px;
		cursor: pointer;
		flex-shrink: 0;
		padding: 0;
		transition: background-color 0.15s ease;
		user-select: none;
	}

	.header-btn-hamburger:hover {
		background-color: #e2e5ea;
	}

	.header-hamburger-icon {
		display: block;
	}

	/* Centered Logo on Mobile */
	.header-branding {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		gap: 6px;
	}

	.header-subtitle {
		font-size: 19px;
	}

	.header-logo-artwork {
		width: 44px;
		height: 32px;
	}

	.header-img {
		height: 32px;
	}

	.custom-logo {
		max-height: 32px;
	}

	/* User Profile Button (Left side in RTL) */
	.header-btn-user {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 42px;
		height: 42px;
		background-color: var(--color-yellow-tint);
		border: 1px solid var(--color-yellow-border);
		border-radius: 14px;
		cursor: pointer;
		flex-shrink: 0;
		text-decoration: none;
		transition: background-color 0.15s ease, border-color 0.15s ease;
	}

	.header-btn-user:hover {
		background-color: rgba(255, 211, 5, 0.12);
		border-color: var(--color-yellow);
		text-decoration: none;
	}

	.header-user-icon {
		display: block;
	}

	/* Hide Desktop Action Buttons */
	.header-actions {
		display: none;
	}

	/* Backdrop Overlay */
	.header-overlay {
		display: block;
		position: fixed;
		inset: 0;
		background-color: rgba(8, 15, 29, 0.45);
		z-index: 999;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease;
	}

	.header-overlay.is-open {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	/* Mobile Off-Canvas Drawer (Slides in from Right in RTL) */
	.header-navbar {
		display: flex;
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		width: min(315px, 85vw);
		height: 100vh;
		background-color: #ffffff;
		z-index: 1000;
		box-shadow: -6px 0 24px rgba(0, 0, 0, 0.15);
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		padding: 0;
		margin: 0;
		overflow-y: auto;
		overflow-x: hidden;
		transform: translateX(100%);
		visibility: hidden;
		transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease;
		box-sizing: border-box;
	}

	.header-navbar.is-open {
		transform: translateX(0);
		visibility: visible;
	}

	/* Drawer Header with Close Button */
	.header-drawer-header {
		display: flex;
		align-items: center;
		justify-content: flex-start;
		padding: 16px 20px;
		height: 56px;
		border-bottom: 1px solid var(--header-border);
		box-sizing: border-box;
	}

	.header-drawer-close {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		color: var(--color-text-body);
		font-size: 15px;
		font-weight: 300;
		cursor: pointer;
		user-select: none;
		background: none;
		border: none;
		padding: 0;
		font-family: inherit;
		transition: color 0.15s ease;
	}

	.header-drawer-close:hover {
		color: var(--color-primary-dark);
	}

	/* Drawer Search Form */
	.header-drawer-search {
		display: block;
		padding: 16px 20px;
		border-bottom: 1px solid var(--header-border);
	}

	.header-drawer-search .search-form {
		display: flex;
		position: relative;
		width: 100%;
		margin: 0;
	}

	.header-drawer-search .search-form label {
		display: block;
		width: 100%;
		margin: 0;
	}

	.header-drawer-search .search-field {
		width: 100%;
		height: 40px;
		padding: 0 38px 0 12px;
		border-radius: 10px;
		border: 1px solid var(--header-border);
		background-color: #f7f7f8;
		font-family: inherit;
		font-size: 14px;
		box-sizing: border-box;
	}

	.header-drawer-search .search-submit {
		position: absolute;
		right: 8px;
		top: 50%;
		transform: translateY(-50%);
		width: 24px;
		height: 24px;
		border: none;
		background: transparent url('../images/header/header-linear-search.svg') no-repeat center center;
		background-size: 18px 18px;
		cursor: pointer;
		font-size: 0;
		padding: 0;
	}

	/* Hide Desktop Nav and Display Mobile Nav in Drawer */
	.header-nav-desktop-wrap {
		display: none !important;
	}

	.header-nav-mobile-wrap {
		display: block !important;
		width: 100%;
	}

	/* Mobile Drawer Navigation List */
	.header-mobile-nav-list {
		list-style: none;
		margin: 0;
		padding: 0;
		width: 100%;
		direction: rtl;
	}

	.mobile-menu-item {
		list-style: none;
		margin: 0;
		padding: 0;
		width: 100%;
	}

	.mobile-item-row {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 56px;
		padding: 0 20px;
		border-bottom: 1px solid var(--header-border);
		box-sizing: border-box;
		background-color: #ffffff;
		transition: background-color 0.15s ease;
	}

	.mobile-item-row:hover {
		background-color: #fafafa;
	}

	.mobile-nav-link {
		display: flex;
		align-items: center;
		gap: 10px;
		color: var(--color-text-body);
		font-size: 15.5px;
		font-weight: 400;
		text-decoration: none;
		flex: 1;
		min-height: 56px;
	}

	.mobile-nav-link:hover {
		color: var(--color-text-hover);
		text-decoration: none;
	}

	.mobile-submenu-toggle {
		width: 44px;
		height: 44px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		background: none;
		border: none;
		cursor: pointer;
		color: #8c9099;
		padding: 0;
		margin-left: -8px;
		transition: transform 0.22s ease, color 0.15s ease;
	}

	.mobile-submenu-toggle:hover {
		color: var(--color-primary-dark);
	}

	.mobile-submenu-toggle[aria-expanded="true"] {
		transform: rotate(180deg);
		color: var(--color-primary-dark);
	}

	.mobile-submenu {
		display: none;
		list-style: none;
		margin: 0;
		padding: 0;
		width: 100%;
	}

	.mobile-submenu.is-open {
		display: block;
	}

	/* Depth 2 List in Mobile Drawer */
	.depth-2-list {
		background-color: #fafafc;
	}

	.depth-2-list > .mobile-menu-item > .mobile-item-row {
		padding-right: 36px;
		min-height: 48px;
		background-color: #fafafc;
		border-bottom: 1px solid #f0f0f2;
	}

	.depth-2-list > .mobile-menu-item > .mobile-item-row .mobile-nav-link {
		font-size: 14.5px;
		min-height: 48px;
		color: #2b3244;
	}

	/* Depth 3 List in Mobile Drawer */
	.depth-3-list {
		background-color: #f3f4f7;
		padding: 6px 0;
	}

	.mobile-card-link {
		display: flex;
		flex-direction: column;
		padding: 10px 48px 10px 20px;
		text-decoration: none;
		border-bottom: 1px solid rgba(0, 0, 0, 0.04);
		transition: background-color 0.15s ease;
	}

	.mobile-card-link:hover {
		background-color: rgba(255, 211, 5, 0.15);
		text-decoration: none;
	}

	.mobile-card-title {
		font-size: 13.5px;
		font-weight: 500;
		color: #1e2638;
		line-height: 1.3;
	}

	.mobile-card-subtitle {
		font-size: 10px;
		font-weight: 500;
		color: #8c9099;
		text-transform: uppercase;
		margin-top: 2px;
	}

	.mobile-view-all-item {
		list-style: none;
	}

	.mobile-view-all-link {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		padding: 10px 48px;
		font-size: 13px;
		font-weight: 600;
		color: var(--color-primary-dark);
		text-decoration: none;
	}

	.mobile-view-all-link:hover {
		text-decoration: underline;
	}

	/* Icons in mobile links */
	.mobile-menu-item[class*="menu-icon-"] > .mobile-item-row > .mobile-nav-link::before {
		content: "";
		flex: none;
		width: 18px;
		height: 18px;
		background-repeat: no-repeat;
		background-position: center;
		background-size: contain;
	}

	.mobile-menu-item.menu-icon-brokers > .mobile-item-row > .mobile-nav-link::before { background-image: url('../images/header/menu-icons/brokers.svg'); }
	.mobile-menu-item.menu-icon-exchanges > .mobile-item-row > .mobile-nav-link::before { background-image: url('../images/header/menu-icons/exchanges.svg'); }
	.mobile-menu-item.menu-icon-props > .mobile-item-row > .mobile-nav-link::before { background-image: url('../images/header/menu-icons/props.svg'); }
	.mobile-menu-item.menu-icon-gold > .mobile-item-row > .mobile-nav-link::before { background-image: url('../images/header/menu-icons/gold.svg'); }
	.mobile-menu-item.menu-icon-blog > .mobile-item-row > .mobile-nav-link::before { background-image: url('../images/header/menu-icons/blog.svg'); }
	.mobile-menu-item.menu-icon-invest > .mobile-item-row > .mobile-nav-link::before { background-image: url('../images/header/menu-icons/invest.svg'); }
	.mobile-menu-item.menu-icon-menus > .mobile-item-row > .mobile-nav-link::before { background-image: url('../images/header/menu-icons/menus.svg'); }

	/* Progressive Enhancement / No-JS fallback */
	html:not(.js) .header-btn-hamburger,
	html:not(.js) .header-overlay,
	html:not(.js) .header-drawer-header {
		display: none;
	}

	html:not(.js) .header-navbar {
		position: static;
		transform: none;
		visibility: visible;
		width: 100%;
		height: auto;
		box-shadow: none;
	}

	html:not(.js) .header {
		height: auto;
		flex-wrap: wrap;
		padding-bottom: 12px;
	}

	@media (scripting: none) {
		.header-btn-hamburger,
		.header-overlay,
		.header-drawer-header {
			display: none !important;
		}

		.header-navbar {
			position: static !important;
			transform: none !important;
			visibility: visible !important;
			width: 100% !important;
			height: auto !important;
			box-shadow: none !important;
		}

		.header {
			height: auto !important;
			flex-wrap: wrap;
			padding-bottom: 12px;
		}
	}
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
	.header,
	.header-navbar,
	.header-overlay,
	.header-search .search-field,
	.header-btn-login,
	.header-nav-list a,
	.header-nav-item {
		transition: none !important;
	}
}

/* Mobile Screens (< 768px) */
@media screen and (max-width: 1100px) {
	.banner-desktop-popup {
		display: none;
	}
}

/* Extra small screens adjustments (< 380px) */
@media screen and (max-width: 379.98px) {
	.header {
		padding: 0 12px;
	}

	.header-btn-hamburger,
	.header-btn-user {
		width: 38px;
		height: 38px;
	}

	.header-subtitle {
		font-size: 17px;
	}

	.header-logo-artwork {
		width: 40px;
		height: 28px;
	}

	.header-img {
		height: 28px;
	}
}

/* ==========================================================================
   Menu Item SVG Icons
   Admin adds `menu-icon-<name>` to an item's CSS Classes field in
   Appearance > Menus (enable it under Screen Options). The matching file
   in assets/images/header/menu-icons/ renders before the link text,
   on desktop and in the mobile drawer.
   ========================================================================== */

.header-nav-list > li[class*="menu-icon-"] > a::before {
	content: "";
	flex: none;
	width: 18px;
	height: 18px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.header-nav-list > li.menu-icon-menus > a::before {
	background-image: url('../images/header/menu-icons/menus.svg');
}

.header-nav-list > li.menu-icon-brokers > a::before {
	background-image: url('../images/header/menu-icons/brokers.svg');
}

.header-nav-list > li.menu-icon-exchanges > a::before {
	background-image: url('../images/header/menu-icons/exchanges.svg');
}

.header-nav-list > li.menu-icon-props > a::before {
	background-image: url('../images/header/menu-icons/props.svg');
}

.header-nav-list > li.menu-icon-gold > a::before {
	background-image: url('../images/header/menu-icons/gold.svg');
}

.header-nav-list > li.menu-icon-blog > a::before {
	background-image: url('../images/header/menu-icons/blog.svg');
}

.header-nav-list > li.menu-icon-invest > a::before {
	background-image: url('../images/header/menu-icons/invest.svg');
}