/* Section header (owner 19.11.2026): the approved mega menu of the property mockups (header hd4) and the section switch
   as a dropdown. Markup: emirae-mega-menu.php (switch, gold panels) and emirae-property-pro/header-menu.php (property
   panels). Loaded only on property and gold pages. Colours: tokens --pm-*, property by default, gold below. */
body.is-vertical-property .masthead, body.is-vertical-gold .masthead{ --pm-acc:#0f5a4f; --pm-acc-ink:#0f5a4f; --pm-acc-dk:#0a3f37; --pm-ink:#1b1d1c; --pm-mut:#5f6461; --pm-line:#e1e4de; --pm-tint:#e6efe9; --pm-tint-2:#f0f5f1; --pm-bg:#f5f6f3; --pm-on-dk:#e9f1ec; --pm-on-dk-mut:#9fbdb3; }
body.is-vertical-property .masthead__inner, body.is-vertical-gold .masthead__inner{ position:static; }

/* ---------- section switch: a dropdown ---------- */
.masthead .esw{ position:relative; flex:none; margin-left:16px; }
.masthead .esw__b{ display:inline-flex; align-items:center; gap:8px; height:36px; padding:0 12px 0 14px; border:1px solid var(--pm-line); border-radius:999px; background:#fff; font:600 13.5px/1 Inter,system-ui,sans-serif; color:var(--pm-ink); cursor:pointer; transition:border-color .2s, box-shadow .2s; }
.masthead .esw__b::before{ content:""; width:7px; height:7px; border-radius:50%; background:var(--pm-acc); }
.masthead .esw__b:hover, .masthead .esw.open .esw__b{ border-color:var(--pm-acc); }
.masthead .esw__b:focus-visible{ outline:2px solid var(--pm-acc); outline-offset:2px; }
.masthead .esw__k{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.masthead .esw__b svg{ width:12px; height:12px; opacity:.6; transition:transform .25s cubic-bezier(.2,.7,.1,1); }
.masthead .esw.open .esw__b svg{ transform:rotate(180deg); opacity:1; }
.masthead .esw__l{ position:absolute; left:0; top:calc(100% + 10px); z-index:70; width:300px; padding:6px; background:#fff; border:1px solid var(--pm-line); border-radius:16px; box-shadow:0 24px 48px -24px rgba(10,40,34,.35);
	opacity:0; visibility:hidden; transform:translateY(-4px); transition:opacity .18s, transform .25s cubic-bezier(.2,.7,.1,1), visibility 0s .25s; }
.masthead .esw.open .esw__l{ opacity:1; visibility:visible; transform:none; transition:opacity .18s, transform .25s cubic-bezier(.2,.7,.1,1); }
.masthead .esw__it{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 12px; border-radius:11px; text-decoration:none; color:var(--pm-ink); transition:background .15s; }
.masthead .esw__it:hover, .masthead .esw__it:focus-visible{ background:var(--pm-tint-2); outline:0; }
.masthead .esw__it b{ display:block; font:600 14.5px/1.3 Inter,system-ui,sans-serif; }
.masthead .esw__it i{ display:block; font-style:normal; font-size:12.5px; line-height:1.4; color:var(--pm-mut); margin-top:2px; }
.masthead .esw__it.is-on{ background:var(--pm-tint-2); }
.masthead .esw__it.is-on b{ color:var(--pm-acc-ink); }
.masthead .esw__ok{ width:18px; height:18px; flex:none; color:var(--pm-acc); }

/* ---------- mega menu (mockup hd4) ---------- */
.masthead .epm{ align-self:stretch; display:none; align-items:stretch; justify-content:center; gap:2px; margin-inline:auto; }
@media (min-width:1080px){ .masthead .epm{ display:flex; } }
.masthead .epm .mi{ display:flex; align-items:center; position:static; }
.masthead .epm .mi__b{ position:relative; display:flex; align-items:center; gap:6px; height:100%; padding:0 2px 0 14px; font:500 15px/1 Inter,system-ui,sans-serif; color:#353a37; text-decoration:none; background:none; border:0; cursor:pointer; white-space:nowrap; }
.masthead .epm .mi__t{ display:flex; align-items:center; justify-content:center; width:24px; height:32px; padding:0; margin-right:6px; background:none; border:0; border-radius:8px; color:#353a37; cursor:pointer; }
.masthead .epm .mi__t--w{ width:auto; height:100%; padding:0 14px; margin:0; gap:6px; }
.masthead .epm .mi__t svg{ width:12px; height:12px; opacity:.55; transition:transform .3s cubic-bezier(.2,.7,.1,1); }
.masthead .epm .mi__t:focus-visible, .masthead .epm .mi__b:focus-visible{ outline:2px solid var(--pm-acc); outline-offset:-2px; border-radius:8px; }
.masthead .epm .mi.is-cur .mi__b{ color:var(--pm-acc-ink); font-weight:600; }
.masthead .epm .mi:hover .mi__b, .masthead .epm .mi.open .mi__b, .masthead .epm .mi.open .mi__t{ color:var(--pm-acc-ink); }
.masthead .epm .mi.open .mi__t svg{ transform:rotate(180deg); opacity:1; }

/* The panel spans the whole header: its containing block is the sticky masthead, not the menu item. */
.masthead .epm .mi{ position:static; }
.masthead .epm .mi > .mi__b{ position:relative; }
.masthead .epm .mi > .mi__b::after{ content:""; position:absolute; left:14px; right:-24px; bottom:0; height:2px; background:var(--pm-acc); transform:scaleX(0); transform-origin:left; transition:transform .3s cubic-bezier(.2,.7,.1,1); }
.masthead .epm .mi > .mi__t--w::after{ right:14px; }
.masthead .epm .mi.is-cur > .mi__b::after, .masthead .epm .mi.open > .mi__b::after{ transform:scaleX(1); }

.masthead .epm .mp{ position:absolute; left:0; right:0; top:100%; z-index:60; background:#fff; border-top:1px solid var(--pm-line); border-bottom:1px solid var(--pm-line); box-shadow:0 40px 60px -40px rgba(10,40,34,.35);
	opacity:0; visibility:hidden; transform:translateY(-6px); transition:opacity .22s, transform .3s cubic-bezier(.2,.7,.1,1), visibility 0s .3s; }
.masthead .epm .mi.open .mp{ opacity:1; visibility:visible; transform:none; transition:opacity .22s, transform .3s cubic-bezier(.2,.7,.1,1); }
.masthead .epm .mp-veil{ position:absolute; left:0; right:0; top:100%; height:100vh; background:rgba(8,25,21,.28); opacity:0; visibility:hidden; transition:opacity .25s, visibility 0s .25s; z-index:55; pointer-events:none; }
.masthead.epm-open .epm .mp-veil{ opacity:1; visibility:visible; pointer-events:auto; transition:opacity .25s; }

.masthead .epm .mp__g{ display:grid; gap:40px; padding-top:30px; padding-bottom:34px; text-align:left; }
.masthead .epm .mp__g--co{ grid-template-columns:1fr 1fr 1.05fr; }
.masthead .epm .mp__g--br{ grid-template-columns:1.5fr .9fr 1fr; }
.masthead .epm .mp__g--ar{ grid-template-columns:1.5fr .9fr 1.05fr; }
.masthead .epm .mp__g--tl{ grid-template-columns:repeat(3,1fr); gap:16px; }
.masthead .epm .mp__g--gd{ grid-template-columns:1fr 1fr 1fr 1.05fr; }
.masthead .epm .mp__col{ display:flex; flex-direction:column; min-width:0; }
.masthead .epm .mp__h{ font:600 11.5px/1.3 Inter,system-ui,sans-serif; letter-spacing:.08em; text-transform:uppercase; color:#7d827f; margin:0 0 10px; }
.masthead .epm .mp__h:not(:first-child){ margin-top:18px; }
.masthead .epm .mp__it{ display:flex; gap:14px; align-items:flex-start; padding:10px 12px; margin:0 -12px; border-radius:14px; text-decoration:none; transition:background .2s; }
.masthead .epm .mp__it:hover, .masthead .epm .mp__it:focus-visible{ background:var(--pm-tint-2); outline:0; }
.masthead .epm .mp__it b{ display:block; font:600 15.5px/1.35 Inter,system-ui,sans-serif; color:var(--pm-ink); }
.masthead .epm .mp__it i{ display:block; font-style:normal; font-size:13.5px; line-height:1.45; color:var(--pm-mut); margin-top:1px; }
.masthead .epm .mp__it:hover b, .masthead .epm .mp__it[aria-current] b{ color:var(--pm-acc-ink); }
.masthead .epm .mp__ic{ width:40px; height:40px; flex:none; border-radius:12px; background:var(--pm-tint); color:var(--pm-acc-ink); display:grid; place-items:center; transition:background .2s, color .2s; }
.masthead .epm .mp__ic svg{ width:20px; height:20px; }
.masthead .epm .mp__it:hover .mp__ic, .masthead .epm .mp__tool:hover .mp__ic{ background:var(--pm-acc); color:#fff; }
.masthead .epm .mp__ic--lg{ width:48px; height:48px; border-radius:14px; }
.masthead .epm .mp__ic--lg svg{ width:24px; height:24px; }
.masthead .epm .mp__ln{ display:flex; align-items:center; justify-content:space-between; padding:9px 0; font:500 15px/1.35 Inter,system-ui,sans-serif; color:#2c302e; text-decoration:none; border-bottom:1px solid var(--pm-line); transition:color .2s, padding .25s; }
.masthead .epm .mp__ln::after{ content:"\2192"; opacity:0; transform:translateX(-6px); transition:all .25s; color:var(--pm-acc); }
.masthead .epm .mp__ln:hover, .masthead .epm .mp__ln:focus-visible, .masthead .epm .mp__ln[aria-current]{ color:var(--pm-acc-ink); padding-left:4px; outline:0; }
.masthead .epm .mp__ln:hover::after, .masthead .epm .mp__ln:focus-visible::after{ opacity:1; transform:none; }
.masthead .epm .mp__ln--all{ color:var(--pm-acc-ink); border-bottom:0; font-weight:600; }
.masthead .epm .mp__two{ display:grid; grid-template-columns:1fr 1fr; column-gap:28px; }
.masthead .epm .mp__langs{ display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
.masthead .epm .mp__langs a{ border:1px solid var(--pm-line); border-radius:14px; padding:14px 14px 12px; background:#fff; text-decoration:none; transition:border-color .2s, background .2s, transform .2s; }
.masthead .epm .mp__langs a:hover, .masthead .epm .mp__langs a:focus-visible, .masthead .epm .mp__langs a[aria-current]{ border-color:var(--pm-acc); background:var(--pm-tint-2); transform:translateY(-2px); outline:0; }
.masthead .epm .mp__langs b{ display:block; font:600 17px/1.3 Inter,system-ui,sans-serif; color:var(--pm-ink); }
.masthead .epm .mp__langs i{ display:block; font-style:normal; font-size:12.5px; color:var(--pm-mut); margin-top:2px; }
.masthead .epm .mp__feat{ position:relative; border-radius:20px; overflow:hidden; min-height:250px; padding:22px; display:flex; flex-direction:column; justify-content:flex-end; color:#fff; text-decoration:none; isolation:isolate; }
.masthead .epm .mp__feat::before{ content:""; position:absolute; inset:0; background:var(--img) center/cover; z-index:-2; transition:transform .6s cubic-bezier(.2,.7,.1,1); }
.masthead .epm .mp__feat::after{ content:""; position:absolute; inset:0; background:linear-gradient(0deg, rgba(5,22,19,.85), rgba(5,22,19,.1) 70%); z-index:-1; }
.masthead .epm .mp__feat:hover::before{ transform:scale(1.05); }
.masthead .epm .mp__feat:focus-visible{ outline:2px solid var(--pm-acc); outline-offset:3px; }
.masthead .epm .mp__feat-k{ font:600 11.5px/1.3 Inter,system-ui,sans-serif; letter-spacing:.08em; text-transform:uppercase; color:#b9d6cb; }
.masthead .epm .mp__feat b{ font:500 20px/1.25 Ubuntu,Inter,sans-serif; margin:8px 0 12px; color:#fff; }
.masthead .epm .mp__feat-c{ font-weight:600; font-size:14px; color:#fff; }
.masthead .epm .mp__dark{ background:var(--pm-acc-dk); color:var(--pm-on-dk); border-radius:20px; padding:24px; display:flex; flex-direction:column; gap:8px; }
.masthead .epm .mp__dark b{ font:500 20px/1.25 Ubuntu,Inter,sans-serif; color:#fff; }
.masthead .epm .mp__dark p{ margin:0 0 8px; color:var(--pm-on-dk-mut); font-size:14px; line-height:1.5; }
.masthead .epm .mp__btn{ align-self:flex-start; display:inline-flex; align-items:center; gap:8px; padding:11px 18px; border-radius:11px; background:#fff; color:var(--pm-acc-dk); font-weight:600; font-size:14.5px; text-decoration:none; transition:transform .2s, box-shadow .2s; }
.masthead .epm .mp__btn:hover{ transform:translateY(-1px); box-shadow:0 10px 24px -10px rgba(0,0,0,.4); }
.masthead .epm .mp__tool{ position:relative; border:1px solid var(--pm-line); border-radius:20px; padding:24px; display:flex; flex-direction:column; gap:8px; background:#fff; text-decoration:none; color:var(--pm-ink); transition:border-color .25s, transform .25s, box-shadow .25s; }
.masthead .epm .mp__tool:hover, .masthead .epm .mp__tool:focus-visible{ border-color:var(--pm-acc); transform:translateY(-3px); box-shadow:0 20px 40px -24px rgba(10,40,34,.4); outline:0; }
.masthead .epm .mp__tool b{ font:600 18px/1.3 Ubuntu,Inter,sans-serif; margin-top:8px; color:var(--pm-ink); }
.masthead .epm .mp__tool i{ font-style:normal; color:var(--pm-mut); font-size:14.5px; line-height:1.5; }

/* The shared green "List your company" button keeps the section colour. */
body.is-vertical-property .masthead .egd-actions__cta{ background:var(--pm-acc-dk); border-color:var(--pm-acc-dk); color:#fff; }
body.is-vertical-property .masthead .egd-actions__cta:hover{ background:var(--pm-acc); color:#fff; }

/* Laptops: tighter items; the login link already hides there (directory.css). */
@media (min-width:1080px) and (max-width:1279px){
	.masthead .epm .mi__b{ padding-left:10px; font-size:14.5px; }
	.masthead .epm .mi__t{ margin-right:2px; }
	.masthead .epm .mi__t--w{ padding:0 10px; }
	.masthead .epm .mp__g{ gap:28px; }
	.masthead .esw{ margin-left:10px; }
}

/* Phones: the list opens across the header width (the masthead is its containing block, it has a backdrop filter),
   so a closed list never sticks out to the right (measured 19.11.2026: +79 px of sideways scroll at 390 px). */
@media (max-width:767px){
	.masthead .esw{ position:static; margin-left:10px; }
	.masthead .esw__b{ height:34px; padding:0 10px 0 12px; font-size:13px; }
	.masthead .esw__l{ position:absolute; left:16px; right:16px; top:calc(100% + 6px); width:auto; }
}
@media (prefers-reduced-motion:reduce){ .masthead .epm .mp, .masthead .esw__l, .masthead .epm .mp__feat::before{ transition:none; } }

/* ---------- gold: the section's navy and metal ---------- */
body.is-vertical-gold .masthead{ --pm-acc:#8a6620; --pm-acc-ink:#7e5d1a; --pm-acc-dk:#0a1428; --pm-ink:#0a1428; --pm-mut:#5b6577; --pm-line:#ece5d3; --pm-tint:#f7ebcb; --pm-tint-2:#fdf9ee; --pm-on-dk:#eef1f7; --pm-on-dk-mut:#aab4c8; }
body.is-vertical-gold .masthead .esw__b::before{ background:#d6ae58; }
body.is-vertical-gold .masthead .epm .mp__feat-k{ color:#f0d38a; }
body.is-vertical-gold .masthead .epm .mp__dark{ background:linear-gradient(160deg,#10203f 0%,#0a1428 70%); }
body.is-vertical-gold .masthead .epm .mp__btn{ background:linear-gradient(135deg,#fbe7a9 0%,#e2b456 55%,#d9a744 100%); color:#0a1428; }

/* Gold panels: grids and parts the property panels do not use. */
.masthead .epm .mp__g--gr{ grid-template-columns:1fr 1fr 1fr 1.15fr; gap:36px; }
.masthead .epm .mp__g--gs{ grid-template-columns:1fr 1.15fr 1fr; }
.masthead .epm .mp__g--tl4{ grid-template-columns:repeat(4,1fr); gap:16px; }
.masthead .epm .mp__ln em{ font-style:normal; font-size:12.5px; font-weight:600; color:var(--pm-mut); background:var(--pm-tint-2); border-radius:999px; padding:2px 8px; margin-left:auto; }
.masthead .epm .mp__ln:has(em)::after{ display:none; }
.masthead .epm .mp__ln--dk{ color:var(--pm-on-dk); border:0; padding:6px 0 0; font-weight:600; font-size:14px; }
.masthead .epm .mp__ln--dk:hover, .masthead .epm .mp__ln--dk:focus-visible{ color:#fff; }
.masthead .epm .mp__ln--dk::after{ color:currentColor; opacity:1; transform:none; margin-left:8px; }
.masthead .epm .mp__ln--dk{ justify-content:flex-start; }
.masthead .epm .mp__rate{ list-style:none; margin:6px 0 4px; padding:0; display:grid; gap:2px; }
.masthead .epm .mp__rate li{ display:flex; justify-content:space-between; align-items:baseline; padding:7px 0; border-bottom:1px solid rgba(255,255,255,.1); }
.masthead .epm .mp__rate span{ font-size:13.5px; color:var(--pm-on-dk-mut); font-weight:600; }
.masthead .epm .mp__rate b{ font:600 17px/1.2 Inter,system-ui,sans-serif; color:#fff; font-variant-numeric:tabular-nums; }
.masthead .epm .mp__dark--rate p{ font-size:12.5px; margin:6px 0 10px; }

/* Header over a dark hero (not scrolled yet, gold pages): light text. */
.masthead:not(.is-scrolled) .epm .mi__b, .masthead:not(.is-scrolled) .epm .mi__t{ color:rgba(255,255,255,.88); }
.masthead:not(.is-scrolled) .epm .mi:hover .mi__b, .masthead:not(.is-scrolled) .epm .mi.is-cur .mi__b{ color:#fff; }
.masthead:not(.is-scrolled) .esw__b{ background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.22); color:#fff; }
.masthead:not(.is-scrolled).epm-open .epm .mi__b, .masthead:not(.is-scrolled).epm-open .epm .mi__t{ color:rgba(255,255,255,.95); }

.masthead .epm .mp__g--gs > .mp__dark{ align-self:start; }

/* The line under the logo, as on the business site (owner 19.11.2026: "duplicate it on Gold and Property too").
   directory.css hid it inside the sections; the theme hides it below 401 px everywhere. */
body.is-vertical-property .masthead .brand__desc, body.is-vertical-gold .masthead .brand__desc{ display:block; }


/* Review 19.11.2026: laptops, the underline follows the tighter padding; the property emirate hubs keep their map
   controls (z-index 500/600) inside the map, so they no longer paint over an open panel. */
@media (min-width:1080px) and (max-width:1279px){
	.masthead .epm .mi > .mi__b::after{ left:10px; right:-26px; }
	.masthead .epm .mi > .mi__t--w::after{ left:10px; right:10px; }
}
@media (min-width:1080px){ .epp-mk .hz-map{ isolation:isolate; } }

/* ---------- business site: the theme's navy and blue ---------- */
body:not(.is-vertical) .masthead{ --pm-acc:#116acc; --pm-acc-ink:#0d56a8; --pm-acc-dk:#182233; --pm-ink:#182233; --pm-mut:#5b6577; --pm-line:#e3e8f0; --pm-tint:#d9e8fb; --pm-tint-2:#eef5fd; --pm-on-dk:#eef3fb; --pm-on-dk-mut:#a9b8cf; }
body:not(.is-vertical) .masthead__inner{ position:static; }
body:not(.is-vertical) .masthead .epm .mp__feat-k{ color:#9cc4f3; }
body:not(.is-vertical) .masthead .esw__b::before{ background:#3f93e6; }
.masthead .epm .mp__g--sv{ grid-template-columns:1.6fr 1fr 1fr; }
.masthead .epm .mp__g--tl5{ grid-template-columns:repeat(5,1fr); gap:14px; }
.masthead .epm .mp__g--cs{ grid-template-columns:1fr 1.15fr 1fr; }
.masthead .epm .mp__g--rq{ grid-template-columns:1fr 1.15fr 1fr; }
.masthead .epm .mp__g--rs{ grid-template-columns:1fr 1fr 1fr; }
.masthead .epm .mp__g--pv{ grid-template-columns:1fr 1fr 1fr; }
.masthead .epm .mp__g--tl5 .mp__tool{ padding:20px; }
.masthead .epm .mp__g--tl5 .mp__tool b{ font-size:16.5px; }
.masthead .epm .mp__g--tl5 .mp__tool i{ font-size:13.5px; }
.masthead .epm .mp__core{ display:grid; grid-template-columns:1fr 1fr; column-gap:24px; }
.masthead .epm .mp__it--s{ align-items:center; padding:8px 12px; }
.masthead .epm .mp__it--s .mp__ic{ width:34px; height:34px; border-radius:10px; }
.masthead .epm .mp__it--s .mp__ic svg{ width:18px; height:18px; }
.masthead .epm .mp__it--s b{ font-size:15px; }
.masthead .epm .mp__it b .mcard__count{ display:inline-block; vertical-align:2px; margin-left:6px; font-size:11px; font-weight:600; line-height:1.6; color:var(--pm-mut); background:var(--pm-tint-2); border:1px solid var(--pm-line); padding:0 7px; border-radius:999px; }
.masthead .epm .mp__ic svg{ fill:none; stroke:currentColor; }
.masthead .epm .emm-dyn{ display:block; padding:0; grid-template-columns:none; }
.masthead .epm .emm-dyn .cons-list, .masthead .epm .emm-dyn .req-list{ margin-bottom:6px; }
@media (min-width:1080px) and (max-width:1279px){ .masthead .epm .mp__g--tl5{ grid-template-columns:repeat(3,1fr); } }

/* Dark cards next to short columns keep their own height. */
.masthead .epm :is(.mp__g--cs, .mp__g--rq, .mp__g--sv, .mp__g--pv, .mp__g--rs) > .mp__dark{ align-self:start; }

/* Business site laptops: six items, the switch and the actions did not fit at 1080-1365 px (measured 19.11.2026:
   +27 px at 1280, +161 px at 1080 of sideways scroll). Tighter items; below 1200 the line under the logo leaves. */
@media (min-width:1080px) and (max-width:1365px){
	body:not(.is-vertical) .masthead .epm .mi__b{ padding-left:9px; font-size:14px; }
	body:not(.is-vertical) .masthead .epm .mi__t{ width:18px; margin-right:2px; }
	body:not(.is-vertical) .masthead .epm .mi__t--w{ width:auto; padding:0 9px; }
	body:not(.is-vertical) .masthead .epm .mi > .mi__b::after{ left:9px; right:-20px; }
	body:not(.is-vertical) .masthead .epm .mi > .mi__t--w::after{ left:9px; right:9px; }
	body:not(.is-vertical) .masthead .esw{ margin-left:10px; }
}
/* 1080-1199: the section switch leaves the bar (it stays in the drawer and the footer), the line under the logo stays. */
@media (min-width:1080px) and (max-width:1199px){ body:not(.is-vertical) .masthead .esw{ display:none; } }

/* The line under the logo on phones too (owner 19.11.2026: "it looks bad without it"). The theme hides it below 401 px;
   on phones it is a little smaller and the switch more compact, so logo, switch and menu button fit down to 360 px. */
@media (max-width:640px){
	.masthead .brand__desc{ display:block; font-size:8px; letter-spacing:.08em; }
	.masthead .esw{ margin-left:8px; }
	.masthead .esw__b{ height:32px; gap:6px; padding:0 9px 0 11px; font-size:12.5px; }
}
@media (max-width:359px){ .masthead .esw{ display:none; } }
/* Narrow phones: "Business" is the longest name; tighter gaps so the menu button keeps its 44 px (measured 19.11.2026:
   squeezed to 16-19 px at 375-390 px on the business site). */
@media (max-width:440px){
	.masthead .masthead__inner{ gap:10px; }
	.masthead .esw{ margin-left:2px; }
	.masthead .esw__b{ padding:0 8px 0 10px; gap:5px; }
	.masthead .esw__b::before{ display:none; }
	.masthead .burger, .masthead .egd-burger{ flex:none; }
}

/* The logo does not jump when the phone menu opens (owner 19.11.2026). The drawer's top bar repeats the header's logo
   exactly: same size (22 px on phones, 24 px above), same left edge (24 px), and the same line under it, so the word
   stays at the same spot (measured before: header 24,22 / 22 px, drawer 20,26 / 24 px). */
#mobile-menu .mobile__top{ padding-inline:24px; }
#mobile-menu .mobile__top .brand::after{ content:"UAE Business Services Platform"; display:block; font-size:9px; line-height:1; font-weight:500; letter-spacing:.11em; text-transform:uppercase; white-space:nowrap; color:#6f7f99; padding-left:1px; }
@media (max-width:640px){
	#mobile-menu .mobile__top .brand__word{ font-size:22px; }
	#mobile-menu .mobile__top .brand::after{ font-size:8px; letter-spacing:.08em; }
}
@media (max-width:640px){ #mobile-menu .mobile__top .brand{ margin-top:2px; } }

/* ---------- section footers (owner 19.11.2026): social profiles, and a wide footer with more links for property ---------- */
.egd-foot__soc{ display:flex; flex-direction:column; gap:10px; margin-top:20px; }
.egd-foot__soc-k{ font-size:11px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:#6b7280; }
.egd-foot__soc ul{ display:flex; gap:8px; margin:0; padding:0; list-style:none; }
.egd-foot__soc-a{ display:grid; place-items:center; width:38px; height:38px; border-radius:50%; background:#fff; border:1px solid var(--egd-line, #e6dcc3); color:var(--egd-ink-900, #1b2a49); transition:color .15s, border-color .15s, transform .15s; }
.egd-foot__soc-a:hover{ color:var(--egd-600); border-color:var(--egd-400); transform:translateY(-1px); }
.egd-foot__soc-a svg{ width:16px; height:16px; }

.egd-foot__in--wide{ grid-template-columns:repeat(var(--egd-cols, 6), minmax(0, 1fr)); gap:36px 28px; }
.egd-foot__in--wide .egd-foot__brand{ grid-column:1 / -1; display:grid; grid-template-columns:minmax(0, 1fr) auto auto; align-items:center; gap:12px 44px; padding-bottom:30px; border-bottom:1px solid var(--egd-line); }
.egd-foot__in--wide .egd-foot__logo{ grid-column:1; grid-row:1; }
.egd-foot__in--wide .egd-foot__about{ grid-column:1; grid-row:2; margin:0; max-width:600px; }
.egd-foot__in--wide .egd-foot__bridge{ grid-column:2; grid-row:1 / 3; }
.egd-foot__in--wide .egd-foot__soc{ grid-column:3; grid-row:1 / 3; margin:0; }
.egd-foot__in--wide .egd-foot__col a{ font-size:13.5px; }
@media (max-width:1100px){
	.egd-foot__in--wide{ grid-template-columns:repeat(3, minmax(0, 1fr)); }
	.egd-foot__in--wide .egd-foot__brand{ grid-template-columns:minmax(0, 1fr); }
	.egd-foot__in--wide .egd-foot__brand > *{ grid-column:1; grid-row:auto; }
}
@media (max-width:640px){
	.egd-foot__in--wide{ grid-template-columns:repeat(2, minmax(0, 1fr)); gap:28px 20px; }
}
/* Property: the footer in the section's paper and green, not gold cream. */
body.is-vertical-property .egd-foot{ background:#f1f3ee; border-top-color:#e1e4de; }
body.is-vertical-property .egd-foot__bridge{ border-color:#e1e4de; }
body.is-vertical-property .egd-foot__soc-a{ border-color:#dfe4dc; }
body.is-vertical-property .egd-foot__ad-btn{ background:#0a3f37; color:#fff; }
body.is-vertical-property .egd-foot__ad:hover .egd-foot__ad-btn{ background:#0f5a4f; color:#fff; }
