/* ==========================================================================
 * FG header — "The Field Report"
 * Rebuilt header + full-screen mobile overlay. Solid-state base lives here;
 * the transparent hero/banner states are owned (with !important) by
 * fg-hero-rise.css (home) and main.css §inner-transparent, which this layer
 * deliberately does not fight. Loads after vendor style.css + main.css, so
 * equal-specificity rules win by order. RTL-first; compositor-only motion.
 * ========================================================================== */

/* Tokens defined on BOTH roots: the header and the overlay are siblings in the
   DOM, so vars scoped to one would not reach the other. */
.fg-header,
.fg-mnav {
	--fg-topbar-bg: var(--fg-color-accent, #0b5565);
	--fg-topbar-ink: #cfe0e4;
	--fg-topbar-ink-strong: #ffffff;
	--fg-nav-ink: var(--fg-color-text, #2d2d2d);
	--fg-overlay-bg: var(--fg-color-footer-bg, #062a33);
	--fg-overlay-ink: #e8eef0;
	--fg-overlay-ink-soft: #9eb4b9;
	--fg-overlay-line: rgba(255, 255, 255, 0.1);
	--fg-gold: var(--fg-color-primary, #d9a043);
	--fg-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ──────────────────────────────────────────────────────────────────────────
 * 1. Top utility bar (desktop only) — slim teal strip
 * ────────────────────────────────────────────────────────────────────────── */
.fg-header .fg-topbar {
	background: var(--fg-topbar-bg);
	color: var(--fg-topbar-ink);
	font-family: var(--fg-font-body, "Tajawal", sans-serif);
	padding-block: 0.5rem;
}

.fg-header .fg-topbar .container {
	max-width: 1320px;
}

.fg-header .fg-topbar__links ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fg-header .fg-topbar__links li {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	font-size: 0.82rem;
	line-height: 1.4;
}

.fg-header .fg-topbar__links li i {
	font-size: 0.85rem;
	color: var(--fg-gold);
}

.fg-header .fg-topbar__links a {
	color: var(--fg-topbar-ink);
	text-decoration: none;
	transition: color 0.25s ease;
}

.fg-header .fg-topbar__links a:hover,
.fg-header .fg-topbar__links a:focus-visible {
	color: var(--fg-topbar-ink-strong);
}

.fg-header .fg-topbar__social {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.fg-header .fg-topbar__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	color: var(--fg-topbar-ink);
	font-size: 0.78rem;
	text-decoration: none;
	transition: color 0.25s ease, background-color 0.25s ease;
}

.fg-header .fg-topbar__social a:hover,
.fg-header .fg-topbar__social a:focus-visible {
	color: var(--fg-color-on-primary, #1a1a1a);
	background: var(--fg-gold);
}

.fg-header .fg-topbar__social a:focus-visible {
	outline: 2px solid var(--fg-topbar-ink-strong);
	outline-offset: 2px;
}

/* The top bar is desktop chrome; on mobile the contact lives in the overlay foot. */
@media (max-width: 991.98px) {
	.fg-header .fg-topbar {
		display: none;
	}
}

/* ──────────────────────────────────────────────────────────────────────────
 * 2. Main bar — sticky white base (solid pages). Transparent pages override.
 * ────────────────────────────────────────────────────────────────────────── */
.fg-header .sticky-wrapper {
	background: var(--fg-color-bg, #fff);
	border-block-end: 1px solid var(--fg-color-border, #d5e0e3);
	transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.fg-header .sticky-wrapper.sticky {
	background: var(--fg-color-bg, #fff);
	box-shadow: 0 6px 24px rgba(26, 26, 26, 0.08);
}

.fg-header .menu-area {
	padding-block: clamp(0.85rem, 0.6rem + 0.8vw, 1.3rem);
}

.fg-header .header-logo img {
	height: clamp(34px, 2.4vw, 46px);
	width: auto;
}

.fg-header .header-logo__light {
	display: block;
}

.fg-header .header-logo__dark {
	display: none;
}

body.fg-home-transparent.fg-hero-overlay .fg-header .header-logo__light,
body.fg-inner-transparent .fg-header .sticky-wrapper:not(.sticky) .header-logo__light {
	display: none;
}

body.fg-home-transparent.fg-hero-overlay .fg-header .header-logo__dark,
body.fg-inner-transparent .fg-header .sticky-wrapper:not(.sticky) .header-logo__dark {
	display: block;
}

/* ──────────────────────────────────────────────────────────────────────────
 * 3. Desktop navigation — teal hover, gold seal on the active page only
 * ────────────────────────────────────────────────────────────────────────── */
.fg-header .main-menu > ul {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 0.5rem + 1.4vw, 2.4rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.fg-header .main-menu > ul > li {
	margin: 0;
	padding: 0;
	position: relative;
}

.fg-header .main-menu > ul > li > a {
	position: relative;
	display: inline-block;
	padding-block: 0.45rem;
	font-family: var(--fg-font-heading, "Cairo", sans-serif);
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.2;
	color: var(--fg-nav-ink);
	text-decoration: none;
	transition: color 0.25s ease;
}

/* Keep the slim nav height even in the theme's docked/sticky state. */
.fg-header .sticky-wrapper.sticky .main-menu > ul > li > a {
	padding-block: 0.45rem;
}

.fg-header .main-menu > ul > li > a::after {
	content: "";
	position: absolute;
	inset-block-end: 0;
	inset-inline: 0;
	height: 2px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.3s var(--fg-ease);
}

.fg-header .main-menu > ul > li > a:hover::after,
.fg-header .main-menu > ul > li > a:focus-visible::after {
	transform: scaleX(1);
}

/* Solid pages: link warms to teal on hover (transparent pages keep light text). */
.fg-header .main-menu > ul > li > a:hover,
.fg-header .main-menu > ul > li > a:focus-visible {
	color: var(--fg-color-accent, #0b5565);
}

/* Active page = the gold seal underline (gold stays rare: current page only). */
.fg-header .main-menu > ul > li.current-menu-item > a,
.fg-header .main-menu > ul > li.current_page_item > a,
.fg-header .main-menu > ul > li.current-menu-ancestor > a {
	font-weight: 700;
}

.fg-header .main-menu > ul > li.current-menu-item > a::after,
.fg-header .main-menu > ul > li.current_page_item > a::after,
.fg-header .main-menu > ul > li.current-menu-ancestor > a::after {
	background: var(--fg-gold);
	transform: scaleX(1);
}

/* Defensive desktop dropdown (menus are flat today, but degrade gracefully). */
.fg-header .main-menu ul .sub-menu {
	position: absolute;
	inset-inline-start: 0;
	top: 100%;
	min-width: 220px;
	margin: 0;
	padding: 0.5rem 0;
	list-style: none;
	background: var(--fg-color-bg, #fff);
	border: 1px solid var(--fg-color-border, #d5e0e3);
	border-radius: var(--fg-radius-sm, 6px);
	box-shadow: 0 10px 30px rgba(26, 26, 26, 0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.25s ease, transform 0.25s var(--fg-ease), visibility 0.25s;
	z-index: 30;
}

.fg-header .main-menu ul li:hover > .sub-menu,
.fg-header .main-menu ul li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.fg-header .main-menu .sub-menu a {
	display: block;
	padding: 0.5rem 1.1rem;
	font-family: var(--fg-font-heading, "Cairo", sans-serif);
	font-size: 0.95rem;
	color: var(--fg-nav-ink);
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.fg-header .main-menu .sub-menu a:hover,
.fg-header .main-menu .sub-menu a:focus-visible {
	background: var(--fg-color-bg-alt, #f4f7f8);
	color: var(--fg-color-accent, #0b5565);
}

/* ──────────────────────────────────────────────────────────────────────────
 * 4. CTA — the FG button silhouette (6px, gold → teal), not a pill
 * ────────────────────────────────────────────────────────────────────────── */
.fg-header .header-button .th-btn.fg-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.72rem 1.6rem;
	border: 2px solid var(--fg-gold);
	border-radius: var(--fg-radius-sm, 6px);
	background: var(--fg-gold);
	color: var(--fg-color-on-primary, #1a1a1a);
	font-family: var(--fg-font-heading, "Cairo", sans-serif);
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.1;
	text-decoration: none;
	transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.fg-header .header-button .th-btn.fg-cta:hover,
.fg-header .header-button .th-btn.fg-cta:focus-visible {
	background: var(--fg-color-accent, #0b5565);
	border-color: var(--fg-color-accent, #0b5565);
	color: #fff;
}

.fg-header .header-button .th-btn.fg-cta:focus-visible {
	outline: 2px solid var(--fg-color-accent, #0b5565);
	outline-offset: 3px;
}

/* ──────────────────────────────────────────────────────────────────────────
 * 5. Mobile hamburger — quiet ghost button
 * ────────────────────────────────────────────────────────────────────────── */
.fg-header .header-button .th-menu-toggle.sidebar-btn {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	width: 46px;
	height: 46px;
	padding: 0;
	background-color: transparent !important;
	border: 1px solid rgba(122, 122, 122, 0.4);
	border-radius: var(--fg-radius-sm, 6px);
	box-shadow: none;
	transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.fg-header .header-button .th-menu-toggle.sidebar-btn .line {
	display: block;
	width: 22px;
	height: 2px;
	margin: 0;
	border-radius: 2px;
	background-color: var(--fg-nav-ink);
	transition: background-color 0.25s ease;
}

.fg-header .header-button .th-menu-toggle.sidebar-btn:hover,
.fg-header .header-button .th-menu-toggle.sidebar-btn:focus-visible {
	border-color: var(--fg-gold);
}

.fg-header .header-button .th-menu-toggle.sidebar-btn:hover .line,
.fg-header .header-button .th-menu-toggle.sidebar-btn:focus-visible .line {
	background-color: var(--fg-gold);
}

.fg-header .header-button .th-menu-toggle.sidebar-btn:focus-visible {
	outline: 2px solid var(--fg-gold);
	outline-offset: 2px;
}

/* On scroll (docked white bar) the hamburger fills with the deep-teal footer
   gradient, a solid primary affordance against the light sticky bar. Uses
   background-image (not the shorthand) so it sidesteps the base
   background-color: transparent !important; the gradients are opaque. */
.fg-header .sticky-wrapper.sticky .th-menu-toggle.sidebar-btn {
	background-image:
		radial-gradient(130% 90% at 85% 0%, rgba(13, 61, 71, 0.55), transparent 58%),
		linear-gradient(180deg, #073a47 0%, var(--fg-color-footer-bg, #062a33) 60%);
	border-color: transparent;
	box-shadow: 0 6px 18px rgba(6, 42, 51, 0.28);
}

.fg-header .sticky-wrapper.sticky .th-menu-toggle.sidebar-btn .line {
	background-color: #fff;
}

.fg-header .sticky-wrapper.sticky .th-menu-toggle.sidebar-btn:hover,
.fg-header .sticky-wrapper.sticky .th-menu-toggle.sidebar-btn:focus-visible {
	border-color: var(--fg-gold);
	box-shadow: 0 8px 22px rgba(6, 42, 51, 0.34);
}

.fg-header .sticky-wrapper.sticky .th-menu-toggle.sidebar-btn:hover .line,
.fg-header .sticky-wrapper.sticky .th-menu-toggle.sidebar-btn:focus-visible .line {
	background-color: #fff;
}

/* Light hamburger over the dark hero / banner (transparent header states). */
body.fg-home-transparent .fg-header .th-menu-toggle.sidebar-btn,
body.fg-inner-transparent .fg-header .th-menu-toggle.sidebar-btn {
	border-color: rgba(232, 223, 200, 0.45);
}

body.fg-home-transparent .fg-header .th-menu-toggle.sidebar-btn .line,
body.fg-inner-transparent .fg-header .th-menu-toggle.sidebar-btn .line {
	background-color: var(--rise-vellum, #e8dfc8);
}

/* ──────────────────────────────────────────────────────────────────────────
 * 6. Full-screen mobile overlay — deep teal "Field Report" menu
 *    Overrides the vendor offcanvas drawer (style.css §02). Toggled by
 *    main.js thmobilemenu(): `.th-body-visible` on `.th-menu-wrapper`.
 * ────────────────────────────────────────────────────────────────────────── */
.th-menu-wrapper.fg-mnav {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	background: transparent;
	opacity: 0;
	visibility: hidden;
	pointer-events: none; /* closed overlay must not capture clicks on the page */
	transition: opacity 0.4s ease, visibility 0.4s ease;
	z-index: 1000001; /* above the WhatsApp float (z 999999) + scroll-top (10000) */
}

.th-menu-wrapper.fg-mnav.th-body-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

/* Panel fills the screen — overrides the vendor 310/270px width, 3px gold
   side-stripe (a banned side-stripe) and the -110% slide. High specificity +
   !important beat the vendor @media(max-width:400px) max-width clamp. */
.th-menu-wrapper.fg-mnav .th-menu-area.fg-mnav__panel {
	position: absolute;
	top: 0;
	bottom: 0;
	inset-inline: 0;
	width: 100% !important;
	max-width: none !important;
	height: 100%;
	margin: 0;
	border: 0 !important;
	border-radius: 0;
	background: var(--fg-overlay-bg);
	color: var(--fg-overlay-ink);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	/* Visibility/opacity are owned by the wrapper; the panel only does the
	   transform reveal, so the closed overlay can't intercept clicks. */
	transform: translateY(-12px);
	transition: transform 0.5s var(--fg-ease);
}

.fg-mnav.th-body-visible .th-menu-area.fg-mnav__panel {
	transform: translateY(0);
}

/* 6a. Head — logo + quiet close */
.fg-mnav__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.1rem clamp(1.25rem, 6vw, 2.25rem);
	border-block-end: 1px solid var(--fg-overlay-line);
}

/* Text wordmark — the live logo asset is a placeholder PNG with a baked-in
   "SLOGAN HERE"; a clean Cairo wordmark reads premium on the deep-teal panel
   and is asset-independent. Swap back to an <img> once a real light logo ships. */
.fg-mnav__brand {
	font-family: var(--fg-font-heading, "Cairo", sans-serif);
	font-weight: 800;
	font-size: clamp(1.15rem, 5vw, 1.4rem);
	letter-spacing: 0.01em;
	color: var(--fg-overlay-ink);
	text-decoration: none;
	transition: color 0.25s ease;
}

.fg-mnav__brand:hover,
.fg-mnav__brand:focus-visible {
	color: #fff;
}

.fg-mnav__brand:focus-visible {
	outline: 2px solid var(--fg-gold);
	outline-offset: 3px;
	border-radius: 2px;
}

/* Quiet close (× drawn from two spans — no icon-font dependency). */
.fg-mnav .th-menu-toggle.fg-mnav__close {
	position: relative;
	inset: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--fg-overlay-line);
	border-radius: var(--fg-radius-sm, 6px);
	transition: border-color 0.25s ease, background-color 0.25s ease;
}

.fg-mnav .th-menu-toggle.fg-mnav__close span {
	position: absolute;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: var(--fg-overlay-ink);
	transition: background-color 0.25s ease;
}

.fg-mnav .th-menu-toggle.fg-mnav__close span:first-child {
	transform: rotate(45deg);
}

.fg-mnav .th-menu-toggle.fg-mnav__close span:last-child {
	transform: rotate(-45deg);
}

.fg-mnav .th-menu-toggle.fg-mnav__close:hover,
.fg-mnav .th-menu-toggle.fg-mnav__close:focus-visible {
	border-color: var(--fg-gold);
	background: rgba(217, 160, 67, 0.12);
}

.fg-mnav .th-menu-toggle.fg-mnav__close:hover span,
.fg-mnav .th-menu-toggle.fg-mnav__close:focus-visible span {
	background: var(--fg-gold);
}

.fg-mnav .th-menu-toggle.fg-mnav__close:focus-visible {
	outline: 2px solid var(--fg-gold);
	outline-offset: 2px;
}

/* 6b. Menu — large editorial nav (overrides vendor .th-mobile-menu) */
.fg-mnav .th-mobile-menu.fg-mnav__menu {
	flex: 1 1 auto;
	min-height: 0;
	max-height: none;
	margin: 0;
	padding: clamp(0.5rem, 2vw, 1.25rem) 0;
	overflow-y: auto;
	overflow-x: hidden;
	text-align: start;
	-webkit-overflow-scrolling: touch;
}

.fg-mnav__menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.fg-mnav__menu > ul {
	padding-inline: clamp(1.25rem, 6vw, 2.25rem);
}

/* `ul` in these selectors matches the vendor `.th-mobile-menu ul li …`
   specificity (0,1,3) so the FG layer wins by load order — without it the
   vendor color (#0c0a0a) overrode the nav links to ~1.3:1 on deep teal. */
.fg-mnav__menu ul li {
	margin: 0;
	border: 0;
	border-block-end: 1px solid var(--fg-overlay-line);
}

.fg-mnav__menu > ul > li:last-child {
	border-block-end: 0;
}

.fg-mnav__menu ul li a {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	position: relative;
	min-height: 48px;
	padding: 0.4rem 0;
	padding-inline-start: 0;
	font-family: var(--fg-font-heading, "Cairo", sans-serif);
	font-weight: 700;
	font-size: clamp(1.05rem, 4.4vw, 1.5rem);
	line-height: 1.25;
	color: var(--fg-overlay-ink);
	text-decoration: none;
	text-transform: none;
	transition: color 0.25s ease, padding-inline-start 0.25s var(--fg-ease);
}

/* Kill the vendor per-item chevron (a:before \f105) — needs `ul` to match the
   vendor selector's specificity, then wins by load order. */
.fg-mnav__menu ul li a::before {
	content: none !important;
}

.fg-mnav__menu ul li a:hover,
.fg-mnav__menu ul li a:focus-visible {
	color: #fff;
	padding-inline-start: 0.4rem;
}

.fg-mnav__menu ul li a:focus-visible {
	outline: 2px solid var(--fg-gold);
	outline-offset: 4px;
	border-radius: 2px;
}

/* Active page: gold seal — a leading gold marker + gold label. */
.fg-mnav__menu li.current-menu-item > a,
.fg-mnav__menu li.current_page_item > a,
.fg-mnav__menu li.current-menu-ancestor > a {
	color: var(--fg-gold);
}

.fg-mnav__menu li.current-menu-item > a::after,
.fg-mnav__menu li.current_page_item > a::after,
.fg-mnav__menu li.current-menu-ancestor > a::after {
	content: "";
	order: -1;
	width: 14px;
	height: 3px;
	border-radius: 2px;
	background: var(--fg-gold);
	flex: 0 0 auto;
}

/* Submenu accordion (.th-mean-expand is injected by main.js). */
.fg-mnav__menu .menu-item-has-children > a .th-mean-expand {
	position: absolute;
	inset-block: 0;
	inset-inline-end: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	color: var(--fg-overlay-ink-soft);
	background: transparent;
}

.fg-mnav__menu .menu-item-has-children > a .th-mean-expand::before {
	content: "\f067"; /* plus */
	font-family: var(--icon-font, "Font Awesome 6 Pro");
	font-weight: 900;
	font-size: 0.85rem;
}

.fg-mnav__menu .menu-item-has-children.th-active > a .th-mean-expand::before {
	content: "\f068"; /* minus */
	color: var(--fg-gold);
}

.fg-mnav__menu .sub-menu {
	padding-inline-start: 1rem;
	padding-block-end: 0.5rem;
}

.fg-mnav__menu .sub-menu li {
	border-block-end: 0;
}

.fg-mnav__menu .sub-menu li a {
	min-height: 44px;
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--fg-overlay-ink-soft);
}

.fg-mnav__menu .sub-menu li a:hover,
.fg-mnav__menu .sub-menu li a:focus-visible {
	color: var(--fg-overlay-ink);
}

/* 6c. Footer — CTA + contact + social (the contact surface) */
.fg-mnav__foot {
	margin-block-start: auto;
	padding: clamp(1.25rem, 5vw, 1.75rem) clamp(1.25rem, 6vw, 2.25rem);
	padding-block-end: max(clamp(1.25rem, 5vw, 1.75rem), env(safe-area-inset-bottom));
	border-block-start: 1px solid var(--fg-overlay-line);
	display: grid;
	gap: 1.1rem;
}

.fg-mnav__cta.th-btn.fg-cta {
	display: flex;
	width: 100%;
	padding-block: 0.85rem;
	border: 2px solid var(--fg-gold);
	border-radius: var(--fg-radius-sm, 6px);
	background: var(--fg-gold);
	color: var(--fg-color-on-primary, #1a1a1a);
	font-family: var(--fg-font-heading, "Cairo", sans-serif);
	font-weight: 700;
	font-size: 1rem;
	text-align: center;
	justify-content: center;
	text-decoration: none;
	transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.fg-mnav__cta.th-btn.fg-cta:hover,
.fg-mnav__cta.th-btn.fg-cta:focus-visible {
	background: transparent;
	color: var(--fg-gold);
}

.fg-mnav__cta.th-btn.fg-cta:focus-visible {
	outline: 2px solid var(--fg-gold);
	outline-offset: 3px;
}

.fg-mnav__contact {
	display: grid;
	gap: 0.6rem;
}

.fg-mnav__contact-item {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0.65rem;
	min-height: 44px; /* touch target for tap-to-call / email */
	color: var(--fg-overlay-ink);
	font-family: var(--fg-font-body, "Tajawal", sans-serif);
	font-size: 1rem;
	text-decoration: none;
	transition: color 0.25s ease;
}

/* The global a[href^="tel:"] rule (main.css) forces the whole anchor LTR +
   inline-block; keep the menu row an RTL flex and let .fg-ltr isolate only the
   number, so the icon stays at the start (right) like the email row. */
.fg-mnav .fg-mnav__contact-item[href^="tel:"] {
	display: flex;
	direction: rtl;
}

.fg-mnav__contact-item i {
	width: 1.25rem;
	color: var(--fg-gold);
	font-size: 0.95rem;
	text-align: center;
}

.fg-mnav__contact-item:hover,
.fg-mnav__contact-item:focus-visible {
	color: #fff;
}

.fg-mnav__social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 0.6rem;
	margin-block-start: 0.15rem;
}

.fg-mnav__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--fg-overlay-line);
	color: var(--fg-overlay-ink);
	font-size: 0.95rem;
	text-decoration: none;
	transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.fg-mnav__social a:hover,
.fg-mnav__social a:focus-visible {
	color: var(--fg-color-on-primary, #1a1a1a);
	background: var(--fg-gold);
	border-color: var(--fg-gold);
}

.fg-mnav__social a:focus-visible {
	outline: 2px solid var(--fg-gold);
	outline-offset: 2px;
}

/* 6d. Staggered reveal of the nav rows on open */
.fg-mnav__menu > ul > li,
.fg-mnav__foot {
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.4s var(--fg-ease), transform 0.5s var(--fg-ease);
}

.fg-mnav.th-body-visible .fg-mnav__menu > ul > li,
.fg-mnav.th-body-visible .fg-mnav__foot {
	opacity: 1;
	transform: none;
}

.fg-mnav.th-body-visible .fg-mnav__menu > ul > li:nth-child(1) { transition-delay: 0.08s; }
.fg-mnav.th-body-visible .fg-mnav__menu > ul > li:nth-child(2) { transition-delay: 0.13s; }
.fg-mnav.th-body-visible .fg-mnav__menu > ul > li:nth-child(3) { transition-delay: 0.18s; }
.fg-mnav.th-body-visible .fg-mnav__menu > ul > li:nth-child(4) { transition-delay: 0.23s; }
.fg-mnav.th-body-visible .fg-mnav__menu > ul > li:nth-child(5) { transition-delay: 0.28s; }
.fg-mnav.th-body-visible .fg-mnav__menu > ul > li:nth-child(6) { transition-delay: 0.33s; }
.fg-mnav.th-body-visible .fg-mnav__menu > ul > li:nth-child(7) { transition-delay: 0.38s; }
.fg-mnav.th-body-visible .fg-mnav__menu > ul > li:nth-child(n+8) { transition-delay: 0.42s; }
.fg-mnav.th-body-visible .fg-mnav__foot { transition-delay: 0.46s; }

/* 6e. Lock body scroll while the overlay is open. CSS-only via :has() (no JS
   hook needed); the vendor thmobilemenu() toggles `.th-body-visible`. */
html:has(.th-menu-wrapper.fg-mnav.th-body-visible),
html:has(.th-menu-wrapper.fg-mnav.th-body-visible) body {
	overflow: hidden;
}

/* ──────────────────────────────────────────────────────────────────────────
 * 7. Utilities
 * ────────────────────────────────────────────────────────────────────────── */
.fg-header .fg-ltr,
.fg-mnav .fg-ltr {
	unicode-bidi: isolate;
	direction: ltr;
}

/* ──────────────────────────────────────────────────────────────────────────
 * 8. Reduced motion — show everything, no transforms/transitions
 * ────────────────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
	.fg-header .main-menu > ul > li > a,
	.fg-header .main-menu > ul > li > a::after,
	.fg-header .header-button .th-btn.fg-cta,
	.fg-header .th-menu-toggle.sidebar-btn,
	.fg-header .th-menu-toggle.sidebar-btn .line,
	.fg-header .sticky-wrapper,
	.fg-header .main-menu .sub-menu,
	.th-menu-wrapper.fg-mnav,
	.fg-mnav .th-menu-area.fg-mnav__panel,
	.fg-mnav__menu li a,
	.fg-mnav__menu > ul > li,
	.fg-mnav__foot,
	.fg-mnav__cta,
	.fg-mnav .th-menu-toggle.fg-mnav__close,
	.fg-mnav__social a {
		transition: none !important;
	}

	.fg-mnav .th-menu-area.fg-mnav__panel,
	.fg-mnav__menu > ul > li,
	.fg-mnav__foot {
		transform: none !important;
		opacity: 1 !important;
	}
}
