/**
 * GCN Country Subdomain Header Styles.
 * Fully Responsive Design across all viewports (320px - 1920px+).
 */

/* ===== Reset surrounding Bricks Header wrappers ===== */
#brx-header {
	background: #ffffff !important;
	padding: 0 !important;
	margin: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	border: none !important;
	box-shadow: none !important;
}

#brx-header.brx-sticky {
	position: sticky !important;
	top: 0 !important;
	z-index: 9999 !important;
}

#brx-header #brxe-cshsec,
#brx-header .brxe-section,
#brx-header #brxe-cshcon,
#brx-header .brxe-container,
#brx-header #brxe-cshsc,
#brx-header .brxe-shortcode {
	padding: 0 !important;
	margin: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	background: transparent !important;
	border: none !important;
}

/* ===== Design tokens (Theme Brand Color: #0e8b72 / Teal) ===== */
:root {
	--navy: #16263d;
	--navy-soft: #4a5a70;
	--accent: var(--gcn-brand, #0e8b72);          /* Theme brand active underline & accents */
	--accent-strong: var(--gcn-brand-strong, #0a715c);
	--bg: #ffffff;
	--line: #dde2e8;
	--hover-bg: #f3f5f8;
	--active-bg: var(--gcn-brand-soft, #e9f7f4);
	--shadow: 0 10px 28px rgba(22, 38, 61, .12);
	--header-h: 80px;
	--font: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

*, *::before, *::after {
	box-sizing: border-box;
}

/* ===== Header Base ===== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: var(--bg);
	border-bottom: 1px solid var(--line);
	font-family: var(--font);
	color: var(--navy);
	width: 100%;
}

.header-inner {
	position: relative;
	max-width: 1280px;
	margin: 0 auto;
	height: var(--header-h);
	display: flex;
	align-items: center;
	padding: 0 clamp(10px, 1.8vw, 28px);
	overflow: visible;
}

.divider {
	width: 1px;
	height: 34px;
	background: var(--line);
	flex: 0 0 auto;
	display: block;
}

/* ===== Shared Dropdown Panel Look ===== */
.panel {
	position: absolute;
	top: calc(100% + 14px);
	list-style: none;
	margin: 0;
	padding: 8px;
	background: var(--bg);
	border-radius: 10px;
	box-shadow: var(--shadow);
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.panel::before {
	/* pointer triangle */
	content: "";
	position: absolute;
	top: -6px;
	left: var(--tip, 36px);
	width: 12px;
	height: 12px;
	background: var(--bg);
	transform: rotate(45deg);
	border-radius: 2px;
	box-shadow: -2px -2px 4px rgba(22, 38, 61, 0.04);
}

.panel::after {
	/* hover bridge */
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -16px;
	height: 16px;
}

.open > .panel,
.country-switch:hover > .panel,
.lang-switch:hover > .panel,
.gcn-global:hover > .panel {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.chev {
	transition: transform .2s ease;
	flex: none;
}

.open > * > .chev,
.open > .chev-btn .chev,
.country-switch:hover .country-id + .chev-btn .chev,
.lang-switch:hover .lang-id + .chev-btn .chev,
.gcn-global:hover .gcn-home + .chev-btn .chev {
	transform: rotate(180deg);
}

/* ===== Global GCN Entry (Left) ===== */
.gcn-global {
	position: relative;
	display: flex;
	align-items: center;
	padding-right: clamp(8px, 1.2vw, 18px);
	flex: 0 0 auto;
}

.gcn-home {
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	line-height: 1;
}

.gcn-logo-img {
	height: 38px;
	width: auto;
	max-width: 140px;
	object-fit: contain;
	display: block;
	transition: opacity .15s ease;
}

.gcn-home:hover .gcn-logo-img {
	opacity: .88;
}

.country-id .flag img.gcn-country-flag--earth,
.mini-flag img.gcn-country-flag--earth {
	object-fit: contain;
	border-radius: 50%;
}

.chev-btn {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	margin-left: 3px;
	border-radius: 5px;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	color: var(--navy);
}

.chev-btn:hover {
	background: var(--hover-bg);
}

.gcn-dropdown {
	left: -16px;
	min-width: 200px;
	--tip: 72px;
}

.gcn-dropdown li {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gcn-dropdown .menu-link,
.gcn-dropdown .sub-link,
.gcn-dropdown a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 14px;
	font-size: 15px;
	font-weight: 500;
	border-radius: 6px;
	color: var(--navy);
	text-decoration: none;
	transition: background .15s ease, color .15s ease;
}

.gcn-dropdown a::after {
	display: none;
}

.gcn-dropdown a:hover,
.gcn-dropdown .has-sub:hover > a {
	background: var(--hover-bg);
	color: var(--navy);
}

.gcn-dropdown .has-sub > a .chev {
	transform: rotate(-90deg);
	color: var(--navy-soft);
	transition: transform .2s ease, color .2s ease;
}

.gcn-dropdown .has-sub:hover > a .chev,
.gcn-dropdown .has-sub.open > a .chev {
	color: var(--accent);
	transform: rotate(-90deg) translateX(2px);
}

/* GCN Dropdown Nested Submenu (flyout to the right) */
.gcn-dropdown .submenu {
	top: -8px;
	left: calc(100% + 8px);
	right: auto;
	min-width: 200px;
	transform: translateX(-4px);
}

.gcn-dropdown .submenu::before {
	display: none;
}

.gcn-dropdown .submenu::after {
	top: 0;
	bottom: 0;
	left: -12px;
	right: auto;
	width: 12px;
	height: auto;
}

.gcn-dropdown .has-sub:hover > .submenu,
.gcn-dropdown .has-sub:focus-within > .submenu,
.gcn-dropdown .has-sub.open > .submenu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

/* ===== Country Identity + Switcher ===== */
.country-switch {
	position: relative;
	display: flex;
	align-items: center;
	padding: 0 clamp(8px, 1.2vw, 18px);
	flex: 0 0 auto;
}

.country-id {
	display: flex;
	align-items: center;
	gap: 10px;
	text-align: left;
	cursor: pointer;
	background: none;
	border: 0;
	padding: 0;
	color: inherit;
}

.country-id .flag {
	width: 38px;
	height: 38px;
	flex: none;
	border-radius: 2px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.flag svg,
.mini-flag svg,
.flag img,
.mini-flag img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.country-name {
	display: flex;
	flex-direction: column;
	line-height: 1.05;
}

.country-name .l1 {
	font-size: 18px;
	font-weight: 800;
	letter-spacing: .12em;
	color: var(--navy);
}

.country-name .l2 {
	font-size: 13.5px;
	font-weight: 500;
	letter-spacing: .16em;
	color: var(--navy);
}

.country-switch .chev-btn {
	margin-left: 4px;
}

.country-list {
	left: 50%;
	min-width: 290px;
	transform: translate(-50%, -4px);
	--tip: calc(50% - 6px);
}

.country-switch.open .country-list,
.country-switch:hover .country-list {
	transform: translate(-50%, 0);
}

.country-list li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.country-list .list-title {
	padding: 4px 10px 6px;
	font-size: 12px;
	color: var(--navy-soft);
	font-weight: 600;
}

.country-list button,
.country-list a {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 6px;
	text-align: left;
	text-decoration: none;
	color: inherit;
	background: none;
	border: 0;
	cursor: pointer;
}

.country-list button:hover,
.country-list a:hover {
	background: var(--hover-bg);
}

.mini-flag {
	width: 26px;
	height: 26px;
	flex: none;
	border-radius: 2px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.country-list .txt {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.country-list .name {
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: .05em;
	white-space: nowrap;
	color: var(--navy);
}

.country-list .host {
	font-size: 12px;
	color: var(--navy-soft);
}

.country-list .check {
	margin-left: auto;
	color: var(--accent);
	visibility: hidden;
}

.country-list button[aria-current="true"] .check,
.country-list a.active .check {
	visibility: visible;
}

.country-list button[aria-current="true"],
.country-list a.active {
	background: var(--active-bg);
	box-shadow: inset 3px 0 0 var(--accent);
}

/* ===== WPML Language Switcher ===== */
.lang-switch {
	position: relative;
	display: flex;
	align-items: center;
	padding: 0 clamp(6px, 1vw, 14px);
	flex: 0 0 auto;
}

.lang-id {
	display: flex;
	align-items: center;
	gap: 7px;
	cursor: pointer;
	background: none;
	border: 0;
	padding: 0;
	color: inherit;
	transition: color .15s ease;
}

.lang-switch.is-single .lang-id {
	cursor: default;
}

.lang-id:hover,
.lang-switch.open .lang-id {
	color: var(--accent);
}

.lang-switch.is-single .lang-id:hover {
	color: inherit;
}

.lang-flag {
	width: 20px;
	height: 14px;
	flex: none;
	border-radius: 2px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.lang-flag svg,
.lang-flag img,
.lang-mini-flag svg,
.lang-mini-flag img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lang-code {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .06em;
	color: var(--navy);
	text-transform: uppercase;
	transition: color .15s ease;
}

.lang-switch:hover .lang-code,
.lang-switch.open .lang-code {
	color: var(--accent);
}

.lang-switch.is-single:hover .lang-code {
	color: var(--navy);
}

.lang-switch .chev-btn {
	margin-left: 2px;
	width: 22px;
	height: 22px;
}

.lang-list {
	left: 50%;
	min-width: 175px;
	transform: translate(-50%, -4px);
	--tip: calc(50% - 6px);
}

.lang-switch.open .lang-list,
.lang-switch:hover .lang-list {
	transform: translate(-50%, 0);
}

.lang-list li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.lang-list .list-title {
	padding: 4px 10px 6px;
	font-size: 11.5px;
	color: var(--navy-soft);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .05em;
}

.lang-list a {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 6px;
	text-align: left;
	text-decoration: none;
	color: inherit;
	background: none;
	border: 0;
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}

.lang-list a:hover {
	background: var(--hover-bg);
}

.lang-mini-flag {
	width: 18px;
	height: 12px;
	flex: none;
	border-radius: 2px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.lang-opt .txt {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex: 1;
	gap: 8px;
}

.lang-opt .name {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--navy);
}

.lang-opt .code {
	font-size: 11px;
	font-weight: 700;
	color: var(--navy-soft);
	background: rgba(22, 38, 61, 0.06);
	padding: 1px 5px;
	border-radius: 3px;
	letter-spacing: .04em;
}

.lang-opt .check {
	margin-left: auto;
	color: var(--accent);
	visibility: hidden;
}

.lang-opt[aria-current="true"] .check,
.lang-opt.active .check {
	visibility: visible;
}

.lang-opt[aria-current="true"],
.lang-opt.active {
	background: var(--active-bg);
	box-shadow: inset 3px 0 0 var(--accent);
}

.lang-opt.active .name {
	color: var(--accent-strong);
}

/* ===== Country Nav Menu (Center/Right on Desktop) ===== */
.country-nav {
	margin-left: auto;
	display: flex;
	align-items: center;
	min-width: 0;
	flex: 0 1 auto;
}

.mobile-drawer-header {
	display: none;
}

.menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: clamp(6px, 1.1vw, 16px);
}

.menu > li {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
	flex: 0 0 auto;
}

.site-header a,
.site-header a:hover,
.site-header a:focus,
.site-header a:active,
.site-header .menu-link,
.site-header .menu-link:hover,
.site-header .menu-link:focus,
.site-header .sub-link,
.site-header .sub-link:hover,
.site-header .sub-link:focus,
.site-header .gcn-home,
.site-header .gcn-home:hover,
.site-header .top-pill,
.site-header .top-pill:hover,
.site-header .add-listing-btn,
.site-header .add-listing-btn:hover {
	text-decoration: none !important;
	outline: none;
}

.menu-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 8px 3px;
	font-size: 14.5px;
	font-weight: 500;
	white-space: nowrap;
	color: var(--navy);
	text-decoration: none !important;
	transition: color .15s ease;
}

.menu-link:hover,
.menu-link:focus,
.has-sub:hover > .menu-link,
.has-sub.open > .menu-link {
	color: var(--accent);
	text-decoration: none !important;
}

.menu-link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 2.5px;
	background: var(--accent);
	border-radius: 2px;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .2s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-link:hover::after,
.menu-link:focus::after,
.has-sub:hover > .menu-link::after,
.has-sub.open > .menu-link::after,
.has-sub:focus-within > .menu-link::after {
	transform: scaleX(1);
}

.menu-link[aria-current="page"]::after,
.menu-link.active::after,
.menu > li.current-menu-item > .menu-link::after,
.menu > li.current-menu-parent > .menu-link::after {
	transform: scaleX(1);
}

.has-sub .chev {
	color: var(--navy-soft);
}

.sub-toggle {
	display: none;
}

/* Submenu Dropdown (Desktop) */
.submenu {
	right: -8px;
	min-width: 210px;
	--tip: calc(100% - 34px);
}

.has-sub:hover > .submenu,
.has-sub:focus-within > .submenu,
.has-sub.open > .submenu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.has-sub:hover > .menu-link .chev,
.has-sub:focus-within > .menu-link .chev,
.has-sub.open > .menu-link .chev {
	transform: rotate(180deg);
}

.submenu li {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sub-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 12px;
	font-size: 14px;
	font-weight: 500;
	border-radius: 6px;
	white-space: nowrap;
	color: var(--navy);
	text-decoration: none;
}

.sub-link:hover,
.submenu .has-sub:hover > .sub-link {
	background: var(--hover-bg);
}

.sub-link[aria-current="page"],
.sub-link.active,
.submenu li.current-menu-item > .sub-link {
	color: var(--accent);
}

/* Level 3+: fly out to the left */
.submenu .submenu {
	top: -8px;
	right: calc(100% + 8px);
	min-width: 190px;
	transform: translateX(4px);
}

.submenu .submenu::before {
	display: none;
}

.submenu .submenu::after {
	top: 0;
	bottom: 0;
	left: auto;
	right: -10px;
	width: 10px;
	height: auto;
}

.submenu .has-sub > .sub-link .chev {
	transform: rotate(90deg);
}

/* ===== 3 Dots (...) Smart Overflow / More Menu ===== */
.gcn-more-menu {
	position: relative;
	list-style: none;
}

.gcn-more-toggle {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 8px 6px;
	cursor: pointer;
}

.gcn-more-dots {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	color: var(--navy);
}

.gcn-more-dots svg {
	display: block;
}

.gcn-more-toggle:hover .gcn-more-dots,
.gcn-more-menu.open .gcn-more-dots,
.gcn-more-menu:hover .gcn-more-dots {
	color: var(--accent);
}

.gcn-more-dropdown {
	right: 0;
	left: auto;
	min-width: 220px;
	--tip: calc(100% - 24px);
}

.gcn-more-dropdown > li {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
}

.gcn-more-dropdown > li > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 12px;
	font-size: 14.5px;
	font-weight: 500;
	border-radius: 6px;
	white-space: nowrap;
	color: var(--navy);
	text-decoration: none;
	transition: background .15s ease, color .15s ease;
}

.gcn-more-dropdown > li > a::after {
	display: none !important;
}

.gcn-more-dropdown > li > a:hover,
.gcn-more-dropdown > li.has-sub:hover > a {
	background: var(--hover-bg);
	color: var(--navy);
}

.gcn-more-dropdown .submenu {
	top: -8px;
	right: calc(100% + 8px);
	left: auto;
	min-width: 200px;
	transform: translateX(4px);
}

.gcn-more-dropdown .submenu::before {
	display: none;
}

.gcn-more-dropdown .submenu::after {
	top: 0;
	bottom: 0;
	left: auto;
	right: -12px;
	width: 12px;
	height: auto;
}

.gcn-more-dropdown .has-sub > a .chev {
	transform: rotate(90deg);
	color: var(--navy-soft);
	transition: transform .2s ease;
}

.gcn-more-dropdown .has-sub:hover > a .chev {
	color: var(--accent);
	transform: rotate(90deg) translateX(2px);
}

.gcn-more-dropdown .has-sub:hover > .submenu,
.gcn-more-dropdown .has-sub:focus-within > .submenu,
.gcn-more-dropdown .has-sub.open > .submenu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.submenu .has-sub:hover > .sub-link .chev,
.submenu .has-sub:focus-within > .sub-link .chev {
	transform: rotate(90deg);
	color: var(--accent);
}

/* ===== Right Action Buttons & Dynamic Section ===== */
.right-divider {
	margin: 0 clamp(8px, 1.4vw, 20px);
}

.header-actions-wrap {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: 0;
	flex-shrink: 0;
}

.header-actions-col {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 5px;
}

/* Top Pill (Location + Places) */
.top-pill-row {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--line);
	border-radius: 9999px;
	background: var(--bg);
	padding: 2px 6px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.top-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 2px 8px;
	font-size: 11.5px;
	font-weight: 500;
	color: var(--navy-soft);
	text-decoration: none !important;
	line-height: 1.2;
	cursor: pointer;
	transition: color .15s ease;
}

.top-pill:hover {
	color: var(--accent);
	text-decoration: none !important;
}

.top-pill--loc {
	border-inline-end: 1px solid var(--line);
}

.top-pill-icon {
	color: var(--accent) !important;
	stroke: var(--accent) !important;
	display: inline-flex;
	flex-shrink: 0;
}

.top-pill-icon svg,
.top-pill-icon path,
.top-pill-icon polygon,
.top-pill-icon line,
.top-pill-icon circle {
	stroke: var(--accent) !important;
}

.top-pill:hover .top-pill-icon {
	color: var(--accent-strong) !important;
	stroke: var(--accent-strong) !important;
}

.top-pill-txt {
	font-weight: 700;
	font-size: 10px;
	color: var(--navy);
	text-transform: uppercase;
}

/* Bottom Action Row */
.bottom-action-row {
	display: inline-flex;
	align-items: center;
	gap: 14px;
}

.action-icon-btn {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	color: var(--navy-soft);
	background: var(--hover-bg);
	border: 1px solid var(--line);
	padding: 0;
	cursor: pointer;
	transition: color .15s ease, background-color .15s ease, border-color .15s ease;
}

.action-icon-btn:hover,
.action-search-wrap.open .action-icon-btn,
.action-search-wrap:hover .action-icon-btn {
	color: var(--accent);
	background: var(--active-bg);
	border-color: var(--accent);
}

/* Search Dropdown Panel */
.action-search-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.search-panel {
	right: 0;
	min-width: 320px;
	padding: 12px;
	--tip: calc(100% - 16px);
}

.action-search-wrap.open .search-panel,
.action-search-wrap:hover .search-panel,
.action-search-wrap:focus-within .search-panel {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.search-input-wrap {
	display: flex;
	align-items: center;
	gap: 6px;
}

.search-input {
	flex: 1;
	height: 38px;
	padding: 0 12px;
	font-size: 14px;
	font-family: inherit;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: #fff;
	color: var(--navy);
	outline: none;
	transition: border-color .15s ease;
}

.search-input:focus {
	border-color: var(--accent);
}

.search-submit-btn {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	flex: none;
	background: var(--accent);
	color: #fff;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
	transition: background-color .15s ease;
}

.search-submit-btn:hover {
	background: var(--accent-strong);
}

.search-type-label {
	display: block;
	margin: 8px 0 4px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--navy-soft);
}

.search-select {
	width: 100%;
	height: 34px;
	padding: 0 8px;
	font-size: 13px;
	font-family: inherit;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: #fff;
	color: var(--navy);
	outline: none;
	cursor: pointer;
}

.search-select:focus {
	border-color: var(--accent);
}

/* Sign In Link / Button (Logged Out) */
.action-signin-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 4px 6px;
	font-size: 15.5px;
	font-weight: 500;
	color: var(--navy);
	text-decoration: none !important;
	cursor: pointer;
	border-radius: 4px;
	background: transparent;
	border: 0;
	line-height: 1.2;
	transition: color .15s ease, background-color .15s ease;
	white-space: nowrap;
}

.action-signin-btn:hover {
	color: var(--accent);
	text-decoration: none !important;
}

.action-signin-icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	color: var(--navy);
	transition: color .15s ease;
}

.action-signin-btn:hover .action-signin-icon {
	color: var(--accent);
}

.action-signin-text {
	display: inline-block;
	line-height: 1;
}

/* Account Avatar & Dropdown */
.action-account-dropdown-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.action-account-wrap {
	display: block;
	line-height: 0;
	text-decoration: none;
	border-radius: 50%;
}

.action-avatar-img {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--accent);
	background: var(--active-bg);
	display: block;
	transition: transform .15s ease, box-shadow .15s ease;
}

.action-avatar-img:hover,
.action-account-dropdown-wrap.open .action-avatar-img,
.action-account-dropdown-wrap:hover .action-avatar-img {
	transform: scale(1.04);
	box-shadow: 0 0 0 2px var(--active-bg), 0 0 0 4px var(--accent);
}

.action-account-menu {
	right: 0;
	min-width: 190px;
	--tip: calc(100% - 16px);
}

.action-account-dropdown-wrap.open .action-account-menu,
.action-account-dropdown-wrap:hover .action-account-menu,
.action-account-dropdown-wrap:focus-within .action-account-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.action-account-header {
	padding: 6px 10px 8px;
	border-bottom: 1px solid var(--line);
	margin-bottom: 4px;
}

.action-account-name {
	font-weight: 700;
	font-size: 13px;
	color: var(--navy);
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.action-account-logout {
	border-top: 1px solid var(--line);
	margin-top: 4px;
	padding-top: 4px;
}

.action-account-logout .sub-link {
	color: var(--navy-soft);
}

.action-account-logout .sub-link:hover {
	color: #d32f2f;
	background: #fff5f5;
}

/* ===== Add Listing Button & CPT Dropdown ===== */
.action-add-listing-dropdown-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.add-listing-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 16px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: #ffffff !important;
	background: var(--accent, #0e8b72);
	border-radius: 9999px;
	text-decoration: none !important;
	box-shadow: 0 2px 8px rgba(14, 139, 114, 0.28);
	transition: background 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease, color 0.15s ease;
	white-space: nowrap;
}

.add-listing-btn:hover,
.action-add-listing-dropdown-wrap:hover .add-listing-btn,
.action-add-listing-dropdown-wrap.open .add-listing-btn,
.action-add-listing-dropdown-wrap:focus-within .add-listing-btn {
	background: #f59e0b;
	background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(245, 158, 11, 0.42);
	color: #ffffff !important;
}

.action-add-listing-menu {
	right: 0;
	left: auto;
	min-width: 200px;
	padding: 8px 6px;
	border-radius: 12px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
	--tip: calc(100% - 32px);
}

.action-add-listing-dropdown-wrap.open .action-add-listing-menu,
.action-add-listing-dropdown-wrap:hover .action-add-listing-menu,
.action-add-listing-dropdown-wrap:focus-within .action-add-listing-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.action-add-listing-menu li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.add-listing-sub-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 12px;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--navy, #1b2028);
	text-decoration: none !important;
	border-radius: 8px;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.add-listing-sub-link:hover {
	background: #f0fdf4;
	color: #0d826a;
}

.add-listing-item-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	color: #0d826a;
	flex-shrink: 0;
	transition: transform 0.15s ease;
}

.add-listing-sub-link:hover .add-listing-item-icon {
	transform: scale(1.1);
}

.add-listing-item-label {
	white-space: nowrap;
}

/* Mobile Hamburger Button */
.burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 38px;
	height: 38px;
	border-radius: 6px;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	color: var(--navy);
	flex-shrink: 0;
	transition: background-color .15s ease;
}

.burger:hover {
	background: var(--hover-bg);
}

.burger-bar {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--navy);
	border-radius: 2px;
	transition: transform .25s ease, opacity .2s ease;
}

.burger[aria-expanded="true"] .burger-bar--1 {
	transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] .burger-bar--2 {
	opacity: 0;
	transform: scaleX(0);
}

.burger[aria-expanded="true"] .burger-bar--3 {
	transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* ===== Laptop / Medium Desktop (992px - 1199px) ===== */
@media (max-width: 1199px) {
	:root {
		--header-h: 74px;
	}

	.header-inner {
		padding: 0 16px;
	}

	.gcn-logo-img {
		height: 34px;
		max-width: 120px;
	}

	.country-id .flag {
		width: 34px;
		height: 34px;
	}

	.country-name .l1 {
		font-size: 16px;
	}

	.country-name .l2 {
		font-size: 12px;
	}

	.menu {
		gap: clamp(4px, 0.9vw, 12px);
	}

	.menu-link {
		font-size: 13.5px;
		padding: 6px 2px;
	}

	.right-divider {
		margin: 0 10px;
	}

	.bottom-action-row {
		gap: 10px;
	}

	.action-signin-btn {
		font-size: 14.5px;
	}

	.add-listing-btn {
		font-size: 12px;
		padding: 5px 12px;
	}
}

/* ===== Tablet & Below (< 992px) ===== */
@media (max-width: 991px) {
	:root {
		--header-h: 68px;
	}

	.header-inner {
		justify-content: space-between;
		padding: 0 16px;
	}

	.burger {
		display: flex;
	}

	.right-divider {
		display: none;
	}

	.top-pill-row {
		display: none;
	}

	.search-panel {
		right: -52px !important;
		left: auto !important;
		width: 330px !important;
		max-width: calc(100vw - 24px) !important;
		--tip: calc(100% - 68px) !important;
	}

	/* Mobile Menu Drawer */
	.country-nav {
		display: none;
		position: fixed;
		top: var(--header-h);
		left: 0;
		right: 0;
		bottom: 0;
		max-height: calc(100dvh - var(--header-h));
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		background: #ffffff;
		border-bottom: 1px solid var(--line);
		box-shadow: 0 16px 36px rgba(22, 38, 61, 0.16);
		padding: 20px 20px 40px 20px;
		z-index: 998;
		opacity: 0;
		transform: translateY(-8px);
		transition: opacity .25s ease, transform .25s ease;
	}

	.country-nav.open {
		display: block;
		opacity: 1;
		transform: translateY(0);
	}

	/* Mobile Drawer Top Header (Pills + Big Add Listing button) */
	.mobile-drawer-header {
		display: flex;
		flex-direction: column;
		gap: 12px;
		padding-bottom: 18px;
		margin-bottom: 14px;
		border-bottom: 1.5px solid var(--line);
	}

	.mobile-drawer-pills {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}

	.mobile-drawer-pill {
		display: flex;
		align-items: center;
		gap: 8px;
		padding: 9px 12px;
		border-radius: 8px;
		background: #f4f7f9;
		border: 1px solid var(--line);
		text-decoration: none !important;
		color: var(--navy);
		transition: background-color .15s ease, border-color .15s ease;
	}

	.mobile-drawer-pill:hover {
		background: var(--active-bg);
		border-color: var(--accent);
	}

	.mobile-drawer-pill-icon {
		color: var(--accent);
		stroke: var(--accent);
		flex-shrink: 0;
	}

	.mobile-drawer-pill-txt {
		display: flex;
		flex-direction: column;
		line-height: 1.15;
		overflow: hidden;
	}

	.mobile-drawer-pill-lbl {
		font-size: 10.5px;
		font-weight: 500;
		color: var(--navy-soft);
	}

	.mobile-drawer-pill-val {
		font-size: 13px;
		font-weight: 700;
		color: var(--navy);
		text-transform: uppercase;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.mobile-drawer-add-btn {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		width: 100%;
		padding: 12px 16px;
		font-size: 14px;
		font-weight: 600;
		color: #ffffff !important;
		background: var(--accent);
		border-radius: 8px;
		text-decoration: none !important;
		box-shadow: 0 4px 12px rgba(14, 139, 114, 0.25);
		transition: background-color .15s ease, transform .15s ease;
	}

	.mobile-drawer-add-btn:hover {
		background: #f59e0b;
		background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
	}

	/* Accordion Menu List inside Mobile Drawer */
	.country-nav .menu,
	.menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		width: 100%;
	}

	.country-nav .menu > li {
		border-bottom: 1px solid #f0f2f5;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		width: 100%;
	}

	.country-nav .menu-link {
		flex: 1;
		padding: 13px 4px;
		font-size: 15.5px;
		font-weight: 600;
	}

	.country-nav .menu-link .chev {
		display: none;
	}

	.country-nav .menu-link::after {
		display: none;
	}

	.country-nav .sub-toggle {
		display: grid;
		place-items: center;
		width: 44px;
		height: 44px;
		border-radius: 6px;
		background: none;
		border: 0;
		cursor: pointer;
		color: var(--navy-soft);
		margin-left: auto;
		flex-shrink: 0;
	}

	.country-nav .has-sub.expanded > .sub-toggle .chev {
		transform: rotate(180deg);
		color: var(--accent);
	}

	.country-nav .submenu,
	.country-nav .submenu .submenu,
	.country-nav .has-sub:hover > .submenu,
	.country-nav .has-sub:focus-within > .submenu {
		position: static;
		flex-basis: 100%;
		display: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		padding: 4px 0 10px 12px;
		min-width: 0;
		background: #f8fafc;
		border-radius: 8px;
		margin: 2px 0 10px;
	}

	.country-nav .submenu::before,
	.country-nav .submenu::after,
	.country-nav .submenu .submenu::after {
		display: none;
	}

	.country-nav .has-sub.expanded > .submenu {
		display: block;
	}

	.country-nav .sub-link {
		padding: 10px 12px;
		font-size: 14.5px;
		border-radius: 6px;
	}

	/* ===== Global GCN Dropdown on Mobile / Tablet ===== */
	.gcn-dropdown {
		left: 4px !important;
		right: auto !important;
		width: 275px !important;
		max-width: calc(100vw - 16px) !important;
		max-height: calc(100dvh - var(--header-h) - 16px) !important;
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch !important;
		padding: 8px 6px !important;
		border-radius: 12px !important;
		border: 1px solid var(--line) !important;
		box-shadow: 0 14px 36px rgba(15, 23, 42, 0.18), 0 2px 6px rgba(15, 23, 42, 0.08) !important;
		--tip: 26px !important;
	}

	.gcn-dropdown > li {
		display: flex !important;
		flex-wrap: wrap !important;
		align-items: center !important;
		width: 100% !important;
		margin: 1px 0 !important;
		padding: 0 !important;
		border-radius: 8px !important;
		border-bottom: 1px solid #f1f5f9 !important;
		transition: background-color 0.15s ease !important;
	}

	.gcn-dropdown > li:last-child {
		border-bottom: none !important;
	}

	.gcn-dropdown > li:hover {
		background: #f8fafc !important;
	}

	.gcn-dropdown .menu-link {
		flex: 1 1 auto !important;
		min-width: 0 !important;
		display: flex !important;
		align-items: center !important;
		padding: 10px 12px !important;
		font-size: 14.5px !important;
		font-weight: 600 !important;
		color: var(--navy) !important;
		border-radius: 6px !important;
		text-decoration: none !important;
	}

	.gcn-dropdown .menu-link.active,
	.gcn-dropdown .menu-link:hover {
		color: var(--accent) !important;
	}

	.gcn-dropdown .menu-link .chev {
		display: none !important;
	}

	.gcn-dropdown .sub-toggle {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 38px !important;
		height: 38px !important;
		padding: 0 !important;
		margin: 0 !important;
		background: transparent !important;
		border: 0 !important;
		outline: none !important;
		box-shadow: none !important;
		border-radius: 6px !important;
		cursor: pointer !important;
		color: var(--navy-soft) !important;
		flex-shrink: 0 !important;
		transition: background-color 0.15s ease, color 0.15s ease !important;
	}

	.gcn-dropdown .sub-toggle:hover,
	.gcn-dropdown .has-sub.expanded > .sub-toggle {
		color: var(--accent) !important;
		background: rgba(14, 139, 114, 0.08) !important;
	}

	.gcn-dropdown .sub-toggle .chev {
		transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
	}

	.gcn-dropdown .has-sub.expanded > .sub-toggle .chev {
		transform: rotate(180deg) !important;
	}

	.gcn-dropdown .submenu {
		position: static !important;
		flex-basis: 100% !important;
		width: 100% !important;
		min-width: 0 !important;
		box-shadow: none !important;
		border: none !important;
		background: #f1f5f9 !important;
		border-radius: 8px !important;
		padding: 4px 6px !important;
		margin: 2px 4px 6px 4px !important;
		opacity: 1 !important;
		visibility: visible !important;
		transform: none !important;
		display: none !important;
	}

	.gcn-dropdown .submenu::before,
	.gcn-dropdown .submenu::after {
		display: none !important;
	}

	.gcn-dropdown .has-sub.expanded > .submenu {
		display: block !important;
	}

	.gcn-dropdown .submenu li {
		margin: 1px 0 !important;
		padding: 0 !important;
		border: none !important;
	}

	.gcn-dropdown .submenu .sub-link {
		display: block !important;
		padding: 8px 12px !important;
		font-size: 13.5px !important;
		font-weight: 500 !important;
		color: #334155 !important;
		border-radius: 6px !important;
		text-decoration: none !important;
		transition: background-color 0.15s ease, color 0.15s ease, font-weight 0.15s ease !important;
	}

	.gcn-dropdown .submenu .sub-link:hover,
	.gcn-dropdown .submenu .sub-link.active {
		background: #ffffff !important;
		color: var(--accent, #0e8b72) !important;
		font-weight: 600 !important;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
	}
}

/* ===== Mobile (576px - 767px) ===== */
@media (max-width: 767px) {
	:root {
		--header-h: 62px;
	}

	.header-inner {
		padding: 0 12px;
	}

	.gcn-logo-img {
		height: 30px;
		max-width: 105px;
	}

	.gcn-global {
		padding-right: 6px;
	}

	.country-switch {
		padding: 0 6px;
	}

	.country-id .flag {
		width: 30px;
		height: 30px;
	}

	.country-name .l1 {
		font-size: 14px;
		letter-spacing: .08em;
	}

	.country-name .l2 {
		font-size: 10.5px;
		letter-spacing: .1em;
	}

	.divider {
		height: 24px;
	}

	.bottom-action-row {
		gap: 8px;
	}

	/* Hide desktop add listing button on mobile top bar since it's inside drawer */
	.bottom-action-row .add-listing-btn {
		display: none;
	}

	.action-signin-btn {
		font-size: 14px;
		padding: 2px 4px;
		gap: 5px;
	}

	.action-signin-icon {
		width: 16px;
		height: 16px;
	}

	.action-icon-btn {
		width: 30px;
		height: 30px;
	}

	.burger {
		width: 34px;
		height: 34px;
	}

	/* Fix dropdown bounds on mobile screens */
	.country-list {
		left: 8px !important;
		right: auto !important;
		transform: translateY(-4px) !important;
		max-width: calc(100vw - 16px) !important;
		width: 290px;
		--tip: 48px;
	}

	.country-switch.open .country-list,
	.country-switch:hover .country-list {
		transform: translateY(0) !important;
	}

	.gcn-dropdown {
		left: 4px !important;
		max-width: calc(100vw - 16px) !important;
		--tip: 26px;
	}

	.search-panel {
		right: -42px !important;
		left: auto !important;
		width: 330px !important;
		max-width: calc(100vw - 20px) !important;
		--tip: calc(100% - 58px) !important;
	}
}

/* ===== Small Mobile (320px - 575px) ===== */
@media (max-width: 575px) {
	:root {
		--header-h: 58px;
	}

	.header-inner {
		padding: 0 8px;
	}

	.gcn-logo-img {
		height: 26px;
		max-width: 90px;
	}

	.gcn-global {
		padding-right: 2px;
	}

	.chev-btn {
		width: 20px;
		height: 20px;
		margin-left: 1px;
	}

	.country-switch {
		padding: 0 4px;
	}

	.country-id {
		gap: 6px;
	}

	.country-id .flag {
		width: 26px;
		height: 26px;
	}

	.country-name .l1 {
		font-size: 12.5px;
		letter-spacing: .06em;
	}

	.country-name .l2 {
		font-size: 9px;
		letter-spacing: .08em;
	}

	.divider {
		height: 20px;
	}

	.header-actions-wrap {
		gap: 6px;
	}

	.bottom-action-row {
		gap: 6px;
	}

	.action-signin-btn {
		font-size: 13px;
		padding: 2px 2px;
		gap: 4px;
	}

	.action-signin-icon {
		width: 15px;
		height: 15px;
	}

	.action-icon-btn {
		width: 28px;
		height: 28px;
	}

	.action-icon-btn svg {
		width: 15px;
		height: 15px;
	}

	.burger {
		width: 32px;
		height: 32px;
		gap: 4px;
	}

	.burger-bar {
		width: 18px;
	}

	.burger[aria-expanded="true"] .burger-bar--1 {
		transform: translateY(6px) rotate(45deg);
	}

	.burger[aria-expanded="true"] .burger-bar--3 {
		transform: translateY(-6px) rotate(-45deg);
	}

	.mobile-drawer-pills {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.search-panel {
		right: -38px !important;
		left: auto !important;
		width: calc(100vw - 16px) !important;
		max-width: calc(100vw - 16px) !important;
		--tip: calc(100% - 52px) !important;
		padding: 10px !important;
	}
}

/* ==========================================================================
   Modals & GeoDirectory Location Switcher Modal (#gdlm-switcher)
   ========================================================================== */
.modal,
.modal.fade,
.modal.show,
#gdlm-switcher.modal,
.uwp-auth-modal,
.uwp-auth-modal.modal,
.uwp-bs-modal {
	z-index: 100000 !important;
}

.modal-backdrop,
.modal-backdrop.fade,
.modal-backdrop.show,
.uwp-bs-modal-backdrop,
#uwp-modal-backdrop {
	z-index: 99990 !important;
}

#gdlm-switcher .modal-dialog {
	max-width: 480px;
	margin: 5rem auto 2rem auto;
}

#gdlm-switcher .modal-content {
	border-radius: 14px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
	background: #ffffff;
	overflow: visible;
}

#gdlm-switcher .modal-header {
	border-bottom: none;
	padding: 24px 24px 6px 24px;
	position: relative;
	text-align: center;
}

#gdlm-switcher .modal-title {
	width: 100%;
	text-align: center;
}

#gdlm-switcher #dlm-switcher-title {
	font-size: 20px;
	font-weight: 700;
	color: var(--navy, #16263d);
	margin-bottom: 4px;
}

#gdlm-switcher .modal-title .h6,
#gdlm-switcher .modal-title .text-muted {
	font-size: 14px;
	color: var(--navy-soft, #5a6b82) !important;
	font-weight: 400;
	margin: 0;
}

#gdlm-switcher .btn-close,
#gdlm-switcher .close {
	position: absolute;
	top: 18px;
	right: 20px;
	opacity: 0.6;
	background: transparent;
	border: none;
	font-size: 1.25rem;
	cursor: pointer;
	transition: opacity 0.15s ease;
	color: var(--navy, #16263d);
}

#gdlm-switcher .btn-close:hover,
#gdlm-switcher .close:hover {
	opacity: 1;
}

#gdlm-switcher .modal-body {
	padding: 12px 24px 28px 24px;
}

#gdlm-switcher .geodir-location-search {
	border: 1.5px solid #d0d7de;
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 15px;
	color: var(--navy, #16263d);
	width: 100%;
	outline: none;
	box-shadow: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#gdlm-switcher .geodir-location-search:focus {
	border-color: var(--accent, #0e8b72);
	box-shadow: 0 0 0 3px rgba(14, 139, 114, 0.15);
}

#gdlm-switcher .gdlm-location-suggestions {
	border-radius: 8px;
	border: 1px solid #e0e0e0;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
	margin-top: 6px;
	background: #ffffff;
	max-height: 320px;
	overflow-y: auto;
	z-index: 100005 !important;
}

#gdlm-switcher .gdlm-location-suggestions li {
	padding: 9px 14px;
	font-size: 14px;
	color: var(--navy, #16263d);
	cursor: pointer;
	display: flex;
	align-items: center;
	border-bottom: 1px solid #f2f4f7;
	transition: background-color 0.15s ease, color 0.15s ease;
}

#gdlm-switcher .gdlm-location-suggestions li:last-child {
	border-bottom: none;
}

#gdlm-switcher .gdlm-location-suggestions li:hover {
	background-color: #f0f8f6;
	color: var(--accent, #0e8b72);
}
