/* Gizacare front-end design system — RTL-first, mobile-first, lean (no framework).
   Accent: metallic gold (from the Gizacare wordmark). Type: Tajawal. Motion: subtle, reduced-motion aware. */

:root{
	/* Gold accent, derived from the brand logo. --brand is a deep readable gold (AA on white + white text on it);
	   --gold is the bright metallic CTA surface (paired with dark ink text). */
	--brand:#8c6614; --brand-600:#75540f; --brand-700:#5e4410; --brand-50:#faf3e2; --brand-100:#efe0bc;
	--gold:#c99a2c; --gold-ink:#2a1f07;
	/* Membership tier accents (Gold > Silver > Bronze). Used for card badges + premium framing. */
	--tier-gold:#b8860b;   --tier-gold-bg:#fbf1d0;   --tier-gold-ink:#5a3f06;   --tier-gold-glow:rgba(184,134,11,.30);
	--tier-silver:#6b7685; --tier-silver-bg:#eef1f5; --tier-silver-ink:#3a444f; --tier-silver-glow:rgba(107,118,133,.26);
	--tier-bronze:#a35c2b; --tier-bronze-bg:#f7e9dd; --tier-bronze-ink:#5a3016; --tier-bronze-glow:rgba(163,92,43,.26);
	--ink:#0f1b26; --body:#41505f; --muted:#5f7186; --line:#e7edf3; --line-2:#eef2f7;
	/* --line SEPARATES blocks of content, and 1.13:1 is all a hairline rule between two panels
	   needs to be. The BOUNDARY OF AN INTERACTIVE CONTROL is a different requirement: WCAG 2.2
	   SC 1.4.11 asks for 3:1 against the adjacent colour, because that edge is what tells a
	   reader where a tappable field begins. Every field in the search form used --brand-100 for
	   it — #efe0bc on white is 1.31:1 — so a white console on a near-white hero, and white
	   fields inside it, were separated by nothing but a soft shadow. --field-line is the one
	   token a control border may use. It is #7d8c9b: 3.44:1 on #ffffff and 3.26:1 on --bg, and
	   #6b7a89 in dark is 3.78:1 on #161f28. (The values it replaced, #b9c4d1 and #4a5866, were
	   documented here as 3.10:1 and 3.02:1; measured, they were 1.77:1 and 2.28:1.)
	   --brand-100 stays, for decorative fills and chip edges. */
	--field-line:#7d8c9b;
	/* The suggestion modal's semantic colours, and the form's error channel. These were four
	   hardcoded light-only values with no dark counterpart anywhere in the file, so in dark mode
	   the emergency notice — the single element in this product that carries 123 and 112 —
	   rendered as a bright pink slab inside a #161f28 dialog, and the voice-recognition error
	   text measured 3.02:1 on the same card. Every other dark override here is deliberately
	   written twice; these were written zero times. */
	--danger-bg:#fdecea; --danger-ink:#8c1d13; --danger-line:#f3b5ae; --err-ink:#c0392b;
	--conf-high-bg:#e4f6ec; --conf-high-ink:#11764f;
	--conf-med-bg:#fff2d9;  --conf-med-ink:#8a5a00;
	--bg:#f6f9fb; --card:#ffffff; --ok:#12855f; --ok-bg:#e4f7ee; --warn:#a04817; --warn-bg:#fdeee4; /* #a04817: 5.4:1 on --warn-bg (was #b4541e, 4.38:1) */
	/* The single card CTA. Deliberately the DEEP end of the brand gold ramp rather than a
	   contrasting colour: a navy slab repeated twelve times down a gold-and-cream results page
	   reads as a second brand. Depth, not hue, is what separates it from the bright --gold
	   pill in the header — and white on #8c6614 is 5.2:1, on #6f5211 7.2:1, so the gradient
	   passes AA at both ends. */
	--cta:#6f5211; --cta-2:#8c6614; --cta-ink:#ffffff; --cta-glow:rgba(140,102,20,.30);
	/* Six different corner radii used to live inside the search form alone, only two of them
	   from a token. --radius-ctl is what a CONTROL is (field, segment, button, popup list);
	   --radius-xs is what nests inside one (a suggestion row). Anything wrapping a control
	   derives its radius from --radius-ctl plus its own padding, so the curves stay concentric
	   if either number is retuned. */
	--radius:14px; --radius-sm:10px; --radius-lg:22px; --radius-ctl:12px; --radius-xs:8px;
	--shadow:0 1px 2px rgba(16,32,52,.05),0 8px 24px rgba(16,32,52,.05);
	--shadow-sm:0 1px 2px rgba(16,32,52,.06);
	--wrap:1180px; --nav-h:68px;
	--sans:"Tajawal",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
	--nav-bg:rgba(255,255,255,.9); --hero-1:var(--brand-50); --hero-2:var(--bg);
	/* The footer is deliberately dark in BOTH themes — it is the page's terminal band, and a
	   light slab there would end every page on a bright rectangle. Declared here so that stays
	   a documented decision (and a re-skinnable one) rather than six loose hexes at :362. */
	--foot-bg:#0e1a24; --foot-ink:#c3d1de; --foot-hi:#ffffff;
	--foot-muted:#9fb2c4; --foot-dim:#7f93a5; --foot-line:#1e2c38;
	/* === Design system 2026 tokens ("Quiet Gold") ===
	   Spacing is a 4px scale. --fs-small (14px) is the floor for any SENTENCE on a phone;
	   --fs-meta (12.8px) is for numeric meta and badges only. --tap is the touch-target floor.
	   --botnav-h was read in three places (PWA toast, sheet offsets) and defined nowhere.
	   --focus is the one focus-ring colour. --surface-2 is a quiet inset surface (rows inside a
	   card). --hover is a translucent wash for icon buttons/rows. --badge is the notification
	   count red. Motion: 150/250ms on one ease-out curve. */
	--s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:20px; --s-6:24px; --s-7:32px; --s-8:48px;
	--fs-small:.875rem; --fs-meta:.8rem;
	--tap:44px; --botnav-h:61px;
	--dur-1:.15s; --dur-2:.25s; --ease:cubic-bezier(.2,.7,.2,1);
	--focus:var(--brand); --surface-2:#f7f9fc; --hover:rgba(16,32,52,.05); --badge:#d93025;
	--inp-chev:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f7186' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	color-scheme:light;
}
:root[data-theme="dark"]{ color-scheme:dark; }
@media (prefers-color-scheme:dark){ :root:not([data-theme="light"]){ color-scheme:dark; } }
/* Dark theme (explicit toggle wins; else follows system) */
:root[data-theme="dark"]{
	--brand:#e0b24a; --brand-600:#d8ab42; --brand-700:#c99a2c; --brand-50:#2a2413; --brand-100:#3a311a;
	--gold:#d8ab42; --gold-ink:#241a06;
	--tier-gold:#e5c15a;   --tier-gold-bg:#3a2f12;   --tier-gold-ink:#f7e6b0;   --tier-gold-glow:rgba(229,193,90,.30);
	--tier-silver:#aab4c2; --tier-silver-bg:#232c36; --tier-silver-ink:#dbe3ec; --tier-silver-glow:rgba(170,180,194,.26);
	--tier-bronze:#d08a54; --tier-bronze-bg:#33230f; --tier-bronze-ink:#f0c9a8; --tier-bronze-glow:rgba(208,138,84,.26);
	--ink:#eef4f8; --body:#c2ceda; --muted:#8798aa; --line:#25313d; --line-2:#1e2833;
	--bg:#0e161e; --card:#161f28; --ok:#4ade80; --ok-bg:#123227; --warn:#fb9a5a; --warn-bg:#33230f;
	--cta:#c99a2c; --cta-2:#dcae40; --cta-ink:#241a06; --cta-glow:rgba(201,154,44,.30);
	--field-line:#6b7a89;
	--danger-bg:#3a1f1c; --danger-ink:#ff9d8f; --danger-line:#6b332c; --err-ink:#ff8a7a;
	--conf-high-bg:#123227; --conf-high-ink:#6ee7b7;
	--conf-med-bg:#33230f;  --conf-med-ink:#f0c179;
	--shadow:0 1px 2px rgba(0,0,0,.3),0 8px 24px rgba(0,0,0,.35); --shadow-sm:0 1px 2px rgba(0,0,0,.3);
	--nav-bg:rgba(14,22,30,.86); --hero-1:#2a2413; --hero-2:var(--bg);
	--focus:#f0cf7d; --surface-2:#1a2430; --hover:rgba(255,255,255,.06); --badge:#ff6b5e;
	--inp-chev:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238798aa' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme:dark){
	:root:not([data-theme="light"]){
		--brand:#e0b24a; --brand-600:#d8ab42; --brand-700:#c99a2c; --brand-50:#2a2413; --brand-100:#3a311a;
		--gold:#d8ab42; --gold-ink:#241a06;
		--tier-gold:#e5c15a;   --tier-gold-bg:#3a2f12;   --tier-gold-ink:#f7e6b0;   --tier-gold-glow:rgba(229,193,90,.30);
		--tier-silver:#aab4c2; --tier-silver-bg:#232c36; --tier-silver-ink:#dbe3ec; --tier-silver-glow:rgba(170,180,194,.26);
		--tier-bronze:#d08a54; --tier-bronze-bg:#33230f; --tier-bronze-ink:#f0c9a8; --tier-bronze-glow:rgba(208,138,84,.26);
		--ink:#eef4f8; --body:#c2ceda; --muted:#8798aa; --line:#25313d; --line-2:#1e2833;
		--bg:#0e161e; --card:#161f28; --ok:#4ade80; --ok-bg:#123227; --warn:#fb9a5a; --warn-bg:#33230f;
		--cta:#c99a2c; --cta-2:#dcae40; --cta-ink:#241a06; --cta-glow:rgba(201,154,44,.30);
		--field-line:#6b7a89;
		--danger-bg:#3a1f1c; --danger-ink:#ff9d8f; --danger-line:#6b332c; --err-ink:#ff8a7a;
		--conf-high-bg:#123227; --conf-high-ink:#6ee7b7;
		--conf-med-bg:#33230f;  --conf-med-ink:#f0c179;
		--shadow:0 1px 2px rgba(0,0,0,.3),0 8px 24px rgba(0,0,0,.35); --shadow-sm:0 1px 2px rgba(0,0,0,.3);
		--nav-bg:rgba(14,22,30,.86); --hero-1:#2a2413; --hero-2:var(--bg);
		--focus:#f0cf7d; --surface-2:#1a2430; --hover:rgba(255,255,255,.06); --badge:#ff6b5e;
		--inp-chev:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238798aa' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	}
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
/* clip, not hidden — the two declarations are a support ladder, `clip` wins where it parses.
   `hidden` only removes the horizontal scrollBAR; the viewport stays a scroll container and
   stays scrollable PROGRAMMATICALLY (focus(), scrollIntoView(), autofill, find-in-page). In a
   dir="rtl" document the inline-end direction is LEFT, so one stray `left:-9999px` becomes
   ~10,000px of genuine scrollable overflow and any of those can throw the viewport sideways
   into empty space — a blank page carrying even the sticky nav away with it. `clip` makes the
   box a non-scroll-container on that axis, so that whole class of bug cannot happen. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;overflow-x:hidden;overflow-x:clip}
body{margin:0;font-family:var(--sans);background:var(--bg);color:var(--body);line-height:1.65;font-size:16px;
	-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow-wrap:break-word;min-height:100dvh}
/* overflow-x is deliberately NOT set on <body>. html's overflow propagates to the viewport
   and html itself computes to visible, so a body with overflow-x:hidden keeps its own value —
   and a box with one axis hidden and the other visible computes overflow-y to auto, making
   BODY the scroll container. Every position:sticky descendant then resolves against a box that
   never scrolls, so nothing ever pins. (overflow-x:clip does NOT trigger that computation —
   the rule fires only when the other axis is neither visible nor clip — which is a second
   reason to prefer it above.) Horizontal overflow is still clipped: html above owns that,
   at the viewport. */
:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
/* No border-radius here: a focus state must never RESHAPE what it focuses (a 999px pill used to
   square off to 4px the moment it was tabbed to). Outlines follow the element's own radius.
   On a filled gold surface the gold ring would vanish into the fill, so those switch to ink. */
.btn-primary:focus-visible,.btn-cta:focus-visible{outline-color:var(--ink)}
a{color:inherit;text-decoration:none}
/* height:auto is load-bearing, not decorative: max-width alone leaves the HTML height attribute
   in force, so any image wider than its column renders squashed to its original height. */
img{max-width:100%;height:auto;display:block}
/* 700, not 800. fonts.css ships Tajawal at 400, 500 and 700 — there is no 800 face for either
   unicode range, so CSS font matching resolves 800 DOWN to 700 and the declaration only ever
   stated an intent the stylesheet could not honour. Left at 800 it is also a trap: if a
   weight-limited subset is ever the first to load, some engines synthesise the missing face,
   and a synthesised Arabic bold damages exactly the joining behaviour the letter-spacing rules
   below are careful about. Say what renders. */
h1,h2,h3,h4{color:var(--ink);line-height:1.2;margin:0;font-weight:700;letter-spacing:-.01em}
/* h5/h6 keep their own (UA or contextual) font sizes; they only lose the UA margin, which put a
   27px phantom gap above every footer column heading and pushed each accordion row to 86px. */
h5,h6{color:var(--ink);margin:0}
p{margin:0}
button{font-family:inherit;cursor:pointer}
.wrap{max-width:var(--wrap);margin:0 auto;padding-inline:20px}
.sec{padding-block:clamp(40px,6vw,80px)}
.eyebrow{color:var(--brand);font-weight:700;font-size:.9rem;margin-bottom:.35rem}
.h-sec{font-size:clamp(1.5rem,3.4vw,2.15rem);margin-bottom:.4rem}
.sub-sec{color:var(--muted);max-width:60ch}
.center{text-align:center;margin-inline:auto}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;font-weight:700;font-size:.95rem;
	padding:.72rem 1.3rem;border-radius:999px;border:1px solid transparent;white-space:nowrap;text-decoration:none;
	transition:transform var(--dur-1) var(--ease),background var(--dur-1),box-shadow var(--dur-1),border-color var(--dur-1),color var(--dur-1),filter var(--dur-1)}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--gold);color:var(--gold-ink);box-shadow:0 6px 16px rgba(201,154,44,.32)}
.btn-ghost{background:var(--card);color:var(--ink);border-color:var(--line)}
/* Hover is a POINTER affordance. On touch, :hover sticks after a tap and leaves the button looking
   pressed until the next tap elsewhere; touch gets the :active press above instead. */
@media (hover:hover){
	.btn-primary:hover{background:var(--gold);filter:brightness(.93)}
	.btn-ghost:hover{border-color:var(--brand);color:var(--brand)}
}
.btn-sm{padding:.5rem .9rem;font-size:.85rem;min-height:40px}
@media (pointer:coarse){.btn-sm{min-height:var(--tap)}}
.btn-block{display:flex;width:100%}
/* (The text is transparent while busy, so currentColor is too: the ring reads --btn-spin, which
   each variant sets to its own text colour.) */
/* States. :disabled covers <button>; aria-disabled covers an <a class="btn"> (which has no
   disabled attribute — pair it with tabindex="-1" or a click guard). aria-busy keeps the
   button's width (text goes transparent, not away) and draws a ring in the text colour. */
.btn:disabled,.btn[aria-disabled="true"]{opacity:.55;cursor:not-allowed;box-shadow:none;filter:none;transform:none}
.btn[aria-busy="true"]{position:relative;color:transparent!important;pointer-events:none;transition:none}
.btn[aria-busy="true"] > *{visibility:hidden}
.btn[aria-busy="true"]::after{content:"";position:absolute;inset:0;margin:auto;width:1.1em;height:1.1em;box-sizing:border-box;
	border-radius:50%;border:2px solid;border-color:var(--btn-spin,var(--ink)) var(--btn-spin,var(--ink)) transparent transparent;
	animation:giza-spin .8s linear infinite}
.btn-primary[aria-busy="true"]{--btn-spin:var(--gold-ink)}
.btn-cta[aria-busy="true"]{--btn-spin:var(--cta-ink)}
.btn-ghost[aria-busy="true"]{--btn-spin:var(--ink)}
@keyframes giza-spin{to{transform:rotate(360deg)}}
/* Slowed, not stopped: a frozen ring reads as a broken button, and the spin is the only signal
   that the action is in flight. */
@media (prefers-reduced-motion:reduce){
	.btn{transition:none}
	.btn[aria-busy="true"]::after{animation-duration:2s}
}


/* === DESIGN SYSTEM 2026 — primitives ===
   Small, single-purpose building blocks every page package composes. Each is additive: nothing
   here restyles an existing component unless that component opts in by adding the class. */

/* Focus inside the always-dark footer: brand gold-brown (#8c6614) on #0e1a24 is too dim to find,
   so the ring there is the bright metallic gold in both themes. */
.footer{--focus:var(--gold)}

/* (a) Icon button — 44x44, 12px radius. Header theme/bell/burger, drawer close, sheet close.
   Always give it an aria-label; the svg inside is aria-hidden. */
.hd-ic{display:inline-grid;place-items:center;flex:0 0 auto;position:relative;width:var(--tap);height:var(--tap);
	padding:0;border:0;border-radius:var(--radius-ctl);background:transparent;color:var(--ink);cursor:pointer;
	text-decoration:none;transition:background var(--dur-1),color var(--dur-1)}
.hd-ic svg,.hd-ic .gi{width:22px;height:22px}
.hd-ic:active{background:var(--hover)}
.hd-ic[aria-pressed="true"],.hd-ic[aria-expanded="true"]{background:var(--brand-50);color:var(--brand)}
@media (hover:hover){.hd-ic:hover{background:var(--brand-50);color:var(--brand)}}
@media (prefers-reduced-motion:reduce){.hd-ic{transition:none}}

/* (b) A wrapping set of chips/pills (no top margin, unlike the older .chips row). */
.chip-cloud{display:flex;flex-wrap:wrap;gap:.5rem}

/* (c) Disclosure — the ONE <details> pattern (FAQ, footer accordion, wizard help).
   <details class="disclosure"><summary>Question</summary><div>…</div></details>
   The marker is removed in all three engines (WebKit pseudo, ::marker, list-style). The chevron is
   a rotated L — 45deg points down, -135deg points up — symmetric, so it needs no RTL mirroring. */
.disclosure>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;
	min-height:56px;cursor:pointer;color:var(--ink);font-weight:700}
.disclosure>summary::-webkit-details-marker{display:none}
.disclosure>summary::marker{content:""}
.disclosure>summary::after{content:"";flex:0 0 auto;width:9px;height:9px;box-sizing:border-box;
	border:solid var(--muted);border-width:0 2px 2px 0;transform:rotate(45deg);margin-block-start:-4px;
	margin-inline-end:4px;transition:transform var(--dur-2) var(--ease),margin var(--dur-2) var(--ease)}
.disclosure[open]>summary::after{transform:rotate(-135deg);margin-block-start:4px}
@media (prefers-reduced-motion:reduce){.disclosure>summary::after{transition:none}}

/* (d) Empty state. .empty-state itself (card, centred text) is defined with the results page;
   these are its parts, so any page can build one:
   <div class="empty-state"><span class="empty-state-ic"><svg class="gi"><use href="#gi-search"/></svg></span>
     <p class="empty-state-title">…</p><p class="empty-state-hint">…</p><div class="empty-state-act"><a class="btn …">…</a></div></div>
   .empty-state-bare drops the card frame when it already sits inside a card (no card-in-card). */
.empty-state-ic{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;
	background:var(--brand-50);color:var(--brand);margin:0 auto var(--s-3)}
.empty-state-ic svg,.empty-state-ic .gi{width:24px;height:24px}
.empty-state-title{font-size:1rem;font-weight:700;color:var(--ink);line-height:1.4;margin:0 0 var(--s-1)}
.empty-state-hint{font-size:var(--fs-small);line-height:1.6;color:var(--muted);max-width:44ch;margin-inline:auto}
.empty-state-act{margin-top:var(--s-4);display:flex;flex-wrap:wrap;gap:var(--s-2);justify-content:center}
.empty-state.empty-state-bare{background:transparent;border:0;box-shadow:none;padding-block:var(--s-6)}

/* (e) Sheet grab handle. --field-line at reduced alpha, because --line alone is invisible on a
   white sheet (1.13:1) and on the dark card. Decorative: aria-hidden. */
.grab{display:block;width:36px;height:4px;border-radius:99px;background:var(--field-line);opacity:.45;margin:0 auto 8px;flex:0 0 auto}

/* (f) Hit-area extender for a small inline control that cannot grow visibly (a "×" on a chip,
   an inline text link in a dense row). Uses ::after — do not combine with a ::after the element
   already draws. */
.tap-x{position:relative}
.tap-x::after{content:"";position:absolute;inset:-10px -6px}

/* (g) Status dot (open/closed, online, unread). Colour it via `color`. */
.dot{display:inline-block;flex:0 0 auto;width:7px;height:7px;border-radius:50%;background:currentColor;vertical-align:middle}

/* (h) Tabular figures — counts, prices, times that update or line up in columns. */
.num{font-variant-numeric:tabular-nums}

/* (i) Fixed icon sizes. Two classes of specificity so they beat the em-based `.gi` floor that is
   declared later in the file. .gi-dir mirrors an icon drawn pointing to the inline END in Arabic
   (gi-arrow, gi-chevron) when the page is LTR; .gi-flip-rtl mirrors an LTR-native glyph
   (gi-logout, gi-external) when the page is RTL. */
.gi.gi-16{width:16px;height:16px}
.gi.gi-20{width:20px;height:20px}
.gi.gi-24{width:24px;height:24px}
[dir="ltr"] .gi-dir{transform:scaleX(-1)}
[dir="rtl"] .gi-flip-rtl{transform:scaleX(-1)}

/* Navbar */
.nav{position:sticky;top:0;z-index:50;background:var(--nav-bg);-webkit-backdrop-filter:saturate(1.4) blur(12px);backdrop-filter:saturate(1.4) blur(12px);border-bottom:1px solid var(--line);transition:box-shadow .3s ease}
.nav.scrolled{box-shadow:0 6px 24px rgba(16,32,52,.08)}
.nav-in{max-width:var(--wrap);margin:0 auto;height:var(--nav-h);display:flex;align-items:center;gap:14px;padding-inline:max(16px,env(safe-area-inset-left)) max(16px,env(safe-area-inset-right))}
/* The logo is the ONE flexible item in the bar. Every control beside it is a fixed 44px target, so
   when a narrow phone (or the wider English wordmark, or a logged-in doctor's extra bell) runs out
   of room, the logo gives way — the box keeps its height and object-fit scales the mark down
   inside it — instead of the burger being pushed past the edge. One size scale: 30px from tablet
   up, 26px in the tight 1100–1279 English-nav band, and 28.8px on phones as a MAXIMUM.
   object-position has no logical keywords, so the anchor edge is written per direction. */
.brand{display:inline-flex;align-items:center;flex:0 1 auto;min-width:0}
.brand-logo{height:30px;width:auto;max-width:min(46vw,190px);display:block;object-fit:contain;object-position:right center}
[dir="ltr"] .brand-logo{object-position:left center}
@media (min-width:1100px) and (max-width:1279px){.brand-logo{height:26px}}
@media (max-width:560px){.nav .brand-logo{height:28.8px;max-width:100%}} /* +20% on phones (was 24px) — a ceiling, not a floor */
/* The logo is ~29px tall; the LINK is a 44px row (centred), so the home target meets the minimum. */
.nav .brand{min-height:var(--tap,44px)}
.footer .brand-logo{height:36px;max-width:min(70vw,240px)}
.nav-links{display:flex;align-items:center;gap:4px;margin-inline-start:8px}
/* Direct children only. The mega panels live INSIDE nav.nav-links, and a descendant `a` rule at
   (0,1,1) out-ranked .btn-primary/.btn-sm and .mega-more (0,1,0): the panel CTA rendered in body
   grey on gold (1.34:1 in dark) with nav-link padding, and "All …" lost its brand colour. */
.nav-links > a{padding:.5rem .8rem;border-radius:10px;color:var(--body);font-weight:600;font-size:.95rem}
@media (hover:hover){.nav-links > a:hover{background:var(--brand-50);color:var(--brand-700)}}
/* "You are here" on desktop too. The bottom bar has always marked it and the header never did,
   so the same visitor got the signal on a phone and lost it on a laptop. */
.nav-links > a.is-on{color:var(--brand-700);background:var(--brand-50)}
.nav-links > a.is-on::after{content:"";display:block;height:2px;border-radius:2px;background:var(--gold);margin-top:3px}
.nav-right{margin-inline-start:auto;display:flex;align-items:center;gap:10px;flex:0 0 auto}
/* 44×44, and for a worse failure than the theme toggle's below: a mis-tap here throws the
   visitor into the other language, and on a phone the only route back is the toggle buried in
   the drawer. Two characters of label do not make a target. Both controls sit in a fixed-height
   68px bar directly above the hero's query field, so neither grows the header. */
/* .hd-ic gives the 44px box and the 12px radius; the chip grows past 44 only if its label needs it
   ("عربي" on the English site, not a lone "ع" that read as ε/3). The ring is a softened
   --field-line so it reads as a control, not as a disabled --line tile. */
.lang-tog{font-weight:700;font-size:.85rem;color:var(--muted);padding-inline:6px;width:auto;min-width:var(--tap);
	box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--field-line) 55%,transparent);line-height:1}
/* Sign-out sits beside the Dashboard button as a quiet text link — it is a safety exit, not a
   call to action, and two filled buttons side by side would compete. Padded to a real target
   size rather than left as bare 13px text. */
.nav-logout{font-weight:700;font-size:.85rem;color:var(--muted);padding:.5rem .6rem;border-radius:8px;line-height:1.4}
/* Beside a .btn-sm that grows to 44px on touch (iPad landscape shows this header), the link has to too. */
@media (pointer:coarse){.nav-logout{min-height:var(--tap);display:inline-flex;align-items:center}}
@media (hover:hover){
	.nav-logout:hover{color:var(--brand-700);background:var(--brand-50)}
	.lang-tog:hover{color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand)}
}
/* Animated theme toggle (sliding pill) */
/* 7px of padding around a 58×30 track, not 2px: 62×34 was the second undersized target in the
   sticky bar above the search field. 72×44 inside a 68px bar costs no height. */
.theme-toggle{background:none;border:0;padding:7px;cursor:pointer;display:inline-flex;align-items:center;line-height:0}
.tt-track{position:relative;direction:ltr;width:58px;height:30px;border-radius:999px;
	background:linear-gradient(135deg,#eaf1f8,#d5e3f0);border:1px solid var(--line);
	box-shadow:inset 0 1px 3px rgba(16,32,52,.14);transition:background .4s ease,border-color .35s ease}
.tt-ic{position:absolute;width:15px;height:15px;top:50%;transform:translateY(-50%);transition:opacity .3s ease}
.tt-sun{left:8px;color:#f6a623;opacity:1}
.tt-moon{right:8px;color:#8ea0cf;opacity:.45}
.tt-knob{position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;
	background:radial-gradient(circle at 32% 30%,#fffef8,#ffe9b8);
	box-shadow:0 2px 6px rgba(180,120,20,.4),0 0 0 1px rgba(16,32,52,.05);
	transition:transform .45s cubic-bezier(.34,1.45,.5,1),background .4s ease}
@media (hover:hover){.theme-toggle:hover .tt-track{border-color:var(--brand)}}
.theme-toggle.is-dark .tt-track{background:linear-gradient(135deg,#1a2836,#26384b);border-color:#33475c;box-shadow:inset 0 1px 3px rgba(0,0,0,.45)}
.theme-toggle.is-dark .tt-knob{transform:translateX(28px);background:radial-gradient(circle at 32% 30%,#eef4fc,#c4d2e6);box-shadow:0 2px 6px rgba(0,0,0,.45),0 0 0 1px rgba(255,255,255,.06)}
.theme-toggle.is-dark .tt-sun{opacity:.4}
.theme-toggle.is-dark .tt-moon{opacity:1;color:#dce6fb}
/* Phone variant of the same switch: a 44px sun/moon icon button that cross-fades. The pill is
   hidden, not removed, so the button keeps one set of semantics at every width. */
.tt-ics{display:none;position:relative;width:22px;height:22px}
.tt-ics .gi{position:absolute;inset:0;width:22px;height:22px;transition:opacity var(--dur-2) var(--ease),transform var(--dur-2) var(--ease)}
.tt-ics .tt-i-moon{opacity:0;transform:rotate(-30deg) scale(.8)}
.theme-toggle.is-dark .tt-ics .tt-i-sun{opacity:0;transform:rotate(30deg) scale(.8)}
.theme-toggle.is-dark .tt-ics .tt-i-moon{opacity:1;transform:none}
@media (max-width:419px){
	.theme-toggle{padding:0;width:var(--tap);height:var(--tap);justify-content:center;border-radius:var(--radius-ctl);color:var(--ink);flex:0 0 auto}
	.theme-toggle .tt-track{display:none}
	.theme-toggle .tt-ics{display:block}
	.theme-toggle:active{background:var(--hover)}
}
.nav-burger{display:none}
.nav-burger .gi{width:24px;height:24px}
/* mobile drawer */
/* visibility:hidden already keeps the closed panel out of the tab order and the accessibility
   tree; overflow:hidden clips the parked (translated) panel to the viewport box as well. */
.drawer{position:fixed;inset:0;z-index:60;visibility:hidden;pointer-events:none;overflow:hidden}
.drawer.open{visibility:visible;pointer-events:auto}
.drawer-bg{position:absolute;inset:0;background:rgba(15,27,38,.45);opacity:0;transition:opacity .25s}
.drawer.open .drawer-bg{opacity:1}
/* `inset-inline-end` is logical and resolves to LEFT in RTL, but `transform` is PHYSICAL and does
   not flip with it. So the off-screen direction has to be written per-direction by hand: a single
   translateX(100%) parked the RTL panel 330px INSIDE the viewport and then animated it across the
   whole screen. RTL panel hangs off the left edge, LTR panel off the right. */
.drawer-panel{position:absolute;inset-inline-end:0;top:0;height:100%;height:100dvh;width:min(84%,330px);background:var(--card);
	transform:translateX(-100%);transition:transform .28s cubic-bezier(.16,1,.3,1);
	padding:calc(16px + env(safe-area-inset-top)) 18px calc(16px + env(safe-area-inset-bottom));
	display:flex;flex-direction:column;gap:4px;overflow-y:auto;-webkit-overflow-scrolling:touch}
[dir="ltr"] .drawer-panel{transform:translateX(100%)}
/* Must stay AFTER the [dir="ltr"] rule — both are (0,2,0), so source order is what opens it. */
.drawer.open .drawer-panel{transform:translateX(0)}
/* No blanket `.drawer-panel a` rule any more. It gave every link a hairline underneath, which was
   fine for five and absurd for the ~40 the tree carries; each row now styles itself (.dr-top,
   .dr-body a, .dr-quiet) and the rules live with the accordion below. */
/* Header row: the brand, so the panel says where you are, and a real 44px close (it was a 25x32
   font glyph). The negative end margin lines the icon's visible edge up with the rows below. */
.dr-hd{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;margin-bottom:8px}
.dr-brand{display:inline-flex;align-items:center;min-height:var(--tap);min-width:0}
.dr-logo{height:24px;width:auto;max-width:150px;display:block}
.drawer-close{margin-inline-end:-8px}
/* A search entry, not a search field: it goes to the one search page, which owns the form. */
.dr-search{display:flex;align-items:center;gap:10px;min-height:48px;padding-inline:14px;margin-bottom:8px;
	border:1px solid var(--field-line);border-radius:var(--radius-ctl);background:var(--card);color:var(--muted);font-size:.95rem}
.dr-search .gi{width:20px;height:20px;flex:0 0 auto;color:var(--brand)}
.dr-search span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* The English label is ~7px too long for a 320px drawer: tighten the pill so it fits whole, and
   keep the ellipsis above only as a guard for larger text settings. */
@media (max-width:359px){.dr-search{padding-inline:12px;gap:8px;font-size:.9rem}}
.dr-search:active{background:var(--hover)}
@media (hover:hover){.dr-search:hover{border-color:var(--brand);color:var(--ink)}}

/* ---------------------------------------------------------------------------------------------
   Mega-menu.

   The panel is positioned against `.nav`, not against the group that opened it. `.nav` is
   `position:sticky`, which IS a positioned element, so it is already the containing block — and
   anchoring there is what lets the panel be a full-bleed bar with its contents held to the same
   `--wrap` as the rest of the site. Anchored to the group instead, a four-column panel opening
   under the last item would hang off the edge of the viewport in LTR and off the other edge in
   RTL, and the usual fix (a transform nudge measured in JS) is a resize handler waiting to break.

   `top:100%` with no gap is not a cosmetic choice: any vertical gap between the button and the
   panel is dead ground that closes the menu when the pointer crosses it.
   --------------------------------------------------------------------------------------------- */
.nav-item{display:flex}
.nav-top{position:relative;display:inline-flex;align-items:center;gap:5px;padding:.5rem .75rem;
	border-radius:10px;color:var(--body);font-weight:600;font-size:.95rem;font-family:inherit;
	background:none;border:0;cursor:pointer;line-height:1.5;white-space:nowrap}
@media (hover:hover){.nav-top:hover{background:var(--brand-50);color:var(--brand-700)}}
.nav-top.is-on{color:var(--brand-700);background:var(--brand-50)}
.nav-top.is-on::after{content:"";position:absolute;left:50%;transform:translateX(-50%);bottom:4px;
	height:2px;width:20px;border-radius:2px;background:var(--gold)}
.nav-chev{width:14px;height:14px;flex:0 0 auto;opacity:.65;transition:transform .2s ease}
.nav-item.is-open .nav-top{background:var(--brand-50);color:var(--brand-700)}
.nav-item.is-open .nav-chev{transform:rotate(180deg)}

/* Anchored to `.nav`, not to the group that opened it, so the panel is a full-bleed bar whose
   contents sit on the same `--wrap` as the rest of the site. Anchored to the group instead, a
   four-column panel opening under the last item would hang off the edge of the viewport in LTR
   and off the other edge in RTL, and the usual fix — a transform nudge measured in JS — is a
   resize handler waiting to break.

   `.nav` is `position:sticky`, which IS a positioned element, so it is already the containing
   block: nothing else has to be added to make this resolve, and `top:100%` lands exactly on the
   bar's own height whatever `--nav-h` is at this width. `.nav-item` therefore must NOT be
   positioned — the active underline lives on `.nav-top`, which is.

   No gap between button and panel, ever: any vertical dead ground closes the menu when the
   pointer crosses it. */
.mega{position:absolute;top:100%;left:0;right:0;z-index:55}
.mega-in{max-width:var(--wrap);margin:0 auto;display:flex;gap:clamp(18px,2.4vw,34px);
	max-height:calc(100dvh - var(--nav-h) - 24px);overflow-y:auto;overscroll-behavior:contain;
	padding:clamp(18px,2.2vw,26px) max(16px,env(safe-area-inset-left)) clamp(20px,2.4vw,28px) max(16px,env(safe-area-inset-right));
	background:var(--card);border:1px solid var(--line);border-top:0;
	border-radius:0 0 18px 18px;box-shadow:0 18px 44px rgba(16,32,52,.14);
	animation:gizaMegaIn .18s cubic-bezier(.2,.8,.3,1)}
@keyframes gizaMegaIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.mega-in{animation:none}.nav-chev{transition:none}}
/* Columns keep a readable measure instead of stretching to fill the bar. A three-column group
   spread across 1180px puts 380px between "Contact" and "Privacy", which reads as three unrelated
   lists rather than one menu; capped and packed to the inline start, the leftover is a single
   quiet margin and the panel reads as one object. The CTA, where a group has one, is pushed to
   the far end so it never sits in the middle of the columns. */
.mega-in{justify-content:flex-start}
.mega-col{flex:1 1 200px;max-width:280px;min-width:0}
.mega-in.has-cta .mega-cta{margin-inline-start:auto}
/* Tracking only for Latin: added letter-spacing pulls joined Arabic letters apart. 700, because
   there is no 800 Tajawal face to render. */
.mega-head{font-size:.8rem;font-weight:700;text-transform:uppercase;
	color:var(--muted);margin:0 0 .55rem}
[dir="ltr"] .mega-head,[dir="ltr"] .dr-head{letter-spacing:.06em;font-size:.74rem}
.mega-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:1px}
.mega-list a{display:block;padding:.45rem .5rem;border-radius:9px;color:var(--ink);font-weight:600;font-size:.92rem}
.mega-list a:focus-visible{background:var(--brand-50);color:var(--brand-700)}
@media (hover:hover){.mega-list a:hover{background:var(--brand-50);color:var(--brand-700)}}
.mega-list a span{display:block}
/* The note is a sentence of context, not a second link label — it must never be mistaken for one,
   so it is lighter, smaller and never underlined on hover. */
.mega-list a em{display:block;font-style:normal;font-size:.78rem;font-weight:500;color:var(--muted);margin-top:1px}
.mega-more{display:inline-flex;align-items:center;gap:4px;margin-top:.5rem;padding:.35rem .5rem;font-size:.83rem;font-weight:700;color:var(--brand-700)}
@media (hover:hover){.mega-more:hover{text-decoration:underline}}
.mega-cta{flex:0 0 clamp(230px,20%,290px);align-self:flex-start;background:var(--brand-50);
	border:1px solid var(--line);border-radius:14px;padding:16px}
.mega-cta-t{margin:0;font-weight:700;color:var(--ink);font-size:.98rem}
.mega-cta-x{margin:.4rem 0 .8rem;color:var(--body);font-size:.83rem;line-height:1.6}

/* ---------------------------------------------------------------------------------------------
   Drawer accordion.
   --------------------------------------------------------------------------------------------- */
.dr-group{border-bottom:1px solid var(--line-2)}
/* The marker has to go in three dialects — Chromium honours ::-webkit-details-marker, Firefox and
   Safari honour list-style on the summary itself — or one of the three ships a stray triangle
   beside the chevron. */
.dr-group>summary::-webkit-details-marker{display:none}
.dr-group>summary{list-style:none}
.dr-top{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;
	padding:.95rem .6rem;border-radius:10px;font-weight:700;color:var(--ink);min-height:48px;cursor:pointer}
.dr-top:active{background:var(--hover)}
.dr-top.is-on{color:var(--brand-700)}
.dr-group[open]>.dr-top .nav-chev{transform:rotate(180deg)}
.dr-body{padding:0 0 .6rem;display:flex;flex-direction:column}
.dr-body a{padding:.7rem .6rem .7rem 1.1rem;padding-inline:1.1rem .6rem;border-radius:9px;
	font-weight:600;font-size:.93rem;color:var(--body);min-height:44px;display:flex;align-items:center;border:0}
.dr-body a:active{background:var(--hover)}
.dr-head{margin:.7rem 0 .2rem;padding-inline-start:.6rem;font-size:.8rem;font-weight:700;
	text-transform:uppercase;color:var(--muted)}
.dr-head:first-child{margin-top:.2rem}
.dr-more{color:var(--brand-700)!important;font-weight:700!important;gap:4px}
.dr-foot{margin-top:auto;padding-top:14px;display:flex;flex-direction:column;gap:6px}
.dr-quiet{border:0;padding:.7rem .6rem;border-radius:9px;font-weight:700;font-size:.9rem;color:var(--muted);
	min-height:44px;display:flex;align-items:center}
.dr-quiet:active{background:var(--hover)}
/* Hover is a pointer affordance: on touch the brand-50 fill stuck to the last row tapped. */
@media (hover:hover){
	.dr-top:hover{background:var(--brand-50)}
	.dr-body a:hover,.dr-quiet:hover{background:var(--brand-50);color:var(--brand-700)}
}
/* Preferences: two segmented controls, 44px segments on a --line-2 track. */
.dr-prefs{display:flex;gap:8px;margin-top:6px}
.dr-seg{display:flex;flex:1 1 0;min-width:0;padding:3px;gap:3px;border-radius:var(--radius-ctl);background:var(--line-2)}
.dr-seg-b{flex:1 1 0;min-width:0;min-height:var(--tap);display:inline-flex;align-items:center;justify-content:center;
	padding:0 6px;border:0;border-radius:9px;background:transparent;color:var(--muted);font:inherit;font-weight:700;font-size:.88rem;cursor:pointer;
	transition:background var(--dur-1),color var(--dur-1)}
.dr-seg-b .gi{width:20px;height:20px}
/* The selected segment carries a gold edge as well as the card fill: in dark the card is the
   drawer's own colour, so a fill alone read as a hole in the track rather than a selection. */
.dr-seg-b.is-on,.dr-seg-b[aria-pressed="true"]{background:var(--card);color:var(--ink);
	box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--brand) 55%,transparent),var(--shadow-sm)}
.dr-seg-b[aria-pressed="true"]{color:var(--brand)}
@media (hover:hover){.dr-seg-b:not(.is-on):not([aria-pressed="true"]):hover{color:var(--ink)}}
/* The old drawer put a hairline under every link. With the tree in here that produced a rule under
   every one of ~40 rows; the borders now belong to the group, not to the row. */
/* The rule is a shadow, not a border: a border on a 10px-radius box curled up at both ends like a
   smile, and matched none of the flat group rules below it. */
.drawer-panel>a.dr-top{border-bottom:0;box-shadow:0 1px 0 var(--line-2);border-radius:10px 10px 0 0}
@media (prefers-reduced-motion:reduce){
	.tt-knob,.tt-track,.tt-ic,.tt-ics .gi,.drawer-panel,.drawer-bg,.dr-seg-b{transition:none}
}

/* Hero + search */
.hero{position:relative;background:
	radial-gradient(1200px 400px at 80% -10%,var(--hero-1),transparent 60%),
	linear-gradient(180deg,var(--card), var(--hero-2));
	/* The bottom padding was clamp(150px,22vw,270px) — up to 270px of empty ground under the
	   form, reserved so the decorative scene had room to show. It read as a broken layout: the
	   fold ended on nothing, and every real section was pushed below it. The scene is a
	   background, so it can bleed behind the next section instead of being given a stage.
	   Tightened again with the counter strip gone: the hero's job is to get a question asked,
	   and every pixel under the last control is a pixel of the answer nobody can see yet. */
	padding-top:clamp(22px,3.6vw,44px);padding-bottom:clamp(26px,4vw,48px);
	/* NOT overflow:hidden. That clipped the combobox dropdown — an 8-item, 320px-tall list
	   opening near the bottom of the hero was cut off by its own container, on the primary
	   control of the most-visited page. The decorative scene clips itself (contain:paint on
	   .hero-scene), so nothing here needed the hero to do it.

	   AND NOT `isolation:isolate; z-index:1`, which is what used to close this rule. Those two
	   made the hero a STACKING CONTEXT, so everything inside it — the combobox dropdown included
	   — painted as a single unit at root-level z-index 1. The sticky header (.nav, z-index 50)
	   and the fixed mobile bottom bar (.botnav, z-index 55) are siblings in the ROOT context and
	   therefore painted over the entire hero regardless of what z-index the list asked for: on a
	   360px phone the last suggestion rows sat UNDER the bottom bar, with no scroll cue, on the
	   one control this page exists to offer. The same CSS always worked on /search/, where the
	   form sits in a box that creates no stacking context — which is why it was easy to miss.

	   Nothing was lost. The hero is positioned and the section after it is not, so it still
	   paints above it; and .hero-scene stays behind .hero-grid because a z-index:0 positioned box
	   paints before a z-index:auto positioned box that follows it in tree order. */
	}
/* No z-index here either, and for the same reason: `position:relative; z-index:2` on this
   wrapper re-created the exact stacking context the rule above exists to remove. Positioned,
   unnumbered, after .hero-scene in the DOM is all it takes to sit on top of the scene.
   display:grid and its gap/align-items/justify-items went with it — this box has had exactly
   one child since the two-column hero was replaced, so all four were inert. */
.hero-grid{position:relative}
/* Centred is for the two lines that are a HEADLINE. Everything under them is either a control
   or body copy, and both of those read from the start edge.

   The rule that used to be here claimed "one alignment, not four" and then shipped three: a
   centred eyebrow, H1, lead and specialty rail, a start-aligned form, and — because the
   <dialog> is a SIBLING of the form inside this box, and the top layer paints out of tree while
   inheritance still follows it — a centred suggestion modal on the home page against a
   start-aligned one on /search/. The lead is the expensive one: centred, ragged on both edges,
   four to five lines on a phone, it gives the eye no consistent edge to return to on the next
   line, which in a joining script costs more than it does in Latin. So the lead starts at the
   start edge until there is room for it to be a single centred block, and the rail lines up
   with the form beneath it rather than with the headline above it.

   `.hero-content .chips` used to sit here too. The hero has contained no .chips since the
   counter strip was removed — the only ones on the page are in the regions section, outside
   this box entirely. */
.hero-content{width:100%;max-width:820px;text-align:center;margin-inline:auto}
.hero-content .gz-hs{text-align:start}
/* flex-start, not `safe center`: .quick-rail is an overflow-x scroll container, and plain
   `center` on an overflowing flex scroller puts the first chips in unreachable negative space.
   Starting at the start edge is safe by construction and aligns the rail with the form. */
.hero-content .quick-rail{justify-content:flex-start}
.hero-content .lead{margin-inline:auto;text-align:start}
@media (min-width:860px){.hero-content .lead{text-align:center}}

/* --- Animated Giza scene (hero background) --- */
.hero-scene{position:absolute;inset:0;z-index:0;pointer-events:none;contain:paint;opacity:.8}
.hero-scene svg{width:100%;height:100%;display:block}
/* gradient stops (theme-aware) — soft, low-contrast sandy gold */
.hero-scene .sun-a{stop-color:#fff9ee}
.hero-scene .sun-b{stop-color:#f3daa2;stop-opacity:.6}
.hero-scene .sun-c{stop-color:#f3daa2;stop-opacity:0}
.hero-scene .lit-a{stop-color:#eaddb8}
.hero-scene .lit-b{stop-color:#dbc48c}
.hero-scene .shad-a{stop-color:#cfb47c}
.hero-scene .shad-b{stop-color:#bd9f63}
.hero-scene .sand-a{stop-color:#ecdfc2}
.hero-scene .sand-b{stop-color:#ecdfc2;stop-opacity:0}
.hero-scene .sun-disc{fill:#fdf0d0}
.hero-scene .pyr-lit{fill:url(#giza-pyr-lit)}
.hero-scene .pyr-shad{fill:url(#giza-pyr-shad)}
.hero-scene .ray{stroke:rgba(214,187,124,.2);stroke-width:7;stroke-linecap:round}
.hero-scene .star{fill:#d9c491;opacity:.4}
.hero-scene .pyr-back polygon{fill:#ddd0ab;opacity:.35}
.hero-scene .scene-haze{fill:rgba(255,250,235,.4)}
.hero-scene .dune{fill:#e6d9b6;opacity:.5}
/* animations */
.hero-scene .sun-glow{transform-box:fill-box;transform-origin:center;animation:giza-sun 6.5s ease-in-out infinite}
.hero-scene .sun-rays{transform-box:fill-box;transform-origin:center;animation:giza-spin 90s linear infinite}
.hero-scene .sun-rays-in{transform-box:fill-box;transform-origin:center;animation:giza-rays 6.5s ease-in-out infinite}
.hero-scene .pyr-front{transform-box:fill-box;transform-origin:bottom;animation:giza-float 12s ease-in-out infinite}
.hero-scene .pyr-back{transform-box:fill-box;transform-origin:bottom;animation:giza-float 16s ease-in-out infinite reverse}
.hero-scene .scene-haze{transform-box:fill-box;transform-origin:center;animation:giza-haze 18s ease-in-out infinite}
.hero-scene .star{animation:giza-twinkle 4s ease-in-out infinite}
.hero-scene .star:nth-child(2n){animation-duration:5.5s;animation-delay:-1.4s}
.hero-scene .star:nth-child(3n){animation-duration:6.5s;animation-delay:-2.8s}
.hero-scene .star:nth-child(4n){animation-duration:4.8s;animation-delay:-3.6s}
@keyframes giza-sun{0%,100%{transform:scale(1);opacity:.9}50%{transform:scale(1.09);opacity:1}}
@keyframes giza-rays{0%,100%{opacity:.55}50%{opacity:.95}}
@keyframes giza-spin{to{transform:rotate(360deg)}}
@keyframes giza-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@keyframes giza-haze{0%,100%{transform:translateX(-26px);opacity:.5}50%{transform:translateX(26px);opacity:.72}}
@keyframes giza-twinkle{0%,100%{opacity:.22}50%{opacity:.95}}
/* Dark = soft night-desert palette (low contrast) */
:root[data-theme="dark"] .hero-scene{opacity:.7}
:root[data-theme="dark"] .hero-scene .sun-a{stop-color:#ffedc0}
:root[data-theme="dark"] .hero-scene .sun-b{stop-color:#cfa544;stop-opacity:.55}
:root[data-theme="dark"] .hero-scene .sun-c{stop-color:#cfa544;stop-opacity:0}
:root[data-theme="dark"] .hero-scene .sun-disc{fill:#f6e2ab}
:root[data-theme="dark"] .hero-scene .lit-a{stop-color:#97762c}
:root[data-theme="dark"] .hero-scene .lit-b{stop-color:#6b5320}
:root[data-theme="dark"] .hero-scene .shad-a{stop-color:#574222}
:root[data-theme="dark"] .hero-scene .shad-b{stop-color:#3f3018}
:root[data-theme="dark"] .hero-scene .sand-a{stop-color:#35301c}
:root[data-theme="dark"] .hero-scene .sand-b{stop-color:#35301c;stop-opacity:0}
:root[data-theme="dark"] .hero-scene .ray{stroke:rgba(210,175,95,.18)}
:root[data-theme="dark"] .hero-scene .star{fill:#ffedc0;opacity:.5}
:root[data-theme="dark"] .hero-scene .pyr-back polygon{fill:#443d22;opacity:.45}
:root[data-theme="dark"] .hero-scene .scene-haze{fill:rgba(210,175,95,.1)}
:root[data-theme="dark"] .hero-scene .dune{fill:#322a16;opacity:.6}
@media (prefers-color-scheme:dark){
	:root:not([data-theme="light"]) .hero-scene{opacity:.7}
	:root:not([data-theme="light"]) .hero-scene .sun-a{stop-color:#ffedc0}
	:root:not([data-theme="light"]) .hero-scene .sun-b{stop-color:#cfa544;stop-opacity:.55}
	:root:not([data-theme="light"]) .hero-scene .sun-c{stop-color:#cfa544;stop-opacity:0}
	:root:not([data-theme="light"]) .hero-scene .sun-disc{fill:#f6e2ab}
	:root:not([data-theme="light"]) .hero-scene .lit-a{stop-color:#97762c}
	:root:not([data-theme="light"]) .hero-scene .lit-b{stop-color:#6b5320}
	:root:not([data-theme="light"]) .hero-scene .shad-a{stop-color:#574222}
	:root:not([data-theme="light"]) .hero-scene .shad-b{stop-color:#3f3018}
	:root:not([data-theme="light"]) .hero-scene .sand-a{stop-color:#35301c}
	:root:not([data-theme="light"]) .hero-scene .sand-b{stop-color:#35301c;stop-opacity:0}
	:root:not([data-theme="light"]) .hero-scene .ray{stroke:rgba(210,175,95,.18)}
	:root:not([data-theme="light"]) .hero-scene .star{fill:#ffedc0;opacity:.5}
	:root:not([data-theme="light"]) .hero-scene .pyr-back polygon{fill:#443d22;opacity:.45}
	:root:not([data-theme="light"]) .hero-scene .scene-haze{fill:rgba(210,175,95,.1)}
	:root:not([data-theme="light"]) .hero-scene .dune{fill:#322a16;opacity:.6}
}
/* Negative tracking is a Latin-display trick. Arabic is a joining script: squeezing the letters
   pulls the connectors together and degrades the kashida, on the largest and most-read text on
   the site. LTR keeps it; RTL does not. */
.hero h1{font-size:clamp(1.9rem,4.6vw,2.9rem);text-wrap:balance}
html[dir="ltr"] .hero h1{letter-spacing:-.02em}
/* 34ch inside an 820px block left the lead as a narrow ribbon under a full-width headline at
   every width between 600px and 860px. */
/* rem, not ch: `ch` is measured from the font, so the box itself changed width when Tajawal
   swapped in over the fallback and the lead re-wrapped from four lines to three — a 30px jump of
   the whole search form (the page's one layout shift on desktop). */
.hero .lead{color:var(--body);font-size:clamp(1rem,2vw,1.14rem);margin-top:.7rem;max-width:min(100%,38rem);text-wrap:pretty}
/* `.searchbox` and `.hero-stats` used to live here — ~30 rules and four media-query blocks for
   a hero that was replaced twice over. `grep -rn searchbox templates/` returns nothing. */
.field{position:relative;display:flex;align-items:center;gap:.55rem;background:var(--bg);border:1px solid var(--line-2);border-radius:12px;padding:.7rem .9rem;min-height:52px;transition:border-color .15s,box-shadow .15s,background .15s}
.field:focus-within{border-color:var(--brand);background:var(--card);box-shadow:0 0 0 3px var(--brand-50)}
.field svg{width:20px;height:20px;color:var(--muted);flex:0 0 auto}
.field select,.field input{border:0;background:transparent;outline:0;width:100%;min-width:0;font-family:inherit;font-size:1rem;color:var(--ink)}
.field select{cursor:pointer}
.field input::placeholder{color:var(--muted);opacity:1}

/* Chips / quick links */
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:1rem}
/* inline-flex + min-height rather than vertical padding: the label is centred in a 40px pill
   (44px on touch) whatever its line-height, which is what the 404 chips and the results facets
   were missing. Small block padding still lets a long two-line label breathe. */
.chip{display:inline-flex;align-items:center;min-height:40px;padding:.25rem .95rem;
	background:var(--card);border:1px solid var(--brand-100);border-radius:999px;font-weight:600;font-size:.9rem;color:var(--brand-700);
	text-decoration:none;transition:background var(--dur-1),border-color var(--dur-1),color var(--dur-1)}
@media (pointer:coarse){.chip{min-height:var(--tap)}}
@media (hover:hover){.chip:hover{border-color:var(--brand);color:var(--brand);background:var(--brand-50)}}
.chip:active{background:var(--brand-50)}
/* A secondary chip ("more", a low-count option). Built from colour + a dashed edge, never opacity:
   a translucent chip drops its text under 4.5:1 and looks disabled when it is not. */
.chip-quiet{color:var(--muted);border-style:dashed;opacity:1}
@media (prefers-reduced-motion:reduce){.chip{transition:none}}

/* Grid helpers */
.grid{display:grid;gap:18px}
.g-spec{grid-template-columns:repeat(2,1fr)}
.g-doc{grid-template-columns:1fr}
.g-region{grid-template-columns:repeat(2,1fr)}

/* Specialty card */
.spec-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:18px;display:flex;flex-direction:column;gap:.75rem;
	box-shadow:var(--shadow-sm);transition:transform var(--dur-1) var(--ease),box-shadow var(--dur-2) var(--ease),border-color var(--dur-1)}
/* The lift is a POINTER affordance; on touch it stuck after the tap. Touch gets a press instead. */
@media (hover:hover){.spec-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:var(--brand-100)}}
.spec-card:active{border-color:var(--brand-100);background:var(--surface-2)}
@media (prefers-reduced-motion:reduce){.spec-card{transition:none}.spec-card:hover{transform:none}}
.spec-ic{width:46px;height:46px;border-radius:12px;background:var(--brand-50);color:var(--brand-700);display:grid;place-items:center;flex:none}
.spec-ic svg{width:24px;height:24px}
.spec-tx{display:flex;flex-direction:column;gap:.2rem;min-width:0}
.spec-card b{color:var(--ink);font-size:1.02rem;line-height:1.35}
.spec-card small{color:var(--muted);font-size:var(--fs-small)}
/* Phones: a row (icon beside the name, count under it), ~72px instead of a 149px card that was
   mostly empty — twelve specialties went from ~1,000px of scrolling to under 500. */
@media (max-width:600px){
	.home-spec{gap:10px}
	.spec-card{flex-direction:row;align-items:center;gap:10px;padding:12px;min-height:72px}
	.spec-ic{width:40px;height:40px;border-radius:10px}
	.spec-ic svg{width:22px;height:22px}
	.spec-card b{font-size:.95rem}
	/* `1fr` cannot shrink below a card's min-content (icon + padding + one long word), so on a
	   narrow English phone "Ophthalmology" pushed the second column ~50px off the screen and
	   widened the layout viewport. Columns are allowed to shrink; the card fits inside them. */
	.home-spec{grid-template-columns:repeat(2,minmax(0,1fr))}
	.spec-card,.spec-tx{min-width:0}
	.spec-card b{overflow-wrap:anywhere;hyphens:auto}
}
/* English names are long single words: from ~420px down the row is tightened so the longest
   ("Ophthalmology", ~101px) still fits beside the icon (Arabic two-word names wrap less too);
   under 380px it would not (and Arabic two-word names broke onto three lines), so the card
   stacks the icon above the name — two columns kept, no word broken. */
@media (max-width:420px){
	.spec-card{padding:10px;gap:8px}
	.spec-ic{width:36px;height:36px}
	.spec-ic svg{width:20px;height:20px}
}
@media (max-width:379px){
	.spec-card{flex-direction:column;align-items:flex-start;padding:12px}
}

/* Doctor card (base tokens; layout lives in the SEARCH 2.0 block) */
.doc-body{flex:1;min-width:0}
.doc-name{color:var(--ink);font-size:1.1rem;font-weight:700}
.doc-meta{color:var(--muted);font-size:.9rem;margin-top:.15rem}
.doc-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:.5rem}
.tag{background:var(--brand-50);color:var(--brand-700);font-size:.78rem;font-weight:700;padding:.18rem .6rem;border-radius:999px}
.badge{display:inline-flex;align-items:center;gap:.3rem;font-size:.78rem;font-weight:700;padding:.2rem .6rem;border-radius:999px}
.badge-ok{background:var(--ok-bg);color:var(--ok)}
/* The live dot is drawn, not typed: a literal "●" was read aloud as "black circle". Same
   geometry as the foundation .dot. */
.badge-ok::before{content:"";flex:0 0 auto;width:7px;height:7px;border-radius:50%;background:currentColor}
.badge-off{background:var(--warn-bg);color:var(--warn)}
/* Hero open/closed chip → #clinics. */
.ph-open{margin:.6rem 0 0}
.ph-open .badge{text-decoration:none;font-size:.82rem;padding:.3rem .75rem;min-height:32px}
.ph-open .badge:hover,.ph-open .badge:focus-visible{text-decoration:underline}
/* Vacation mode. Deliberately a NEUTRAL slate rather than a red alarm: the doctor is on leave,
   not in trouble, and colouring it like an error trains patients to skip the listing entirely.
   The slate is hardcoded because --tier-silver-* is the membership ramp and would tie a
   privacy control to a billing tier — but it therefore needs its own dark pair, below. */
.badge-pause{background:#eef1f5;color:#4a5666}
:root[data-theme="dark"] .badge-pause{background:#232c36;color:#c3cdd9}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .badge-pause{background:#232c36;color:#c3cdd9}}
/* Tokenised, not hardcoded: this is the panel that explains a WITHHELD PHONE NUMBER, and on a
   dark page the old #f6f8fa slab put .pause-note strong (var(--ink), #eef4f8) at ~1.05:1 —
   i.e. the explanation for the missing number was itself invisible. */
.pause-note{display:flex;gap:.7rem;align-items:flex-start;background:var(--bg);border:1px solid var(--line);border-inline-start:4px solid var(--muted);border-radius:12px;padding:.85rem 1rem;margin:.9rem 0}
.pause-note-ic{flex:none;color:var(--muted);line-height:0;margin-top:.15rem}
.pause-note-ic svg{width:20px;height:20px}
.pause-note strong{display:block;color:var(--ink);font-size:.98rem}
.pause-note p{margin:.2rem 0 0;color:var(--muted);font-size:.88rem;line-height:1.55}
.pause-note-back{font-weight:700;color:var(--ink)!important}

.filter-group{border-top:1px solid var(--line-2);padding-block:.8rem}
.filter-group select{width:100%;border:1px solid var(--line);border-radius:10px;font-family:inherit;font-size:.95rem;background-color:var(--card);color:var(--ink);min-height:46px;padding:.6rem .8rem;cursor:pointer}
.filter-group select:focus-visible{border-color:var(--brand)}
/* No-JS / fallback: desktop native selects get a styled chevron (mobile keeps native arrow). */
@media (min-width:900px){
	/* `.results-toolbar select`, NOT `.sort-select select`: .sort-select is the <label>, and the
	   <select id="giza-sort"> is its SIBLING, so the descendant selector matched nothing and the
	   sort control was the one select on the site without a chevron. */
	.field select,.filter-group select,.results-toolbar select{-webkit-appearance:none;appearance:none;
		background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);
		background-repeat:no-repeat;background-size:5px 5px}
	[dir="ltr"] .field select,[dir="ltr"] .filter-group select,[dir="ltr"] .results-toolbar select{background-position:calc(100% - 15px) 55%,calc(100% - 10px) 55%;padding-right:2rem}
	[dir="rtl"] .field select,[dir="rtl"] .filter-group select,[dir="rtl"] .results-toolbar select{background-position:10px 55%,15px 55%;padding-left:2rem}
}

/* ===== Custom dropdown (desktop only). Native <select> stays for mobile + form submit + no-JS. ===== */
.gz-select-wrap{position:relative;flex:1 1 auto;min-width:0}
.gz-select-btn,.gz-select-menu{display:none}
@media (min-width:900px){
	.gz-select-wrap[data-gz-enhanced] .gz-select-native{display:none}
	.gz-select-wrap[data-gz-enhanced] .gz-select-btn{display:flex}
}
.gz-select-btn{width:100%;align-items:center;justify-content:space-between;gap:.5rem;font-family:inherit;font-size:.95rem;color:var(--ink);background:var(--card);border:1px solid var(--line);border-radius:10px;padding:.6rem .8rem;min-height:46px;cursor:pointer;text-align:start;transition:border-color .15s,box-shadow .15s}
@media (hover:hover){.gz-select-btn:hover{border-color:var(--brand-100)}}
.gz-select-btn:focus-visible,.gz-select-wrap.open .gz-select-btn{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-50)}
.gz-select-btn .gz-val{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.gz-select-btn .gz-chev{flex:0 0 auto;width:16px;height:16px;color:var(--muted);transition:transform .2s}
.gz-select-wrap.open .gz-select-btn .gz-chev{transform:rotate(180deg)}
/* Hero field: the .field is the visual box, so the trigger is transparent/borderless */
.field .gz-select-btn{background:transparent;border:0;border-radius:0;padding:0;min-height:auto;font-size:1rem}
@media (hover:hover){.field .gz-select-btn:hover{border:0}}
.field .gz-select-btn:focus-visible,.field .gz-select-wrap.open .gz-select-btn{box-shadow:none}
/* Dropdown panel — portaled to <body> with fixed positioning (JS sets width/top/left),
   so it never overflows the screen and is never clipped by the hero's overflow:hidden. */
.gz-select-menu{position:fixed;z-index:1000;background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);padding:6px;transform-origin:top;animation:gz-pop .14s ease}
@keyframes gz-pop{from{opacity:0;transform:translateY(-4px) scale(.98)}to{opacity:1;transform:none}}
.gz-select-search{width:100%;border:1px solid var(--line);border-radius:8px;padding:.5rem .7rem;font-family:inherit;font-size:.9rem;background:var(--bg);color:var(--ink);margin-bottom:6px}
.gz-select-search:focus-visible{outline:none;border-color:var(--brand)}
.gz-select-list{max-height:min(46vh,300px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.gz-select-opt{display:flex;align-items:center;gap:.5rem;padding:.5rem .6rem;border-radius:8px;cursor:pointer;color:var(--ink);font-size:.92rem;line-height:1.4}
.gz-select-opt.active,.gz-select-opt:active{background:var(--brand-50)}
@media (hover:hover){.gz-select-opt:hover{background:var(--brand-50)}}
.gz-select-opt[aria-selected="true"]{color:var(--brand-700);font-weight:700}
.gz-select-opt .gz-check{margin-inline-start:auto;flex:0 0 auto;width:16px;height:16px;color:var(--brand);opacity:0}
.gz-select-opt[aria-selected="true"] .gz-check{opacity:1}
.gz-select-empty{padding:.7rem;color:var(--muted);text-align:center;font-size:.88rem}
@media (prefers-reduced-motion:reduce){.gz-select-menu{animation:none}}

/* Doctor profile */
.profile-sec{padding-top:20px}
/* A grid, not a wrapping flex row. The avatar spans the head and body rows on desktop; on a phone
   it sits 72px wide beside the NAME only, and the pitch and facts run full width underneath — so
   the first screen shows the name, the rating chip and the fee instead of a lone avatar. */
.profile-hero{position:relative;background:var(--card);border:1px solid var(--line);border-radius:var(--radius-lg);padding:22px;box-shadow:var(--shadow-sm);
	display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"ava head share" "ava body body";column-gap:20px;align-items:start}
.profile-hero .doc-ava{grid-area:ava;width:104px;height:104px;border-radius:20px;object-fit:cover;background:var(--brand-50)}
.ph-head{grid-area:head;min-width:0;align-self:center}
.ph-body{grid-area:body;min-width:0}
.ph-head .doc-tags{margin-top:.45rem}
.ph-meta{font-size:1rem;margin-top:.35rem}
.ph-facts{margin-top:.75rem;align-items:center}
.profile-hero h1{font-size:clamp(1.5rem,4vw,2rem);text-wrap:balance}
/* The doctor's own one-line pitch, mirroring .doc-pitch on the result card so the card a
   patient tapped and the page they land on say the same sentence in the same voice.
   max-width is in ch, not px: at 1140px the hero is far wider than a comfortable measure, and
   a 90-character line stretched across all of it is harder to read than the same line wrapped. */
.hero-pitch{display:flex;align-items:flex-start;gap:.5rem;max-width:58ch;margin-top:.55rem;
	padding:8px 11px;background:var(--brand-50);border:1px solid var(--brand-100);
	border-radius:var(--radius-sm);font-size:.9rem;font-weight:600;line-height:1.6;color:var(--body)}
.hero-pitch svg{width:17px;height:17px;flex:0 0 auto;color:var(--brand);margin-top:3px}
/* Share anchors the far edge of the hero row instead of orphaning itself on a line of its own.
   align-self overrides .profile-hero's align-items:center so it sits level with the name; the
   auto margin collapses to nothing once the row wraps on a phone. */
.profile-hero>.share-chip--hero{grid-area:share;margin:0;align-self:start}
@media (max-width:699px){
	.profile-hero{grid-template-columns:72px minmax(0,1fr);grid-template-areas:"ava head" "body body";column-gap:14px;padding:16px}
	.profile-hero .doc-ava{width:72px;height:72px;border-radius:16px}
	/* Room for the pinned share icon at the inline end of the NAME row only. A padding on the
	   whole head also narrowed the meta line, which wrapped "Resident · Consultant Pediatrician ·
	   Haram" to four lines at 320. A float spacer reserves the corner: text beside it (the name)
	   wraps around it, and whatever runs below its 38px (the meta, a 2nd name line) gets the full
	   width. 30px ≈ one 1.38rem name line, so the meta's first line clears the float; its glyphs
	   start below the icon's bottom edge (12 + 40px into the hero) thanks to the line's leading. */
	.ph-head::before{content:"";float:inline-end;width:46px;height:30px}
	/* The badge row directly under a one-line name sits level with the icon's lower half. */
	.ph-head .doc-tags{padding-inline-end:46px}
	.profile-hero h1{font-size:1.38rem}
	.ph-meta{font-size:var(--fs-small);margin-top:.25rem}
	.ph-body .hero-pitch{margin-top:.85rem}
	/* Share becomes a 40px icon pinned to the top inline-end corner; "شارك" stays as its name
	   (aria-label on the link) and is clipped visually. */
	.profile-hero>.share-chip--hero{position:absolute;inset-block-start:12px;inset-inline-end:12px;
		width:40px;height:40px;min-height:40px;padding:0;gap:0;border-radius:var(--radius-ctl)}
	.profile-hero>.share-chip--hero span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
	.profile-hero>.share-chip--hero svg{width:19px;height:19px}
	/* The mark stays 40px; the HIT area is the 44px touch floor (the button is already
	   position:absolute, so it anchors the pseudo-element). */
	.profile-hero>.share-chip--hero::after{content:"";position:absolute;inset:-2px;border-radius:inherit}
}
.profile-cols{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;margin-top:22px}
/* The section panels lost their inline margin-top:18px; spacing is the stack's job now. */
.profile-main{min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-content:start}
.profile-main>.panel{margin:0}
.profile-cols>aside{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;align-content:start;min-width:0}
.profile-cols>aside>.panel{margin:0}
.aside-lede{margin-bottom:.8rem}
.aside-fee{display:flex;align-items:center;gap:.4rem;margin-top:.9rem}
.aside-fee svg{width:17px;height:17px;flex:none;color:var(--brand)}
.aside-fee b{color:var(--ink);font-weight:700}
.panel-h-n{color:var(--muted);font-weight:600;font-size:.9rem}
.cb-panel .panel-h{font-size:1.05rem}
.cb-lede{margin-bottom:.6rem}
.video-embed{margin-top:1rem}
.profile-related{margin-top:2.4rem}
.profile-related .h-sec{margin-bottom:1.1rem}
.panel{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:20px}
/* Class-keyed as well as tag-keyed. The six doctor-page section headings were promoted h3 -> h2
   to close a heading-order skip and silently dropped to UA-default size with no bottom margin,
   because this rule only knew about h3. NOT widened to `.panel :is(h2,h3)`: that is (0,1,1) and
   would out-specify `.co-lg` (0,1,0) on the checkout panels, resizing headings on a page that
   has nothing to do with this change. `.panel-h` on the heading itself is the durable hook. */
.panel h3,.panel-h{font-size:1.15rem;margin-bottom:.7rem}
.branch{border:1px solid var(--line);border-radius:var(--radius);padding:16px;margin-bottom:14px}
.branch:last-child{margin-bottom:0}
/* No card-in-card on a phone: the branch frame flattens into the panel, branches separated by a rule. */
@media (max-width:699px){
	.branch{border:0;border-radius:0;padding:0;margin:0}
	.branch+.branch{border-top:1px solid var(--line);margin-top:18px;padding-top:18px}
}
/* Was `.branch h4`, dead since the heading became h3.branch-h — the name and the open badge
   never got their intended flex alignment. */
.branch-h{font-size:1.05rem;margin-bottom:.3rem;display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}
.branch-h a{color:var(--ink);display:inline-block;padding-block:.3rem}
@media (hover:hover){.branch-h a:hover{color:var(--brand-700);text-decoration:underline;text-underline-offset:.2em}}
.branch-addr-line{line-height:1.7}
.branch-page-link{color:var(--brand-700);font-weight:700;display:inline-flex;align-items:center;min-height:32px}
.branch-facts{margin:.45rem 0 .2rem}
.branch-wa-note{margin:.6rem 0 0}
.hours{width:100%;border-collapse:collapse;margin-top:.2rem;font-size:.9rem}
.hours td{padding:.45rem .5rem;border-bottom:1px solid var(--line-2);color:var(--body)}
/* The day cell is a <th scope="row"> on both pages now (one helper, giza_hours()). font-weight
   inherit undoes the UA bold — a bold day column would out-shout the hours themselves; text-align
   start undoes the UA centre. */
.hours th{padding:.45rem .5rem;border-bottom:1px solid var(--line-2);color:var(--muted);
	width:118px;text-align:start;font-weight:inherit;white-space:nowrap}
.hours tr:last-child>*{border-bottom:0}
/* Today: bold, a brand-50 band and an "اليوم" tag — the patient's eye goes straight to it. */
.hours tr.is-today>*{background:var(--brand-50);color:var(--ink);font-weight:700}
.hours tr.is-today>:first-child{border-start-start-radius:var(--radius-xs);border-end-start-radius:var(--radius-xs)}
.hours tr.is-today>:last-child{border-start-end-radius:var(--radius-xs);border-end-end-radius:var(--radius-xs)}
.hours-today{display:inline-block;margin-inline-start:.3rem;padding:0 .45rem;border-radius:999px;background:var(--brand);color:var(--card);
	font-size:.72rem;font-weight:700;line-height:1.6;vertical-align:1px}
.hours-off{color:var(--muted)}
/* Summary line + disclosure around the week. */
.hours-d{margin-top:.7rem;border:1px solid var(--line);border-radius:var(--radius-ctl);background:var(--surface-2)}
.hours-d>summary{min-height:var(--tap);padding:.35rem .85rem;font-weight:500;color:var(--body);flex-wrap:wrap;row-gap:0}
.hours-d[open]>summary{border-bottom:1px solid var(--line)}
.hours-d .hours{background:var(--card);margin:0;border-end-start-radius:var(--radius-ctl);border-end-end-radius:var(--radius-ctl)}
.hours-d .hours th:first-child,.hours-d .hours td:first-child{padding-inline-start:.85rem}
.hours-d .hours tr>:last-child{padding-inline-end:.85rem}
.hours-sum{display:inline-flex;align-items:center;gap:.45rem;font-size:var(--fs-small);color:var(--body)}
.hours-sum b{color:var(--ink)}
.hours-sum .dot{color:var(--muted)}
.hours-sum.is-open .dot{color:var(--ok)}
.hours-sum.is-open b{color:var(--ok)}
.hours-sum.is-closed .dot{color:var(--warn)}
.hours-sum-k{margin-inline-start:auto;font-size:var(--fs-small);font-weight:700;color:var(--brand-700)}
/* A time range is one atom. Without this the hours cell wrapped mid-range at 390px —
   "18:00 -" on one line and "22:00" on the next — which on a call-only directory reads as a
   different opening time. The ranges may still wrap BETWEEN each other; only the inside of an
   isolate is protected. The day column narrows on small screens to buy the hours the room. */
.hours .giza-ltr{white-space:nowrap}
@media (max-width:480px){.hours th{width:96px}.hours{font-size:var(--fs-small)}}
/* auto-fit, not a fixed 3: the sidebar renders two buttons (Call + WhatsApp) and often only one
   (Directions, when contact is withheld), and `repeat(3,1fr)` left a dead third of empty grid. */
.contact-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(112px,1fr));gap:8px;margin-top:.9rem}
.contact-actions .btn{min-height:48px}
/* The reveal is the page's main conversion control and its label carries a count ("اضغط هنا
   لإظهار رقمي التواصل"): sharing a row with Directions squeezed it to ~131px and the nowrap
   label spilled over the next button. It takes the full row; Directions gets its own. */
.contact-actions .giza-reveal,.contact-actions .giza-reveal-slot,
.contact-actions .giza-reveal-slot~.btn{grid-column:1/-1}
.giza-reveal span{white-space:normal;text-align:center;line-height:1.35}
/* Kept for the markup that still carries it, but it no longer pins anything. It used to sit on
   only the FIRST of the two panels inside <aside>, and .profile-cols stretches the aside to the
   full height of the main column — so the pinned panel travelled down the page and the second
   panel painted straight over it. The <aside> itself is the sticky element now (see :900 below). */
.aside-sticky{min-width:0}
.review{border-top:1px solid var(--line-2);padding-block:.9rem}
.review .who{color:var(--ink);font-weight:700}

/* Footer */
.footer{background:var(--foot-bg);color:var(--foot-ink);margin-top:40px;padding-block:44px 26px;border-top:3px solid var(--gold)}
.footer .wrap{display:grid;grid-template-columns:1fr;gap:26px}
.footer h5{color:var(--foot-hi);font-size:1rem;margin-bottom:.7rem}
.footer a{color:var(--foot-muted);display:block;padding:.35rem 0}
@media (hover:hover){.footer a:hover{color:var(--foot-hi)}}
.footer .brand{color:var(--foot-hi)}
.foot-tag{margin-top:.8rem;max-width:34ch;color:var(--foot-muted)}
/* Official social profiles. Lives in the brand column, which is the one column the 899px
   accordion rules below leave alone, so these stay visible on mobile without a tap.
   No letter-spacing or text-transform on the heading: both are no-ops or actively wrong for
   Arabic, where added tracking pulls apart glyphs that are meant to join. */
.foot-social{margin-top:20px}
.foot-social-h{color:var(--foot-hi);font-size:.92rem;font-weight:700;margin:0 0 .6rem}
.foot-social-list{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:0;padding:0}
/* min-height 44px is the tap-target floor, not decoration — this row is thumb-reachable content
   at the very bottom of every page. */
.footer .foot-social-a{display:inline-flex;align-items:center;gap:.5rem;min-height:44px;padding:0 .95rem;border:1px solid var(--foot-line);border-radius:999px;color:var(--foot-muted);transition:color .2s ease,border-color .2s ease,background-color .2s ease}
.foot-social-a svg{flex:none}
.foot-social-t{font-size:.87rem;font-weight:600}
.footer .foot-social-facebook:hover,.footer .foot-social-facebook:focus-visible{background:#1877f2;border-color:#1877f2;color:#fff}
.footer .foot-social-instagram:hover,.footer .foot-social-instagram:focus-visible{background:linear-gradient(45deg,#f09433,#dc2743,#bc1888);border-color:transparent;color:#fff}
.footer .foot-social-twitter:hover,.footer .foot-social-twitter:focus-visible{background:#000;border-color:#000;color:#fff}
.footer .foot-social-youtube:hover,.footer .foot-social-youtube:focus-visible{background:#f00;border-color:#f00;color:#fff}
.footer .foot-social-linkedin:hover,.footer .foot-social-linkedin:focus-visible{background:#0a66c2;border-color:#0a66c2;color:#fff}
@media (prefers-reduced-motion:reduce){.footer .foot-social-a{transition:none}}
.foot-bottom{border-top:1px solid var(--foot-line);margin-top:24px;padding-top:16px;color:var(--foot-dim);font-size:.85rem;text-align:center}
/* The two long lists (every specialty, every area): grids of short rows. giza.js adds .foot-clip,
   which shows the first --foot-rows rows and a "show all" button; without JS every link is visible.
   Links never leave the HTML. */
.footer .foot-wide{--foot-rows:3;--foot-rh:2.2rem}
.footer .foot-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));grid-auto-rows:minmax(var(--foot-rh),auto);column-gap:24px}
.footer .foot-list a{display:flex;align-items:center;padding:.2rem 0;min-width:0;overflow-wrap:anywhere}
.footer .foot-clip:not(.is-open) .foot-list{max-height:calc(var(--foot-rows) * var(--foot-rh));overflow:hidden;
	-webkit-mask-image:linear-gradient(to bottom,#000 55%,transparent);mask-image:linear-gradient(to bottom,#000 55%,transparent)}
.footer .foot-more-btn{display:inline-flex;align-items:center;gap:.45rem;min-height:40px;margin-top:.6rem;padding:0 14px;background:none;
	border:1px solid var(--foot-line);border-radius:var(--radius-sm);color:var(--foot-hi);font:inherit;font-size:.86rem;font-weight:600;cursor:pointer;
	transition:border-color .15s,background-color .15s}
.footer .foot-more-btn::after{content:"";width:7px;height:7px;border:solid currentColor;border-width:0 2px 2px 0;transform:translateY(-2px) rotate(45deg)}
.footer .foot-clip.is-open .foot-more-btn::after{transform:translateY(2px) rotate(-135deg)}
.footer .foot-more-btn:hover{border-color:var(--foot-hi);background:rgba(255,255,255,.06)}
.footer .foot-more-btn[hidden]{display:none}
@media (prefers-reduced-motion:reduce){.footer .foot-more-btn{transition:none}}
@media (max-width:899px){
	/* The bottom-nav gap is reserved ONCE. On pages that end in this footer the footer itself
	   carries it (see "Mobile bottom nav", which zeroes body's padding there); reserving it in
	   both places parked ~66px of dead space under the copyright line. */
	.footer{padding-bottom:calc(26px + env(safe-area-inset-bottom))}
	.footer .wrap{gap:0}
	.footer .wrap > div:not(:first-child){border-bottom:1px solid var(--foot-line)}
	/* The box model lives on the BUTTON, not on the h5. With the padding on the heading the button
	   only covered the 20–26px text strip, and the chevron (h5::after) sat outside it, so a tap
	   on the row's padding or on the chevron itself did nothing. Now the whole 56px row is the
	   button, chevron included. The chevron uses the .disclosure geometry (symmetric rotations,
	   so no RTL mirroring) to match the drawer and every other <details> on the site. */
	.footer .wrap > div:not(:first-child) h5{display:block;margin:0;padding:0;min-height:0;cursor:auto;font-size:1rem}
	.footer .wrap > div:not(:first-child) .foot-acc{display:flex;width:100%;box-sizing:border-box;min-height:56px;padding:16px 2px;
		justify-content:space-between;gap:12px}
	.footer .wrap > div:not(:first-child) .foot-acc::after{content:"";flex:0 0 auto;width:8px;height:8px;margin-inline-end:6px;
		border:solid var(--foot-dim);border-width:0 2px 2px 0;transform:translateY(-2px) rotate(45deg);transition:transform var(--dur-2) var(--ease)}
	.footer .wrap > div:not(:first-child).open .foot-acc::after{transform:translateY(2px) rotate(-135deg)}
	.footer .wrap > div:not(:first-child) > a{display:none;padding:.55rem 2px;min-height:var(--tap);box-sizing:border-box;align-items:center}
	.footer .wrap > div:not(:first-child).open > a{display:flex}
	.footer .wrap > div:not(:first-child).open{padding-bottom:10px}
	/* Long lists inside the accordion: two columns of tap-height rows, six rows before "show all". */
	.footer .wrap > div.foot-wide{--foot-rows:6;--foot-rh:var(--tap)}
	.footer .wrap > div.foot-wide > .foot-list{display:none;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px}
	.footer .wrap > div.foot-wide.open > .foot-list{display:grid}
	.footer .wrap > div.foot-wide > .foot-list a{padding:.4rem 2px}
	.footer .wrap > div.foot-wide:not(.open) > .foot-more-btn{display:none}
	.footer .wrap > div.foot-wide.open > .foot-more-btn{margin-bottom:.4rem}
	@media (prefers-reduced-motion:reduce){.footer .wrap > div:not(:first-child) .foot-acc::after{transition:none}}
	.footer .wrap > div:first-child{padding-bottom:18px}
}

/* Breadcrumbs */
/* The trail is an ordered list now (it is an ordered sequence, and that is what a screen
   reader should hear) — which means the list markers and the UA's list padding have to be
   removed explicitly, or the crumbs render as "1. Home 2. Areas 3. Cairo". The flex lives on
   the <ol>, not the <nav>, so the items lay out in a row. */
.crumbs{font-size:.85rem;color:var(--muted);margin-bottom:1rem}
.crumbs-list{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;list-style:none;margin:0;padding:0}
.crumbs-list li{display:flex;align-items:center;gap:.4rem;min-width:0}
.crumbs-list li::marker{content:""}
.crumbs a{color:var(--brand-700);display:inline-flex;align-items:center;min-height:32px}
@media (hover:hover){.crumbs a:hover{text-decoration:underline;text-underline-offset:.2em}}
@media (pointer:coarse){.crumbs-list{row-gap:0}}
/* 32px visual rows stay; on phones an invisible hit area (the .tap-x technique) lifts each crumb
   link to a 44px target without changing the trail's rhythm. */
@media (max-width:760px){.crumbs a{position:relative}.crumbs a::after{content:"";position:absolute;inset:-6px -3px}}
/* --line is a BORDER token, ~1.05:1 against the page — the "›" was invisible in both themes.
   A dimmed --muted keeps it subordinate to the crumb labels without erasing it. */
.crumb-sep{color:var(--muted);opacity:.65}
.crumb-cur{color:var(--body)}

/* Gallery */
.gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:1rem}
.gallery img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:10px;border:1px solid var(--line);background:var(--surface-2)}
@media (min-width:640px){.gallery{grid-template-columns:repeat(4,1fr)}}

/* Global form controls (used by review, callback, contact forms) */
/* The boundary is --field-line (3:1, WCAG 1.4.11) and the fill is --card: the old --line edge on a
   --bg fill was 1.13:1, so an empty field inside a white card was a faint grey smudge. */
.inp{width:100%;border:1px solid var(--field-line);border-radius:var(--radius-ctl);padding:.7rem .9rem;font-family:inherit;font-size:.95rem;
	color:var(--ink);background:var(--card);transition:border-color var(--dur-1),box-shadow var(--dur-1);box-sizing:border-box;
	-webkit-appearance:none;appearance:none}
.inp::placeholder{color:var(--muted);opacity:1}
@media (hover:hover){.inp:hover{border-color:var(--muted)}}
.inp:focus{border-color:var(--brand)}
/* A real 2px ring instead of the 3px --brand-50 halo, which measured ~1.1:1 against white. */
.inp:focus-visible{outline:2px solid var(--brand);outline-offset:1px;border-color:var(--brand)}
.inp:disabled,.inp[readonly]{background:var(--surface-2);cursor:default}
.inp[aria-invalid="true"]{border-color:var(--err-ink)}
textarea.inp{resize:vertical;min-height:64px;line-height:1.5}
/* iOS Safari zooms the whole page into any focused field under 16px and never zooms back. */
/* 16px wherever iOS may zoom on focus: phones, and iPads/touch screens up to the 899px layout. */
@media (max-width:899px),(pointer:coarse){.inp{font-size:16px}}
.giza-field .inp{display:block}
/* File pick: a dashed drop zone with a real-looking button, not the browser's grey default. */
.inp[type="file"]{padding:.9rem;border-style:dashed;cursor:pointer;line-height:1.4}
.inp[type="file"]::file-selector-button{font:inherit;font-weight:600;font-size:.9rem;color:var(--ink);background:var(--card);
	border:1px solid var(--field-line);border-radius:var(--radius-xs);padding:.4rem .8rem;margin-inline-end:.6rem;cursor:pointer}
@media (hover:hover){.inp[type="file"]:hover::file-selector-button{border-color:var(--brand);color:var(--brand)}}
@media (prefers-reduced-motion:reduce){.inp{transition:none}}
/* A <select> carrying .inp.

   `.inp` sets `appearance:none` at every width — that is what makes the text inputs match the
   design system — and a select with the native arrow suppressed and nothing in its place is
   indistinguishable from a text field. The contact form's subject picker was the first select to
   wear this class, so the chevron is drawn here rather than in the >=900px block that serves the
   hero and toolbar controls: those keep the native arrow on a phone, and this one cannot.
   The chevron is the same stroke glyph as the search form's (--gz-chev). That one is a MASK on a
   pseudo-element; a <select> has no pseudo-elements and masking the select would mask its whole
   box, so here it is a background image whose stroke colour comes from the --inp-chev token
   (muted, light and dark). */
select.inp{cursor:pointer;background-image:var(--inp-chev);background-repeat:no-repeat;background-size:14px 14px;
	padding-inline-end:2.4rem}
[dir="rtl"] select.inp{background-position:left .85rem center}
[dir="ltr"] select.inp{background-position:right .85rem center}

/* Review form */
.review-form{border-top:1px solid var(--line-2);margin-top:1.2rem;padding-top:1.2rem;display:flex;flex-direction:column;gap:14px;
	scroll-margin-top:calc(var(--nav-h) + 16px)}
.review-form h4,.rf-h{font-size:1.05rem;font-weight:700;color:var(--ink);outline:none}
.rf-overall{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem 1rem}
.rf-overall .stars{margin:0}
.rf-submit{width:100%;min-height:48px}
@media (min-width:760px){.rf-submit{width:auto;align-self:flex-start;min-width:200px}}
.review-form .trust-note{margin:0;font-size:var(--fs-small)}
.review-form .trust-note a{display:inline-flex;align-items:center;min-height:32px}
@media (pointer:coarse){.review-form .trust-note a{min-height:var(--tap)}}
.stars{display:inline-flex;gap:4px;margin-bottom:.6rem}
/* The OFF state was a hardcoded #d7dee6, which failed twice: 1.3:1 against white for what is an
   interactive control (3:1 required), and in dark mode it was BRIGHTER than the "on" gold — so an
   unrated widget read as five FILLED stars. --star-dim is a variable rather than a
   `:root[data-theme="dark"] .star` override on purpose: an override at that specificity would also
   outrank .star.on and the :hover preview, freezing the whole widget dim. */
/* --star is the ON colour (the tier-gold ramp, themed both ways) — the old hardcoded #f59e0b and
   #f5b301 had no dark pair. The OFF dim differs per theme: at .45/.3 the off stars measured
   ~2.1:1 / ~1.6:1, under the 3:1 an interactive control needs. Light needs .92 (.72 measured
   2.74-2.91:1 on --card/--surface-2); dark clears 3:1 at .72 (3.44-3.59:1) and stays there so an
   unrated widget never reads brighter than a rated one. */
.stars{--star:var(--tier-gold);--star-off:var(--muted);--star-dim:.92}
:root[data-theme="dark"] .stars{--star-dim:.72}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .stars{--star-dim:.72}}
/* Real buttons, so the 44px floor this file enforces everywhere else applies. min-width/min-height
   plus padding grow the BOX independently of the mark inside it: the star is a sprite <svg class="gi">
   sized in em, so it tracks font-size and the hit area does not. colour reaches it through
   `fill="currentColor"`, which is why the on/off/hover-preview rules below still work unchanged. */
.star{background:none;border:0;font-size:1.7rem;line-height:1;cursor:pointer;padding:0 8px;
	color:var(--star-off,var(--muted));opacity:var(--star-dim,.92);
	display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;
	transition:color .12s,opacity .12s,transform .1s}
@media (hover:hover){
	.star:hover{transform:scale(1.12)}
	.stars:hover .star{color:var(--star);opacity:1}
	.stars .star:hover ~ .star{color:var(--star-off,var(--muted));opacity:var(--star-dim,.92)}
}
@media (prefers-reduced-motion:reduce){.star{transition:none}.star:hover{transform:none}}
.rev-dim-label{font-weight:600;color:var(--ink)}
/* Spam honeypot — hidden from humans, still present in the DOM for bots to fill.
   NEVER hide it with a physical offset (left:-9999px). This site renders dir="rtl",
   where the inline-end direction is LEFT, so a leftward offset is REAL scrollable
   overflow: the viewport's scrollWidth grows to ~10,000px, and anything that brings
   the field into view — Chrome autofill, focus restore on a back/forward navigation,
   find-in-page, .focus(), .scrollIntoView() — scrolls the whole document 9999px
   sideways. Every in-flow element including the sticky nav goes with it (sticky pins
   on the block axis only), leaving a blank page with just this input on it.
   html's overflow-x removes the scrollBAR, never the scrollability.
   Clip-based hiding keeps the box at its static position, so it cannot overflow.
   inset:auto!important also neutralises any stale inline offset left in a template. */
.giza-hp{position:absolute!important;inset:auto!important;width:1px;height:1px;padding:0;
	margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);border:0;opacity:0;
	pointer-events:none}
/* Reusable stacked form (contact / callback) */
.giza-form{display:flex;flex-direction:column;gap:14px}
.giza-field{display:flex;flex-direction:column;gap:.35rem}
.giza-field-row{display:grid;gap:14px}
@media(min-width:560px){.giza-field-row{grid-template-columns:1fr 1fr}}
/* The ONE public form vocabulary: .giza-field > .giza-label + .inp + .giza-hint. A label names
   the field, so it is ink, not muted (.82rem muted measured 4.2:1 on --bg and read as a hint). */
.giza-label{font-size:.88rem;font-weight:600;color:var(--ink);line-height:1.4}
.giza-label em{color:var(--err-ink);font-style:normal}
.giza-label .opt{font-weight:500;color:var(--muted)}
.giza-hint{font-size:var(--fs-small);line-height:1.6;color:var(--muted);margin:0}
.cb-msg,#giza-rv-msg{font-size:var(--fs-small);min-height:1.1em}
/* An empty status line kept its min-height and opened a phantom gap under every submit button.
   It is a role=status live region, so it must stay RENDERED while empty (display:none drops it
   from the accessibility tree and the first message is never announced): pull it out of flow. */
.cb-msg:empty,#giza-rv-msg:empty{position:absolute;width:1px;height:1px;min-height:0;margin:-1px;
	overflow:hidden;clip-path:inset(50%)}
/* Callback form on doctor profile */
#giza-callback-form{display:flex;flex-direction:column;gap:10px}
#giza-callback-form .inp{margin-bottom:0!important}
#giza-callback-form .btn{margin-top:.2rem}

/* Mobile bottom nav */
.botnav{display:none}
@media (max-width:899px){
	.botnav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;inset-inline:0;bottom:0;z-index:55;
		background:var(--nav-bg);-webkit-backdrop-filter:saturate(1.4) blur(12px);backdrop-filter:saturate(1.4) blur(12px);
		border-top:1px solid var(--line);padding:6px 4px calc(6px + env(safe-area-inset-bottom));
		height:calc(var(--botnav-h) + env(safe-area-inset-bottom));box-sizing:border-box}
	/* 11.8px bold, not 10.9px: this is the primary mobile navigation. The current item gets a
	   pill behind its icon as well as the brand colour, so the cue is not colour alone. */
	.botnav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:.74rem;color:var(--muted);min-height:48px;font-weight:700;line-height:1.2}
	.botnav a.on{color:var(--brand)}
	@media (hover:hover){.botnav a:hover{color:var(--brand)}}
	.botnav a:active{transform:scale(.94)}
	.botnav svg{width:22px;height:22px;padding:2px 14px;box-sizing:content-box;border-radius:999px;transition:background var(--dur-1)}
	.botnav a.on svg{background:var(--brand-50)}
	/* The reservation equals the bar (61px), not 64px: the extra 3px showed a strip of page
	   background between the dark footer and the bar. */
	body{padding-bottom:calc(var(--botnav-h) + env(safe-area-inset-bottom))}
	/* A page that ends in the footer reserves the bar INSIDE the footer, so the dark band runs
	   behind the bar instead of a strip of light page background (the call-bar pages below
	   already do the same with their own height). */
	body:has(> footer.footer){padding-bottom:0}
	.footer{padding-bottom:calc(26px + var(--botnav-h) + env(safe-area-inset-bottom))}
	@media (prefers-reduced-motion:reduce){.botnav a:active{transform:none}.botnav svg{transition:none}}
}
/* The canvas under a page that ends in the dark footer is footer-coloured, so overscroll and the
   area below a short page continue the footer instead of showing a light band. body keeps --bg. */
html:has(body > footer.footer){background:var(--foot-bg)}

/* reveal — progressive enhancement: content is visible by default; only hidden
   once JS confirms it can reveal on scroll (.giza-anim added by giza.js). */
.reveal{transition:opacity .6s ease,transform .6s cubic-bezier(.16,1,.3,1)}
.giza-anim .reveal{opacity:0;transform:translateY(16px)}
.giza-anim .reveal.in{opacity:1;transform:none}

/* Responsive */
@media (min-width:640px){
	.g-spec{grid-template-columns:repeat(3,1fr)}
	.g-region{grid-template-columns:repeat(3,1fr)}
}
@media (min-width:900px){
	.g-spec{grid-template-columns:repeat(4,1fr)}
	/* minmax(0,1fr), never a bare 1fr: a bare 1fr keeps min-width:auto, so a wide hours table
	   or a long single-token address pushed the whole page into horizontal overflow. */
	.profile-cols{grid-template-columns:minmax(0,1fr) 340px}
	/* Pin the <aside>, not the panel inside it. align-self:start stops the grid stretching the
	   aside to the main column's height (a stretched box has nothing left to travel against);
	   the max-height keeps a tall rail reachable instead of stranding its bottom off-screen. */
	.profile-cols>aside{align-self:start;position:sticky;top:calc(var(--nav-h) + 16px);
		max-height:calc(100vh - var(--nav-h) - 32px);overflow-y:auto;overscroll-behavior:contain}
	/* Two tiers. Seven equal columns gave each link ~140px, so most legal and specialty labels
	   wrapped, and "For doctors" (2 links) stood beside "Specialties" (12) as a tall empty
	   column. Top tier: brand | Browse | For doctors over More | Legal. Second tier: the two
	   long SEO lists, Specialties and Giza areas, as full-width multi-column lists. Placed by
	   id, so the markup (and the mobile accordion built on it) is unchanged. */
	.footer .wrap{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.3fr);column-gap:32px;row-gap:8px;
		grid-template-areas:"brand browse docs legal" "brand browse more legal" "specs specs specs specs" "areas areas areas areas"}
	.footer .wrap > div:first-child{grid-area:brand;padding-inline-end:16px}
	#giza-foot-browse{grid-area:browse}
	#giza-foot-docs{grid-area:docs}
	#giza-foot-more{grid-area:more;padding-top:14px}
	#giza-foot-legal{grid-area:legal}
	#giza-foot-specs{grid-area:specs}
	#giza-foot-areas{grid-area:areas}
	#giza-foot-specs,#giza-foot-areas{margin-top:16px;padding-top:22px;border-top:1px solid var(--foot-line)}
	#giza-foot-areas{margin-top:8px}
	.footer a{font-size:.92rem}
	/* Small, bright headings over larger muted links; 14px rather than 12.8px because at .8rem
	   the Arabic headings read smaller than the links they head. */
	.footer h5{font-size:var(--fs-small);color:var(--foot-hi);margin:0 0 .5rem;line-height:1.6}
	.footer h5 .foot-acc{padding-block:2px}
}
@media (max-width:899px){
	.nav-right .btn-primary{display:none} /* login lives in drawer + bottom nav on mobile */
}
/* The nav's own breakpoint, deliberately NOT the 900px used for page layout above.

   The measurement that sets it is the ENGLISH bar, not the Arabic one: "Find a doctor / Health
   library / For doctors" is about 90px wider than the Arabic it translates, and "Doctor login" is
   wider than "دخول الأطباء". At 1024px the Arabic bar fits and the English bar pushed its own
   primary button off the edge — so the switch-over is set where the wider of the two languages
   still fits, and the 1100–1279 band below tightens the group labels to buy the last 40px rather
   than dropping a 5-group menu into a burger 180px earlier than it needs to. */
@media (min-width:1100px) and (max-width:1279px){
	.nav-top{padding:.5rem .55rem;font-size:.9rem;gap:3px}
	.nav-links{gap:1px;margin-inline-start:4px}
	.nav-right{gap:7px}
}
@media (max-width:1099px){
	.nav-links{display:none}
	/* Paired with .nav-right .btn-primary — the drawer already carries both links. */
	.nav-logout{display:none}
	.nav-burger{display:inline-grid}
	.nav-right{gap:8px}
}
/* Phones: every header control is a 44px .hd-ic, packed at 4px, so the bar fits a 320px phone in
   both languages, logged in or out, with the gutters intact; the logo absorbs the rest. */
@media (max-width:419px){
	.nav-in{gap:10px}
	.nav-right{gap:4px}
	/* At a 4px gap an outset ring (2px at offset 2px) fills the gap and runs into the next
	   control's ring, so the header controls draw it inset instead. */
	.nav-right :focus-visible{outline-offset:-2px}
}
@media (prefers-reduced-motion:reduce){
	.reveal{opacity:1;transform:none;transition:none}
	*{scroll-behavior:auto!important}
	.hero-scene *{animation:none!important}
	.hero-scene .star{opacity:.6}
}
/* Mobile: the scene comes OFF, rather than being dimmed and left running.

   It is a 1200×620 composition with preserveAspectRatio="xMidYMax slice". On a 360px-wide phone
   the hero box is roughly 700px tall, so `slice` scales the artwork by about 1.13 and crops
   ~1000px of it horizontally: what the reader actually sees is a quarter of the picture centred
   on the flank of one pyramid, which is a texture, not "the pyramids". For that it kept six
   named animations and twelve star opacity loops compositing forever, directly behind the LCP
   element, on the phones this audience holds. Dimming it to opacity .6 — which is what this
   block used to do — changes the compositing cost by nothing.

   The hero's own gradient carries the brand on its own at this width — plus one STATIC motif:
   a ~300-byte pyramid skyline drawn as a mask in the top inline-end corner, so the phone hero
   keeps the brand's picture without a single animation or compositing layer. Its colour is a
   token with a dark twin (both dark blocks). */
:root{--hero-art:#8c6614}
:root[data-theme="dark"]{--hero-art:#e0b24a}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--hero-art:#e0b24a}}
@media (max-width:600px){
	.hero{padding-top:16px;padding-bottom:22px}
	.hero .lead{font-size:.97rem;margin-top:.55rem;max-width:100%}
	/* Sentences two and three of the lead: the AI card under them says the same thing. */
	.hero .lead-more{display:none}
	.hero .eyebrow{font-size:var(--fs-small)}
	.hero-scene{display:none}
	/* A small mark in the 16px band ABOVE the eyebrow: at 72x36 it overlapped the eyebrow line,
	   which runs the full width on a phone, and read as a smudge on the glyphs. */
	.hero::before{content:"";position:absolute;inset-block-start:2px;inset-inline-end:12px;width:32px;height:16px;
		background:var(--hero-art);opacity:.24;pointer-events:none;
		-webkit-mask:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 60'%3E%3Cpath d='M0 60 22 34l22 26zM18 60 54 14l36 46zM70 60l26-30 24 30z'/%3E%3Ccircle cx='100' cy='12' r='6'/%3E%3C/svg%3E") center/contain no-repeat;
		mask:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 60'%3E%3Cpath d='M0 60 22 34l22 26zM18 60 54 14l36 46zM70 60l26-30 24 30z'/%3E%3Ccircle cx='100' cy='12' r='6'/%3E%3C/svg%3E") center/contain no-repeat}
	/* The sun sits at the top-right of the drawing; in Arabic the motif is in the top-LEFT corner,
	   so it is mirrored to keep the sun on the outside edge. */
	[dir="rtl"] .hero::before{transform:scaleX(-1)}
}
/* Under 360px governorate and area stack (they cannot share a 120px row), so the type above the
   form is tightened instead: Search must still end above the 61px bottom nav on a 320×844
   screen. Eyebrow and lead keep the 14px/15.5px floor; only leading and the H1 size give. */
@media (max-width:359px){
	.hero{padding-top:12px}
	/* The band above the eyebrow is only 12px here; the mark shrinks to fit inside it. */
	.hero::before{inset-block-start:1px;width:22px;height:11px}
	.hero .eyebrow{line-height:1.45;margin-bottom:.3rem}
	.hero h1{font-size:clamp(1.45rem,7.6vw,1.9rem);line-height:1.2}
	.hero .lead{line-height:1.55;margin-top:.45rem}
}

/* ============================================================
   v1.2 additions — cards, trust, maps, conversion, search UX
   ============================================================ */
.doc-card.is-featured{border-color:var(--brand);box-shadow:0 0 0 1px var(--brand-100)}
/* Membership-tier framing: Gold gets the strongest treatment, then Silver, then Bronze. */
.doc-card--gold{border-color:var(--tier-gold);box-shadow:0 0 0 1px var(--tier-gold-glow),0 10px 26px var(--tier-gold-glow)}
@media (hover:hover){.doc-card--gold:hover{box-shadow:0 0 0 1px var(--tier-gold-glow),0 14px 32px var(--tier-gold-glow);transform:translateY(-3px)}}
.doc-card--silver{border-color:var(--tier-silver);box-shadow:0 0 0 1px var(--tier-silver-glow)}
.doc-card--bronze{border-color:var(--tier-bronze);box-shadow:0 0 0 1px var(--tier-bronze-glow)}
.tier-ribbon{position:absolute;inset-inline:0;top:0;height:4px;z-index:2;border-radius:var(--radius) var(--radius) 0 0}
.tier-ribbon--gold{background:linear-gradient(90deg,var(--tier-gold),#f0d98a)}
.tier-ribbon--silver{background:linear-gradient(90deg,var(--tier-silver),#c3ccd6)}
.tier-ribbon--bronze{background:linear-gradient(90deg,var(--tier-bronze),#dda06a)}
/* 12px floor: at .66rem (10.6px) Arabic glyphs lost their dots on mid-range Android screens. */
.tier-badge{display:inline-flex;align-items:center;gap:5px;font-size:.75rem;font-weight:700;line-height:1.6;border-radius:999px;padding:1px 9px;vertical-align:middle;letter-spacing:.02em}
/* Tracking breaks Arabic cursive joining (Safari). */
[dir="rtl"] .tier-badge{letter-spacing:0}
/* A drawn diamond, not content:"◆" — the glyph was announced as "black diamond" and came from
   whatever fallback font had it. */
.tier-badge::before{content:"";flex:0 0 auto;width:6px;height:6px;background:currentColor;transform:rotate(45deg)}
.tier-badge--gold{background:var(--tier-gold-bg);color:var(--tier-gold-ink);border:1px solid var(--tier-gold)}
.tier-badge--silver{background:var(--tier-silver-bg);color:var(--tier-silver-ink);border:1px solid var(--tier-silver)}
.tier-badge--bronze{background:var(--tier-bronze-bg);color:var(--tier-bronze-ink);border:1px solid var(--tier-bronze)}
.tag-soft{background:var(--brand-50);color:var(--brand-700);border-color:var(--brand-100)!important}
/* .tag is a .18rem-padded pill ≈26px tall; these are navigation links, so they get the 44px box. */
/* …but a 44px pill beside 26px static .tags read as two different components. The VISUAL pill is
   30px and the hit area grows invisibly (::after) to the 44px floor. A trailing chevron marks it
   as a link, so a clickable chip and a static one never look the same. */
.tag-link{text-decoration:none;display:inline-flex;align-items:center;gap:.2rem;min-height:30px;position:relative;border:1px solid var(--brand-100)}
.tag-link::after{content:"";position:absolute;inset:-7px -2px}
.tag-link .gi{width:13px;height:13px;opacity:.75}
@media (hover:hover){.tag-link:hover{background:var(--brand-100);text-decoration:underline;text-underline-offset:.2em}}
.tag-link:active{background:var(--brand-100)}
/* Credentials rows: a label, then the chips; 8px row gap so stacked 44px hit areas never overlap. */
.cred-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 6px;margin-top:.75rem}
.cred-k{font-size:var(--fs-small);color:var(--ink);margin-inline-end:.2rem}
.cred-row .tag,.ph-facts .tag,.branch-facts .tag{font-size:var(--fs-meta);display:inline-flex;align-items:center;gap:.3rem;min-height:28px}
.cred-row .tag .gi,.ph-facts .tag .gi,.branch-facts .tag .gi{width:14px;height:14px;flex:none}
.badge-feat{background:#fff7ed;color:#c2410c;border:1px solid #fed7aa}
/* Warm-neutral, hand-picked rather than tokenised: --warn-bg is the *error* surface and this is a
   paid-placement flag. Hardcoded either way, so it needs an explicit dark pair or it stays a
   near-white chip on a #0e161e page. */
:root[data-theme="dark"] .badge-feat{background:#3a2410;color:#f6b17a;border-color:#6b3f18}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .badge-feat{background:#3a2410;color:#f6b17a;border-color:#6b3f18}}
.cred-list{list-style:none;margin:.4rem 0 0;padding:0;display:grid;gap:.4rem;font-size:.92rem}
.cred-list li{color:var(--body)}
.cred-list b{color:var(--ink)}
.socials{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}
.social-link{display:inline-flex;align-items:center;gap:.4rem;min-height:44px;font-size:var(--fs-small);font-weight:600;color:var(--brand-700);text-decoration:none;background:var(--brand-50);padding:.3rem .75rem;border-radius:var(--radius-ctl);border:1px solid var(--brand-100)}
.social-link .gi{width:18px;height:18px}
.social-link .social-ext{width:14px;height:14px;opacity:.7}
@media (hover:hover){.social-link:hover{background:var(--brand-100)}}
.social-proof{display:flex;align-items:center;gap:.4rem;margin:.7rem 0 0;font-size:var(--fs-small);color:var(--brand-700);font-weight:600}
.social-proof .gi{width:17px;height:17px;flex:none}
.map-embed{margin:.9rem 0 0}
.map-open{display:inline-flex;align-items:center;min-height:44px;margin-top:.4rem;font-size:.85rem;font-weight:600;color:var(--brand-700);text-decoration:none}
/* No .video-embed box: the facade markup carries its own aspect-ratio and is sized by
   `.giza-video-embed iframe,.giza-video-facade iframe` further down — a second ratio box here
   just fought it. */
/* sticky mobile contact bar */
.mobile-callbar{position:fixed;inset-inline:0;bottom:0;z-index:60;display:none;gap:.6rem;padding:.6rem .8rem;background:var(--card);border-top:1px solid var(--line);box-shadow:0 -4px 16px rgba(0,0,0,.08);padding-bottom:calc(.6rem + env(safe-area-inset-bottom))}
.mobile-callbar .btn{flex:1;justify-content:center;font-size:1rem;padding:.7rem;min-width:0}
/* 320px English: "Contact numbers" + "WhatsApp" + the 48px share overflowed by ~50px. */
@media (max-width:359px){.mobile-callbar{gap:.45rem;padding-inline:.6rem}.mobile-callbar .btn{font-size:.9rem;padding-inline:.5rem;gap:.35rem;white-space:normal;line-height:1.2}}
/* "أرقام التواصل" / "Contact numbers" still wrapped to two lines at 320 in both languages; below
   360 the bar swaps to the short label ("اتصال" / "Call"). Both are real text — display:none
   takes the hidden one out of the accessible name as well, so the name is what is shown. */
.mobile-callbar .cb-s{display:none}
@media (max-width:359px){.mobile-callbar .cb-l{display:none}.mobile-callbar .cb-s{display:inline}}
/* English "Contact numbers" is ~20px wider than "أرقام التواصل": from 360 to 389px the icon and
   label spilled out of the pill (scrollWidth 140 > clientWidth 132 at 360). English swaps to
   "Call" up to 399px; Arabic keeps the full label from 360. */
@media (max-width:399px){html[lang^="en"] .mobile-callbar .cb-l{display:none}html[lang^="en"] .mobile-callbar .cb-s{display:inline}}
/* Scoped to pages that actually HAVE a call bar. The bare `body{padding-bottom:70px}` used to
   override the notch-aware `calc(64px + env(safe-area-inset-bottom))` at :456 — same specificity,
   later in the file — on every ≤760px page, including listings with no call bar in the DOM,
   which cost every one of them its safe-area inset. */
/* The reservation lives on the FOOTER, not the body: body padding painted a 70px band of light
   page background under the dark footer, visible on every overscroll/bounce. (`!important`-free:
   body:has() beats the bottom-nav's bare body rule at :899 by specificity.) The footer's own
   26px bottom padding is kept inside the calc. scroll-padding-block-end keeps a focused control
   from scrolling to sit underneath the fixed bar (WCAG 2.4.11). */
/* 899px, not 760: .profile-cols (and the branch page) only go two-column at 900px, so from 761
   to 899px (iPad portrait) the page was one column with no call bar and the contact aside
   ~3,400px down, after the reviews. The bar now covers the whole single-column range, the
   same range as the bottom nav it replaces on these pages. */
@media(max-width:899px){
	.mobile-callbar{display:flex}
	body:has(.mobile-callbar){padding-bottom:0}
	body:has(.mobile-callbar) .footer{padding-bottom:calc(26px + 70px + env(safe-area-inset-bottom))}
	html:has(.mobile-callbar){scroll-padding-block-end:calc(84px + env(safe-area-inset-bottom))}
}
/* #3.1 — the sticky call bar (z60) and the bottom nav (z55) both pin to bottom:0 on doctor
   pages; hide the bottom nav wherever the call bar is present so it can't cover it. The callbar
   is only in the DOM when it renders, so this scopes precisely; old browsers keep today's behavior. */
@media(max-width:899px){body:has(.mobile-callbar) .botnav{display:none}}
/* On a tablet two flex:1 buttons would each be ~380px wide; keep the group a phone-like 640px
   column in the middle of the full-width bar. */
@media (min-width:700px) and (max-width:899px){.mobile-callbar{padding-inline:max(.8rem,calc((100% - 640px) / 2))}}
/* The pre-2.0 results toolbar, active-filter chips and autocomplete panel used to be defined
   here as well. They were fully superseded by the SEARCH 2.0 block below, and the leftovers
   were producing hybrid rules (a `space-between` toolbar, a `.sort-select select` that matched
   nothing, an `<a>`-based combobox the current JS no longer renders). Single definitions now. */
.giza-ac-wrap{position:relative}
/* skeletons */
.skel{background:linear-gradient(90deg,var(--line-2) 25%,var(--line) 37%,var(--line-2) 63%);background-size:400% 100%;animation:giza-shimmer 1.4s ease infinite;border-radius:var(--radius-sm)}
@keyframes giza-shimmer{0%{background-position:100% 0}100%{background-position:-100% 0}}
@media(prefers-reduced-motion:reduce){.skel{animation:none}}
/* review enrichments */
.review .who{display:flex;align-items:center;gap:.25rem .5rem;flex-wrap:wrap}
.review .verified-badge{display:inline-flex;align-items:center;gap:.2rem;font-size:var(--fs-meta);color:var(--brand-700);background:var(--brand-50);padding:.1rem .45rem;border-radius:var(--radius-sm)}
.review .verified-badge .gi{width:13px;height:13px}
.rv-date{color:var(--muted);font-weight:500;font-size:var(--fs-meta);margin-inline-start:auto}
.rv-body{margin-top:.35rem;line-height:1.75;color:var(--body)}
.review-reply{margin:.5rem 0 0;padding:.6rem .8rem;background:var(--brand-50);border-radius:var(--radius-sm);font-size:.9rem;border-inline-start:3px solid var(--brand-100)}
.review-reply b{color:var(--brand-700)}
.rev-dims{display:flex;gap:.8rem;flex-wrap:wrap;font-size:.8rem;color:var(--muted);margin-top:.3rem}
.helpful-btn{display:inline-flex;align-items:center;gap:.35rem;min-height:40px;margin-top:.5rem;background:none;border:1px solid var(--line);border-radius:999px;padding:.2rem .8rem;font-size:var(--fs-meta);font-weight:600;color:var(--muted);cursor:pointer}
@media (pointer:coarse){.helpful-btn{min-height:var(--tap)}}
.helpful-btn .gi{width:15px;height:15px}
.helpful-btn:disabled{color:var(--brand-700);border-color:var(--brand-100);background:var(--brand-50);cursor:default}
@media (hover:hover){.helpful-btn:not(:disabled):hover{border-color:var(--brand);color:var(--brand-700)}}
/* completeness meter (dashboard) */
.completeness{height:8px;background:var(--line-2);border-radius:999px;overflow:hidden}
.completeness>span{display:block;height:100%;background:var(--brand);border-radius:999px}
/* notifications bell */
.giza-notif{position:relative}
/* The button is a .hd-ic (44x44, sprite bell). The unread dot is the --badge token with a ring in
   the bar's own colour, so it reads as cut out of the bell in both themes. */
.notif-dot{position:absolute;top:9px;inset-inline-end:9px;width:9px;height:9px;background:var(--badge);border-radius:50%;
	box-shadow:0 0 0 2px var(--nav-bg)}
.notif-dot[hidden]{display:none}
/* Fixed under a phone-width bar so it can never hang off a 360px screen; anchored to the bell on
   wider screens. */
.notif-panel{position:absolute;inset-inline-end:0;top:calc(100% + 8px);width:min(340px,calc(100vw - 24px));max-height:min(420px,70vh);
	overflow:auto;overscroll-behavior:contain;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);z-index:70}
.notif-panel[hidden]{display:none}
@media (max-width:599px){.notif-panel{position:fixed;top:calc(var(--nav-h) + 6px);inset-inline:12px;width:auto}}
.notif-hd{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:8px;
	padding:.35rem .5rem .35rem .9rem;padding-inline:.9rem .5rem;background:var(--card);border-bottom:1px solid var(--line)}
.notif-title{margin:0;font-weight:700;color:var(--ink);font-size:.95rem}
.notif-markall{min-height:40px;padding:0 .6rem;border:0;border-radius:var(--radius-xs);background:none;color:var(--brand-700);
	font:inherit;font-weight:700;font-size:var(--fs-small);cursor:pointer}
.notif-markall[hidden]{display:none}
@media (hover:hover){.notif-markall:hover{background:var(--brand-50)}}
@media (pointer:coarse){.notif-markall{min-height:var(--tap)}}
.notif-item{display:block;padding:.7rem .9rem;border-bottom:1px solid var(--line-2);text-decoration:none;color:var(--ink);font-size:.9rem;line-height:1.55}
.notif-item:last-child{border-bottom:0}
.notif-item time{display:block;margin-top:2px;color:var(--muted);font-size:var(--fs-meta)}
/* Already-read history, shown when there is nothing unread. Dimmed so the panel still answers
   "is there anything new?" with a no, while not pretending the inbox is empty. */
.notif-item.is-seen{color:var(--muted)}
.notif-item.is-seen b{font-weight:600}
.notif-item:active{background:var(--hover)}
@media (hover:hover){.notif-item:hover{background:var(--brand-50)}}
/* Block-level so each line takes its OWN direction (dir="auto"): an Arabic notification on the
   English site aligns right instead of hanging off a left edge. */
.notif-item b,.notif-item span{display:block}
.notif-item span{color:var(--muted);font-size:var(--fs-small)}
.notif-empty{padding:1.2rem;text-align:center;color:var(--muted);font-size:.9rem}
/* Merged from the two copies that used to define these: the panel chrome (background/border/
   radius/padding) and flex-direction came from the earlier block, the gap/margin/type from this
   one, and the browser was already compositing exactly that hybrid. */
.rev-dim-inputs{display:flex;flex-direction:column;gap:0;margin:0;
	background:var(--surface-2);border:1px solid var(--line);border-radius:var(--radius-ctl);padding:.5rem .85rem}
.rev-dim-cap{font-size:var(--fs-small);font-weight:700;color:var(--ink);margin:.1rem 0 .15rem}
.rev-dim-cap .opt{font-weight:500;color:var(--muted)}
/* A two-column row: label at the start, a 5x40px star group at the end (200px fits beside the
   label at 360px). The old wrapping flex row dropped the stars to a second line pushed to the
   inline end, so the three rows took ~304px with a hole on the start side. */
.rev-dim{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:.5rem;font-size:var(--fs-small);color:var(--muted)}
.rev-dim+.rev-dim{border-top:1px solid var(--line)}
.stars-sm{margin:0;margin-inline-start:0;justify-self:end;gap:0}
.stars-sm .star{font-size:1.1rem;min-width:40px;min-height:44px;padding:0 6px}
/* In the ~490px desktop column the 1fr track sent the stars ~450px away from their label, so each
   row read as two unrelated items. A fixed label track keeps the pair together and the three
   star groups aligned in one column. */
@media (min-width:760px){.rev-dim{grid-template-columns:8rem auto;justify-content:start}.stars-sm{justify-self:start}}
/* Below 360px "Cleanliness" + 5x40px no longer fit one row: the stars drop under the label. */
@media (max-width:359px){
	.rev-dim{display:flex;flex-wrap:wrap;justify-content:space-between;gap:0 .5rem;padding-block:.2rem}
	.stars-sm{margin-inline-start:auto}
	.stars-sm .star{min-width:38px;padding:0 4px}
}
.star.on{color:var(--star,var(--tier-gold));opacity:1}
/* #6.10 click-to-load video facade (no third-party asset until the visitor clicks play) */
.giza-video-facade{position:relative;aspect-ratio:16/9;width:100%;background:linear-gradient(135deg,#1e293b,#0f172a);border-radius:12px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#fff;border:1px solid var(--line)}
.giza-video-facade:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.giza-video-facade .giza-video-play{width:64px;height:64px;border-radius:50%;background:rgba(255,255,255,.16);display:flex;align-items:center;justify-content:center;font-size:24px;padding-inline-start:5px;transition:transform .15s,background .15s}
@media (hover:hover){.giza-video-facade:hover .giza-video-play{background:var(--brand);transform:scale(1.06)}}
@media (prefers-reduced-motion:reduce){.giza-video-facade .giza-video-play{transition:none}}
.giza-video-embed iframe,.giza-video-facade iframe{width:100%;aspect-ratio:16/9;border:0;border-radius:12px;display:block}

/* ============================================================================
   SEARCH 2.0 — results page, cards, filters, autocomplete.
   Authored mobile-first against a 360px viewport (18.8% of Egyptian mobile
   traffic — 4.5x the next resolution), which leaves 328px of usable card width.
   Anything that does not fit there at 14px minimum type is cut, not shrunk.
   Everything below intentionally overrides the older rules further up the file.
   ============================================================================ */

/* --- Bidi isolation -------------------------------------------------------
   Phone numbers, prices, ratings and counts are left-to-right runs living
   inside right-to-left sentences. Without isolation the bidi algorithm
   reorders their digit groups, so "010 1234 5678" renders scrambled — which on
   a call-only directory means handing the patient a wrong number. */
.giza-ltr{direction:ltr;unicode-bidi:isolate;font-variant-numeric:tabular-nums}
.giza-tel{font-variant-numeric:tabular-nums;letter-spacing:.02em}
:lang(ar){letter-spacing:0}          /* tracking breaks Arabic cursive joining */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
/* The sticky search bar must never hide the element that keyboard focus lands on. Both bars
   stack: .nav is --nav-h (68px) and .search-bar pins directly below it at another ~68px, so 88px
   left anything anchored or focused sitting under the search bar. */
html{scroll-padding-block-start:calc(var(--nav-h) + 84px)}

/* --- Sticky search bar ---------------------------------------------------- */
.search-bar{position:sticky;top:var(--nav-h);z-index:40;background:var(--card);border-bottom:1px solid var(--line);
	padding-block:10px;box-shadow:0 2px 10px rgba(16,32,52,.04)}
.search-bar-in{display:flex;gap:8px;align-items:center}
.sb-form{display:flex;gap:8px;flex:1;min-width:0}
.sb-field{position:relative;display:flex;align-items:center;gap:.5rem;flex:1;min-width:0;
	background:var(--bg);border:1px solid var(--line-2);border-radius:12px;padding-inline:.85rem;min-height:48px}
.sb-field:focus-within{border-color:var(--brand);background:var(--card);box-shadow:0 0 0 3px var(--brand-50)}
.sb-field svg{width:19px;height:19px;color:var(--muted);flex:0 0 auto}
/* 16px minimum: anything smaller makes iOS Safari zoom the page on focus. */
.sb-field input{border:0;background:transparent;outline:0;width:100%;min-width:0;font-family:inherit;font-size:16px;color:var(--ink)}
.sb-go{min-height:48px;padding-inline:1.1rem}
.sb-filters{display:inline-flex;align-items:center;gap:.4rem;min-height:48px;padding-inline:.9rem;
	background:var(--card);border:1px solid var(--line);border-radius:12px;font-weight:700;font-size:.92rem;color:var(--ink)}
.sb-filters svg{width:19px;height:19px;color:var(--brand)}
@media (hover:hover){.sb-filters:hover{border-color:var(--brand)}}
/* --brand inverts to a bright #e0b24a in dark, where white ink drops to 1.97:1. Every
   brand-filled pill in this file flips to --gold-ink there instead; see .qchip.is-on. */
.sb-count{background:var(--brand);color:#fff;border-radius:999px;min-width:20px;height:20px;
	display:inline-grid;place-items:center;font-size:.72rem;font-weight:700;padding-inline:.3rem}
:root[data-theme="dark"] .sb-count,:root[data-theme="dark"] .fgroup-on{color:var(--gold-ink)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .sb-count,
	:root:not([data-theme="light"]) .fgroup-on{color:var(--gold-ink)}}
.sb-go svg{width:19px;height:19px;display:none}
@media (max-width:560px){
	.sb-go span,.sb-filters span:not(.sb-count){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
	.sb-go svg{display:block}
	.sb-go{padding-inline:.85rem}
	.sb-filters{padding-inline:.8rem}
}

/* --- Results header ------------------------------------------------------- */
.sec-results{padding-block:20px clamp(40px,6vw,72px)}
/* Phone vertical budget (first card on the first 390x844 screen): tighter rhythm above the grid. */
@media (max-width:699px){
	.sec-results{padding-top:8px}
	.sec-results .crumbs{margin-bottom:.3rem}
	.sec-results .quick-rail{padding-bottom:.45rem;margin-bottom:.2rem}
	.sec-results .results-toolbar{margin-bottom:.55rem}
	.sec-results .active-filters{margin-bottom:.55rem}
}
/* Two children, not four. The H1, the count and the match note are one text block; the share chip
   is the other. As four flat siblings of a `space-between` row the count floated into the middle
   of an 1180px line, nowhere near the heading it counts. */
.results-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:.9rem}
.results-head-t{min-width:0;display:flex;flex-direction:column;gap:.15rem}
.results-head .h-sec{font-size:clamp(1.35rem,4.4vw,1.9rem);line-height:1.35}
.results-count{color:var(--muted);font-size:.95rem;margin-top:.25rem}
/* The column gap owns the spacing inside the wrapper; the margin would double it. */
.results-head .results-count{margin-top:0}
/* The under-H1 lede. Measure-capped so it stays two or three lines and never becomes the
   thing the visitor has to scroll past to reach the doctors. */
.results-lede{color:var(--body);font-size:.95rem;line-height:1.75;margin-top:.5rem;max-width:68ch}
.results-count strong{color:var(--ink);font-variant-numeric:tabular-nums}
.match-note{margin-top:.5rem;font-size:.88rem;color:var(--body);background:var(--brand-50);
	border:1px solid var(--brand-100);border-radius:var(--radius-sm);padding:.55rem .8rem}
.match-note a{color:var(--brand-700);font-weight:700;text-decoration:underline}
/* Phone budget: the first result card has to start on the first 390x844 screen. The share chip
   shrinks to a 44px icon beside the H1 instead of costing a row (its aria-label still names it),
   and the lede keeps two lines. */
@media (max-width:559px){
	.results-head{flex-wrap:nowrap;align-items:flex-start;gap:8px;margin-bottom:.5rem}
	.results-head-t{flex:1 1 auto}
	.results-head .share-chip{flex:0 0 auto;width:var(--tap);height:var(--tap);min-height:var(--tap);padding:0;justify-content:center;border-radius:var(--radius-ctl)}
	.results-head .share-chip span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
	.results-head .share-chip svg{width:20px;height:20px}
}
@media (max-width:699px){
	.results-lede{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:.2rem;font-size:var(--fs-small);line-height:1.6}
}

/* --- Active filter chips (above the grid, outside the panel) --------------- */
.active-filters{display:flex;flex-wrap:wrap;gap:.45rem;margin-bottom:.7rem}
/* Logical padding, one rule: the label side gets .8rem and the × side .55rem in BOTH directions.
   The physical 4-value shorthand needed a full [dir="rtl"] restatement to say the same thing. */
.chip-active{display:inline-flex;align-items:center;gap:.35rem;background:var(--brand-50);color:var(--brand-700);
	border:1px solid var(--brand-100);border-radius:999px;padding-block:.42rem;padding-inline:.8rem .55rem;
	font-size:.85rem;font-weight:600;min-height:36px}
@media (hover:hover){.chip-active:hover{border-color:var(--brand);background:var(--brand-100)}}
.chip-active:active{background:var(--brand-100)}
/* 24px visual, 44px hit area — WCAG 2.5.8 without a chunky-looking chip. */
.chip-x{position:relative;display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;
	background:rgba(0,0,0,.06);font-weight:700;line-height:1}
/* A black wash is invisible on a dark chip — the affordance has to invert with the surface. */
:root[data-theme="dark"] .chip-x{background:rgba(255,255,255,.12)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .chip-x{background:rgba(255,255,255,.12)}}
.chip-x::after{content:"";position:absolute;inset:-11px}
.chip-clear{display:inline-flex;align-items:center;min-height:36px;padding-inline:.7rem;font-size:.85rem;
	font-weight:700;color:var(--muted);text-decoration:underline}
@media (hover:hover){.chip-clear:hover{color:var(--brand-700)}}
/* 44px touch targets on phones, with a 10px row gap so two rows of chips are not one blur. */
@media (max-width:699px){
	.chip-active,.chip-clear,.link-mesh .chip{min-height:var(--tap);display:inline-flex;align-items:center}
	.active-filters,.link-mesh .chips{gap:10px 8px}
}
/* Narrow phones: the removable chips stay ONE row that scrolls sideways, instead of wrapping to a
   second 44px row that pushes the first doctor further down. 4px of padding (cancelled by the
   negative margin) keeps the focus ring inside the scroll box, which would otherwise clip it.
   position:relative makes the scroller the containing block of each chip's absolutely placed
   .sr-only label; without it a label scrolled off-screen escaped the clip and widened the page. */
@media (max-width:559px){
	.active-filters,.sec-results .active-filters{position:relative;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;
		padding:4px;margin-block:-4px calc(.55rem - 4px);margin-inline:-4px}
	.active-filters::-webkit-scrollbar{display:none}
	.active-filters>*{flex:0 0 auto;white-space:nowrap}
}

/* --- Quick-filter rail ----------------------------------------------------- */
/* `min-width:0` is load-bearing. A horizontal scroller is only allowed to scroll if its
   ancestors may shrink below their content: grid and flex items default to
   `min-width:auto`, so a rail of nowrap chips otherwise forces the whole column to its
   min-content width — which blew the hero out to 760px inside a 390px viewport and
   clipped the headline. */
.quick-rail{display:flex;min-width:0;gap:.5rem;overflow-x:auto;padding-block:.15rem .7rem;margin-bottom:.4rem;
	scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.quick-rail::-webkit-scrollbar{display:none}
/* The rail hides its scrollbar, so at 390px the sixth chip was simply cut off at the edge with
   nothing to say more existed. The mask fades the SCROLL-FORWARD edge — left in Arabic, right in
   English — which is the direction the remaining chips are in.
   Suppressed on :focus-within because a mask clips the focus ring of whichever chip a keyboard
   user has landed on, and an invisible focus ring is a worse bug than an unhinted scroller. */
.quick-rail:not(:focus-within){mask-image:linear-gradient(to left,#000 calc(100% - 30px),transparent)}
[dir="ltr"] .quick-rail:not(:focus-within){mask-image:linear-gradient(to right,#000 calc(100% - 30px),transparent)}
/* giza-search.js: .is-scrolled once away from the start (fade the start edge too), .at-end once
   the last chip is in view (drop the forward fade — the final chip used to sit half-faded). */
.quick-rail.is-scrolled:not(:focus-within){mask-image:linear-gradient(to left,transparent,#000 30px,#000 calc(100% - 30px),transparent)}
[dir="ltr"] .quick-rail.is-scrolled:not(:focus-within){mask-image:linear-gradient(to right,transparent,#000 30px,#000 calc(100% - 30px),transparent)}
.quick-rail.at-end:not(:focus-within){mask-image:none}
.quick-rail.at-end.is-scrolled:not(:focus-within){mask-image:linear-gradient(to right,#000 calc(100% - 30px),transparent)}
[dir="ltr"] .quick-rail.at-end.is-scrolled:not(:focus-within){mask-image:linear-gradient(to left,#000 calc(100% - 30px),transparent)}
/* gap, not a &nbsp; in the markup: the chips render a sprite <svg> beside their label, and a
   whitespace-only text node between two flex items is dropped, so without this the icon sits
   flush against the text. */
.qchip{flex:0 0 auto;scroll-snap-align:start;display:inline-flex;align-items:center;gap:.35rem;min-height:44px;
	padding-inline:.95rem;border-radius:999px;background:var(--card);border:1px solid var(--line);
	font-size:.88rem;font-weight:700;color:var(--body);white-space:nowrap}
@media (hover:hover){.qchip:hover{border-color:var(--brand);color:var(--brand-700)}}
.qchip:active{background:var(--hover)}
.qchip.is-on{background:var(--brand);border-color:var(--brand);color:#fff}
/* Both halves are required. The toggle only writes data-theme once it is CLICKED, so a visitor
   whose OS is dark and who never touched the toggle matches neither :root[data-theme="dark"] nor
   :root[data-theme="light"] — the attribute selector alone would leave them on white-on-#e0b24a
   at 1.97:1. Every dark override in this file is written twice for that reason. */
:root[data-theme="dark"] .qchip.is-on{color:var(--gold-ink)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .qchip.is-on{color:var(--gold-ink)}}

/* --- Layout --------------------------------------------------------------- */
.results{display:grid;grid-template-columns:1fr;gap:20px;align-items:start}
.results-main{min-width:0}
/* `justify-content:flex-start` is stated rather than left to the initial value because the
   label and the <select> it labels have to stay adjacent — a `space-between` toolbar throws them
   to opposite ends of the results column. (The pre-2.0 copy that used to do exactly that has
   been deleted; this is now the only .results-toolbar rule in the file.) */
.results-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:.5rem;margin-bottom:.9rem}
/* The count opens the sort row and pushes the label + select to the far end:
   "21 نتيجة ……… ترتيب [الأنسب]". */
.results-toolbar .results-count{margin:0;margin-inline-end:auto;font-size:var(--fs-small)}
.sort-select{font-size:.9rem;color:var(--muted);font-weight:600}
.results-toolbar select{min-height:44px;border:1px solid var(--line);border-radius:var(--radius-sm);
	background-color:var(--card);color:var(--ink);font-family:inherit;font-size:.9rem;padding-inline:.6rem;max-width:60%}
/* iOS Safari zooms the page when a control under 16px takes focus. */
@media (max-width:1023px){.results-toolbar select{font-size:16px}}
.g-doc{display:grid;grid-template-columns:1fr;gap:14px}

/* --- Doctor card ----------------------------------------------------------------------
   One pitch, three facts, one action. Every block below is optional in the markup, so the
   card must look finished with only a name and a specialty — nothing here relies on a
   sibling existing. */
.doc-card{position:relative;display:flex;flex-direction:column;gap:11px;background:var(--card);
	border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;padding:14px;
	transition:box-shadow .2s,transform .2s,border-color .2s;content-visibility:auto;contain-intrinsic-size:auto 440px}
/* The placeholder matches a real card (~436px at 390, ~420 in the two-column grid), so the
   scrollbar no longer jumps as off-screen cards render. */
@media (min-width:700px){.doc-card{contain-intrinsic-size:auto 420px}}
/* Hover lifts on pointer devices only: on touch :hover sticks, so a tapped card stayed lifted
   when the patient came back with Back. Touch gets a press instead. */
@media (hover:hover){.doc-card:hover{box-shadow:var(--shadow);transform:translateY(-2px);border-color:var(--brand-100)}}
.doc-card:active{transform:scale(.995)}
/* The first three cards are above the fold; skipping their render would cost more
   than it saves and would make the LCP element invisible to the browser.
   The icon sprite is the grid's first child, so counting children is off by one — count
   cards instead. The first three are above the fold on every breakpoint. */
.g-doc>.doc-card:nth-of-type(-n+3){content-visibility:visible}
/* The paid-placement ribbon sits ON the card's top edge, so the card's own padding has to
   clear it or the first badge lands on top of the stripe. */
.doc-card:has(>.tier-ribbon){padding-top:18px}
.doc-flags{display:flex;flex-wrap:wrap;gap:6px}

.doc-card-main{display:flex;gap:.85rem;align-items:flex-start}
.doc-ava-col{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;width:84px}
.doc-ava-link{line-height:0;display:block;border-radius:18px}
/* flex:0 0 auto carried over from the older duplicate: on .profile-hero (a wrap flex row) the
   avatar is a direct flex item, so without it the 104px portrait shrinks whenever the name runs long. */
.doc-ava{width:84px;height:84px;border-radius:18px;object-fit:cover;background:var(--brand-50);aspect-ratio:1;flex:0 0 auto}
.doc-ava-ph{display:grid;place-items:center;font-size:2rem;font-weight:700;line-height:1;
	color:hsl(var(--ph-h,30) 45% 32%);background:hsl(var(--ph-h,30) 60% 92%)}
:root[data-theme="dark"] .doc-ava-ph{color:hsl(var(--ph-h,30) 55% 78%);background:hsl(var(--ph-h,30) 30% 22%)}
/* …and for system dark with no explicit toggle, which the attribute selector alone misses. */
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .doc-ava-ph{
	color:hsl(var(--ph-h,30) 55% 78%);background:hsl(var(--ph-h,30) 30% 22%)}}
/* The rating rides the bottom edge of the photo. Negative margin instead of absolute
   positioning so it still takes part in the column's height and can never overlap the name. */
.doc-rate{display:inline-flex;align-items:center;gap:3px;margin-top:-13px;position:relative;z-index:1;
	white-space:nowrap;font-size:.78rem;font-weight:700;line-height:1.6;padding:1px 8px;border-radius:999px;
	background:var(--tier-gold-bg);color:var(--tier-gold-ink);border:1px solid var(--tier-gold);box-shadow:var(--shadow-sm)}
.doc-rate svg{width:12px;height:12px}
.doc-rate small{font-weight:600;font-size:.75rem}
.doc-rate--new{margin-top:6px;background:var(--line-2);color:var(--body);border-color:var(--line);box-shadow:none}

.doc-body{flex:1;min-width:0;padding-top:1px}
.doc-name{font-size:1.06rem;font-weight:700;line-height:1.35;color:var(--ink);display:flex;flex-wrap:wrap;align-items:center;gap:.3rem}
/* The name is a text link inside a heading; padding lifts it over the 24px
   minimum target height without changing how the card looks. */
.doc-name a{color:inherit;display:inline-block;padding-block:2px}
@media (hover:hover){.doc-name a:hover{color:var(--brand-700)}}
/* On phones the name link is ~27px tall: an invisible hit area takes it to 44px (the .tap-x
   technique) so the card keeps its rhythm. */
@media (max-width:760px){.doc-name a{position:relative}.doc-name a::after{content:"";position:absolute;inset:-9px -4px}}
.doc-verify{display:inline-flex;color:#1d7ae0;line-height:0}
.doc-verify svg{width:17px;height:17px}
:root[data-theme="dark"] .doc-verify{color:#5aa6f0}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .doc-verify{color:#5aa6f0}}
/* Two clamped lines each: a long specialty term plus a long seniority title would otherwise
   push the pitch, the stats and the CTA down by a whole card's worth of height, and a results
   grid whose cards are all different heights reads as broken rather than as varied. */
.doc-title,.doc-sub{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.doc-title{margin-top:.2rem;font-size:.92rem;font-weight:600;color:var(--body);line-height:1.45}
/* Seniority (استشاري / أخصائي) in the brand accent: a national survey put "quality of care"
   at 57.8% of provider choice against 8.0% for cost, and this is the line that carries it. */
.doc-sub{margin-top:.1rem;font-size:.88rem;font-weight:700;color:var(--brand-700);line-height:1.45}

/* The doctor's own sentence — the only free text on the card, and the only thing that can
   make one card read differently from the eleven around it. */
.doc-pitch{display:flex;align-items:flex-start;gap:.5rem;margin:0;padding:9px 11px;
	background:var(--brand-50);border:1px solid var(--brand-100);border-radius:var(--radius-sm);
	font-size:.86rem;font-weight:600;line-height:1.55;color:var(--body)}
.doc-pitch svg{width:17px;height:17px;flex:0 0 auto;color:var(--brand);margin-top:2px}
.doc-pitch span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* Bio excerpt (the default card text — see IndexRepo::card_text()). Prose, not a credential:
   regular weight, no award icon, still clamped to two lines; the full excerpt stays in the HTML. */
.doc-pitch--bio{display:block;font-weight:400;color:var(--muted);overflow-wrap:anywhere}
.doc-pitch--bio span{line-clamp:2}

/* Facts strip. 1px grid gaps over a --line background draw the dividers, so there are no
   border rules to un-double at the edges and the cell count can vary from one to three. */
.doc-stats{display:grid;grid-template-columns:repeat(var(--cells,3),minmax(0,1fr));gap:1px;
	margin:0;padding:0;list-style:none;background:var(--line);
	border:1px solid var(--line);border-radius:var(--radius-sm);overflow:hidden}
.doc-stats li{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;
	min-width:0;padding:8px 5px;background:var(--card);text-align:center}
.doc-stats svg{color:var(--brand)}
.doc-stats b{max-width:100%;font-size:.85rem;font-weight:700;color:var(--ink);
	white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.doc-stats span{font-size:.76rem;font-weight:600;color:var(--muted)}

.doc-where{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .7rem;font-size:.84rem}
.doc-place{display:inline-flex;align-items:flex-start;gap:.3rem;min-width:0;flex:1 1 140px}
.doc-place svg{flex:0 0 auto;color:var(--brand);margin-top:1px}
.doc-place-t{display:flex;flex-direction:column;min-width:0;line-height:1.35}
.doc-place-t b{font-weight:700;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.doc-place-t small{font-size:.8rem;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* The single action. Deep navy, full width, always last — the one target on the card, so
   there is no competing tap area to mis-hit on a phone. */
/* `margin-top:auto` on a stretched grid item is what keeps the CTA on the card's bottom edge:
   without it, two cards side by side put their buttons at different heights whenever one has a
   longer specialty or an extra address line, and a row of misaligned buttons reads as a bug. */
.doc-cta{margin-top:auto;width:100%;min-height:48px;padding:.6rem 1rem;border-radius:12px;
	justify-content:space-between;gap:.6rem;font-size:.95rem;font-weight:700}
.btn-cta{background:linear-gradient(180deg,var(--cta-2),var(--cta));color:var(--cta-ink);
	border-color:var(--cta);box-shadow:0 6px 16px var(--cta-glow)}
@media (hover:hover){.btn-cta:hover{background:linear-gradient(180deg,var(--cta-2),var(--cta));filter:brightness(1.14);color:var(--cta-ink)}}
/* A filled deep-gold control takes the ink ring (foundation F3): a gold ring on a gold button
   is invisible. */
.btn-cta:focus-visible{outline:2px solid var(--ink);outline-color:var(--ink);outline-offset:2px}
.doc-cta>span{min-width:0;overflow:hidden;text-overflow:ellipsis}
/* The glyph points to the inline-end edge, which is left in Arabic; LTR mirrors it. The
   nudge on hover uses the same mirrored axis so it always travels FORWARD, not backwards. */
.doc-cta .doc-cta-arrow{width:18px;height:18px;flex:0 0 auto;transition:transform .18s}
[dir="ltr"] .doc-cta-arrow{transform:scaleX(-1)}
@media (hover:hover){
	.doc-card:hover .doc-cta-arrow{transform:translateX(-3px)}
	[dir="ltr"] .doc-card:hover .doc-cta-arrow{transform:scaleX(-1) translateX(-3px)}
}
/* Reduced motion drops the nudge but must KEEP the mirror. Writing the LTR hover as
   `transform:none` looked equivalent and was not: at (0,4,0) it outranked the (0,2,0) mirror
   rule, so hovering a card on /en/ snapped the arrow round to point backwards. */
@media (prefers-reduced-motion:reduce){
	.doc-card,.doc-cta-arrow{transition:none}
	.doc-card:hover,.doc-card:active{transform:none}
	.doc-card:hover .doc-cta-arrow{transform:none}
	[dir="ltr"] .doc-cta-arrow,[dir="ltr"] .doc-card:hover .doc-cta-arrow{transform:scaleX(-1)}
}

/* Kept for the profile and branch pages, which still render a rating, a fee and a contact
   block — the listing card no longer uses any of them. */
/* --tier-gold-ink, not #c98a00: the old value was 2.95:1 on white where text needs 4.5:1, and the
   token already inverts (a deep #5a3f06 in light, a pale #f7e6b0 in dark) so no second rule is
   needed. font-size carried forward from the older duplicate this replaces. */
.rating{display:inline-flex;align-items:center;gap:.25rem;color:var(--tier-gold-ink);font-weight:700;font-size:.85rem}
.rating small{color:var(--muted);font-weight:600}
.fee{display:inline-flex;align-items:center;gap:.3rem;white-space:nowrap;font-weight:700;color:var(--brand-700);
	font-size:.85rem;background:var(--brand-50);padding:.22rem .55rem;border-radius:var(--radius-sm)}
.fee svg{width:15px;height:15px}
.badge-verify{background:#e6f0fb;color:#1667c9;font-size:.72rem}
:root[data-theme="dark"] .badge-verify{background:#132a45;color:#8fc0f5}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .badge-verify{background:#132a45;color:#8fc0f5}}
.doc-actions{display:flex;gap:.5rem}
.doc-actions .btn{flex:1;justify-content:center;min-height:48px;font-size:.98rem;gap:.4rem}
.doc-actions .btn svg{width:18px;height:18px}
.btn-wa{background:#25d366;color:#08331b}
@media (hover:hover){.btn-wa:hover{background:#1fbb59}}

/* --- Filter panel ---------------------------------------------------------
   A native <dialog> on mobile: focus trap, ::backdrop, Esc-to-close and
   background inerting come free, with no JavaScript. */
.filters{border:0;padding:0;background:transparent;max-width:none;max-height:none;color:inherit}
.filters:not([open]){display:none}
.filters::backdrop{background:rgba(15,27,38,.5)}
.filters[open]{position:fixed;inset:auto 0 0 0;width:100%;max-height:88dvh;display:flex;flex-direction:column;
	background:var(--card);border-radius:var(--radius-lg) var(--radius-lg) 0 0;box-shadow:0 -8px 40px rgba(0,0,0,.25);
	animation:giza-sheet .24s cubic-bezier(.16,1,.3,1)}
@keyframes giza-sheet{from{transform:translateY(100%)}to{transform:none}}
@media (prefers-reduced-motion:reduce){.filters[open]{animation:none}}
.filters-head{position:relative;display:flex;align-items:center;justify-content:space-between;gap:.5rem;
	padding:18px 10px 8px 18px;padding-inline:18px 10px;border-bottom:1px solid var(--line);flex:0 0 auto}
/* The foundation grab handle, same as the change-search sheet; it rides the sheet's top edge. */
.filters-head .grab{position:absolute;top:8px;inset-inline:0;margin:0 auto}
.filters-head h2{font-size:1.08rem}
.filters-x{background:none;border:0;color:var(--muted);min-width:44px;min-height:44px}
.filters-x.hd-ic{color:var(--muted)}
/* `flex:1` is `flex-basis:0`, which contributes NOTHING to a content-sized flex
   container — the sheet collapsed to just its header and footer. `1 1 auto` lets the
   body size to its content and still shrink once max-height bites. */
.filters-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:4px 18px 12px;-webkit-overflow-scrolling:touch}
.filters-foot{flex:0 0 auto;display:flex;gap:.6rem;padding:12px 18px;padding-bottom:calc(12px + env(safe-area-inset-bottom));
	border-top:1px solid var(--line);background:var(--card)}
.filters-foot .btn{flex:1;justify-content:center;min-height:48px}
.filters-foot .btn-ghost{flex:0 0 auto}
.fgroup{border-bottom:1px solid var(--line-2)}
.fgroup>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:.5rem;
	min-height:48px;font-weight:700;font-size:.95rem;color:var(--ink)}
.fgroup>summary::-webkit-details-marker{display:none}
.fgroup>summary::after{content:"";margin-inline-start:auto;width:9px;height:9px;flex:0 0 auto;
	/* Physical borders on purpose: an L of right+bottom rotated 45deg is a chevron
	   pointing DOWN in either writing direction. Logical borders flip under RTL and
	   would point the wrong way. */
	border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);
	transform:rotate(45deg);margin-block-end:3px;transition:transform .2s}
.fgroup[open]>summary::after{transform:rotate(-135deg);margin-block:3px 0}
.fgroup-on{background:var(--brand);color:#fff;border-radius:999px;min-width:19px;height:19px;
	display:inline-grid;place-items:center;font-size:.7rem;font-weight:700}
.fopts{list-style:none;margin:0;padding:0 0 .5rem}
.fopt{display:flex;align-items:center;gap:.6rem;min-height:44px;padding-inline:.15rem;
	font-size:.92rem;color:var(--body);border-radius:8px}
@media (hover:hover){.fopt:hover{background:var(--brand-50);color:var(--brand-700)}}
.fopt:active{background:var(--hover)}
.fopt-box{flex:0 0 auto;width:19px;height:19px;border:2px solid var(--field-line);border-radius:6px;background:var(--card)}
/* The term this single-facet page IS — ticked, not a link (giza_facet_option $is_page). */
.fopt.is-page{cursor:default}
@media (hover:hover){.fopt.is-page:hover{background:none;color:var(--brand-700)}}
.fopt.is-page:active{background:none}
.fopt.is-on .fopt-box{background:var(--brand);border-color:var(--brand);
	background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	background-size:13px;background-position:center;background-repeat:no-repeat}
/* The tick is baked into a data-URI, so it cannot read a custom property — the whole URI has to
   be restated with a dark stroke. %232a1f07 is --gold-ink; white on the dark-mode --brand
   (#e0b24a) is ~2:1, i.e. a checked filter looked unchecked. */
:root[data-theme="dark"] .fopt.is-on .fopt-box{
	background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a1f07' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .fopt.is-on .fopt-box{
	background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a1f07' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")}}
.fopt.is-on{color:var(--brand-700);font-weight:700}
.fopt-label{flex:1;min-width:0}
/* The count is a muted pill right after its label, not a number 600px away at the far edge. */
.fopt-n{display:inline-block;margin-inline-start:.4rem;padding:0 .45rem;border-radius:999px;background:var(--line-2);
	color:var(--muted);font-size:var(--fs-meta);font-weight:700;line-height:1.6;font-variant-numeric:tabular-nums;vertical-align:1px}
.fopt.is-on .fopt-n{background:var(--brand-50);color:var(--brand-700)}
:root[data-theme="dark"] .fopt-n{background:var(--line);color:var(--body)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .fopt-n{background:var(--line);color:var(--body)}}
/* "Other governorates": a nested disclosure inside the area group. */
.fsub{margin:0 0 .4rem;border-top:1px dashed var(--line)}
.fsub>summary{min-height:var(--tap);justify-content:flex-start;font-size:.9rem;color:var(--brand-700)}
.fsub>summary::after{margin-inline-start:auto}
.fsub .fopt-child .fopt{padding-inline-start:1.4rem}
/* A governorate with no results of its own still heads its areas, as a plain label. */
.fsub .fopt-glabel{padding:.55rem .5rem .15rem;font-size:var(--fs-small);font-weight:700;color:var(--muted)}
/* Between the tap and the next page: acknowledge it (see giza-search.js). */
.filters.is-pending .filters-body{opacity:.6;pointer-events:none;transition:opacity var(--dur-1)}
.fopts.has-more .fopt-extra{display:none}
.fopts-toggle:checked+.fopts .fopt-extra{display:list-item}
.fopt-more{display:inline-flex;align-items:center;min-height:44px;font-size:.86rem;font-weight:700;
	color:var(--brand-700);cursor:pointer;text-decoration:underline}
@media (hover:hover){.fopt-more:hover{color:var(--brand)}}
.fopt-more .more-off{display:none}
.fopts-toggle:checked+.fopts .fopt-more .more-on{display:none}
.fopts-toggle:checked+.fopts .fopt-more .more-off{display:inline}
.fopts-toggle:focus-visible+.fopts .fopt-more{outline:2px solid var(--brand);outline-offset:2px;border-radius:4px}

/* --- Empty state ----------------------------------------------------------- */
.empty-state{grid-column:1/-1;background:var(--card);border:1px solid var(--line);
	border-radius:var(--radius);padding:clamp(20px,5vw,32px);text-align:center}
.empty-state h2{font-size:1.2rem;margin-bottom:.4rem}
.empty-lead{color:var(--muted)}
/* The results-page recovery card (foundation .empty-state parts). */
.giza-empty .empty-state-ic{width:56px;height:56px}
.giza-empty .empty-state-ic svg{width:26px;height:26px}
.giza-empty .empty-lead{max-width:44ch;margin-inline:auto}
.giza-empty .empty-relax .btn{min-width:min(100%,220px);justify-content:center}
.empty-ai{margin-top:.9rem;display:flex;justify-content:center}
.empty-ai:has(>[hidden]){display:none}
.empty-state-slim .empty-ai{justify-content:flex-start;margin-top:.7rem}
.empty-state-slim .empty-relax .btn{min-width:0}
.empty-ai .btn{gap:.45rem}
.empty-ai svg{width:18px;height:18px;color:var(--brand)}
/* Suggestion chips with their counts, two columns on a phone so ten of them stay one glance. */
@media (max-width:559px){
	.empty-state .empty-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
	/* A grid cell, not a pill: a long two-word specialty wraps, and a 999px radius around two
	   lines reads as a blob. */
	.empty-chips .chip{justify-content:space-between;min-width:0;text-align:start;border-radius:var(--radius-ctl);
		padding:.45rem .75rem;line-height:1.35;font-size:var(--fs-small)}
}
.empty-chips .chip{gap:.4rem}
.empty-chips .chip-n{margin-inline-start:0}
.empty-suggest{margin-top:.7rem;font-size:1rem}
.empty-suggest a{color:var(--brand-700);font-weight:700;text-decoration:underline}
.empty-relax{margin-top:1rem;display:flex;flex-direction:column;align-items:center;gap:.6rem;color:var(--body)}
.empty-h{margin-top:1.2rem;color:var(--muted);font-size:.9rem}
.empty-state .chips{justify-content:center;margin-top:.6rem}
.empty-help{margin-top:1.4rem;padding-top:1.1rem;border-top:1px solid var(--line-2);
	display:flex;flex-direction:column;align-items:center;gap:.6rem;color:var(--body)}
/* When the geographic fallback is carrying the page, the "no results" box steps back to a
   short header so the screen does not say "nothing found" twice above the fold. */
.empty-state-slim{padding:clamp(14px,3.5vw,20px);text-align:start}
.empty-state-slim h2{font-size:1.05rem}
.empty-state-slim .empty-relax{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start;margin-top:.7rem}
.empty-state-slim .empty-help{margin-top:1rem;padding-top:.8rem;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start}
/* Slim card = title + one relax row; the symptom wizard and "contact us" move under the
   nearby doctors (.fb-assist) so the first fallback card reaches a 390px fold. */
.empty-state-slim h2{margin-bottom:0}
.empty-state-slim .empty-relax{gap:.4rem .7rem;margin-top:.45rem}
/* The symptom/contact rungs under the geographic fallback: one wrapping row, no divider. */
.fb-assist{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;margin-top:.4rem}
.fb-assist .empty-ai,.fb-assist .empty-help{margin:0;padding:0;border:0;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start}

/* --- Zero-result geographic fallback --------------------------------------- */
/* Nearest areas that DO have the doctor being looked for. Spans the card grid because it is
   the page's main content once the real result set came back empty. */
.fb-block{grid-column:1/-1;margin-top:14px}
.fb-h{font-size:clamp(1.1rem,3vw,1.35rem);font-weight:700;color:var(--ink);margin-bottom:.3rem}
.fb-lead{color:var(--muted);font-size:.95rem;line-height:1.7;margin-bottom:1rem;max-width:62ch}
.fb-group{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
	padding:clamp(12px,3vw,18px);margin-bottom:14px}
.fb-group-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:.5rem .7rem;margin-bottom:.9rem}
.fb-area{font-size:1.05rem;font-weight:700;margin:0}
.fb-area a{color:var(--brand-700)}
@media (hover:hover){.fb-area a:hover{text-decoration:underline}}
.fb-km{font-size:.82rem;font-weight:700;color:var(--brand-700);background:var(--brand-50);
	border:1px solid var(--brand-100);border-radius:999px;padding:.1rem .55rem}
.fb-count{font-size:.82rem;color:var(--muted)}
/* The nested grid must not inherit the outer grid's row gap twice over. */
.fb-cards{gap:12px}
.fb-more{margin-top:.9rem}
/* No card-in-card on a phone: each nearby area becomes a section header (name, km, count over a
   rule) above full-width doctor cards, instead of a bordered panel around bordered cards. */
@media (max-width:699px){
	.fb-group{background:none;border:0;border-radius:0;padding:0;margin-bottom:22px}
	.fb-group-head{padding-bottom:.6rem;border-bottom:1px solid var(--line);margin-bottom:.8rem}
	/* The area name is a link: a full touch target, not a 17px line of text. */
	.fb-area a{display:inline-flex;align-items:center;min-height:var(--tap)}
	.fb-group-head{align-items:center}
}
.fb-chips{margin-top:.4rem}
.fb-sub{font-size:.95rem;font-weight:700;color:var(--body);margin-bottom:.5rem}
.fb-all{margin-top:1.1rem}
/* Count badge inside a suggestion chip: it is what makes the chip a promise rather than a guess. */
.chip-n{display:inline-block;margin-inline-start:.35rem;font-size:.72rem;font-weight:700;
	color:var(--body);background:var(--line-2);border-radius:999px;padding:0 .35rem;min-width:1.2em;text-align:center}
.chip.on .chip-n,.chip-active .chip-n{background:rgba(255,255,255,.22);color:inherit}
:root[data-theme="dark"] .chip-n{background:var(--line);color:var(--body)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .chip-n{background:var(--line);color:var(--body)}}

/* --- Pagination ------------------------------------------------------------ */
.pager{display:flex;flex-wrap:wrap;gap:.35rem;justify-content:center;margin-top:1.6rem}
.pager .page-numbers{display:inline-grid;place-items:center;min-width:44px;min-height:44px;padding-inline:.5rem;
	border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--body);font-weight:700;font-size:.92rem}
@media (hover:hover){.pager .page-numbers:hover{border-color:var(--brand);color:var(--brand-700)}}
.pager a.page-numbers:active{background:var(--hover)}
.pager .page-numbers.current{background:var(--brand);border-color:var(--brand);color:#fff}
:root[data-theme="dark"] .pager .page-numbers.current{color:var(--gold-ink)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .pager .page-numbers.current{color:var(--gold-ink)}}
.pager .dots{border-color:transparent;background:none}

/* --- Trailing content ------------------------------------------------------ */
.intro-panel{margin-top:2rem;max-width:820px;color:var(--body);line-height:1.9}
.intro-wrap{max-width:820px}
/* Phone: four lines behind "اقرأ المزيد" (giza-search.js adds .is-clamped only when the text
   actually overflows; the copy always stays in the DOM). */
@media (max-width:699px){
	.intro-panel{line-height:1.8}
	/* The fade is an overlay in the card colour, not a mask: a mask faded the panel's own border
	   and background away with the text. */
	.intro-panel.is-clamped{position:relative;max-height:calc(4 * 1.8em + 34px);overflow:hidden}
	.intro-panel.is-clamped::after{content:"";position:absolute;inset-inline:0;bottom:0;height:3em;pointer-events:none;
		background:linear-gradient(rgba(255,255,255,0),var(--card) 85%)}
}
.intro-more{display:inline-flex;align-items:center;min-height:var(--tap);margin-top:.25rem;padding:0 .25rem;border:0;background:none;
	font:inherit;font-size:var(--fs-small);font-weight:700;color:var(--brand-700);text-decoration:underline;cursor:pointer}
.intro-more[hidden]{display:none}
.link-mesh,.faq-block{margin-top:2rem}
.h-sub{font-size:1.15rem;margin-bottom:.7rem}
.faq-block .panel{margin-top:.7rem}
.faq-block summary{cursor:pointer;font-weight:700;color:var(--ink);min-height:44px;display:flex;align-items:center}
.faq-block p{margin-top:.5rem;color:var(--body)}

/* --- Autocomplete (ARIA 1.2 combobox) -------------------------------------- */
.giza-ac{position:absolute;inset-inline:0;top:calc(100% + 6px);z-index:60;background:var(--card);
	border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);
	max-height:min(60vh,400px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;display:none;padding-block:4px}
.giza-ac.open{display:block}
.giza-ac .ac-group{padding:.45rem .85rem .25rem;font-size:.72rem;font-weight:700;letter-spacing:.03em;
	text-transform:uppercase;color:var(--muted)}
.giza-ac [role="option"]{display:flex;align-items:center;gap:.55rem;min-height:48px;padding:.45rem .85rem;
	color:var(--ink);cursor:pointer;font-size:.95rem}
.giza-ac [role="option"]:hover,.giza-ac [role="option"].active{background:var(--brand-50);color:var(--brand-700)}
.giza-ac .ac-ic{flex:0 0 auto;width:22px;height:22px;display:grid;place-items:center;color:var(--brand);opacity:.8}
.giza-ac .ac-ic svg{width:17px;height:17px}
.giza-ac .ac-gloss{color:var(--muted);font-size:.82rem;margin-inline-start:.2rem}
.giza-ac .ac-state{padding:.9rem;color:var(--muted);font-size:.9rem;text-align:center}

/* --- Desktop --------------------------------------------------------------- */
@media (min-width:700px){
	.g-doc{grid-template-columns:repeat(2,1fr)}
}
@media (min-width:1024px){
	.results{grid-template-columns:272px minmax(0,1fr);gap:28px}
	.g-doc{grid-template-columns:repeat(2,1fr)}
	/* The panel stops being a dialog and becomes a persistent rail. `display` is
	   forced because a <dialog> without [open] is display:none in the UA sheet. */
	.filters,.filters:not([open]){display:flex!important;position:static;flex-direction:column;
		max-height:none;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
		box-shadow:none;animation:none;inset:auto;
		/* The UA sheet gives dialog `width:fit-content` + `margin:auto`; as a static rail
		   that shrink-wrapped the panel and floated it inside its own grid column. */
		width:100%;max-width:none;margin:0;padding:0}
	.filters::backdrop{background:none}
	/* Scoped to THIS panel: the share dialog reuses .filters-head/.filters-x, and the bare
	   selector removed its only close button on desktop. */
	.filters .filters-head,.filters .filters-x{display:none}
	.filters-body{overflow:visible;padding:6px 16px}
	.filters-foot{position:sticky;bottom:0;border-top:1px solid var(--line-2)}
	/* With nothing clearable the foot's only child is the (hidden) "show results" button, which
	   left an empty sticky bar slicing the rail's "show more" in half. */
	.filters-foot:not(:has(.btn-ghost)){display:none}
	.filters-foot .btn-primary{display:none}   /* links apply instantly on desktop */
	.filters-foot .btn-ghost{flex:1}
	.sb-filters{display:none}
	.search-bar-in{max-width:760px;margin-inline:auto}
}
/* Two columns is the ceiling until there is genuinely room for a third: beside the
   272px filter rail, three cards inside a 1180px wrap are ~270px each, which wraps
   the fee, the title and the CTA labels. */
@media (min-width:1560px){.g-doc{grid-template-columns:repeat(3,1fr)}}

.hero-rail{margin-top:.85rem;padding-bottom:.2rem}
.hero-content,.hero-grid>*,.hero .gz-hs{min-width:0}
.hero-rail .qchip{background:rgba(255,255,255,.72);backdrop-filter:blur(4px)}
:root[data-theme="dark"] .hero-rail .qchip{background:rgba(22,31,40,.72)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .hero-rail .qchip{background:rgba(22,31,40,.72)}}
/* Sprite references inherit their size from the rule that draws them; give <use>
   a sane default so an un-sized icon never collapses to 0x0. */
.doc-place svg{width:16px;height:16px}
.doc-stats svg{width:16px;height:16px}
.doc-actions .btn svg{width:18px;height:18px}

/* --- No-JS fallbacks for the filter panel and sort ------------------------------------
   The panel trigger is an <a href="#giza-filters">. With JS the script cancels that and
   opens the real dialog; without it the browser jumps to the fragment and this :target
   rule opens the same panel. `display` needs !important to beat the UA's
   `dialog:not([open]){display:none}`. */
@media (max-width:1023px){
	.filters:target{display:flex!important;position:fixed;inset:auto 0 0 0;width:100%;max-height:88dvh;
		flex-direction:column;background:var(--card);border-radius:var(--radius-lg) var(--radius-lg) 0 0;
		box-shadow:0 -8px 40px rgba(0,0,0,.25);z-index:80;margin:0;max-width:none;padding:0}
	/* Dim the page behind the :target panel — showModal()'s ::backdrop does not apply here. */
	.filters:target::before{content:"";position:fixed;inset:0;background:rgba(15,27,38,.5);z-index:-1}
}
/* showModal() does not lock background scrolling. This has to sit on the ROOT element, not on
   <body>: html{overflow-x:clip} above means html is the element whose overflow propagates to the
   viewport, so body's own overflow is simply not consulted and `body:has(...)` locked nothing —
   the page kept scrolling behind the open filter sheet and share sheet. */
:root:has(dialog[open]){overflow:hidden}
/* The sort submit button exists only for the no-JS path. */
.results-toolbar.js-on .sort-go{display:none}

/* --- Results chrome on scroll (phones/tablets) -------------------------------
   giza-search.js puts :root.gz-navfx on listing routes and toggles :root.gz-nav-hidden while
   scrolling down: the header slides away and the results bar pins at top:0, giving back ~68px
   of a 844px screen. :root-qualified so it outranks the later HOME .gz-sb rules. */
@media (max-width:1023px){
	:root.gz-navfx .nav{transition:transform var(--dur-2) var(--ease),box-shadow .3s ease}
	:root.gz-navfx .gz-sb{transition:top var(--dur-2) var(--ease)}
	:root.gz-nav-hidden .nav{transform:translateY(-100%)}
	:root.gz-nav-hidden .gz-sb{top:0}
	:root.gz-nav-hidden{scroll-padding-block-start:96px}
}
@media (prefers-reduced-motion:reduce){:root.gz-navfx .nav,:root.gz-navfx .gz-sb{transition:none}}

/* --- Instant feedback while the next page loads --------------------------------
   Every filter, sort and page link is a navigation; on a slow connection the tap must still
   answer at once: the tapped control dims, the grid fades back and a 2px gold bar runs along
   the bottom edge of the results bar. Cleared on pageshow (bfcache). */
:is(.qchip,.fopt,.chip-active,.chip-clear,.chip,.fb-more,.filters-foot .btn,.pager a,[data-giza-sort]).is-pending{opacity:.6}
.qchip.is-pending,.chip-active.is-pending,.fopt.is-pending{border-color:var(--brand)}
:root.giza-nav .g-doc,:root.giza-nav .pager{opacity:.55;transition:opacity var(--dur-1)}
.gz-sb::after{content:"";position:absolute;inset-inline:0;bottom:-1px;height:2px;background:var(--gold);
	transform:scaleX(0);transform-origin:var(--gz-bar-o,right);opacity:0;pointer-events:none}
[dir="ltr"] .gz-sb{--gz-bar-o:left}
:root.giza-nav .gz-sb::after{opacity:1;animation:gz-navbar 2.4s cubic-bezier(.1,.7,.2,1) forwards}
@keyframes gz-navbar{from{transform:scaleX(.05)}to{transform:scaleX(.9)}}
@media (prefers-reduced-motion:reduce){
	:root.giza-nav .gz-sb::after{animation:none;transform:none;opacity:.7}
	:root.giza-nav .g-doc,:root.giza-nav .pager{transition:none}
}

/* ============================================================================
   BLOG / ARTICLES
   Appended last on purpose — this file is cascade-ordered and later wins, so a
   fresh .post-* namespace never has to fight the doctor-card rules above it.
   Every value is a design token, so dark mode needs no second block here.
   ============================================================================ */

/* Safety floor for every sprite icon. An <svg> containing only a <use> has NO
   intrinsic size: with no rule matching at all it renders at the replaced-element
   default of 300x150. Specificity 0,1,0 so every existing per-context rule
   (.doc-actions .btn svg, .post-share-b svg, …) still wins. */
.gi{width:1.15em;height:1.15em;flex:0 0 auto;vertical-align:-.15em}

/* --- Hub + archive chrome -------------------------------------------------- */
.sec-blog{padding-top:20px}
.post-hub-head{margin-bottom:1.1rem;max-width:70ch}
.post-eyebrow{display:block;color:var(--brand);font-weight:700;font-size:.82rem;letter-spacing:.02em;margin-bottom:.3rem}
[dir="rtl"] .post-eyebrow{letter-spacing:0}
.post-count{color:var(--muted);font-size:.9rem;margin-top:.5rem}
.post-topics{margin-block:.4rem 1.6rem}
.post-topics .qchip small{opacity:.6;font-weight:600;margin-inline-start:.3rem}
.post-empty{grid-column:1/-1;text-align:center;color:var(--muted);padding:34px 20px}
.post-empty .btn{margin-top:.8rem}

/* --- Article card ---------------------------------------------------------- */
/* Own grid + own intrinsic size. .g-doc's 260px is tuned for a doctor card and
   would make the scrollbar jump as 16:9 image cards resolve. */
.g-post{display:grid;grid-template-columns:1fr;gap:18px}
.post-card{position:relative;display:flex;flex-direction:column;background:var(--card);
	border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
	transition:box-shadow .2s,transform .2s,border-color .2s;
	content-visibility:auto;contain-intrinsic-size:auto 360px}
/* The hero card is its own child of .post-hero, so the :nth-of-type guard below cannot reach
   it — and it is the one card rendered with fetchpriority=high. */
.post-hero>.post-card,.g-post>.post-card:nth-of-type(-n+3){content-visibility:visible}
@media (hover:hover){.post-card:hover{box-shadow:var(--shadow);transform:translateY(-2px);border-color:var(--brand-100)}}
@media (prefers-reduced-motion:reduce){.post-card{transition:none}.post-card:hover{transform:none}}
.post-card-media{display:block;line-height:0;background:var(--brand-50);aspect-ratio:16/9;overflow:hidden}
.post-card-media img{width:100%;height:100%;object-fit:cover}
.post-card-ph{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.55rem;
	width:100%;height:100%;color:hsl(var(--ph-h,30) 45% 34%);
	background:linear-gradient(135deg,hsl(var(--ph-h,30) 55% 94%),hsl(calc(var(--ph-h,30) + 30) 55% 87%))}
/* The two hsl() values above are the ONLY non-token colours in this block, because the hue is
   derived per-article. They therefore need explicit dark-mode pairs — without them a card with
   no featured image is a 16:9 near-white panel on a #0e161e page. */
:root[data-theme="dark"] .post-card-ph{color:hsl(var(--ph-h,30) 55% 80%);
	background:linear-gradient(135deg,hsl(var(--ph-h,30) 30% 21%),hsl(calc(var(--ph-h,30) + 30) 32% 15%))}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .post-card-ph{color:hsl(var(--ph-h,30) 55% 80%);
	background:linear-gradient(135deg,hsl(var(--ph-h,30) 30% 21%),hsl(calc(var(--ph-h,30) + 30) 32% 15%))}}
/* The topic glyph sits in a soft disc; the caption names the topic it stands for. */
.post-card-ph-ic{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;
	background:hsl(0 0% 100% / .55)}
.post-card-ph-ic svg{width:40px;height:40px}
:root[data-theme="dark"] .post-card-ph-ic{background:hsl(0 0% 100% / .07)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .post-card-ph-ic{background:hsl(0 0% 100% / .07)}}
.post-card-ph-t{font-size:var(--fs-small);font-weight:700;line-height:1.2}
.post-card-body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:.45rem;flex:1}
.post-card-title{font-size:1.08rem;font-weight:700;line-height:1.45;color:var(--ink)}
.post-card-title a{color:inherit;display:inline-block;padding-block:2px}
@media (hover:hover){.post-card-title a:hover{color:var(--brand-700)}}
.post-card-ex{color:var(--body);font-size:.93rem;line-height:1.7;margin:0}
.post-card-foot{margin-top:auto;padding-top:.5rem;display:flex;flex-wrap:wrap;align-items:center;
	gap:.5rem;font-size:.82rem;color:var(--muted)}
/* A bidi-neutral separator glyph reorders at an RTL/LTR boundary; a pseudo-element
   is not part of either neighbour's bidi run. */
.post-card-foot>span:not(:last-child):not(:nth-last-child(2):has(+.post-badge-rev))::after,.post-meta>span:not(.post-by):not(.giza-ltr):not(:last-child)::after{content:"·";margin-inline-start:.5rem;opacity:.5}
/* The reviewed badge is a status, not a meta item: it gets no separator and starts its own
   row, so a wrapped foot never ends in a dangling dot. */
.post-card-foot>.post-badge-rev{flex-basis:100%}
.post-badge-rev{display:inline-flex;align-items:center;gap:.25rem;color:var(--ok);font-weight:700}
.post-badge-rev svg,.post-meta svg{width:14px;height:14px}
.post-card--wide .post-card-title{font-size:clamp(1.2rem,2.6vw,1.55rem)}
.post-card--wide .post-card-ex{font-size:1rem}
.post-hero{margin-bottom:1.8rem}

.post-pill{align-self:flex-start;display:inline-block;padding:.2rem .6rem;border-radius:999px;
	background:var(--brand-50);color:var(--brand-700);border:1px solid var(--brand-100);
	font-size:.76rem;font-weight:700;line-height:1.6}
@media (hover:hover){.post-pill:hover{background:var(--brand-100)}}
/* The topic pill is ~30px tall: on phones an invisible hit area takes it to 44px (.tap-x). */
@media (max-width:760px){.post-pill{position:relative}.post-pill::after{content:"";position:absolute;inset:-7px -2px}}

/* --- Two-column shell ------------------------------------------------------ */
/* minmax(0,1fr), never a bare 1fr: min-width:auto lets a wide table or <pre>
   blow the column out. */
.post-cols{display:grid;grid-template-columns:minmax(0,1fr);gap:26px}
.post-aside{display:flex;flex-direction:column;gap:16px;min-width:0}
.post-rail p{color:var(--body);font-size:.93rem;line-height:1.7;margin-bottom:.8rem}
.post-mini-list{list-style:none;margin:0;padding:0;counter-reset:none}
.post-mini{display:flex;gap:.7rem;padding:.6rem 0;border-bottom:1px solid var(--line-2)}
.post-mini:last-child{border-bottom:0;padding-bottom:0}
.post-mini-n{flex:0 0 auto;width:22px;height:22px;border-radius:7px;display:grid;place-items:center;
	background:var(--brand-50);color:var(--brand-700);font-weight:700;font-size:.75rem;
	font-variant-numeric:tabular-nums}
.post-mini a{display:block;font-size:.92rem;font-weight:700;line-height:1.5;color:var(--ink)}
@media (hover:hover){.post-mini a:hover{color:var(--brand-700)}}
.post-mini small{display:block;font-weight:500;color:var(--muted);font-size:.78rem;margin-top:.15rem}

/* --- Article page ---------------------------------------------------------- */
.sec-article{padding-top:20px}
.post-head{max-width:760px;margin-bottom:1.2rem}
/* .h-sec is 24px at 360px — too small for an article h1. */
.post-h1{font-size:clamp(1.65rem,4.6vw,2.5rem);line-height:1.3;margin:.5rem 0 .7rem}
.post-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem;color:var(--muted);font-size:.86rem}
.post-meta>span{display:inline-flex;align-items:center;gap:.3rem}
/* Bylines: their own wrapping row above the dotted date/read-time row. Each byline is one link
   (avatar + label + name) with a 44px-tall hit area. */
.post-authors{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem 1rem;margin-bottom:.35rem}
.post-by{display:inline-flex;align-items:center;gap:.5rem;min-height:44px;color:var(--muted);font-size:.9rem;
	border-radius:999px;padding-inline-end:.35rem}
.post-by img{width:32px;height:32px;border-radius:50%;object-fit:cover;background:var(--brand-50);flex:0 0 auto}
.post-by-n{color:var(--ink);font-weight:700}
.post-by--team .post-by-n a{color:inherit;text-decoration:underline;text-underline-offset:3px}
@media (hover:hover){.post-by:hover .post-by-n{color:var(--brand-700);text-decoration:underline;text-underline-offset:.2em}}
.post-hero-img{margin:0 0 1.6rem;border-radius:var(--radius);overflow:hidden;background:var(--brand-50)}
.post-hero-img img{width:100%;height:auto}
.post-main{min-width:0}

.post-takeaways{background:var(--brand-50);border:1px solid var(--brand-100);
	border-radius:var(--radius);padding:16px 18px;margin-bottom:1.6rem}
.post-takeaways h2{font-size:1rem;color:var(--brand-700);margin-bottom:.6rem}
.post-takeaways ul{list-style:none;margin:0;padding:0;display:grid;gap:.5rem}
.post-takeaways li{display:flex;gap:.55rem;align-items:flex-start;color:var(--ink);
	font-size:.95rem;line-height:1.65}
.post-takeaways svg{flex:0 0 auto;width:17px;height:17px;margin-top:.22rem;color:var(--brand)}

/* --- Long-form body -------------------------------------------------------- */
/* the_content() is author-controlled HTML, so every element it can emit is styled
   explicitly. Four global rules further up are undone here: h1-h4{margin:0} (:57),
   p{margin:0} (:58), a{text-decoration:none} (:55) and the img rule (:56).
   NEVER put content-visibility on this element — skipped content has no measurable
   heading offsets, which silently kills the TOC scroll-spy and #anchors. */
.post-body{font-size:1.0625rem;line-height:1.9;color:var(--body);max-width:74ch}
.post-body>:first-child{margin-block-start:0}
.post-body p{margin-block:0 1.15em}
.post-body h2{font-size:clamp(1.28rem,3.9vw,1.6rem);margin-block:1.9em .5em;line-height:1.4}
.post-body h3{font-size:clamp(1.1rem,3.2vw,1.26rem);margin-block:1.55em .42em;line-height:1.45}
.post-body h4{font-size:1.02rem;margin-block:1.3em .4em;line-height:1.5}
/* Tighten Latin only: :lang(ar){letter-spacing:0} (:583) is specificity 0,1,0 and
   would lose to .post-body h2, re-breaking Arabic cursive joining. */
[dir="ltr"] .post-body h2,[dir="ltr"] .post-body h3{letter-spacing:-.012em}
/* No scroll-margin here: html{scroll-padding-block-start:88px} (above) already clears the
   sticky nav, and the two ADD — together they parked every anchored heading 172px down the
   viewport with a band of blank space above it. One source of truth. */
/* :where(:not(.btn)) keeps the specificity at 0,1,1 while letting a button inside prose (the
   pricing CTAs) keep its own ink — this rule painted them gold-on-gold in dark mode. */
.post-body a:where(:not(.btn)){color:var(--brand-700);text-decoration:underline;text-underline-offset:.22em;
	text-decoration-thickness:from-font}
@media (hover:hover){.post-body a:where(:not(.btn)):hover{color:var(--brand);text-decoration-thickness:2px}}
.post-body strong,.post-body b{color:var(--ink);font-weight:700}
.post-body ul,.post-body ol{margin-block:1.15em;padding-inline-start:1.5em;padding-inline-end:0}
.post-body ul{list-style:disc}
.post-body ol{list-style:decimal}  /* decimal, not arabic-indic — see giza_num() */
.post-body li{margin-block:.42em}
.post-body li::marker{color:var(--brand)}
.post-body li>ul,.post-body li>ol{margin-block:.42em}
.post-body blockquote{margin-block:1.7em;margin-inline:0;padding:.95rem 1.15rem;background:var(--bg);
	border:1px solid var(--line);border-inline-start:4px solid var(--brand);
	border-radius:var(--radius-sm);color:var(--ink);line-height:1.85}
.post-body blockquote p{margin-block:0}
.post-body blockquote p+p{margin-block-start:.7em}
/* height:auto again at this depth: an inline height attribute on a wide content
   image otherwise survives max-width and renders squashed. */
.post-body img{height:auto;border-radius:var(--radius-sm);margin-block:1.5em}
.post-body figure{margin-block:1.7em;margin-inline:0}
.post-body figure img{margin-block:0}
.post-body figcaption{margin-block-start:.55rem;font-size:.86rem;color:var(--muted);
	line-height:1.6;text-align:start}
/* Bidi isolation for Latin runs inside Arabic sentences — drug names, dosages, lab
   values. Same reasoning as .giza-ltr (:581). */
.post-body bdi,.post-body code,.post-body kbd,.post-body samp,.post-body abbr[title]{unicode-bidi:isolate}
.post-body code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.9em;
	background:var(--bg);border:1px solid var(--line-2);border-radius:6px;padding:.1em .38em;direction:ltr}
.post-body pre{margin-block:1.6em;padding:1rem;background:var(--bg);border:1px solid var(--line);
	border-radius:var(--radius-sm);overflow-x:auto;direction:ltr;text-align:left;font-size:.88rem;line-height:1.7}
.post-body pre code{background:none;border:0;padding:0;font-size:1em}
.post-body hr{margin-block:2.2em;border:0;border-top:1px solid var(--line)}
.post-body sup{font-size:.72em;line-height:0;vertical-align:super}
.post-body mark{background:var(--brand-100);color:var(--ink);padding:.05em .2em;border-radius:4px}
/* An iframe keeps its width/height ATTRIBUTES, so max-width alone squashes a 560x315 embed to
   320x315 — and the core block CSS that used to make embeds responsive is dequeued. A video
   derives its ratio from its own attributes, so height:auto is enough there. */
.post-body iframe{max-width:100%;width:100%;aspect-ratio:16/9;height:auto;border-radius:var(--radius-sm)}
.post-body video{max-width:100%;height:auto;border-radius:var(--radius-sm)}
/* display:block on a <table> destroys cell width distribution, so the wrapper is
   injected around it instead. */
.post-scroll{margin-block:1.7em;overflow-x:auto;overscroll-behavior-inline:contain;
	border:1px solid var(--line);border-radius:var(--radius-sm)}
.post-scroll table{width:100%;border-collapse:collapse;font-size:.94em;min-width:min(100%,420px)}
.post-scroll th,.post-scroll td{padding:.6rem .75rem;text-align:start;
	border-bottom:1px solid var(--line-2);vertical-align:top}
.post-scroll th{background:var(--bg);color:var(--ink);font-weight:700;font-size:.9em;white-space:nowrap}
.post-scroll tr:last-child td{border-bottom:0}

/* Author-marked pull quote with its own share link. */
.post-body .post-pull{position:relative;background:var(--brand-50);border-color:var(--brand-100);
	border-inline-start-color:var(--brand);font-size:1.1em;font-weight:600;padding-block-start:2.1rem}
/* Decorative opening mark; the empty alt text keeps it out of the accessible name. */
.post-body .post-pull::before{content:"”" / "";position:absolute;inset-block-start:.55rem;inset-inline-start:1rem;
	font-size:2.4rem;line-height:1;font-weight:800;color:var(--brand);opacity:.55}
[dir="ltr"] .post-body .post-pull::before{content:"“" / ""}
/* Prefixed with .post-body: this link is INSIDE the article body, so a bare .post-pull-share
   (0,1,0) loses to .post-body a (0,1,1) and rendered as an ordinary gold underlined link. */
.post-body .post-pull-share{display:inline-flex;align-items:center;gap:.4rem;min-height:44px;
	margin-block-start:.5rem;font-size:.84rem;font-weight:700;color:var(--ok);text-decoration:none}
@media (hover:hover){.post-body .post-pull-share:hover{color:var(--ok);text-decoration:underline}}
.post-pull-share svg{width:17px;height:17px}

/* --- TOC ------------------------------------------------------------------- */
.post-toc{margin-block:1.4rem}
.post-toc-d{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:12px 16px}
.post-toc-d>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:.5rem;
	min-height:44px;font-weight:700;color:var(--ink);font-size:.98rem}
.post-toc-d>summary::-webkit-details-marker{display:none}
/* Physical borders on purpose — an L of right+bottom rotated 45deg points DOWN in
   either writing direction; logical borders flip under RTL and point the wrong way. */
.post-toc-d>summary::after{content:"";margin-inline-start:auto;width:9px;height:9px;flex:0 0 auto;
	border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);
	transform:rotate(45deg);margin-block-end:3px;transition:transform .2s}
.post-toc-d[open]>summary::after{transform:rotate(-135deg);margin-block:3px 0}
.post-toc-list{list-style:none;margin:.3rem 0 0;padding:0}
.post-toc-list a{display:block;min-height:44px;padding:.5rem .1rem;padding-inline-start:.7rem;
	font-size:.9rem;line-height:1.5;color:var(--body);border-inline-start:2px solid transparent}
@media (hover:hover){.post-toc-list a:hover{color:var(--brand-700)}}
.post-toc-list a.is-cur{color:var(--brand-700);font-weight:700;border-inline-start-color:var(--brand)}
.post-toc-l3 a{padding-inline-start:1.6rem;font-size:.86rem;color:var(--muted)}
.post-toc-desktop{display:none}

/* --- Share kit ------------------------------------------------------------- */
.post-share{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem;margin-block:1.2rem}
.post-share-lbl{font-size:.84rem;font-weight:700;color:var(--muted);margin-inline-end:.15rem}
/* 44px is the target size the rest of this file enforces. Not .btn — that carries
   pill padding and white-space:nowrap. */
.post-share-b{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:12px;
	background:var(--card);border:1px solid var(--line);color:var(--body);
	transition:border-color .15s,color .15s,transform .12s}
@media (hover:hover){.post-share-b:hover{border-color:var(--brand);color:var(--brand-700)}}
.post-share-b:active{transform:scale(.94)}
/* Load-bearing: a <use> reference with no explicit size renders 0x0. */
.post-share-b svg{width:20px;height:20px}
/* [hidden] only sets display:none in the UA sheet, which any author `display` overrides — so
   the native-share button shipped visible and inert on every browser without navigator.share. */
.post-share-b[hidden]{display:none}
.post-share-whatsapp{background:#25d366;border-color:#25d366;color:#08331b}
@media (hover:hover){.post-share-whatsapp:hover{background:#1fbb59;border-color:#1fbb59;color:#08331b}}
.post-share-copy.is-done{border-color:var(--ok);color:var(--ok)}
.post-share--rail{display:none}

/* --- Trust, FAQ, sources, tags --------------------------------------------- */
.post-tags{display:flex;flex-wrap:wrap;gap:.4rem;margin-block:1.4rem}
.post-faq{margin-block:2rem}
/* Article and static-page FAQ: the .disclosure primitive (56px row, rotating chevron, marker
   hidden in all engines) inside a compact card; an open item takes the brand edge. */
.post-faq-i{margin-top:.6rem;padding:0 16px;transition:border-color var(--dur-1)}
.post-faq-i[open]{border-color:var(--brand-100)}
.post-faq-i>summary{cursor:pointer;font-weight:700;color:var(--ink);line-height:1.55;
	min-height:56px;display:flex;align-items:center;padding-block:.6rem}
.post-faq-i>p,.post-faq-a{color:var(--body);line-height:1.85;margin:0;padding-block:0 1rem}
.post-faq-a>:last-child{margin-block-end:0}
/* The static FAQ keeps its questions as h3 (document outline) inside the summary. */
.post-body .post-faq-q{font-size:1rem;margin:0;line-height:1.55;font-weight:700;color:inherit}
.post-faq-i[hidden]{display:none}
.post-sources{margin-block:2rem}
.post-sources ol{padding-inline-start:1.3em;color:var(--body);line-height:1.9;font-size:.94rem}
.post-sources a{color:var(--brand-700);text-decoration:underline;text-underline-offset:.2em}
.post-disclaimer{margin-block:1.6rem;padding:14px 16px;background:var(--bg);
	border:1px solid var(--line);border-radius:var(--radius-sm);
	color:var(--muted);font-size:.88rem;line-height:1.75}
.post-disclaimer strong{color:var(--ok)}

/* --- Author box + directory CTA -------------------------------------------- */
.post-author{display:flex;gap:16px;align-items:flex-start;margin-block:1.8rem;flex-wrap:wrap}
.post-author-ava{width:72px;height:72px;border-radius:18px;object-fit:cover;
	background:var(--brand-50);flex:0 0 auto}
.post-author-body{flex:1;min-width:220px}
.post-author-role{color:var(--brand);font-weight:700;font-size:.8rem;margin-bottom:.15rem}
.post-author-name{font-size:1.12rem;margin-bottom:.2rem}
.post-author-name a{color:var(--ink)}
@media (hover:hover){.post-author-name a:hover{color:var(--brand-700)}}
/* 44px target without 44px of layout: the negative block margin keeps the name row as tall as its text. */
@media (pointer:coarse){.post-author-name a{display:inline-flex;align-items:center;min-height:var(--tap);margin-block:-11px}}
.post-author-spec{color:var(--brand-700);font-weight:600;font-size:.92rem}
.post-author-bio{color:var(--body);font-size:.93rem;line-height:1.75;margin-top:.4rem}
/* align-items:center, not the default stretch: one unexpectedly tall child would
   otherwise stretch every sibling into a mismatched pill. */
.post-author-cta{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:.9rem}
.post-author-cta .btn svg,.post-cta .btn svg,.post-strip .btn svg{width:18px;height:18px}
.post-author-head{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:1.4rem}
.post-author-head-act{margin-top:.6rem}
/* A phone: avatar | name in one row, then the bio and a two-column button grid at full width,
   call spanning both. Every button is a 44px target. */
@media (max-width:560px){
	.post-author{display:grid;grid-template-columns:56px minmax(0,1fr);column-gap:12px;row-gap:0;align-items:start}
	.post-author-name{margin-bottom:.1rem}
	.post-author-bio{margin-top:.75rem}
	.post-author .post-author-ava{width:56px;height:56px;border-radius:14px;grid-row:1/span 3}
	.post-author-body{display:contents}
	.post-author-role,.post-author-name,.post-author-spec{grid-column:2}
	.post-author-role{align-self:end}
	.post-author-bio,.post-author-cta{grid-column:1/-1}
	.post-author-cta{display:grid;grid-template-columns:1fr 1fr;gap:8px}
	.post-author-cta .btn{min-height:var(--tap);width:100%;white-space:normal;text-align:center}
	.post-author-cta .btn-primary{grid-column:1/-1}
	/* No orphan in half a row: when the buttons after the full-width call (or all of them, with
	   no call) are an odd count, the last one spans both columns. */
	.post-author-cta>.btn-primary:first-child~.btn:last-child:nth-child(even),
	.post-author-cta>.btn:not(.btn-primary):first-child~.btn:last-child:nth-child(odd),
	.post-author-cta>.btn:only-child{grid-column:1/-1}
	.post-author-head .post-author-ava{width:64px;height:64px}
}

.post-cta{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap;
	margin-block:1.8rem;padding:22px 24px;border-radius:var(--radius-lg);
	background:linear-gradient(120deg,var(--brand-700),var(--brand));color:#fff}
.post-cta h3{color:#fff;font-size:1.16rem;margin-bottom:.3rem}
.post-cta p{color:rgba(255,255,255,.9);font-size:.95rem;line-height:1.7;max-width:52ch}
.post-cta .btn{background:#fff;color:var(--brand-700);border-color:#fff;font-weight:700}
@media (hover:hover){.post-cta .btn:hover{background:var(--brand-50)}}
/* The gradient is token-driven and INVERTS in dark mode (--brand-700 #5e4410 -> #c99a2c), so
   white-on-gradient drops to ~2:1. Flip the ink instead, the same way .qchip.is-on and
   .pager .page-numbers.current already do. */
:root[data-theme="dark"] .post-cta,:root[data-theme="dark"] .post-cta h3{color:var(--gold-ink)}
:root[data-theme="dark"] .post-cta p{color:rgba(36,26,6,.82)}
:root[data-theme="dark"] .post-cta .btn{background:var(--gold-ink);color:var(--gold);border-color:var(--gold-ink)}
@media (hover:hover){:root[data-theme="dark"] .post-cta .btn:hover{background:#000;color:var(--gold)}}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .post-cta,
	:root:not([data-theme="light"]) .post-cta h3{color:var(--gold-ink)}
	:root:not([data-theme="light"]) .post-cta p{color:rgba(36,26,6,.82)}
	:root:not([data-theme="light"]) .post-cta .btn{background:var(--gold-ink);color:var(--gold);border-color:var(--gold-ink)}}
@media (prefers-color-scheme:dark) and (hover:hover){:root:not([data-theme="light"]) .post-cta .btn:hover{background:#000;color:var(--gold)}}

.post-strip,.post-related{margin-top:2.4rem}
.post-related .h-sec{margin-bottom:1.1rem}

/* --- Reading progress ------------------------------------------------------ */
.post-progress{position:fixed;inset-inline:0;top:var(--nav-h);height:3px;z-index:49;pointer-events:none}
/* width, not transform:scaleX — scaleX is physical and fills from the left under
   RTL. A block child of an RTL parent grows from the right for free. */
.post-progress>span{display:block;height:100%;width:0;background:var(--gold)}
@media (prefers-reduced-motion:reduce){.post-progress{display:none}}

/* --- Responsive ------------------------------------------------------------ */
@media (min-width:700px){
	.g-post{grid-template-columns:repeat(2,1fr)}
	.post-card--wide{flex-direction:row;align-items:stretch}
	.post-card--wide .post-card-media{flex:0 0 46%;aspect-ratio:auto}
	.post-card--wide .post-card-body{padding:22px 24px;justify-content:center}
}
/* Tablet: the full-width inline blocks (most read after card 3, CTA after card 6) follow an odd
   card count, which left an empty cell beside cards 3 and 6. Dense packing lets the next card
   fill that cell. From 1024px the inline blocks are hidden and the grid is in DOM order again. */
@media (min-width:700px) and (max-width:1023px){.g-post{grid-auto-flow:row dense}}
@media (min-width:1024px){
	.post-cols{grid-template-columns:minmax(0,1fr) 320px}
	.post-cols--article{grid-template-columns:minmax(0,1fr) 300px}
	.g-post{grid-template-columns:repeat(2,1fr)}
	/* Full-width grids only. The hub grid sits beside a 320px aside inside a 1180px wrap, so a
	   third column there makes every card narrower, not the page wider. */
	.post-related .g-post,.post-strip .g-post{grid-template-columns:repeat(3,1fr)}
	/* Matches the .profile-cols>aside offset rather than hardcoding the nav height. */
	.post-sticky{position:sticky;top:calc(var(--nav-h) + 16px);
		max-height:calc(100dvh - var(--nav-h) - 32px);overflow-y:auto;overscroll-behavior:contain}
	.post-toc-desktop{display:block}
	.post-toc-mobile{display:none}
	/* On mobile the rail would eat ~56px of a 328px content box, and the bottom edge
	   is already contested by .botnav and .mobile-callbar. Desktop only. */
	.post-share--rail{display:flex;margin-top:1rem}
	.post-share--foot{display:none}
}

/* --- Blog on a phone: compact rows ------------------------------------------ */
/* Hub, topic and author lists become rows: an 88px thumbnail (or topic tile) at inline-start, a
   two-line title, date + read time; the excerpt is dropped. A card with no image anywhere else
   (related strip, profile strip) is a row with a 64px tile instead of a 16:9 empty panel. */
@media (max-width:699px){
	.post-card--noimg:not(.post-card--wide),.g-post--rows>.post-card{display:grid;grid-template-columns:64px minmax(0,1fr);
		gap:12px;align-items:start;padding:12px;contain-intrinsic-size:auto 112px}
	.g-post--rows{gap:10px}
	.g-post--rows>.post-card{grid-template-columns:88px minmax(0,1fr)}
	.post-card--noimg:not(.post-card--wide) .post-card-media,.g-post--rows>.post-card .post-card-media{aspect-ratio:1;
		border-radius:var(--radius-xs)}
	.post-card--noimg:not(.post-card--wide) .post-card-ph-t,.g-post--rows .post-card-ph-t{display:none}
	.post-card--noimg:not(.post-card--wide) .post-card-ph-ic,.g-post--rows .post-card-ph-ic{width:auto;height:auto;background:none}
	.post-card--noimg:not(.post-card--wide) .post-card-ph-ic svg,.g-post--rows .post-card-ph-ic svg{width:30px;height:30px}
	.post-card--noimg:not(.post-card--wide) .post-card-body,.g-post--rows>.post-card .post-card-body{padding:0;gap:.3rem;min-width:0}
	.post-card--noimg:not(.post-card--wide) .post-card-ex,.g-post--rows>.post-card .post-card-ex{display:none}
	.post-card--noimg:not(.post-card--wide) .post-card-title,.g-post--rows>.post-card .post-card-title{font-size:1rem;line-height:1.5;
		display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
	/* The link is inline-block by default (one atomic line box), which line-clamp cannot cut. */
	.post-card--noimg:not(.post-card--wide) .post-card-title a,.g-post--rows>.post-card .post-card-title a{display:inline}
	.post-card--noimg:not(.post-card--wide) .post-card-foot,.g-post--rows>.post-card .post-card-foot{padding-top:0;gap:.35rem}
}
/* Rail content placed inside the hub list on phones/tablets (blog.php). Exactly one copy is
   displayed at any width: the inline blocks below 1024px, the aside from 1024px. */
.post-inline{grid-column:1/-1;min-width:0}
@media (min-width:1024px){.post-inline{display:none}}
@media (max-width:1023px){.post-aside--hub{display:none}}
.post-inline--trend{padding-block:6px 2px}
.post-inline--trend .h-sub{margin-bottom:.55rem}
.post-trend-rail{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;
	scrollbar-width:none;margin-inline:-20px;padding:2px 20px 8px;scroll-padding-inline:20px}
.post-trend-rail::-webkit-scrollbar{display:none}
.post-trend-rail .post-mini,.post-trend-rail .post-mini:last-child{flex:0 0 min(78%,280px);scroll-snap-align:start;margin:0;
	padding:12px;border:1px solid var(--line);border-radius:var(--radius);background:var(--card)}
.post-trend-rail .post-mini a{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.post-trend-rail .post-mini small{display:block}
.post-inline--cta{display:flex;flex-direction:column;gap:12px;padding:18px;border-radius:var(--radius-lg);
	background:var(--brand-50);border:1px solid var(--brand-100)}
.post-inline--cta .h-sub{margin-bottom:.3rem}
.post-inline--cta p{color:var(--body);font-size:var(--fs-small);line-height:1.7}
.post-inline--cta .btn{align-self:flex-start}
.post-inline--cta .btn svg{width:18px;height:18px}
@media (min-width:560px){.post-inline--cta{flex-direction:row;align-items:center;justify-content:space-between}}
/* After the .post-inline--cta display rule on purpose: same specificity, so order decides. */
@media (min-width:1024px){.post-inline,.post-inline--cta{display:none}}

/* Arabic metadata floor: numeric meta and badges ≥12.8px, short labels ≥13.8px. */
:lang(ar) :is(.chip-n,.spec-block-n,.post-mini-n,.pl-flag,.spec-sub-l),:lang(ar) .post-body .pl-flag{font-size:var(--fs-meta)}
:lang(ar) :is(.post-pill,.hub-n,.post-card-foot,.post-meta){font-size:.86rem}
/* English prose: the Arabic 1.9 line-height is far too open for Latin. */
[dir="ltr"] .post-body{line-height:1.7}
[dir="ltr"] .post-body li{margin-block:.3em}

/* --- Static pages: static-page.php, doctor-terms.php, contact.php ----------- */
.sec-page{padding-top:22px}
.wrap--prose{max-width:820px}
.wrap--contact{max-width:1040px}
/* Pricing needs the full wrap for four cards; prose inside it keeps its own measure. */
.wrap--wide .post-body{max-width:none}
.wrap--wide .post-faq{max-width:820px}
.page-head{margin-bottom:1.2rem}
.page-stamp{margin-top:.5rem}
.lede{font-size:1.05rem;font-weight:600;color:var(--ink);line-height:1.8;margin-bottom:1.4rem;padding-bottom:1.2rem;
	border-bottom:1px solid var(--line)}
.page-ok{display:flex;align-items:center;gap:.4rem;color:var(--ok);font-weight:700;margin-bottom:1rem}
.page-ok svg{width:18px;height:18px}
.sec-page .pause-note{margin:0 0 1.2rem}
.pause-note-act{margin-top:.6rem}
.sp-admin{border-inline-start-color:var(--warn)}
.sp-admin>svg{width:20px;height:20px;color:var(--warn);margin-top:.15rem}
.sp-admin p{margin-top:.2rem;font-size:var(--fs-small)}
.sp-admin ul{margin:.4rem 0 0;padding-inline-start:1.1em;font-size:var(--fs-small);line-height:1.8}
.sp-roster{margin-block:0 1.15em;padding:14px 16px;background:var(--surface-2);border:1px solid var(--line);
	border-radius:var(--radius-sm);color:var(--muted)}
/* In-page contents for 4+ section pages: one closed row on a phone, open on desktop (JS). */
.sp-toc{margin-block:0 1.6rem}
.sp-toc-n{display:inline-block;min-width:1.6rem;text-align:center;color:var(--muted);font-weight:700;font-size:var(--fs-meta);
	background:var(--surface-2);border-radius:999px;padding:.05rem .45rem}
.sp-toc .post-toc-list{counter-reset:sp}
.sp-toc .post-toc-list li{counter-increment:sp;break-inside:avoid}
.sp-toc .post-toc-list a{display:flex;gap:.5rem;align-items:baseline}
.sp-toc .post-toc-list a::before{content:counter(sp);flex:0 0 1.2rem;color:var(--brand);font-weight:700;
	font-size:var(--fs-meta);font-variant-numeric:tabular-nums}
@media (min-width:760px){.sp-toc .post-toc-list{columns:2;column-gap:24px}}
.to-top{margin-block:1.4rem 0;text-align:end}
.to-top a{display:inline-flex;align-items:center;gap:.4rem;min-height:var(--tap);font-weight:700;
	font-size:var(--fs-small);color:var(--brand-700)}
.to-top-ic{width:16px;height:16px;transform:rotate(180deg)}
.related-pages{margin-top:2rem}
.related-pages-h{font-size:1.05rem;margin-bottom:.7rem}

/* FAQ page: jump chips + filter, then grouped disclosures. */
.faq-intro{margin-bottom:1.2rem}
.faq-tools{display:grid;gap:12px;margin-bottom:1.6rem}
.faq-jump{display:flex;flex-wrap:wrap;gap:.5rem}
.faq-filter{position:relative}
.faq-filter[hidden],.faq-group[hidden],.faq-none[hidden]{display:none}
.faq-filter .inp{min-height:48px;padding-inline-start:2.7rem}
.faq-filter-ic{position:absolute;inset-inline-start:.9rem;top:50%;width:20px;height:20px;margin-top:-10px;
	color:var(--muted);pointer-events:none}
.faq-group+.faq-group{margin-top:2.2rem}
.post-body .faq-group>h2{margin-block-end:.6em}
.faq-none{margin-block:1rem}

/* How it works: a numbered summary per journey, the full text below it. */
.hiw-sum{margin-block:.5em 2em;padding:18px;background:var(--surface-2);border:1px solid var(--line);border-radius:var(--radius)}
.post-body ol.steps{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.post-body .steps-i{display:grid;grid-template-columns:32px minmax(0,1fr);gap:12px;align-items:start;margin:0}
.post-body .steps-i::marker{content:none}
.steps-n{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--brand-50);
	border:1px solid var(--brand-100);color:var(--brand-700);font-weight:800;font-size:.95rem;line-height:1;
	font-variant-numeric:tabular-nums}
.post-body a.steps-t{display:inline-flex;align-items:center;min-height:var(--tap);color:var(--ink);font-weight:700;line-height:1.5;text-decoration:none;margin-block:-6px 0}
@media (hover:hover){.post-body a.steps-t:hover{color:var(--brand-700);text-decoration:underline}}
.post-body .steps-l{margin:.1rem 0 0;font-size:var(--fs-small);line-height:1.7;color:var(--muted)}
.post-body .hiw-cta{margin:1.1rem 0 0}
.hiw-cta .btn svg{width:18px;height:18px}

/* Contact page. */
.contact-cols{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;margin-top:6px}
@media (min-width:900px){.contact-cols{grid-template-columns:minmax(0,1fr) 340px;align-items:start}}
.contact-aside{display:grid;gap:14px;min-width:0}
.contact-ways-h{font-size:1.1rem;margin-bottom:.75rem}
.contact-sla{display:flex;align-items:center;gap:.5rem;padding:.6rem .75rem;border-radius:var(--radius-xs);
	background:var(--surface-2);color:var(--ink);font-weight:600;font-size:var(--fs-small)}
.contact-sla svg{width:18px;height:18px;color:var(--brand)}
.contact-rows{list-style:none;margin:.6rem 0 0;padding:0}
.contact-row{display:flex;align-items:center;gap:.6rem;min-height:52px;border-bottom:1px solid var(--line-2)}
.contact-row-ic{display:grid;place-items:center;color:var(--brand)}
.contact-row-ic svg{width:20px;height:20px}
.contact-row-v{flex:1;min-width:0;overflow-wrap:anywhere;color:var(--ink);font-weight:700;text-align:start}
.contact-copy.is-done{color:var(--ok)}
.contact-copy .contact-copy-ok,.contact-copy.is-done .contact-copy-i{display:none}
.contact-copy.is-done .contact-copy-ok{display:block}
.contact-wa{color:var(--ok)}
.contact-links{list-style:none;margin:.6rem 0 0;padding:0}
.contact-links a{display:flex;align-items:center;gap:.7rem;min-height:52px;color:var(--ink);font-weight:600;
	border-bottom:1px solid var(--line-2)}
.contact-links li:last-child a{border-bottom:0}
.contact-links-ic{width:20px;height:20px;color:var(--brand)}
.contact-links-chev{margin-inline-start:auto;width:16px;height:16px;color:var(--muted)}
@media (hover:hover){.contact-links a:hover{color:var(--brand-700)}}
.contact-emg{display:flex;gap:.5rem;align-items:flex-start;margin-top:.6rem;padding-top:.9rem;border-top:1px solid var(--line);
	font-size:var(--fs-small);line-height:1.7;color:var(--body)}
.contact-emg>svg{width:18px;height:18px;margin-top:.2rem;color:var(--err-ink)}
.contact-emg a{position:relative;color:var(--err-ink);font-weight:700;text-decoration:underline;text-underline-offset:.2em}
.contact-emg a::after{content:"";position:absolute;inset:-12px -8px}
/* An email/phone is typed LTR but sits flush with the Arabic labels above it. */
[dir="rtl"] .giza-form .inp[dir="ltr"]{text-align:right}
.contact-about p{color:var(--body);font-size:var(--fs-small);line-height:1.75}
.contact-about .contact-about-note{color:var(--muted);margin-top:.6rem}
.contact-del-hint{display:flex;gap:.45rem;align-items:flex-start;margin-top:-.3rem}
.contact-del-hint[hidden]{display:none}
.contact-del-hint>svg{width:16px;height:16px;margin-top:.3rem;color:var(--brand)}
.contact-del-hint a{color:var(--brand-700);text-decoration:underline;text-underline-offset:.2em}
.contact-send{align-self:flex-start;min-width:12rem}
@media (max-width:559px){.contact-send{align-self:stretch}}
@media (pointer:coarse){#giza-contact-form .inp,.contact-send{min-height:var(--tap)}}
/* Form status line (role=status). Token-driven so it follows the theme. */
.form-msg{display:flex;align-items:flex-start;gap:.5rem;padding:.65rem .8rem;border-radius:var(--radius-xs);
	border:1px solid transparent;font-size:var(--fs-small);font-weight:600;line-height:1.6}
/* Empty: visually gone and out of flow (so the form's gap does not count it), but still in the
   accessibility tree — a live region that is display:none until it has text is announced
   unreliably by JAWS and VoiceOver. */
.form-msg:empty{position:absolute;width:1px;height:1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.form-msg>svg{width:18px;height:18px;margin-top:.15rem}
.form-msg.is-err{color:var(--danger-ink);background:var(--danger-bg);border-color:var(--danger-line)}
.form-msg.is-ok{color:var(--ok);background:var(--ok-bg);border-color:currentColor}

/* ============================================================================
   SHARE SHEET
   A native <dialog>, cloned from the filter panel above: focus trap, ::backdrop,
   Esc-to-close and background inerting come free, and `:root:has(dialog[open])`
   (already defined) locks scrolling with no JS. Appended last on purpose — this
   file is cascade-ordered, so `.shnet` never has to fight `.btn`.
   ========================================================================= */

/* Mobile call-bar opener. Deliberately NOT a .btn: `.mobile-callbar .btn{flex:1}`
   would hand it an equal third of the bar and squeeze the two conversion CTAs.
   Fixed 48px keeps Call and WhatsApp at ~128px each on a 360px screen. */
.callbar-share{flex:0 0 48px;width:48px;height:48px;display:inline-grid;place-items:center;
	border-radius:12px;background:var(--bg);border:1px solid var(--line);color:var(--body)}
@media (hover:hover){.callbar-share:hover{border-color:var(--brand);color:var(--brand)}}
.callbar-share:active{transform:scale(.94)}
.callbar-share svg{width:22px;height:22px}

.share-chip{gap:.4rem}
.share-chip svg{width:17px;height:17px}

.shsheet{border:0;padding:0;background:transparent;max-width:none;max-height:none;color:inherit}
.shsheet:not([open]){display:none}
.shsheet::backdrop{background:rgba(15,27,38,.5)}
.shsheet[open]{position:fixed;inset:auto 0 0 0;width:100%;max-height:88dvh;display:flex;
	flex-direction:column;background:var(--card);border-radius:var(--radius-lg) var(--radius-lg) 0 0;
	box-shadow:0 -8px 40px rgba(0,0,0,.25);animation:giza-sheet .24s cubic-bezier(.16,1,.3,1)}
@media (prefers-reduced-motion:reduce){.shsheet[open]{animation:none}}

.shsheet-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem;
	padding-block:8px;padding-inline:18px 10px;border-bottom:1px solid var(--line);flex:0 0 auto}
.shsheet-head h2{font-size:1.05rem}
/* Grab handle: a full row of its own above the title on the bottom sheet; gone on the desktop dialog. */
.shsheet-grab{flex:none;width:36px;margin:0 calc(50% - 18px) 2px}
/* Its own close control (the .hd-ic primitive, 44px) — the borrowed .filters-x was hidden by the
   filter rail's >=1024px rule, leaving the desktop dialog with no visible close. */
.shsheet-x{color:var(--muted)}
/* `flex:1` is `flex-basis:0`, which contributes nothing to a content-sized flex
   container and collapses the sheet to its header. Same lesson as .filters-body. */
.shsheet-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;
	padding:14px 18px calc(18px + env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch}
.shsheet-sub{color:var(--muted);font-size:.9rem;margin-bottom:.9rem;
	display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* Columns follow the number of VISIBLE tiles, so no row is left with an orphan: 5 tiles (the
   usual set, native share unsupported) sit 5-up; 6 (native share shown, or Messenger configured)
   go 3+3; 7 go 4+3. The native tile is always in the DOM, hidden until JS confirms support. */
.shsheet-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem}
/* Five tiles: 5-up where they fit (the desktop dialog, wide phones); on a narrower phone a 6-track
   grid lays them out 3 + 2, the last two tiles widening to fill their row. */
.shsheet-grid:has(>:nth-child(6):last-child):has(>.shnet--native[hidden]){grid-template-columns:repeat(6,minmax(0,1fr))}
.shsheet-grid:has(>:nth-child(6):last-child):has(>.shnet--native[hidden])>.shnet{grid-column:span 2}
.shsheet-grid:has(>:nth-child(6):last-child):has(>.shnet--native[hidden])>.shnet:nth-child(n+4){grid-column:span 3}
@media (min-width:430px){
	.shsheet-grid:has(>:nth-child(6):last-child):has(>.shnet--native[hidden]){grid-template-columns:repeat(5,minmax(0,1fr))}
	.shsheet-grid:has(>:nth-child(6):last-child):has(>.shnet--native[hidden])>.shnet:nth-child(n){grid-column:auto}
}
.shsheet-grid:has(>:nth-child(7):last-child):not(:has(>.shnet--native[hidden])){grid-template-columns:repeat(4,minmax(0,1fr))}
.shnet{display:grid;place-items:center;align-content:center;gap:.35rem;min-height:78px;padding:.4rem;
	border-radius:14px;background:var(--card);border:1px solid var(--line);color:var(--body);
	font-size:.75rem;font-weight:700;text-align:center;line-height:1.2;cursor:pointer;
	transition:border-color var(--dur-1),transform var(--dur-1)}
@media (hover:hover){.shnet:hover{border-color:var(--brand)}}
.shnet:active{transform:scale(.95)}
@media (prefers-reduced-motion:reduce){.shnet{transition:none}.shnet:active{transform:none}}
.shnet svg{width:26px;height:26px}
/* Two lines, not an ellipsis: in the 5-up desktop dialog a tile is ~73px and "رسالة نصية"
   was cut to "رسالة نصـ…". It wraps at the word space; the clamp is only a safety net. */
.shnet span{max-width:100%;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;text-wrap:balance}
/* [hidden] in the UA sheet is only `display:none` and loses to ANY author display —
   the native-share button shipped visible and inert once because of exactly this. */
.shnet[hidden]{display:none}
.shnet--whatsapp{background:#25d366;border-color:#25d366;color:#08331b}
@media (hover:hover){.shnet--whatsapp:hover{background:#1fbb59;border-color:#1fbb59;color:#08331b}}
/* Brand colour on the MARK only. On the label, Telegram's #2aabee was ~2.6:1 on white and
   Facebook's #1877f2 ~4.2:1 — both under AA at this size — so the text stays --body. */
.shnet--messenger svg{color:#0084ff}
.shnet--facebook svg{color:#1877f2}
.shnet--telegram svg{color:#2aabee}
.shnet--copy.is-done{border-color:var(--ok);color:var(--ok)}

/* Link row = input group: the URL (16px — under 16px iOS zooms on focus) and an inline Copy. */
.shsheet-url{display:flex;align-items:stretch;gap:.5rem;margin-top:1rem}
.shsheet-url .inp{flex:1 1 auto;min-width:0;width:auto;font-size:16px;color:var(--muted);background:var(--surface-2);
	text-overflow:ellipsis;padding-block:.55rem}
.shsheet-copy{flex:0 0 auto;min-height:var(--tap);gap:.35rem}
.shsheet-copy .gi{width:16px;height:16px}
.shsheet-copy.is-done{border-color:var(--ok);color:var(--ok)}

/* Desktop only. The QR encoder is not even fetched below this breakpoint. */
.shsheet-qr{display:none;margin:1.1rem 0 0;text-align:center}
.shsheet-qr canvas{width:180px;height:180px;background:#fff;border-radius:12px;padding:8px;
	border:1px solid var(--line)}
.shsheet-qr figcaption{color:var(--muted);font-size:.8rem;margin-top:.5rem}

@media (min-width:1024px){
	.shsheet[open]{inset:0;margin:auto;max-width:440px;height:fit-content;max-height:86dvh;
		border-radius:var(--radius-lg);animation:none}
	.shsheet-qr{display:block}
	.shsheet-grab{display:none}
	/* Belt and braces: whatever another block does to close buttons at this width, this one shows. */
	.shsheet .shsheet-x{display:inline-grid}
}

/* The doctor-page rail sits inside .aside-sticky and is desktop-only, like the
   article rail — on mobile the sheet opener in the call bar covers this job. */
.post-share--doc{display:none}
@media (min-width:1024px){
	.post-share--doc{display:flex;margin-top:1rem;padding-top:1rem;border-top:1px solid var(--line)}
}

/* No-JS fallback, mirroring the filter panel's :target rule. `display` needs
   !important to beat the UA's `dialog:not([open]){display:none}`. */
.shsheet:target{display:flex!important;position:fixed;inset:auto 0 0 0;width:100%;max-height:88dvh;
	flex-direction:column;background:var(--card);border-radius:var(--radius-lg) var(--radius-lg) 0 0;
	box-shadow:0 -8px 40px rgba(0,0,0,.25);z-index:90;margin:0;max-width:none;padding:0}
/* showModal()'s ::backdrop does not apply to a :target-opened dialog. */
.shsheet:target::before{content:"";position:fixed;inset:0;background:rgba(15,27,38,.5);z-index:-1}
@media (min-width:1024px){
	.shsheet:target{inset:0;margin:auto;max-width:440px;height:fit-content;border-radius:var(--radius-lg)}
}

/* ============================================================================
   SHARED UTILITIES
   Appended last, like every block above: this file is cascade-ordered.
   ========================================================================= */

/* Muted small print that still has to be navigable. Reusable on purpose — the doctor page's
   trust note and the reviews-moderation-policy line are the same thing and must look the same.
   The links carry a colour AND an underline: at .82rem in --muted, colour alone is not a
   sufficient affordance, and these are the E-E-A-T trail Google is asked to follow. */
.trust-note{color:var(--muted);font-size:.82rem;line-height:1.7}
.trust-note a{color:var(--brand-700);text-decoration:underline;text-underline-offset:.2em}
.trust-note a:hover{color:var(--brand);text-decoration-thickness:2px}

/* Skip link. Clipped rather than offset — a physical `left:-9999px` in a dir="rtl" document is
   real scrollable overflow and can throw the viewport sideways (see .giza-hp for the full
   story). :focus, not :focus-visible: the only way to reach it is the keyboard.
   --gold/--gold-ink rather than --brand/#fff so it stays legible in both themes with no twin. */
/* The footer accordion trigger. `all:unset` because it lives INSIDE the h5 and must inherit
   its typography — a UA-styled button renders as a boxed control mid-heading — and the flex
   bits make it fill the heading's own 52px tap row rather than sitting inside it. */
.foot-acc{all:unset;flex:1 1 auto;align-self:stretch;display:flex;align-items:center;cursor:pointer;border-radius:6px}
/* --focus is the footer's gold (set on .footer); the radius is on the button at rest, so focusing
   it never reshapes it. On desktop the button is just the heading text and is not a control. */
.foot-acc:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}
@media (min-width:900px){.foot-acc{cursor:default}}
.skip-link{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
	clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
.skip-link:focus{position:fixed;inset-block-start:10px;inset-inline-start:10px;z-index:100;
	width:auto;height:auto;margin:0;overflow:visible;clip:auto;clip-path:none;white-space:normal;
	display:inline-flex;align-items:center;min-height:44px;padding:.6rem 1.15rem;
	background:var(--gold);color:var(--gold-ink);font-weight:700;font-size:.95rem;
	border-radius:10px;box-shadow:var(--shadow)}

/* Form feedback states. These exist so the JS can toggle a class instead of writing an inline
   hex — an inline #b91c1c does not follow the theme and cannot be overridden. */
.is-err{color:var(--warn)}
.is-ok{color:var(--ok)}
/* .cr-panel on the checkout-return page reuses .is-ok/.is-wait as BORDER tones on a whole panel.
   Restore its inherited ink so the bare state rules above cannot repaint that panel's body text. */
.cr-panel.is-ok,.cr-panel.is-wait,.cr-panel.is-bad,.cr-panel.is-muted{color:var(--body)}

/* The clinic-name heading is a link; it had no hover affordance at all. */
.branch-h a:hover{color:var(--brand-700)}

/* 404 (templates/404.php). Recovery first: search, then the two browse sets, then four exits. */
.nf{padding-block:26px 24px}
.nf-wrap{max-width:760px}
.nf-head{text-align:center;margin-bottom:1.6rem}
.nf-code{font-size:clamp(3rem,12vw,5rem);font-weight:700;line-height:1;color:var(--brand);margin:0;font-variant-numeric:tabular-nums}
.nf-title{margin-top:.4rem}
/* .sub-sec caps the measure; without auto margins the capped box sat to one side of the axis. */
.nf-head .sub-sec{margin-inline:auto}
.nf-search{max-width:520px;margin:0 auto 1.8rem}
.nf-group{margin-bottom:1.5rem}
.nf-h{font-size:1.05rem;margin-bottom:.7rem}
/* Four exits as a 2x2 grid of 48px buttons — no card around them; they are already buttons. */
.nf-acts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:1.8rem}
.nf-acts{grid-auto-rows:1fr}
.nf-acts .btn{min-height:48px;white-space:normal;text-align:center}
@media (max-width:374px){.nf-acts .btn{padding-inline:.7rem;font-size:.9rem}}
@media (min-width:700px){.nf-acts{grid-template-columns:repeat(4,minmax(0,1fr))}}
body.error404 .footer{margin-top:0}
/* The legacy .sb-* field (owned by the results block) on this one page: a 3:1 control edge instead
   of the 1.06:1 --line-2, matching radii, and one magnifier when the button goes icon-only. */
.nf .sb-field{border-color:var(--field-line);background:var(--card)}
.nf .sb-field:focus-within{border-color:var(--brand);outline:2px solid var(--focus);outline-offset:1px}
.nf .sb-go{border-radius:var(--radius-ctl);min-height:48px}
@media (max-width:560px){.nf .sb-field>svg{display:none}}

/* ==========================================================================
   NOTICE STRIP  (Giza\Notices\Notices::render)
   One admin-controlled announcement between the header and <main>. Deliberately NOT sticky —
   .nav above it already is, and archive-doctors has a sticky search bar of its own.
   ========================================================================== */
/* `--gtone` is the strip's accent and `--gtone-ink` the text that sits ON that accent. Both are
   real variables because the CTA used to say `background:currentColor;color:#fff` on one element:
   currentColor resolves against that element's OWN color, so the white it had just been given
   became its background too, and the button rendered white on white in every tone. */
.gnotice{border-block-end:1px solid var(--line);background:var(--bg);color:var(--body);
	--gtone:var(--brand-700);--gtone-ink:#fff}
/* Two cells: the message + CTA wrap freely inside the first; the dismiss button owns the second
   and stays at the top of the strip, so it can never drop onto a line of its own. */
.gnotice-in{max-width:var(--wrap,1180px);margin-inline:auto;padding:.6rem 1rem;
	display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:.5rem;font-size:.9rem;line-height:1.6}
.gnotice-body{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .75rem;min-width:0}
.gnotice-txt{margin:0;flex:1 1 260px;min-width:0}
.gnotice-cta{flex:0 0 auto;display:inline-flex;align-items:center;min-height:40px;padding:0 1rem;
	border-radius:999px;font-weight:700;font-size:var(--fs-small);text-decoration:none;
	background:var(--gtone);color:var(--gtone-ink);box-shadow:0 1px 2px rgba(16,32,52,.12)}
@media (pointer:coarse){.gnotice-cta{min-height:var(--tap)}}
@media (hover:hover){.gnotice-cta:hover{filter:brightness(1.08)}}
.gnotice-cta:focus-visible{outline-color:var(--ink)}
.gnotice-x{align-self:start;display:inline-grid;place-items:center;background:none;border:0;cursor:pointer;font-size:1.35rem;line-height:1;
	color:inherit;opacity:.7;width:44px;height:44px;padding:0;border-radius:var(--radius-ctl);margin-inline-end:-10px}
.gnotice-x .gi{width:20px;height:20px}
.gnotice-x:active{background:var(--hover)}
@media (hover:hover){.gnotice-x:hover{opacity:1}}
/* Tone sets both the strip's text colour and the CTA's fill, from the same accent. */
.gnotice--info{background:var(--brand-50);color:var(--brand-700);border-block-end-color:var(--brand-100)}
.gnotice--warn{background:var(--warn-bg);color:var(--warn);--gtone:var(--warn)}
.gnotice--danger{background:var(--danger-bg);color:var(--danger-ink);border-block-end-color:var(--danger-line);--gtone:var(--danger-ink)}
.gnotice--ok{background:var(--ok-bg);color:var(--ok);--gtone:var(--ok)}
/* var(--card), not #fff: in dark mode a literal white stop put gold text on a white half-strip. */
.gnotice--promo{background:linear-gradient(90deg,var(--brand-50),var(--card));color:var(--brand-700);
	border-block-end-color:var(--brand-100)}
/* Dark theme lightens every accent (gold, orange, mint — and now danger, which reads the tokenised
   dark pink #ff9d8f), so white-on-accent inverts to dark-on-accent for every tone. */
:root[data-theme="dark"] .gnotice{--gtone-ink:#141c24}
@media (prefers-color-scheme:dark){
	:root:not([data-theme="light"]) .gnotice{--gtone-ink:#141c24}
}
@media(max-width:600px){.gnotice-in{padding:.5rem .8rem;padding-inline-end:.8rem;font-size:var(--fs-small)}}

/* A zero-result listing has no filter rail (there is nothing to refine), so the two-column
   grid must collapse or the fallback renders in a 272px-narrower column for no reason. */
@media (min-width:1024px){.results-nofilters{grid-template-columns:minmax(0,1fr)}}

/* --- Directory hubs: /areas, /areas/{gov}, /specialties -------------------- */
/* The browse surface that replaced the home page's #specialties fragment. Card grid so a
   governorate with 14 areas and one with 2 sit on the same row without stretching. */
.sec-hub{padding-top:22px}
.hub-head{margin-bottom:1.4rem}
.hub-lede{color:var(--body);font-size:.98rem;line-height:1.8;margin-top:.5rem;max-width:70ch}
.hub-grid{display:grid;grid-template-columns:1fr;gap:14px}
@media (min-width:760px){.hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1240px){.hub-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.hub-card,.hub-area{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
	padding:clamp(14px,3vw,18px)}
/* Column flex so the "all areas" footer link sits on one baseline across a row of cards. */
.hub-card{display:flex;flex-direction:column;box-shadow:var(--shadow-sm)}
.hub-area{margin-bottom:14px}
.hub-area-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:.4rem .7rem;margin-bottom:.7rem}
.hub-area-h{font-size:1.05rem;font-weight:700;margin:0;min-width:0}
.hub-area-h a{color:var(--ink)}
@media (hover:hover){.hub-area-h a:hover{color:var(--brand-700);text-decoration:underline}}
.hub-n{font-size:.82rem;color:var(--muted);white-space:nowrap}
.hub-chips{gap:.4rem}
.hub-sub-label{font-size:.8rem;font-weight:700;color:var(--muted);margin:.8rem 0 .4rem;
	text-transform:none;letter-spacing:0}
/* .chip-quiet (a place we can name but cannot yet fill) is the foundation's muted dashed chip. */
.hub-more{display:inline-flex;align-items:center;gap:.35rem;margin-top:.9rem;font-size:.88rem;
	font-weight:700;color:var(--brand-700)}
@media (hover:hover){.hub-more:hover{text-decoration:underline}}
.hub-more-arrow{width:15px;height:15px}
html[dir="ltr"] .hub-more-arrow{transform:scaleX(-1)}
.hub-card .hub-more{margin-top:auto;padding-top:.9rem;border-top:1px solid var(--line-2);width:100%;
	justify-content:space-between;min-height:44px}
.hub-card .hub-chips{margin-bottom:.9rem}
.hub-area-head+.hub-chips,.hub-note+.hub-chips{margin-top:0}
.hub-area-h a{display:inline-flex;align-items:center;min-height:32px}
@media (pointer:coarse){.hub-area-h a{min-height:var(--tap)}}
@media (pointer:coarse){.hub-more{min-height:var(--tap)}}
/* Cross-link to the sibling hub: a full-width row card (icon, text, arrow) instead of a pill. */
.hub-cross{display:flex;align-items:center;gap:14px;margin-top:1.6rem;padding:16px 18px;min-height:72px;
	background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);
	color:var(--ink);transition:border-color var(--dur-1),box-shadow var(--dur-1)}
.hub-cross-ic{display:grid;place-items:center;flex:0 0 auto;width:44px;height:44px;border-radius:12px;
	background:var(--brand-50);color:var(--brand)}
.hub-cross-ic svg{width:22px;height:22px}
.hub-cross-t{display:flex;flex-direction:column;gap:.15rem;min-width:0;flex:1}
.hub-cross-t strong{font-size:1rem;font-weight:700}
.hub-cross-t small{font-size:var(--fs-small);color:var(--muted);line-height:1.5}
.hub-cross-arrow{flex:0 0 auto;width:20px;height:20px;color:var(--brand)}
@media (hover:hover){.hub-cross:hover{border-color:var(--brand-100);box-shadow:var(--shadow)}}
@media (prefers-reduced-motion:reduce){.hub-cross{transition:none}}
[dir="ltr"] .hub-lede{line-height:1.65}
.hub-note{color:var(--muted);font-size:.88rem;line-height:1.7;margin-bottom:.6rem}
.hub-area-thin{background:transparent;border-style:dashed}
.hub-empty{color:var(--muted);padding:2rem 0}
.hub-back{margin-top:1.4rem}

/* --- /specialties: place first, specialty second, sub-specialty third ------- */
/* The jump bar. A wrapping card on wide screens; under 760px (below) it is one 48px sticky row,
   because with the specialty blocks folded the page is long enough to need it. */
.spec-jump{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .7rem;margin-bottom:1.2rem;
	padding:.7rem .85rem;background:var(--card);border:1px solid var(--line);border-radius:var(--radius)}
.spec-jump-l{font-size:.82rem;font-weight:700;color:var(--muted);white-space:nowrap}
.spec-jump-c{margin-top:0}
/* scroll-margin, not scroll-padding on the root: the header is sticky, so a fragment target
   would otherwise land underneath it. Matches --nav-h plus the section's own breathing room. */
.spec-gov{scroll-margin-top:calc(var(--nav-h) + 14px)}
.spec-gov + .spec-gov{margin-top:14px}
.spec-grid{display:grid;grid-template-columns:1fr;gap:12px}
@media (min-width:560px){.spec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1180px){.spec-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* The specialty block sits INSIDE a .hub-area card, so it is deliberately flatter than one —
   a bordered card inside a bordered card reads as a bug. A tinted panel is enough separation. */
.spec-block{background:var(--bg);border:1px solid var(--line-2);border-radius:var(--radius-sm);
	padding:.85rem .95rem 1rem;min-width:0}
:root[data-theme="dark"] .spec-block{background:var(--line-2);border-color:var(--line)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .spec-block{background:var(--line-2);border-color:var(--line)}}
.spec-block-h{font-size:.98rem;font-weight:700;margin:0;min-width:0}
.spec-block-h a{display:flex;align-items:center;gap:.45rem;color:var(--ink);min-width:0;min-height:var(--tap)}
.spec-block-h .gi{width:20px;height:20px;color:var(--brand);flex:0 0 auto}
@media (hover:hover){.spec-block-h a:hover .spec-block-name{color:var(--brand-700);text-decoration:underline}}
/* Heading row: the specialty link (its own 44px target) and, under 760px only, a separate
   chevron button that folds the body. The button is display:none on wide screens, so the
   keyboard never meets a toggle that does nothing there. */
.spec-block-sum{display:flex;align-items:center;gap:.5rem;min-width:0}
.spec-block-sum .spec-block-h{flex:1;min-width:0}
.spec-block-tog{display:none;flex:0 0 auto;color:var(--muted)}
.spec-block-tog .gi{transition:transform var(--dur-2) var(--ease)}
.spec-block-tog[aria-expanded="true"] .gi{transform:rotate(180deg)}
@media (prefers-reduced-motion:reduce){.spec-block-tog .gi{transition:none}}
.spec-block-body{min-width:0}
@media (max-width:759px){
	/* A list of rows rather than a stack of boxes: one hairline between specialties. */
	.spec-gov .spec-block{padding:0 .25rem;background:transparent;border:0;border-bottom:1px solid var(--line-2);border-radius:0}
	.spec-gov .spec-block:last-child{border-bottom:0}
	/* The dark .spec-block fill above is 0,3,0 and would turn these rows into one grey slab. */
	:root[data-theme="dark"] .spec-gov .spec-block{background:transparent;border-color:var(--line-2)}
	@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .spec-gov .spec-block{background:transparent;border-color:var(--line-2)}}
	.spec-block-sum{min-height:50px}
	.spec-block-tog:not([hidden]){display:inline-grid;place-items:center}
	.spec-block-tog[aria-expanded="true"]{background:transparent;color:var(--brand)}
	.spec-block-h a{width:max-content;max-width:100%}
	.spec-block.is-shut>.spec-block-body{display:none}
	.spec-block:not(.is-shut)>.spec-block-body{padding-bottom:.85rem}
	.spec-block-body>.spec-sub-l:first-child{margin-top:0}
	/* One level of nesting on a phone: the governorate section loses its own card frame. */
	.spec-gov.hub-area{background:transparent;border:0;padding:0;border-radius:0}
	.spec-gov + .spec-gov{margin-top:28px;padding-top:20px;border-top:1px solid var(--line)}
	.spec-grid{gap:0}
	/* The jump bar becomes one sticky, sideways-scrolling 48px row under the header. */
	.spec-jump{position:sticky;top:var(--nav-h);z-index:5;flex-wrap:nowrap;min-height:48px;padding:4px 0;margin-inline:-20px;
		padding-inline:20px;border-radius:0;border-inline:0;overflow-x:auto;scrollbar-width:none;
		background:color-mix(in srgb,var(--bg) 92%,transparent);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
	.spec-jump::-webkit-scrollbar{display:none}
	.spec-jump-c{flex-wrap:nowrap}
	.spec-jump .chip{flex:0 0 auto;white-space:nowrap}
	.spec-gov,.spec-all{scroll-margin-top:calc(var(--nav-h) + 60px)}
	/* The nation-wide cloud shows its busiest eight; .spec-all-more reveals the rest in place. */
	.spec-all.is-clipped .hub-chips>.chip:nth-child(n+9){display:none}
	.spec-all-more:not([hidden]){display:inline-flex;align-items:center;gap:.35rem;margin-top:.75rem;min-height:var(--tap)}
	.spec-all-more .gi{width:16px;height:16px}
}
/* .btn is display:inline-flex, which would beat the UA [hidden] rule on wide screens. */
.spec-all-more[hidden]{display:none}
.spec-block-name{min-width:0;overflow-wrap:anywhere}
.spec-block-n{flex:none;font-size:.72rem;font-weight:700;color:var(--brand-700);background:var(--brand-50);
	border:1px solid var(--brand-100);border-radius:999px;padding:.05rem .45rem;line-height:1.5}
.spec-sub-l{font-size:.74rem;font-weight:700;color:var(--muted);margin:.7rem 0 .3rem;letter-spacing:0}
.spec-block .chips{margin-top:0}
.spec-block .chip{font-size:.83rem;padding:.34rem .78rem}
.spec-all .chip{font-size:.88rem}
/* A sub-specialty is a real destination with real doctors, so it must NOT borrow .chip-quiet —
   that class means "we can name this place but cannot fill it" and dims to .55 opacity, which
   is both the wrong meaning and the wrong contrast. Secondary by hue and weight instead. */
.chip-sub{background:transparent;border-style:dashed;color:var(--muted);font-weight:600}
@media (hover:hover){.chip-sub:hover{background:var(--brand-50);border-style:solid}}
.chip-sub .gi{width:16px;height:16px;margin-inline-start:.3rem}
/* Touch: a chip cloud is the densest tap surface on the site. Coarse pointers get the full
   44px box and a wider gap so neighbouring chips are not one continuous mis-tap zone. */
@media (pointer:coarse){
	.spec-block .chip,.spec-all .chip,.spec-jump .chip{min-height:var(--tap);display:inline-flex;align-items:center}
	.spec-block .chips,.spec-all .chips,.spec-jump-c{gap:.5rem}
}

/* --- Contact reveal panel --------------------------------------------------- */
/* One row per number: the digits, the action, and a copy control. The digits are the point —
   a patient has to be able to read the number back, write it down, or paste it, none of which
   a bare "Call" button whose number lives in the href allows. */
.contact-reveal-wrap{flex-wrap:wrap}
.giza-reveal{gap:.45rem}
.giza-reveal-slot{display:none;width:100%}
.giza-reveal-slot.is-open{display:grid;gap:.5rem;margin-top:.2rem}
.rv-row{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;
	background:var(--card);border:1px solid var(--line);border-radius:var(--radius-sm);padding:.5rem .65rem}
.rv-num{font-weight:700;font-size:1.02rem;letter-spacing:.02em;color:var(--ink);
	/* Selectable on purpose: copying by hand must work even if the copy button fails. */
	user-select:all;-webkit-user-select:all;min-width:9.5ch}
.rv-row .btn{margin-inline-start:auto}
.rv-copy{border:1px solid var(--line);background:transparent;color:var(--muted);
	border-radius:var(--radius-sm);font:inherit;font-size:.8rem;font-weight:700;
	min-height:38px;min-width:44px;padding:0 .6rem;cursor:pointer}
@media (hover:hover){.rv-copy:hover{border-color:var(--brand);color:var(--brand-700)}}
@media (pointer:coarse){.rv-copy{min-height:var(--tap)}}
.rv-copy.is-ok{color:var(--ok);border-color:var(--ok)}
.rv-copy:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
/* Under 380px the three controls stop fitting on one line; the number keeps its own row. */
@media (max-width:400px){
	.rv-num{flex:1 0 100%}
	.rv-row .btn{margin-inline-start:0;flex:1}
}
.contact-noscript{margin-top:.5rem}

/* --- "Is this your data?" notice + request page ---------------------------- */
/* The amber panel on an unclaimed profile. Amber, not brand gold: it is an advisory aimed at
   ONE reader (the doctor whose details these are) on a page whose every other element is aimed
   at patients, and it has to be separable from the brand at a glance. */
.own-note{margin-top:14px;background:#fff8e6;border:1px solid #f0d795;border-inline-start:4px solid #d99e0b}
.own-h{display:flex;align-items:center;gap:.4rem;font-weight:700;color:#7a5806;margin:0 0 .4rem}
.own-h svg{width:18px;height:18px;flex:none}
.own-b{color:#6b5312;font-size:.9rem;line-height:1.75;margin:0}
/* Three buttons used to wrap into a ragged 2+1. The claim CTA takes its own row; the two
   secondary requests share the next one. */
.own-acts{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin-top:.8rem}
.own-acts>.btn:only-child,.own-acts>.btn-cta{grid-column:1/-1}
.own-acts .btn{white-space:normal;text-align:center;line-height:1.35}
.own-note{margin-top:0}
:root[data-theme="dark"] .own-note{background:#2b2310;border-color:#5a4712;border-inline-start-color:#d0a02c}
:root[data-theme="dark"] .own-h{color:#f0d18a}
:root[data-theme="dark"] .own-b{color:#d8c79a}
@media (prefers-color-scheme:dark){
	:root:not([data-theme="light"]) .own-note{background:#2b2310;border-color:#5a4712;border-inline-start-color:#d0a02c}
	:root:not([data-theme="light"]) .own-h{color:#f0d18a}
	:root:not([data-theme="light"]) .own-b{color:#d8c79a}
}
/* Notice under the callback form. Reuses .pause-note's colours; only spacing differs. */
.cb-notice{margin-top:.8rem;font-size:.82rem;line-height:1.7}

/* The request form's intent picker: three big tap targets, not a <select>. Which of "claim",
   "correct" and "remove" you are asking for is the most consequential field on the page, so it
   is the one thing that is never hidden inside a dropdown. */
.rq-types{border:0;padding:0;margin:0;min-width:0}
.rq-types legend{padding:0;margin-bottom:.6rem}
.rq-type{display:flex;gap:.7rem;align-items:flex-start;padding:.85rem 1rem;margin-bottom:.5rem;
	border:1px solid var(--field-line);border-radius:var(--radius-ctl);background:var(--card);cursor:pointer;
	transition:border-color var(--dur-1),background var(--dur-1)}
.rq-type:last-child{margin-bottom:0}
@media (hover:hover){.rq-type:hover{border-color:var(--brand)}}
@media (prefers-reduced-motion:reduce){.rq-type{transition:none}}
/* Request page shell (was inline styles). */
.rq-sec{padding-top:22px}
.rq-wrap{max-width:760px}
.rq-head{margin-bottom:1.2rem}
.rq-view{margin-top:.5rem}
.rq-view a,.rq-foot a{display:inline-flex;align-items:center;gap:.25rem;min-height:var(--tap);color:var(--brand-700);font-weight:700}
@media (hover:hover){.rq-view a:hover,.rq-foot a:hover{text-decoration:underline;text-underline-offset:.2em}}
.rq-pending{margin:0 0 1rem}
.rq-panel{padding:clamp(16px,4vw,24px)}
.rq-panel .giza-form{gap:18px}
.rq-submit{min-height:52px;font-size:1rem}
.rq-after{margin-top:-.2rem}
.rq-foot{margin-top:1rem}
.rq-msg{font-size:var(--fs-small)}
.rq-type input{margin-top:.25rem;flex:none;width:18px;height:18px;accent-color:var(--brand)}
.rq-type input:disabled{cursor:not-allowed}
.rq-type:has(input:disabled){opacity:.6;cursor:not-allowed}
.rq-type:has(input:checked){border-color:var(--brand);background:var(--brand-50);box-shadow:0 0 0 1px var(--brand)}
.rq-type:has(input:focus-visible){outline:2px solid var(--brand);outline-offset:2px}
.rq-type span{display:block;min-width:0}
.rq-type strong{display:block;font-size:.96rem;color:var(--ink)}
.rq-type em{display:block;font-style:normal;font-size:.85rem;color:var(--muted);line-height:1.65;margin-top:.2rem}

/* --- Branch page ----------------------------------------------------------- */
/* Back-to-doctor: the first control under the trail, because a breadcrumb is a location
   indicator that many readers never treat as navigation. */
.branch-back{display:inline-flex;align-items:center;gap:.4rem;font-size:.9rem;font-weight:700;
	color:var(--brand-700);margin-top:.2rem;min-height:var(--tap)}
@media (hover:hover){.branch-back:hover{text-decoration:underline;text-underline-offset:.2em}}
.branch-back-arrow{width:16px;height:16px}
/* #gi-arrow is drawn pointing LEFT — backwards in English, FORWARDS in Arabic. So it is the RTL
   page that mirrors it (the old rule flipped LTR, and both languages showed a forward arrow on a
   back link). */
html[dir="rtl"] .branch-back-arrow{transform:scaleX(-1)}
/* Two columns from 900px, mirroring .profile-cols. DOM order is main → contact → hours →
   siblings (the phone order); on desktop the contact aside spans the column and pins. */
.branch-sec{padding-top:26px}
.branch-wrap{max-width:900px}
.branch-cols{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin-top:12px}
.branch-cols>.panel,.branch-aside>.panel{margin:0}
.branch-aside{min-width:0}
.branch-h1{font-size:clamp(1.4rem,3.5vw,1.9rem);display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .6rem;text-wrap:balance}
.branch-h1 .badge{font-size:var(--fs-meta)}
.branch-share{margin-top:.9rem}
.branch-contact #giza-contact .contact-actions:first-child{margin-top:0}
.branch-contact .panel-h{margin-bottom:.4rem}
.branch-inline-link{color:var(--brand-700);font-weight:700}
.branch-hours .hours-d{margin-top:0}
.branch-hub-back{margin-top:1rem}
@media (min-width:900px){
	.branch-wrap{max-width:1100px}
	.branch-cols{grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start}
	.branch-cols>.branch-main,.branch-cols>.branch-hours,.branch-cols>.branch-others{grid-column:1}
	.branch-aside{grid-column:2;grid-row:1 / span 3;align-self:start;position:sticky;top:calc(var(--nav-h) + 16px)}
}
.branch-lede{color:var(--body);font-size:.95rem;line-height:1.8;margin:.5rem 0 0;max-width:66ch}
/* The doctor card. The clinic is the address; the doctor is the reason anyone is going. */
.branch-doc{display:flex;align-items:center;gap:.8rem;margin-top:1rem;padding:.7rem .85rem;
	border:1px solid var(--line);border-radius:var(--radius-ctl);background:var(--surface-2)}
@media (hover:hover){.branch-doc:hover{border-color:var(--brand)}}
.branch-doc-chev{margin-inline-start:auto;color:var(--muted);flex:none}
.branch-doc-ava{width:64px;height:64px;border-radius:50%;object-fit:cover;flex:none;
	border:2px solid var(--card);box-shadow:var(--shadow-sm)}
.branch-doc-t{display:flex;flex-direction:column;gap:.1rem;min-width:0}
.branch-doc-t strong{color:var(--ink);font-size:1rem}
.branch-doc-t em{font-style:normal;color:var(--muted);font-size:.85rem}
.branch-doc-go{color:var(--brand-700);font-size:.82rem;font-weight:700;margin-top:.15rem}
.branch-addr{display:flex;align-items:flex-start;gap:.4rem;margin-top:.9rem;color:var(--body);font-size:.92rem;line-height:1.7}
.branch-addr svg{width:18px;height:18px;flex:none;margin-top:.15rem;color:var(--brand-700)}
.branch-chips{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.8rem}
/* gap, not spaces: inside an inline-flex chip the spaces between "الكشف", the isolated number
   and "ج.م" are trimmed away with the anonymous flex items. */
.branch-chips .chip{cursor:default;gap:.3rem}
.branch-hours .hours-sum-k{display:none}
.branch-chips .chip svg{width:14px;height:14px;vertical-align:-2px}
/* Sibling locations — what turns a multi-branch doctor's pages into a cluster instead of a set
   of orphans reachable only from one profile. */
.branch-sibs{display:grid;gap:.5rem}
.branch-sib{display:flex;align-items:center;gap:.75rem;padding:.75rem .85rem;
	border:1px solid var(--line);border-radius:var(--radius-ctl);background:var(--card);color:var(--muted)}
@media (hover:hover){.branch-sib:hover{border-color:var(--brand)}}
.branch-sib-ic{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:var(--radius-ctl);background:var(--brand-50);color:var(--brand)}
.branch-sib-ic .gi{width:20px;height:20px}
.branch-sib-t{display:flex;flex-direction:column;gap:.15rem;min-width:0;flex:1}
.branch-sib strong{color:var(--ink);font-size:.95rem;line-height:1.5}
.branch-sib-t>span{color:var(--muted);font-size:var(--fs-small)}
.branch-sib-t>.branch-sib-st{display:inline-flex;align-items:center;gap:.35rem;font-weight:700;font-size:var(--fs-meta);color:var(--warn)}
.branch-sib-t>.branch-sib-st.is-open{color:var(--ok)}
.branch-others .panel-h{font-size:1.05rem}
.hr-sep{color:var(--muted)}

/* ============================================================================
   PHOTO LIGHTBOX
   Clinic photos used to be plain links to the image file: tapping one dumped the
   visitor on a bare JPEG in a new tab with no way back into the profile except
   the browser's own chrome. Now the tile opens a native <dialog> viewer.

   <dialog> + showModal() again: focus trap, ::backdrop, Escape, background
   inerting and the TOP LAYER — which is the part that matters here, because the
   viewer is opened from inside .panel and has to escape the sticky nav and the
   fixed mobile call bar without entering a z-index race with either.
   ========================================================================= */

/* --- The grid tile ------------------------------------------------------- */
.gallery-item{position:relative;display:block;border-radius:10px;overflow:hidden;
	/* The tile is the click target, so it gets the affordance: a photo that does
	   nothing on tap and a photo that opens a viewer must not look identical. */
	cursor:zoom-in;transition:transform .18s ease,box-shadow .18s ease}
@media (hover:hover){.gallery-item:hover{transform:translateY(-2px);box-shadow:var(--shadow)}}
@media (prefers-reduced-motion:reduce){.gallery-item,.gallery-zoom{transition:none}}
.gallery-item:active{transform:none}
.gallery-item:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.gallery-zoom{position:absolute;inset-block-end:6px;inset-inline-end:6px;width:28px;height:28px;
	display:grid;place-items:center;border-radius:8px;background:rgba(15,27,38,.55);color:#fff;
	opacity:0;transform:scale(.9);transition:opacity .18s ease,transform .18s ease;
	backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.gallery-zoom svg{width:16px;height:16px}
.gallery-item:focus-visible .gallery-zoom{opacity:1;transform:none}
@media (hover:hover){.gallery-item:hover .gallery-zoom{opacity:1;transform:none}}
/* Hover never fires on touch, so the badge would be invisible on the devices that
   most need the hint. Show it permanently where there is no hover. */
@media (hover:none){.gallery-zoom{opacity:1;transform:none}}

/* --- The viewer ---------------------------------------------------------- */
/* Deliberately NOT themed with --card/--ink: a photo viewer is a dark room in both
   colour schemes, the same way every gallery the user compared this to behaves. */
.lb{border:0;padding:0;margin:0;max-width:none;max-height:none;width:100%;height:100%;
	background:transparent;color:#fff;overflow:hidden}
.lb:not([open]){display:none}
.lb::backdrop{background:rgba(9,15,21,.92);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.lb[open]{position:fixed;inset:0;display:grid;
	/* Rows, not absolute positioning: the image box shrinks by exactly the height of
	   the chrome above and below it, so a tall photo can never slide under either. */
	grid-template-rows:auto 1fr auto;animation:giza-lb-in .22s ease-out}
@keyframes giza-lb-in{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.lb[open]{animation:none}}

.lb-top{display:flex;align-items:center;justify-content:space-between;gap:.5rem;
	padding:calc(10px + env(safe-area-inset-top)) 12px 6px;
	/* Above the stage in paint order so the close button stays clickable over a photo
	   that fills the row it sits in. */
	position:relative;z-index:2}
.lb-count{font-size:.85rem;font-weight:700;color:rgba(255,255,255,.72);
	padding:.25rem .6rem;border-radius:999px;background:rgba(255,255,255,.1)}

.lb-btn{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;
	background:rgba(255,255,255,.12);color:#fff;cursor:pointer;
	transition:background .15s ease,transform .15s ease;-webkit-tap-highlight-color:transparent}
@media (hover:hover){.lb-btn:hover{background:rgba(255,255,255,.24)}}
.lb-btn:active{transform:scale(.92)}
.lb-btn:focus-visible{outline:2px solid #fff;outline-offset:2px}
.lb-btn svg{width:22px;height:22px}
.lb-btn[disabled]{opacity:.28;cursor:default;pointer-events:none}

.lb-stage{position:relative;display:grid;place-items:center;min-height:0;padding:4px 12px;
	/* It carries autofocus so the close button does not, so it must not paint a ring. */
	outline:none;
	/* The browser must not treat a horizontal drag as a scroll gesture — that is the
	   swipe the viewer reads to move between photos. */
	touch-action:pan-y;overflow:hidden}
.lb-img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;
	border-radius:12px;box-shadow:0 24px 60px rgba(0,0,0,.5);background:rgba(255,255,255,.04);
	cursor:default;transition:opacity .18s ease,transform .18s ease}
.lb.is-loading .lb-img{opacity:.35}
/* Swipe feedback: JS sets --lb-dx while a finger is down, and drops the class on release. */
.lb.is-drag .lb-img{transition:none;transform:translateX(var(--lb-dx,0))}
.lb-spin{position:absolute;width:34px;height:34px;border-radius:50%;
	border:3px solid rgba(255,255,255,.25);border-top-color:#fff;opacity:0;
	animation:giza-spin .8s linear infinite}
.lb.is-loading .lb-spin{opacity:1}
@media (prefers-reduced-motion:reduce){.lb-spin{animation-duration:2s}}

/* Edge arrows. Centred on the STAGE row, not the viewport, so they never collide
   with the caption or the close button. */
.lb-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:2}
.lb-nav:active{transform:translateY(-50%) scale(.92)}
.lb-prev{inset-inline-start:8px}
.lb-next{inset-inline-end:8px}
/* The chevrons are drawn pointing left/right; in RTL "previous" is on the right, so
   both glyphs mirror. scaleX on the SVG only — mirroring the button would flip the
   focus ring offset with it. */
[dir="rtl"] .lb-nav svg{transform:scaleX(-1)}

.lb-foot{padding:6px 12px calc(12px + env(safe-area-inset-bottom));position:relative;z-index:2}
.lb-cap{margin:0 auto;max-width:70ch;text-align:center;font-size:.9rem;line-height:1.6;
	color:rgba(255,255,255,.82);
	display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.lb-cap:empty{display:none}

/* Thumbnail strip: reuses the srcset the grid already downloaded, so it costs no
   extra requests. Hidden on small screens where it would eat the photo's height. */
.lb-thumbs{display:none;gap:.4rem;justify-content:center;margin-top:.7rem;
	overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.lb-thumbs::-webkit-scrollbar{display:none}
.lb-thumb{flex:0 0 auto;width:58px;height:44px;padding:0;border:2px solid transparent;
	border-radius:8px;overflow:hidden;background:none;cursor:pointer;opacity:.5;
	transition:opacity .15s ease,border-color .15s ease}
.lb-thumb img{width:100%;height:100%;object-fit:cover;display:block}
@media (hover:hover){.lb-thumb:hover{opacity:.85}}
.lb-thumb.is-cur{opacity:1;border-color:#fff}
.lb-thumb:focus-visible{outline:2px solid #fff;outline-offset:2px}
@media (min-width:640px){
	.lb-thumbs{display:flex}
	.lb-stage{padding:6px 60px}
	.lb-prev{inset-inline-start:16px}
	.lb-next{inset-inline-end:16px}
	.lb-top{padding-top:14px;padding-inline:18px}
}
/* A single photo has nothing to page through — the arrows, counter and strip all go. */
.lb.is-single .lb-nav,.lb.is-single .lb-count,.lb.is-single .lb-thumbs{display:none}
@media (prefers-reduced-motion:reduce){.lb-btn,.lb-img,.lb-thumb{transition:none}}

/* --- Profile 2026: map frame, rating chip, review summary, trust box, FAQ ---- */
/* The OSM frame (was inline styles). --bg behind it, so before load or offline it is a quiet
   panel rather than a blank white box; a --line frame so it sits in the card like a component. */
/* The colour sits on the WRAPPER: the frame itself is inverted in dark mode, so a --bg on it
   would invert to a light slab. */
.map-frame{display:block;width:100%;height:220px;border:0;background:transparent}
.map-live{border-radius:var(--radius-ctl);overflow:hidden;border:1px solid var(--line);background:var(--bg)}
.map-open{gap:.3rem}
.map-open .gi{opacity:.75}
@media (hover:hover){.map-open:hover{text-decoration:underline;text-underline-offset:.2em}}
/* OSM tiles are always light; in dark mode they glared out of a #161f28 page. Inverted and
   hue-rotated back, the map becomes a dark map with roughly its own colours. */
:root[data-theme="dark"] .map-frame{filter:invert(.92) hue-rotate(180deg) saturate(.6)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .map-frame{filter:invert(.92) hue-rotate(180deg) saturate(.6)}}
.branch-aside .map-embed{margin-top:1rem}

/* Rating chip in the hero: a link to #reviews. */
/* Drawn at 32px so it reads as a chip beside the name; the ::after takes the hit area to the 44px
   touch floor without changing the look. */
.rating-link::after{content:"";position:absolute;inset-block:-7px;inset-inline:0}
.rating-link{position:relative;min-height:32px;padding:.15rem .65rem;border-radius:999px;background:var(--tier-gold-bg);border:1px solid var(--tier-gold);
	color:var(--tier-gold-ink);font-size:.9rem;text-decoration:none}
.rating-link .gi{color:var(--tier-gold);width:15px;height:15px}
.rating-link small{color:var(--tier-gold-ink);opacity:.85;font-weight:600;font-size:var(--fs-meta)}
@media (hover:hover){.rating-link:hover{text-decoration:underline;text-underline-offset:.2em}}
.ph-facts .fee{min-height:32px}
#reviews{scroll-margin-top:calc(var(--nav-h) + 12px)}

/* Review summary: big average · 5→1 distribution · visit meters. */
.rev-sum{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px 22px;align-items:center;margin-bottom:.6rem;
	padding:14px 16px;background:var(--surface-2);border:1px solid var(--line);border-radius:var(--radius-ctl)}
.rev-sum-avg{display:flex;flex-direction:column;align-items:center;gap:.2rem;min-width:96px}
.rev-sum-n{font-size:2.4rem;line-height:1;font-weight:700;color:var(--ink)}
.rev-sum-avg small{color:var(--muted);font-size:var(--fs-meta);font-weight:600}
.rev-sum-stars{position:relative;display:inline-flex;--rv-c:var(--tier-gold)}
.rv-st{display:inline-flex;gap:1px;color:var(--muted);opacity:.45}
.rv-st .gi{width:15px;height:15px}
.rv-st-on{position:absolute;inset:0;color:var(--rv-c);opacity:1}
[dir="rtl"] .rv-st-on{clip-path:inset(0 0 0 calc(100% - var(--rv-fill,0%)))}
[dir="ltr"] .rv-st-on{clip-path:inset(0 calc(100% - var(--rv-fill,0%)) 0 0)}
.rv-dist{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.rv-dist li{display:grid;grid-template-columns:auto minmax(0,1fr) 2ch;align-items:center;gap:.55rem;font-size:var(--fs-meta);color:var(--muted)}
.rv-dist-k{display:inline-flex;align-items:center;gap:.2rem;font-weight:700;color:var(--body);min-width:2.2em}
.rv-dist-k .gi{width:12px;height:12px;color:var(--tier-gold)}
.rv-dist-n{text-align:end;font-variant-numeric:tabular-nums}
.rv-bar{display:block;height:7px;border-radius:99px;background:var(--line);overflow:hidden}
.rv-bar>i{display:block;height:100%;border-radius:inherit;background:var(--tier-gold)}
.rev-sum .rev-dims{grid-column:1/-1;list-style:none;margin:0;padding:12px 0 0;border-top:1px solid var(--line);
	display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px 18px;font-size:var(--fs-small)}
.rev-sum .rev-dims li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 8px}
.rev-sum .rev-dims .rv-bar{grid-column:1/-1;height:5px}
.rev-sum .rev-dims .rv-bar>i{background:var(--brand)}
.rev-dims-k{display:inline-flex;align-items:center;gap:.35rem;color:var(--body)}
.rev-dims-k .gi{width:16px;height:16px;color:var(--brand)}
.rev-sum .rev-dims b{color:var(--ink)}
.rv-none{color:var(--muted)}
.rv-more{margin-top:.8rem}
#giza-more-reviews[hidden],#giza-reviews-list .review[hidden]{display:none}
.review:focus{outline:none}
@media (max-width:699px){
	.rv-more{display:flex;width:100%}
	.rev-sum{grid-template-columns:1fr;padding:12px}
	.rev-sum-avg{flex-direction:row;flex-wrap:wrap;justify-content:center;gap:.25rem .6rem}
	.rev-sum-n{font-size:2rem}
}

/* E-E-A-T trust box (was ~30 inline declarations). */
.trust-box{margin-top:1.4rem;background:var(--brand-50);border:1px solid var(--brand-100);border-radius:var(--radius);
	padding:14px 16px;color:var(--body);font-size:.9rem;display:grid;gap:.5rem}
.trust-box-h{margin:0;line-height:1.75}
.trust-box-h strong{color:var(--brand-700);display:inline-flex;align-items:center;gap:.3rem}
.trust-box .trust-note{margin:0;font-size:var(--fs-small)}
/* The two colour-only link hovers in SHARED UTILITIES (.trust-note a, .branch-h a) are not gated
   by (hover:hover), so on touch the colour stuck after a tap. Neutralised here for touch, back to
   each link's resting colour; the gated hovers above still apply on a mouse. */
@media (hover:none){.trust-note a:hover{color:var(--brand-700);text-decoration-thickness:auto}.branch-h a:hover{color:var(--ink)}}
.trust-box .giza-claim{margin:0}
.trust-claim{display:inline-flex;align-items:center;gap:.25rem;min-height:var(--tap);font-weight:700;color:var(--brand-700)}
@media (hover:hover){.trust-claim:hover{text-decoration:underline;text-underline-offset:.2em}}
.trust-links{display:flex;flex-wrap:wrap;gap:.1rem 1rem;margin:0}
.trust-links a{display:inline-flex;align-items:center;min-height:32px;white-space:nowrap;font-size:var(--fs-small);font-weight:600;
	color:var(--brand-700);text-decoration:underline;text-underline-offset:.2em;text-decoration-color:color-mix(in srgb,currentColor 40%,transparent)}
@media (pointer:coarse){.trust-links a{min-height:var(--tap)}}

/* Profile FAQ — the shared .faq-block (results range) plus the one .disclosure chevron. */
.profile-faq{margin-top:2.2rem;max-width:800px}
.profile-faq .h-sec{margin-bottom:1rem}
.profile-faq .faq-i{padding-block:0}
.profile-faq .faq-i>summary{min-height:56px;line-height:1.5;padding-block:.5rem}
.profile-faq .faq-i>p{margin:0 0 1rem;line-height:1.85}

/* ============================================================================
   PWA — install bar, iOS instruction sheet, offline page, app landing page.

   The bar is `position:fixed`, i.e. entirely out of flow, so it contributes
   ZERO layout shift no matter when the script injects it. That is not a style
   preference: Core Web Vitals is the one page-experience input that actually
   feeds ranking, and an install promo that shifts the page would trade a
   ranking signal for an install. It is also capped well under a "small
   fraction of the screen" so it cannot read as an intrusive interstitial.
   ========================================================================= */
.giza-pwa-bar{
	position:fixed;z-index:70;inset-inline:12px;
	/* Clears the mobile bottom nav and the home indicator, so it never sits on
	   top of the site's primary navigation. */
	bottom:calc(var(--botnav-h) + 12px + env(safe-area-inset-bottom));
	display:flex;align-items:center;gap:12px;
	max-width:520px;margin-inline:auto;padding:12px 14px;
	background:var(--card, #fff);color:var(--ink, #12202c);
	border:1px solid var(--line, #dbe4ec);border-radius:16px;
	box-shadow:0 10px 34px rgba(10,22,34,.18);
	transform:translateY(140%);opacity:0;transition:transform .32s cubic-bezier(.2,.8,.2,1),opacity .32s ease}
.giza-pwa-bar.is-in{transform:translateY(0);opacity:1}
.giza-pwa-ico{flex:none;width:40px;height:40px;border-radius:10px}
.giza-pwa-txt{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}
.giza-pwa-txt strong{font-size:.95rem;line-height:1.3}
.giza-pwa-txt span{font-size:.8rem;color:var(--muted, #5d7085);line-height:1.35}
.giza-pwa-act{flex:none;display:flex;align-items:center;gap:6px}
/* 44px floor on both controls — this is thumb-reach content at the bottom edge. */
.giza-pwa-act button{min-height:44px;padding:0 14px;border-radius:10px;font:inherit;font-weight:700;font-size:.85rem;cursor:pointer;border:1px solid transparent}
.giza-pwa-no{background:transparent;color:var(--muted, #5d7085)}
.giza-pwa-yes{background:var(--gold, #c9a227);color:var(--gold-ink)}
.giza-pwa-yes:focus-visible{outline-color:var(--ink)}
@media (hover:hover){
	.giza-pwa-no:hover{color:var(--ink, #12202c)}
	.giza-pwa-yes:hover{filter:brightness(1.06)}
}
@media (min-width:900px){
	/* No bottom nav on desktop, so the bar sits on the edge itself. */
	.giza-pwa-bar{bottom:18px;inset-inline-start:auto;inset-inline-end:18px;margin-inline:0}
}
@media (max-width:400px){
	/* Below ~400px the two buttons and the copy cannot share a row without the
	   text truncating to nothing. Stack instead of shrinking the tap targets. */
	.giza-pwa-bar{flex-wrap:wrap}
	.giza-pwa-act{width:100%;justify-content:flex-end}
}
@media (prefers-reduced-motion:reduce){
	.giza-pwa-bar{transition:none;transform:none;opacity:1}
}

.giza-pwa-sheet{border:0;border-radius:18px;padding:22px;max-width:400px;width:calc(100% - 32px);
	background:var(--card, #fff);color:var(--ink, #12202c);box-shadow:0 24px 60px rgba(10,22,34,.3);
	/* Centring is the UA's: a modal <dialog> gets inset:0, and margin:auto then centres it on
	   both axes in either direction. Overriding inset-inline (to auto) dropped the box back to
	   its static position, flush against one edge — the left in English, the right in Arabic. */
	margin:auto}
.giza-pwa-sheet::backdrop{background:rgba(10,22,34,.55)}
.giza-pwa-sheet h2{font-size:1.05rem;margin:0 0 12px}
.giza-pwa-sheet ol{margin:0 0 18px;padding-inline-start:1.2em;display:flex;flex-direction:column;gap:10px}
.giza-pwa-sheet li{font-size:.9rem;line-height:1.5;color:var(--muted, #5d7085)}
.giza-pwa-close{width:100%;min-height:46px;border:0;border-radius:12px;background:var(--gold, #c9a227);color:var(--gold-ink);font:inherit;font-weight:700;cursor:pointer}

.giza-pwa-toast{position:fixed;z-index:80;inset-inline:16px;bottom:calc(var(--botnav-h) + 16px + env(safe-area-inset-bottom));
	max-width:420px;margin-inline:auto;padding:12px 16px;border-radius:12px;
	/* --card, not #fff: --ink inverts to near-white in dark, which made the toast white on white. */
	background:var(--ink, #12202c);color:var(--card);font-size:var(--fs-small);line-height:1.4;box-shadow:0 10px 30px rgba(10,22,34,.28)}

/* --- offline fallback ---------------------------------------------------- */
.giza-offline{display:flex;justify-content:center;padding-block:48px 56px}
.giza-offline-box{max-width:52ch;width:100%;text-align:center;color:var(--muted, #5d7085)}
.giza-offline-ic{display:inline-grid;place-items:center;width:72px;height:72px;margin-bottom:16px;border-radius:50%;
	background:var(--brand-50);color:var(--brand)}
.giza-offline-ic .gi{width:34px;height:34px}
.giza-offline h1{font-size:clamp(1.4rem,4vw,1.85rem);color:var(--ink, #12202c);margin-bottom:12px}
.giza-offline-lead{font-size:1rem;line-height:1.7}
.giza-offline-note{margin-top:16px;font-size:var(--fs-small)}
.giza-offline-act{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:22px}
.giza-offline-act .btn{min-height:48px}
/* The emergency numbers are the most useful thing on this page: two big tel: buttons. */
.giza-offline-emg{margin-top:24px;padding-top:20px;border-top:1px solid var(--line, #dbe4ec)}
.giza-offline-emg-h{margin:0 0 10px;font-weight:700;color:var(--ink);font-size:.95rem}
.giza-offline-emg-b{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:10px}
.giza-offline-emg-b .btn{min-height:48px;white-space:normal;border-color:var(--field-line)}
.giza-offline-emg-b .gi{width:18px;height:18px;color:var(--danger-ink);flex:0 0 auto}
/* Offline, ~60 footer links lead nowhere: keep the brand and the copyright line only. */
body.giza-route-offline .footer .wrap>div:not(:first-child){display:none}

/* --- app landing page ---------------------------------------------------- */
.giza-app{padding-block:40px 64px}
.giza-app-hd{text-align:center;max-width:56ch;margin-inline:auto}
.giza-app-icon{display:block;margin-inline:auto;width:96px;height:96px;border-radius:var(--radius-lg);
	box-shadow:0 12px 30px rgba(10,22,34,.16)}
.giza-app h1{font-size:clamp(1.6rem,5vw,2.4rem);margin:18px 0 12px}
.giza-app-lead{font-size:1.02rem;line-height:1.75;color:var(--body)}
[dir="ltr"] .giza-app-lead{line-height:1.65}
.giza-app-cta{margin-top:24px}
.giza-app-cta .btn{min-height:var(--tap)}
.giza-app-free{margin-top:12px;font-size:var(--fs-small);color:var(--muted)}
/* Section headings need real air above them: they sat 20px under the cards they follow. */
.giza-app>.h-sec{margin-block:clamp(40px,7vw,64px) 4px;text-align:center}
.giza-app-feat{list-style:none;margin:20px 0 0;padding:0;display:grid;gap:16px;grid-template-columns:1fr}
.giza-app-feat li{padding:20px;border:1px solid var(--line);border-radius:var(--radius);background:var(--card);box-shadow:var(--shadow-sm)}
.giza-app-feat svg{color:var(--brand);width:24px;height:24px}
.giza-app-feat h3{font-size:1rem;margin:10px 0 6px}
.giza-app-feat p{font-size:var(--fs-small);line-height:1.65;color:var(--muted)}
.giza-app-how{display:grid;gap:16px;grid-template-columns:1fr;margin-top:20px}
.giza-app-plat{position:relative;padding:20px;border:1px solid var(--line);border-radius:var(--radius);background:var(--card)}
.giza-app-plat h3{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;font-size:.98rem;margin-bottom:12px}
.giza-app-plat ol{margin:0;padding-inline-start:1.25em;display:flex;flex-direction:column;gap:9px}
.giza-app-plat li{font-size:var(--fs-small);line-height:1.6;color:var(--muted)}
.giza-app-plat li::marker{color:var(--brand);font-weight:700}
/* The visitor's own platform (set by app.php's script from the UA). */
.giza-app-plat.is-you{border-color:var(--brand);background:var(--brand-50)}
.giza-app-plat.is-you li{color:var(--body)}
.giza-app-you{display:inline-flex;align-items:center;padding:.1rem .55rem;border-radius:999px;background:var(--brand);
	color:var(--card);font-size:var(--fs-meta);font-weight:700;line-height:1.6}
.giza-app-foot{margin-top:30px;text-align:center;font-size:var(--fs-small);line-height:1.7;color:var(--muted);max-width:60ch;margin-inline:auto}
/* Install action + (desktop) QR to move to the phone. */
.giza-app-act{display:flex;flex-direction:column;align-items:center}
.giza-app-qr{display:none;margin:0}
@media (min-width:1024px){
	.giza-app-hd{max-width:64ch}
	.giza-app-act{flex-direction:row;justify-content:center;align-items:center;gap:32px;margin-top:8px}
	.giza-app-qr:not([hidden]){display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px;
		border:1px solid var(--line);border-radius:var(--radius);background:var(--card);box-shadow:var(--shadow-sm)}
	.giza-app-qr canvas{display:block;width:132px;height:132px;border-radius:var(--radius-xs)}
	.giza-app-qr figcaption{font-size:var(--fs-small);font-weight:700;color:var(--ink)}
}
@media (min-width:760px){
	.giza-app-feat{grid-template-columns:repeat(2,minmax(0,1fr))}
	.giza-app-how{grid-template-columns:repeat(3,minmax(0,1fr))}
}
/* An installed app does not need to be told how to install itself. */
.giza-standalone .giza-app-cta,.giza-standalone [data-giza-install]{display:none}

/* ============================================================================
   Consent banner.

   Non-modal, docked to the bottom, `position:fixed` so it is out of flow and
   contributes zero layout shift. It never covers the page: `max-height` plus
   internal scrolling means even the expanded preferences panel cannot grow to
   obscure the content behind it, which is what separates a compliant notice
   from the "pop-up that obscures the main content" Google's rater guidelines
   list as a Lowest-quality signal.
   ========================================================================= */
.giza-cc{position:fixed;z-index:90;inset-inline:0;bottom:0;
	background:var(--card, #fff);color:var(--ink, #12202c);
	border-top:1px solid var(--line, #dbe4ec);
	box-shadow:0 -8px 34px rgba(10,22,34,.16);
	transform:translateY(100%);transition:transform .34s cubic-bezier(.2,.8,.2,1)}
.giza-cc.is-in{transform:translateY(0)}
.giza-cc[hidden]{display:none}
.giza-cc-in{max-width:940px;margin-inline:auto;padding:14px 16px calc(14px + env(safe-area-inset-bottom));
	max-height:min(66vh, 520px);overflow-y:auto;overscroll-behavior:contain}
.giza-cc-t{font-size:1rem;margin:0 0 6px}
.giza-cc-d{font-size:.9rem;line-height:1.5;color:var(--muted, #5d7085);margin:0 0 12px;max-width:78ch}
/* Inline at the end of the description; each link is one unbreakable phrase. */
.giza-cc-links{display:inline;margin-inline-start:.25em}
.giza-cc-links a{color:var(--brand-700);text-decoration:underline;text-underline-offset:.2em;white-space:nowrap;font-weight:600}
.giza-cc-links span{margin-inline:.3em}

/* The two primary buttons are identical in every visual dimension. This rule is
   the compliance requirement, not a style choice: a reject styled weaker than
   accept is the single most-cited deceptive pattern in DPA enforcement. Keep
   them the same width, weight, height and contrast. */
.giza-cc-act{display:flex;flex-wrap:wrap;gap:10px}
.giza-cc-b{flex:1 1 140px;min-height:48px;padding:0 18px;border-radius:12px;
	font:inherit;font-weight:700;font-size:.9rem;cursor:pointer;
	border:1px solid var(--ink, #12202c);background:transparent;color:var(--ink, #12202c);
	transition:background-color .18s ease,color .18s ease}
@media (hover:hover){.giza-cc-b:hover{background:var(--ink, #12202c);color:var(--card, #fff)}}
.giza-cc-b:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
/* "Manage preferences": the third choice in the action row, full width, a real 44px target. */
.giza-cc-link{flex:1 1 100%;background:none;border:0;padding:6px 2px;min-height:44px;font:inherit;font-weight:700;font-size:.9rem;
	color:var(--brand-700);text-decoration:underline;text-underline-offset:.2em;cursor:pointer;border-radius:var(--radius-ctl)}
.giza-cc-link[aria-expanded="true"]{text-decoration:none;background:var(--surface-2)}
.giza-cc-prefs{margin-top:16px;padding-top:14px;border-top:1px solid var(--line, #dbe4ec);
	display:flex;flex-direction:column;gap:14px}
.giza-cc-prefs[hidden]{display:none}
.giza-cc-row p{font-size:.83rem;line-height:1.6;color:var(--muted, #5d7085);margin:4px 0 0;max-width:74ch}
.giza-cc-row-h{display:flex;align-items:center;justify-content:space-between;gap:12px}
.giza-cc-always{font-size:.78rem;color:var(--muted, #5d7085);font-weight:600}
.giza-cc-sw{position:relative;display:inline-flex;align-items:center;cursor:pointer;flex:none}
.giza-cc-sw input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
/* The OFF track needs a 3:1 boundary (WCAG 1.4.11) — --line on --card was 1.18:1, so an
   unticked consent switch was a white knob floating on nothing. On a consent control the visitor
   must be able to SEE that measurement is off. */
.giza-cc-sw-t{width:46px;height:28px;border-radius:999px;background:var(--line-2);box-shadow:inset 0 0 0 1.5px var(--field-line);
	position:relative;transition:background-color .2s ease}
.giza-cc-sw input:checked + .giza-cc-sw-t{box-shadow:none}
.giza-cc-sw-t::after{content:"";position:absolute;top:3px;inset-inline-start:3px;width:22px;height:22px;
	border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .2s ease}
.giza-cc-sw input:checked + .giza-cc-sw-t{background:var(--gold, #c9a227)}
/* Logical translate, so the knob travels toward the inline end in both directions. */
.giza-cc-sw input:checked + .giza-cc-sw-t::after{transform:translateX(18px)}
[dir="rtl"] .giza-cc-sw input:checked + .giza-cc-sw-t::after{transform:translateX(-18px)}
.giza-cc-sw input:focus-visible + .giza-cc-sw-t{outline:2px solid var(--gold, #c9a227);outline-offset:2px}
.giza-cc-act-2 .giza-cc-b{flex:0 1 240px;background:var(--gold, #c9a227);border-color:var(--gold, #c9a227);color:var(--gold-ink)}
.giza-cc-act-2 .giza-cc-b:focus-visible{outline-color:var(--ink)}
@media (hover:hover){.giza-cc-act-2 .giza-cc-b:hover{filter:brightness(1.06);background:var(--gold, #c9a227);color:var(--gold-ink)}}
.giza-cc-reopen{min-height:44px;padding:0 16px;border-radius:10px;border:1px solid var(--line, #dbe4ec);
	background:transparent;color:inherit;font:inherit;font-weight:600;font-size:.87rem;cursor:pointer}
.giza-cc-table td code{font-size:.82em;word-break:break-word}
@media (min-width:700px){
	.giza-cc-act{max-width:420px}
}
/* Phones: a compact bottom sheet, ≤40% of a 390x844 screen on first visit. */
@media (max-width:599px){
	.giza-cc{border-radius:18px 18px 0 0;border-top:0}
	.giza-cc-in{padding:12px 16px calc(12px + env(safe-area-inset-bottom))}
	.giza-cc-t{margin-bottom:4px}
	.giza-cc-d{margin-bottom:10px}
	.giza-cc-act{gap:8px}
	.giza-cc-act .giza-cc-b{flex:1 1 120px;min-height:46px}
}
@media (prefers-reduced-motion:reduce){
	.giza-cc,.giza-cc-sw-t,.giza-cc-sw-t::after,.giza-cc-b{transition:none}
}
/* While a consent choice is outstanding the bottom nav gets out of the way — two
   stacked fixed bars on a 360px phone is what actually reads as obstruction. */
[data-giza-consent-open] .botnav{display:none}

/* ============================================================================
   THE SEARCH FORM — home-page hero and /{lang}/search/, one component.

   Logical properties throughout (inset-inline, margin-inline, padding-inline):
   the form is rendered in both RTL and LTR from the same rules, and left/right
   would need a mirrored copy of every one of them.

   Contrast notes, because these were failures rather than choices. The focus
   ring used to be --gold (#c99a2c on white = 2.58:1, under the 3:1 WCAG 2.2
   SC 1.4.11 asks of a non-text indicator); it uses --brand. The control
   border went --line (1.13:1) → --brand-100 (1.31:1) → --field-line
   (3.10:1), and only the last of those three is an edge a reader can see —
   the middle step shipped under a comment asserting the failure was fixed,
   which is how a white console on a near-white hero ended up with invisible
   fields in it. EVERY border on a control in this component is --field-line,
   and every corner comes from --radius-ctl / --radius-xs rather than a
   literal.

   Order is markup, not `order`. The Search button is a direct child of the
   form, after the second row, because paint order is the only thing `order`
   changes and a keyboard user was being offered the submit control before
   three of the five filters existed for them.
   ========================================================================= */
.gz-hs{display:flex;flex-direction:column;gap:10px;text-align:start;margin-top:1.1rem}
/* In the hero the whole form is ONE console, not a card holding the first row with the rest
   floating on the background behind it. */
/* Concentric corners: the console's radius is its own padding PLUS the radius of the controls
   inside it. A fixed 22px outer around 14px of padding and 12px fields out-curves its own
   contents; 14 + --radius-ctl keeps the two curves parallel however either is retuned. */
/* The CONTAINER takes the quiet --line edge; only the controls inside it carry --field-line (the 3:1
   control boundary). A field-line frame around field-line inputs read as grey boxes in a grey box. */
.gz-hs--hero{background:var(--card);border:1px solid var(--line);border-radius:calc(var(--radius-ctl) + 14px);
	box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 16px 44px rgba(140,102,20,.14),0 2px 8px rgba(16,32,52,.05);padding:14px;gap:12px}
:root[data-theme="dark"] .gz-hs--hero{box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 16px 44px rgba(0,0,0,.35),0 2px 8px rgba(0,0,0,.2)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .gz-hs--hero{box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 16px 44px rgba(0,0,0,.35),0 2px 8px rgba(0,0,0,.2)}}

/* The primary bar: what and where. The Search button is NOT in here — it is a direct child of
   the form, after the second row; see the media blocks at the end of this section. */
.gz-hs-bar{display:grid;gap:10px;grid-template-columns:1fr}
.gz-hs-fld{display:flex;flex-direction:column;gap:5px;min-width:0;border:0;padding:0;margin:0}
/* A <fieldset>'s rendered <legend> is laid out OUTSIDE the anonymous box that establishes the
   fieldset's formatting context, so it is not a flex item and the 5px gap above never reached
   it: the gender label sat at a different offset from its control than the two labels beside
   it, and at >=860px the three row fields are side by side, so that is a visible break in the
   rhythm in the middle of the hero. Floating a legend is the one thing that makes it an
   ordinary in-flow child in every engine — and an in-flow child of a flex container is a flex
   item, so `gap` is what spaces it and this rule must NOT also carry a bottom margin: 5px of
   margin plus 5px of gap put the segmented control 10px under its own label while the two
   fields beside it sat 5px under theirs. */
.gz-hs-fld > legend{float:inline-start;width:100%;margin:0;padding:0}
.gz-hs-l{font-size:.8rem;font-weight:700;color:var(--ink);padding:0;display:block}
.gz-hs-opt{font-weight:500;color:var(--muted);font-size:.8rem;margin-inline-start:.25em}

/* 16px minimum on every control: anything smaller makes iOS Safari zoom the page on focus,
   which then breaks the layout for the rest of the session.

   `:where()`, not `:is()`. :is() takes the HIGHEST specificity of its arguments, so
   `input[type=search]` made this whole rule (0,2,1) — higher than `.gz-hs-selwrap select`, and
   the icon padding below silently lost to the shorthand here. The icons then sat on top of the
   text. :where() contributes zero, which is what a base layer should do. */
.gz-hs :where(select,input[type=text],input[type=search]){
	width:100%;min-height:50px;font:inherit;font-size:16px;color:var(--ink);
	background:var(--card);border:1px solid var(--field-line);border-radius:var(--radius-ctl);
	padding-inline:14px;padding-block:0;appearance:none;-webkit-appearance:none}
.gz-hs input::placeholder{color:var(--muted);opacity:1}
/* The native clear affordance is suppressed because the button at the end of the field would
   sit on top of it. It is REPLACED, not merely removed (.gz-hs-clear below): the placeholder
   invites a whole sentence and voice input can drop a forty-character transcript in here, and
   erasing that one backspace at a time on a phone is not an answer. */
.gz-hs input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}
/* :not(:disabled) on hover. The area select is DISABLED when the chosen governorate has no
   registered areas, and a border that lights up under the pointer reads as "interactive" on a
   control that is not. */
@media (hover:hover){.gz-hs :is(select,input):not(:disabled):hover{border-color:var(--brand)}}
.gz-hs :is(select,input):focus-visible{outline:2px solid var(--brand);outline-offset:1px;border-color:var(--brand)}
/* .85, not .7: this select's placeholder is rewritten to SAY why it is disabled, so that text
   is the only explanation a sighted reader gets and it has to stay legible. */
.gz-hs select:disabled{opacity:.85;cursor:not-allowed;background:var(--bg)}
/* :is() takes the HIGHEST specificity of its arguments, so the two rules above are (0,2,1) and
   (0,3,1) — and an error rule at (0,2,0) lost to both. An invalid field dropped its red border
   on hover and, worse, on focus, which is precisely when the reader is looking at it. */
.gz-hs :is(select,input,textarea)[aria-invalid="true"]{border-color:var(--err-ink)}

/* A field with an icon in it. The icon is decoration; the padding it needs is not. */
.gz-hs-inwrap,.gz-hs-selwrap{position:relative;display:flex;align-items:center;min-width:0}
.gz-hs-ico{position:absolute;inset-inline-start:13px;width:20px;height:20px;color:var(--muted);pointer-events:none}
/* One inset for every field, because every field now has an icon. The area select used to be
   the exception (`--plain`: no icon, 14px inset) — the control directly beneath the governorate,
   answering the same question one level finer, with a different text inset and a different
   visual weight, which reads as an oversight rather than a hierarchy. The two padding rules
   that produced it were both (0,2,0) and were resolved purely by source order, i.e. one
   reordering away from breaking silently. There is no exception any more. */
.gz-hs-inwrap input,.gz-hs-selwrap select{padding-inline-start:42px}

/* ── The text field's icon padding is PHYSICAL on purpose ────────────────────────────────────
 *
 * `#hs-q` carries `dir="auto"` so a franco-arabe query ("asnan") renders left-to-right inside a
 * right-to-left page. That attribute resolves the field's OWN `direction` from its VALUE — and
 * an empty value resolves to `ltr`. The icons do not move with it: the magnifier and the
 * microphone are positioned against `.gz-hs-inwrap`, which keeps the page direction.
 *
 * So on the Arabic site the logical padding above pointed the wrong way in the two states the
 * field is in most of the time. Measured at 360px:
 *
 *   empty        direction:ltr → padding-left 42px, but the mic occupies 45px  → 3px of the
 *                placeholder rendered underneath the microphone button
 *   "asnan"      direction:ltr → same overlap, on the exact input style this audience uses most
 *   "أسنان"      direction:rtl → correct, which is why it survives casual testing
 *
 * A symmetric inset is the fix, not an `html[dir]` override: the reserved space has to be right
 * whichever way the field flips, and it flips per keystroke. 48px clears the microphone (38px
 * box at a 7px inset = 45px) and is generous for the magnifier (20px at 13px = 33px). The
 * placeholder measures 167px against 194px of typing area at 360px, so nothing is lost.
 *
 * The SELECTS keep the logical rule above. They have no `dir="auto"`, so their direction is the
 * page's and it never changes. */
.gz-hs-inwrap.has-end input{padding-left:48px;padding-right:48px}
.gz-hs-selwrap select{padding-inline-end:38px}
/* The caret. A real chevron drawn once as a mask, rather than the classic two-45deg-gradients
   trick the rest of this file used: at any zoom above 100% the two triangles stop meeting and
   the "v" reads as two separate marks. currentColor through the mask also means it inherits the
   field's colour in both themes with no second rule. */
.gz-hs-selwrap::after{content:"";position:absolute;inset-inline-end:14px;width:11px;height:11px;
	background-color:var(--muted);pointer-events:none;
	-webkit-mask:var(--gz-chev) center/11px 11px no-repeat;mask:var(--gz-chev) center/11px 11px no-repeat}
@media (hover:hover){.gz-hs-selwrap:hover::after{background-color:var(--brand-700)}}
.gz-hs{--gz-chev:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E")}

/* The two buttons that can occupy the end of the query field: the microphone, and the clear
   button that replaces it the moment there is text to clear.

   They SHARE one box, deliberately. Two 38px buttons side by side would eat ~90px of a 292px
   field on a 360px phone — a third of the typing area — and the field is where a whole sentence
   is meant to be typed. So voice is the way you START a query and clear is what you do to one
   that exists, and swapping them costs no layout: same position, same size, one `.has-end`
   class reserving the padding for whichever is showing. */
.gz-hs-mic,.gz-hs-clear{position:absolute;inset-inline-end:7px;display:inline-flex;align-items:center;justify-content:center;
	width:38px;height:38px;padding:0;border:1px solid var(--field-line);border-radius:var(--radius-sm);
	background:var(--bg);color:var(--muted);cursor:pointer}
/* An author `display` beats the UA's `[hidden]{display:none}` whatever the specificity, so
   without this the microphone rendered for every visitor including the ones whose browser has
   no speech recognition at all — a button that cannot do anything, inside the primary field. */
.gz-hs-mic[hidden],.gz-hs-clear[hidden]{display:none}
/* 38px clears WCAG 2.2 SC 2.5.8's 24px floor and misses the 44px one, and this is the worst
   place on the page for that: a miss lands on the <input> behind the button, opens the keyboard
   and drops a caret in the field, which reads as "the button does nothing". The visual box
   stays 38px so the field keeps its typing space; the hit area is 44x44. */
.gz-hs-mic::after,.gz-hs-clear::after{content:"";position:absolute;inset:-3px}
@media (hover:hover){.gz-hs-mic:hover,.gz-hs-clear:hover{color:var(--brand-700);border-color:var(--brand)}}
.gz-hs-mic:active,.gz-hs-clear:active{color:var(--brand-700);background:var(--hover)}
.gz-hs-mic:focus-visible,.gz-hs-clear:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
/* Reserved while EITHER button occupies that corner, and both occupy the SAME box, so swapping
   one for the other never moves the text. Reserved only once a button is real: doing it
   unconditionally cost ~112px of a 320px field on a 360px phone, on every browser with no
   speech support at all. */
/* Superseded by the physical rule near `.gz-hs-inwrap input` above — see the note there for
   why a `dir="auto"` field cannot use logical insets against page-positioned icons. */
.gz-hs-mic.is-rec{background:#c0392b;border-color:#c0392b;color:#fff;animation:gz-rec 1.4s ease-in-out infinite}
@keyframes gz-rec{0%,100%{opacity:1}50%{opacity:.62}}
@media (prefers-reduced-motion:reduce){.gz-hs-mic.is-rec{animation:none}}

/* Gender: a real radio group styled as a segmented control, so arrow keys and the accessible
   name come from the platform instead of being reimplemented. */
.gz-hs-seg{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border:1px solid var(--field-line);
	border-radius:var(--radius-ctl);overflow:hidden;background:var(--card);position:relative}
.gz-hs-seg input{position:absolute;opacity:0;width:1px;height:1px}
.gz-hs-seg label{display:flex;align-items:center;justify-content:center;min-height:50px;font-size:.88rem;
	font-weight:600;color:var(--muted);cursor:pointer;transition:background-color .15s ease,color .15s ease}
.gz-hs-seg label + input + label{border-inline-start:1px solid var(--field-line)}
/* Deliberately NOT gold. The Search button is the one gold thing in the hero, and a gold
   segment sitting permanently on "Any" — which is the default, i.e. not a choice anybody made —
   competed with it for the eye and implied a filter was active when none was. */
.gz-hs-seg input:checked + label{background:var(--ink);color:var(--card)}
.gz-hs-seg input:focus-visible + label{outline:2px solid var(--brand);outline-offset:-3px}

.gz-hs-combo{position:relative;min-width:0;flex:1}
.gz-hs-go{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;
	min-height:50px;padding-inline:24px;border:0;border-radius:var(--radius-ctl);background:var(--gold);
	color:var(--gold-ink);font:inherit;font-size:1rem;font-weight:700;cursor:pointer;white-space:nowrap;
	transition:filter .15s ease}
@media (hover:hover){.gz-hs-go:hover{filter:brightness(1.05)}}
.gz-hs-go:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.gz-hs-go[disabled]{opacity:.75;cursor:progress}
.gz-hs-go--wide{width:100%}

/* The suggestion list.

   z-index 70, not 60: it has to beat the sticky header (.nav, 50) AND the fixed mobile bottom
   bar (.botnav, 55). It can only do that now the hero has stopped being a stacking context (see
   .hero) — trapped inside one, no number written here could have won, and the comment that used
   to sit above this rule claiming it painted "above the sticky nav" was false on the one page
   that matters most.

   dvh, not vh. This list only ever opens while the virtual keyboard is up, and `vh` on iOS
   resolves against the LARGE viewport and does not shrink when the keyboard appears: a 320px
   list on a 667px phone with ~300px of visible area ran clean off the bottom of what the reader
   could see. Every other viewport measure in this file was migrated to dvh; this was the one
   straggler. */
.gz-hs-list{position:absolute;z-index:70;inset-inline:0;top:calc(100% + 4px);margin:0;padding:6px;
	list-style:none;background:var(--card);border:1px solid var(--field-line);border-radius:var(--radius-ctl);
	box-shadow:0 14px 34px rgba(10,22,34,.18);max-height:min(320px,40dvh);overflow-y:auto;
	overscroll-behavior:contain;scroll-padding-block:2px}
.gz-hs-list[hidden]{display:none}
.gz-hs-list li{padding:8px 12px;border-radius:var(--radius-xs);cursor:pointer;font-size:.92rem;
	min-height:44px;display:flex;align-items:center;gap:10px}
/* Each row carries its own dir="auto" (set in giza-search-form.js), so flex direction follows
   the SUGGESTION's direction rather than the page's: the type badge trails the name at the end
   of the row whether that row is "Dr. Ahmed Ali" or "أسنان". A mixed Arabic/Latin doctor name
   would otherwise reorder against the surrounding RTL context and throw its trailing token to
   the wrong end. */
.gz-hs-s-t{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center}
.gz-hs-s-l{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gz-hs-s-g{font-size:.76rem;color:var(--muted);line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gz-hs-s-k{flex:none;font-size:.68rem;font-weight:700;padding:3px 8px;border-radius:999px;
	background:var(--brand-50);color:var(--brand-700);white-space:nowrap}
/* A 1.06:1 tint is not a state. --brand-50 on --card is #faf3e2 on #ffffff, and the only other
   cue was a hue shift of near-identical lightness — so the keyboard-navigation state, which is
   also what aria-activedescendant points at, had no perceivable non-text indicator at all, and
   arrow-keying through eight rows on a phone in daylight was blind. The highlighted row now
   gets a filled background AND a 3px accent on its inline-start edge; hover keeps the light
   tint so the two states stay distinguishable. border-inline-start with the padding adjusted
   by the same 3px, rather than an inset box-shadow, because a shadow offset is physical and
   would need a mirrored copy for RTL. */
@media (hover:hover){.gz-hs-list li:hover{background:var(--brand-50);color:var(--brand-700)}}
.gz-hs-list li.is-on{background:var(--brand-100);color:var(--brand-700);
	border-inline-start:3px solid var(--brand);padding-inline-start:9px}
.gz-hs-list li.is-on .gz-hs-s-k{background:var(--card)}
/* The "nothing matched" row is a message, not an option: not selectable, not hoverable, and
   role="presentation" in the markup — a bare <li> inside role="listbox" is an owned element
   with a disallowed role, and is dropped or mis-announced. */
.gz-hs-list .gz-hs-none{color:var(--muted);font-size:.86rem;line-height:1.5;cursor:default;
	display:block;padding:11px 12px;min-height:0}
@media (hover:hover){.gz-hs-list .gz-hs-none:hover{background:transparent;color:var(--muted)}}

.gz-hs-foot{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;justify-content:space-between}
.gz-hs-hint{font-size:.8rem;color:var(--muted);line-height:1.55;margin:0;min-width:0}
/* flex-basis ONLY inside the row. .gz-hs is a column flex container, so an unscoped
   `flex:1 1 260px` on a direct child resolved against the BLOCK axis and gave the hint a
   260px-tall box — 200px of empty panel under the full form. */
.gz-hs-foot .gz-hs-hint{flex:1 1 260px}
.gz-hs-hint.is-err{color:var(--err-ink);font-weight:600}
.gz-hs-more{display:inline-flex;align-items:center;gap:.3rem;min-height:44px;font-size:.85rem;
	font-weight:700;color:var(--brand-700);text-decoration:underline;text-underline-offset:3px}
@media (hover:hover){.gz-hs-more:hover{color:var(--brand)}}
html[dir="ltr"] .gz-hs-more svg{transform:scaleX(-1)}

/* --- the full page variant ------------------------------------------------ */
.gz-hs--page{gap:14px}
/* The primary bar is ONE grid: the query on its own row, then governorate · area · gender.
   Two columns on a phone (gender spans under the pair), three from 860px. The rules this replaces
   targeted `.gz-hs--full`, a class nothing ever printed, so desktop got one 1098px column. */
.gz-hs--page .gz-hs-bar{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.gz-hs--page .gz-hs-fld--q,.gz-hs--page .gz-hs-bar>.gz-hs-gender{grid-column:1/-1}
@media (min-width:860px){
	.gz-hs--page .gz-hs-bar{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}
	.gz-hs--page .gz-hs-bar>.gz-hs-gender{grid-column:auto;min-width:260px}
}
@media (max-width:479px){
	/* Half-width selects at phone size: the field icon would eat the value's room. */
	.gz-hs--page .gz-hs-bar>.gz-hs-fld--gov .gz-hs-ico,.gz-hs--page .gz-hs-bar>.gz-hs-fld--area .gz-hs-ico{display:none}
	.gz-hs--page .gz-hs-bar>:is(.gz-hs-fld--gov,.gz-hs-fld--area) :where(select,.gz-pk-btn){padding-inline:10px 26px}
	.gz-hs--page .gz-hs-bar>:is(.gz-hs-fld--gov,.gz-hs-fld--area) .gz-hs-selwrap::after{inset-inline-end:9px}
	/* "All governorates" needs ~113px at 16px; a half-width button has 102-117px. The picker
	   BUTTON is not a text input (no iOS focus zoom), so its value may step down to 15/14px;
	   the no-JS <select> keeps 16px. */
	.gz-hs--page .gz-hs-bar>:is(.gz-hs-fld--gov,.gz-hs-fld--area) .gz-pk-btn .gz-pk-v{font-size:.9375rem}
}
@media (min-width:360px) and (max-width:374px){
	.gz-hs--page .gz-hs-bar>:is(.gz-hs-fld--gov,.gz-hs-fld--area) .gz-pk-btn .gz-pk-v{font-size:.875rem}
}
/* Under 360px the pair stacks, as on the hero: ~120px halves cut "All governorates". */
@media (max-width:359px){.gz-hs--page .gz-hs-bar{grid-template-columns:1fr}}

/* The advanced filters: a <details> (closed on a phone unless a value is set; held open from
   720px by giza-search-form.js, where the summary is a heading, not a toggle). */
.gz-hs-adv-d{min-width:0}
.gz-hs-adv-s{font-size:.92rem}
.gz-hs-adv-st{display:inline-flex;align-items:baseline;flex-wrap:wrap;gap:.35em}
.gz-hs-adv-n{font-weight:500;color:var(--muted);font-size:var(--fs-small)}
.gz-hs-adv{border:1px solid var(--field-line);border-radius:var(--radius);padding:16px;margin:0;background:var(--card);min-width:0}
.gz-hs-adv-l{font-size:.86rem;font-weight:700;color:var(--ink);padding-inline:6px}
/* Intrinsic, not a rigid 1fr 1fr: a two-digit fee band does not need the same column as a
   specialty list, and at 640-900px a fixed pair wrapped every Arabic label onto three lines. */
.gz-hs-grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));margin-top:6px}
@media (min-width:720px){
	.gz-hs-adv-d>summary{min-height:0;padding:0 6px 8px;cursor:default;font-size:.86rem}
	.gz-hs-adv-d>summary::after{display:none}
}
/* Shown from first paint where the engine lets CSS style the details' content slot, so the script
   opening it is not a layout shift. Its own rule: an unknown pseudo-element voids a selector list. */
@media (min-width:720px){.gz-hs-adv-d::details-content{content-visibility:visible;block-size:auto}}
@media (max-width:719px){
	/* An accordion ROW, not a box inside the panel's box: no card-in-card on a phone. */
	.gz-hs-adv-d{border-block:1px solid var(--line);margin-inline:-2px;padding-inline:2px}
	.gz-hs-adv-d>summary{min-height:56px}
	.gz-hs-adv,.search-panel .gz-hs-adv{border:0;border-radius:0;padding:0 0 16px;background:none}
	.gz-hs-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:0}
	.gz-hs-grid>.gz-hs-fld:first-child{grid-column:1/-1}
	/* The first field spans the row, so a last field at an EVEN position sits alone: let it take the
	   empty half instead of truncating ("Recommend…" in a 155px column beside nothing). */
	.gz-hs-grid>.gz-hs-fld:nth-child(even):last-child{grid-column:1/-1}
}

/* The three flags are toggle chips, like the results page's quick filters. The checkbox is the
   real control, visually hidden but focusable (.sr-only); the chip shows its state and its ring. */
.gz-hs-checks{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.gz-hs-check{position:relative;display:inline-flex;align-items:center;gap:6px;min-height:var(--tap);padding:0 16px;
	border:1px solid var(--field-line);border-radius:999px;background:var(--card);font-size:var(--fs-small);
	font-weight:700;color:var(--body);cursor:pointer;-webkit-user-select:none;user-select:none;
	transition:background-color var(--dur-1),border-color var(--dur-1),color var(--dur-1)}
.gz-hs-check-b{display:none;color:var(--brand)}
.gz-hs-check:has(input:checked){background:var(--brand-50);border-color:var(--brand);color:var(--brand-700)}
.gz-hs-check:has(input:checked) .gz-hs-check-b{display:inline-grid}
.gz-hs-check:has(input:focus-visible){outline:2px solid var(--focus);outline-offset:2px}
.gz-hs-check:active{background:var(--hover)}
@media (hover:hover){.gz-hs-check:hover{border-color:var(--brand);color:var(--ink)}}
@media (prefers-reduced-motion:reduce){.gz-hs-check{transition:none}}
.gz-hs-adv-act{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px}
.gz-hs-adv-act .gz-hs-go{flex:1 1 220px}
.gz-hs-reset{min-height:44px;display:inline-flex;align-items:center;font-size:.86rem;font-weight:700;
	color:var(--muted);text-decoration:underline;text-underline-offset:3px}
@media (hover:hover){.gz-hs-reset:hover{color:var(--ink)}}

/* Windows High Contrast (`forced-colors: active`) discards author backgrounds and repaints
   author colours, and two things in this component depend on exactly those: the select caret is
   a masked pseudo-element, so it collapses to a solid square or vanishes and an appearance:none
   select is left with no drop indicator at all; and the checked gender segment is signalled ONLY
   by a background, so the control shows no selection. Both need a system colour stated by hand. */
@media (forced-colors:active){
	.gz-hs-selwrap::after{forced-color-adjust:none;background-color:CanvasText}
	.gz-hs-seg input:checked + label{outline:2px solid Highlight;outline-offset:-2px;color:Highlight}
	.gz-hs-list li.is-on{outline:2px solid Highlight;outline-offset:-2px}
	.gz-hs-mic.is-rec{outline:2px solid Highlight;outline-offset:-2px}
}

/* ============================================================================
   /{lang}/search/ — the page that asks the question.
   ========================================================================= */
.sec-search{padding-top:22px}
.search-head{margin-bottom:1.1rem}
.search-lede{color:var(--body);font-size:.98rem;line-height:1.8;margin-top:.5rem;max-width:70ch}
/* --field-line, not --line: this panel is the visible frame around the form on /search/, and at
   1.13:1 it and the .gz-hs-adv fieldset inside it read as an invisible box-in-box outline. */
.search-panel{background:var(--card);border:1px solid var(--field-line);border-radius:var(--radius-lg);
	padding:clamp(14px,3vw,20px);box-shadow:var(--shadow-sm)}
/* Inside the panel the bar is already on a card; a second card around it would be a box in a box. */
.search-panel .gz-hs{margin-top:0}
@media (min-width:720px){.search-panel .gz-hs-adv{background:var(--bg)}}
.search-browse{margin-top:1.6rem}
.search-gov-l{font-size:.82rem;font-weight:700;color:var(--muted);margin:.9rem 0 .35rem}
/* The only route from /search/ to the /specialties and /areas hubs on a phone: a 44px target. */
.search-browse .hub-area-head .hub-n{display:inline-flex;align-items:center;min-height:var(--tap);padding-inline:4px;
	color:var(--brand-700);font-weight:700;text-decoration:underline;text-underline-offset:3px}
@media (hover:hover){.search-browse .hub-area-head .hub-n:hover{color:var(--brand)}}

/* ============================================================================
   HOME 3.0 — trust strip, most-searched combos, how-it-works, trust cards,
   article teasers.
   ========================================================================= */
/* Section furniture that used to be inline style="" on home.php (and so could not change per
   theme or per width): the alternate-band background, the "see all" row, the grid offsets. */
.sec--alt{background:var(--card);border-block:1px solid var(--line)}
.sec-more{margin-top:1rem}
.home-spec{margin-top:1.4rem}
.home-areas{margin-top:1.1rem}
.home-faq .wrap{max-width:820px}
.home-faq .h-sec{margin-bottom:1rem}

.giza-trust-strip{padding-block:18px;background:var(--card);border-bottom:1px solid var(--line)}
.giza-ts{display:grid;gap:10px 22px;grid-template-columns:1fr 1fr;list-style:none;margin:0;padding:0}
.giza-ts li{display:flex;align-items:center;gap:8px;font-size:.84rem;font-weight:600;color:var(--body);min-height:32px}
.giza-ts svg{flex:none;width:18px;height:18px;color:var(--gold)}
/* Links read like the plain claims beside them — no underline — and carry a trailing chevron
   (mirrored for English via .gi-dir) to say "there is a page behind this". */
.giza-ts .giza-ts-chev{color:var(--brand-700);opacity:.8}
@media (max-width:600px){
	.giza-ts{grid-template-columns:1fr;gap:2px}
	.giza-ts li{font-size:var(--fs-small)}
}
/* The two clickable claims are bare inline <a>s inside a 32px <li>, so their hit box was the
   text line box — roughly 24px tall — two rows deep on a phone, on the block that inherited the
   removed counter strip's job of being the hero's trust payload. The <li> min-height rises with
   the anchor, which costs about 24px of page height for four rows and is worth it here. */
.giza-ts a{display:inline-flex;align-items:center;gap:6px;min-height:44px;color:var(--body);text-decoration:none}
@media (hover:hover){.giza-ts a:hover{color:var(--brand-700)}.giza-ts a:hover span{text-decoration:underline;text-underline-offset:3px}}
@media (min-width:900px){.giza-ts{grid-template-columns:repeat(4,1fr)}}

.giza-sponsored{font-size:.78rem;color:var(--muted);margin-top:.35rem;max-width:64ch}
.giza-sub-h{font-size:.92rem;font-weight:700;color:var(--muted);margin:1.3rem 0 .6rem}
/* Colour, not opacity: .7 put the counts at ~4:1 in both themes. */
.chip small{font-weight:600;opacity:1;color:var(--muted);margin-inline-start:.25em}

.giza-combos{display:grid;gap:8px 16px;grid-template-columns:1fr;list-style:none;margin:1.2rem 0 0;padding:0}
.giza-combos a{padding:11px 14px;border:1px solid var(--line);border-radius:12px;
	background:var(--bg);color:var(--body);font-size:.9rem;font-weight:600;min-height:44px;
	display:flex;align-items:center;transition:border-color var(--dur-1),color var(--dur-1),background-color var(--dur-1)}
@media (hover:hover){.giza-combos a:hover{border-color:var(--gold);color:var(--ink)}}
.giza-combos a:active{background:var(--brand-50)}
@media (min-width:640px){.giza-combos{grid-template-columns:1fr 1fr}}
@media (min-width:1000px){.giza-combos{grid-template-columns:repeat(3,1fr)}}
/* Phones: a wrapping chip cloud — twelve full-width 48px rows were ~700px of scrolling. */
@media (max-width:639px){
	.giza-combos{display:flex;flex-wrap:wrap;gap:8px}
	.giza-combos a{padding:6px 14px;border-radius:999px;background:var(--card);border-color:var(--brand-100);
		color:var(--brand-700);font-size:var(--fs-small);font-weight:700}
}

.giza-how{display:grid;gap:16px;grid-template-columns:1fr;list-style:none;margin:1.4rem 0 0;padding:0;counter-reset:none}
.giza-how li{padding:20px;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--card)}
.giza-how-n{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;
	border-radius:50%;background:var(--gold);color:var(--gold-ink);font-weight:700;font-size:1rem}
.giza-how h3{font-size:1.02rem;margin:.7rem 0 .35rem}
.giza-how p{font-size:.9rem;line-height:1.65;color:var(--muted);margin:0}
@media (min-width:760px){.giza-how{grid-template-columns:repeat(3,1fr)}}
/* Phones: a numbered timeline — the number at the inline-start edge, the text beside it, and a
   connector line down to the next step (logical inset, so it sits under the number in both
   directions). ~100px a step instead of three 190px cards. */
@media (max-width:759px){
	.giza-how{gap:0}
	.giza-how li{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr);column-gap:14px;
		padding:0 0 20px;border:0;border-radius:0;background:none}
	.giza-how li:last-child{padding-bottom:0}
	.giza-how li:not(:last-child)::before{content:"";position:absolute;inset-inline-start:16px;inset-block:40px 4px;
		width:2px;border-radius:2px;background:var(--brand-100)}
	.giza-how-n{grid-row:1 / span 2}
	.giza-how h3{grid-column:2;margin:.3rem 0 .2rem}
	.giza-how p{grid-column:2;font-size:var(--fs-small)}
}

.giza-trust-grid{display:grid;gap:14px;grid-template-columns:1fr;margin-top:1.4rem}
.giza-trust-card{display:block;padding:20px;border:1px solid var(--line);border-radius:var(--radius-lg);
	background:var(--bg);color:inherit;transition:border-color var(--dur-1),transform var(--dur-1)}
@media (hover:hover){.giza-trust-card:hover{border-color:var(--gold);transform:translateY(-2px)}}
.giza-trust-card:active{border-color:var(--gold)}
.giza-trust-card h3{font-size:1rem;margin:0 0 .4rem;color:var(--ink)}
.giza-trust-card p{font-size:.86rem;line-height:1.6;color:var(--muted);margin:0}
@media (min-width:760px){.giza-trust-grid{grid-template-columns:1fr 1fr}}
@media (min-width:1100px){.giza-trust-grid{grid-template-columns:repeat(4,1fr)}}
@media (prefers-reduced-motion:reduce){.giza-trust-card{transition:none}.giza-trust-card:hover{transform:none}}
.giza-corr{margin-top:1.2rem;font-size:.87rem;color:var(--muted)}
.giza-corr a{display:inline-flex;align-items:center;min-height:var(--tap);padding-inline:4px;
	color:var(--brand-700);text-decoration:underline;text-underline-offset:3px;font-weight:700}

.giza-posts{display:grid;gap:16px;grid-template-columns:1fr;margin-top:1.2rem}
/* Every card has the same 16:9 media slot — a photo, or a tinted panel with the article's
   specialty glyph — so a row never mixes a 105px card with a 275px one. */
.giza-post{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;
	background:var(--card);color:inherit;box-shadow:var(--shadow-sm);transition:border-color var(--dur-1),box-shadow var(--dur-2)}
.giza-post img,.giza-post-ph{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.giza-post-ph{display:grid;place-items:center;background:linear-gradient(135deg,var(--brand-50),var(--card) 85%);
	color:var(--brand);border-bottom:1px solid var(--line)}
.giza-post-ph svg{width:44px;height:44px;opacity:.85}
.giza-post h3{font-size:1rem;line-height:1.45;margin:14px 16px 6px;color:var(--ink)}
.giza-post-rev{display:block;margin:auto 16px 16px;font-size:.79rem;color:var(--muted);font-weight:600}
@media (hover:hover){.giza-post:hover{border-color:var(--brand-100);box-shadow:var(--shadow)}.giza-post:hover h3{color:var(--brand)}}
.giza-post:active{border-color:var(--brand-100)}
@media (prefers-reduced-motion:reduce){.giza-post{transition:none}}
@media (min-width:760px){.giza-posts{grid-template-columns:repeat(3,1fr)}}
/* Phones: a list row — the same 16:9 slot as a 128px thumbnail at the inline start, the title and
   the reviewer beside it. Three stacked 16:9 banners were ~950px for three headlines. */
@media (max-width:600px){
	.giza-posts{gap:10px}
	.giza-post{display:grid;grid-template-columns:128px minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:12px;padding:10px;align-items:start}
	.giza-post img,.giza-post-ph{grid-row:1 / span 2;border-radius:var(--radius-xs);border:0}
	.giza-post-ph svg{width:30px;height:30px}
	.giza-post h3{margin:0 0 4px;font-size:.95rem}
	.giza-post-rev{margin:0}
}

/* --- home: FAQ (the one .disclosure pattern) -------------------------------------------------- */
.giza-faq{padding:0;margin-top:.7rem;transition:border-color var(--dur-1)}
.giza-faq-q{padding:14px 18px;line-height:1.5}
.giza-faq>p{margin:0;padding:0 18px 16px;color:var(--body);line-height:1.75}
.giza-faq[open]{border-color:var(--brand-100)}
@media (hover:hover){.giza-faq-q:hover{color:var(--brand-700)}}
@media (prefers-reduced-motion:reduce){.giza-faq{transition:none}}

/* --- home: featured doctors — a swipe carousel on a phone -------------------------------------- */
.home-feat-all,.home-feat-count{display:none}
@media (max-width:719px){
	/* The cards keep their one CTA; the row scrolls and snaps, the next card peeks. The negative
	   margin takes the row to the screen edges and the padding puts the first card back on the
	   gutter, so nothing overflows the page. */
	.home-featured .g-doc{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:86%;gap:12px;
		overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:20px;
		margin-inline:-20px;padding:4px 20px 10px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
	.home-featured .g-doc::-webkit-scrollbar{display:none}
	.home-featured .g-doc>*{scroll-snap-align:start;min-width:0}
	.home-feat-all{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:20px;
		border:1px dashed var(--field-line);border-radius:var(--radius);background:var(--bg);color:var(--ink);text-align:center;
		text-decoration:none}
	.home-feat-all b{font-size:1.05rem;color:var(--brand-700)}
	.home-feat-all small{font-size:var(--fs-small);color:var(--muted)}
	.home-feat-all-ic{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--brand-50);color:var(--brand-700);margin-bottom:4px}
	.home-feat-all:active{background:var(--brand-50)}
	.home-feat-count{display:block;margin:6px 0 0;text-align:center;font-size:var(--fs-meta);font-weight:700;color:var(--muted);
		font-variant-numeric:tabular-nums}
}
@media (prefers-reduced-motion:no-preference){.home-featured .g-doc{scroll-behavior:smooth}}
/* A governorate with only one or two featured doctors: the row is centred at card width rather
   than leaving an empty column beside a lone card. */
@media (min-width:720px){
	.home-featured .g-doc[data-n="1"]{grid-template-columns:minmax(0,560px);justify-content:center}
	.home-featured .g-doc[data-n="2"]{grid-template-columns:repeat(2,minmax(0,560px));justify-content:center}
}

/* --- home: the doctors' call to action -------------------------------------------------------- */
.giza-dr-cta{--focus:#fff;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;
	padding:clamp(24px,5vw,48px);border-radius:var(--radius-lg);color:#fff;
	background:linear-gradient(120deg,var(--brand-700),var(--brand))}
.giza-dr-cta h2{color:inherit;font-size:clamp(1.4rem,3vw,2rem)}
.giza-dr-cta p{color:rgba(255,255,255,.86);margin-top:.5rem;max-width:52ch}
.giza-dr-cta-act{display:flex;flex-wrap:wrap;gap:10px}
.giza-dr-cta .btn{font-size:1rem;min-height:var(--tap)}
.btn-on-brand{background:#fff;color:var(--brand-700);border-color:#fff}
.btn-on-brand-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.6)}
@media (hover:hover){
	.btn-on-brand:hover{filter:brightness(.95)}
	.btn-on-brand-ghost:hover{background:rgba(255,255,255,.1);border-color:#fff;color:#fff}
}
.btn-on-brand[aria-busy="true"]{--btn-spin:var(--brand-700)}
.btn-on-brand-ghost[aria-busy="true"]{--btn-spin:#fff}
/* Dark: --brand turns light gold there, and white on it measured ~2:1. A deep-gold panel with
   light ink and a gold edge instead; the primary action becomes the metallic gold button. */
:root[data-theme="dark"] .giza-dr-cta{--focus:#f0cf7d;background:linear-gradient(120deg,#2a2009,#3d2e0c);color:var(--ink);border:1px solid var(--tier-gold)}
:root[data-theme="dark"] .giza-dr-cta p{color:var(--body)}
:root[data-theme="dark"] .btn-on-brand{background:var(--gold);color:var(--gold-ink);border-color:var(--gold)}
:root[data-theme="dark"] .btn-on-brand-ghost{color:var(--ink);border-color:rgba(255,255,255,.35)}
@media (prefers-color-scheme:dark){
	:root:not([data-theme="light"]) .giza-dr-cta{--focus:#f0cf7d;background:linear-gradient(120deg,#2a2009,#3d2e0c);color:var(--ink);border:1px solid var(--tier-gold)}
	:root:not([data-theme="light"]) .giza-dr-cta p{color:var(--body)}
	:root:not([data-theme="light"]) .btn-on-brand{background:var(--gold);color:var(--gold-ink);border-color:var(--gold)}
	:root:not([data-theme="light"]) .btn-on-brand-ghost{color:var(--ink);border-color:rgba(255,255,255,.35)}
}
@media (max-width:600px){
	.giza-dr-cta-act{width:100%;flex-direction:column}
	.giza-dr-cta-act .btn{width:100%}
}

/* --- home: the mobile type floor -------------------------------------------------------------- */
@media (max-width:600px){
	.giza-sponsored,.giza-post-rev{font-size:var(--fs-small)}
}

/* ============================================================================
   SEARCH 4.0 — the specialty-first hero, the searchable picker, the symptom
   wizard, the validation popup and the results bar.

   Every colour here is a token, so none of these components needs a dark-mode
   block of its own. The few literals — backdrops, the recording red, shadows —
   are the ones this file already uses, and they read the same in both themes.
   ========================================================================= */

/* --- labels, required and optional marks ------------------------------------ */
/* Text on --ok-bg. --ok itself is 4.14:1 on it in light — a colour for icons and borders, not for
   11px text. Dark keeps a light ink; both dark twins, as everywhere in this file. */
:root{--ok-ink:#0b6b4b}
:root[data-theme="dark"]{--ok-ink:#6ee7b7}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--ok-ink:#6ee7b7}}
/* The select chevron's mask, at the root: the wizard and the validation popup live OUTSIDE the
   form, and `.gz-hs` — where this used to be the only definition — is the form. Outside it the mask
   resolved to nothing and every chevron in the wizard rendered as a solid 11px square. */
:root{--gz-chev:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E")}
/* An EMPTY dir="auto" field resolves to LTR, so on the Arabic site its Arabic placeholder was laid
   out left-to-right: pushed against the wrong edge, away from its own icon, and clipped at its
   beginning when it overflowed. While the placeholder is what is showing, the field takes the
   page's direction; the moment there is text, dir="auto" decides from the text as before. */
[dir="rtl"] .gz-hs input[dir="auto"]:placeholder-shown,[dir="rtl"] .gz-pk-q:placeholder-shown,
[dir="rtl"] .gz-ai textarea:placeholder-shown{direction:rtl;text-align:right}
[dir="ltr"] .gz-hs input[dir="auto"]:placeholder-shown,[dir="ltr"] .gz-pk-q:placeholder-shown,
[dir="ltr"] .gz-ai textarea:placeholder-shown{direction:ltr;text-align:left}
.gz-hs-l{display:flex;align-items:center;flex-wrap:wrap;gap:2px 0;font-size:.84rem}
.gz-hs-num{display:inline-grid;place-items:center;flex:none;width:21px;height:21px;border-radius:50%;
	background:var(--ink);color:var(--card);font-size:.72rem;font-weight:700;line-height:1;margin-inline-end:7px}
.gz-hs-req{color:var(--err-ink);font-weight:700;margin-inline-start:3px}
/* "Not required", in red, beside the doctor's name — the client's own instruction, and the one
   optional field a patient might otherwise think the search depends on. */
.gz-hs-opt--red{color:var(--danger-ink);background:var(--danger-bg);border:1px solid var(--danger-line);
	border-radius:999px;padding:1px 8px;font-weight:700;font-size:.8rem;margin-inline-start:6px}
.gz-hs-err{display:flex;align-items:center;gap:6px;margin:2px 0 0;color:var(--err-ink);font-size:.8rem;font-weight:700;line-height:1.45}
.gz-hs-err[hidden]{display:none}
.gz-hs-err::before{content:"!";content:"!" / "";display:inline-grid;place-items:center;flex:none;width:16px;height:16px;border-radius:50%;
	background:var(--err-ink);color:var(--card);font-size:.7rem;font-weight:700}
/* The invalid border must survive hover — the base rules above are (0,3,1) on hover. */
@media (hover:hover){.gz-hs :is(select,input,textarea)[aria-invalid="true"]:not(:disabled):hover{border-color:var(--err-ink)}}

/* The divider that says "everything below this line is optional". */
.gz-hs-sep{display:flex;align-items:center;gap:10px;margin:2px 0 0;font-size:.84rem;font-weight:700;color:var(--ink)}
.gz-hs-sep-t{display:inline-flex;align-items:center}
.gz-hs-sep::after{content:"";order:1;flex:1;min-width:16px;border-top:1px dashed var(--field-line)}
.gz-hs-sep .gz-hs-opt{order:2;margin:0}

/* --- the picker's trigger ------------------------------------------------------ */
/* The native select stays in the form, under the button, invisible and untouchable. */
.gz-pk-native{position:absolute!important;inset:0;width:100%!important;height:100%!important;opacity:0;pointer-events:none;margin:0}
/* NOT positioned: the field's icon and chevron are, and they must keep painting above it. */
.gz-pk-btn{width:100%;min-width:0;min-height:50px;display:flex;flex-direction:column;justify-content:center;gap:1px;
	margin:0;text-align:start;font:inherit;font-size:16px;line-height:1.35;color:var(--ink);background:var(--card);
	border:1px solid var(--field-line);border-radius:var(--radius-ctl);padding-block:5px;padding-inline:42px 38px;
	cursor:pointer;-webkit-appearance:none;appearance:none;transition:border-color .15s ease,box-shadow .15s ease}
.gz-hs-selwrap--plain .gz-pk-btn{padding-inline-start:14px}
.gz-pk-v{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gz-pk-k{display:block;font-size:.7rem;font-weight:700;color:var(--muted);line-height:1.2}
.gz-pk-btn.is-ph .gz-pk-v{color:var(--muted)}
.gz-pk-btn[aria-invalid="true"] :is(.gz-pk-v,.gz-pk-k){color:var(--body)}
.gz-pk-btn[aria-expanded="true"]{border-color:var(--brand)}
@media (hover:hover){.gz-pk-btn:not(:disabled):hover{border-color:var(--brand)}}
.gz-pk-btn:focus-visible{outline:2px solid var(--brand);outline-offset:1px;border-color:var(--brand)}
.gz-pk-btn:disabled{opacity:.85;cursor:not-allowed;background:var(--bg)}
.gz-pk-btn[aria-invalid="true"],.gz-pk-btn[aria-invalid="true"]:not(:disabled):hover,.gz-pk-btn[aria-invalid="true"]:focus-visible{
	border-color:var(--err-ink);background:var(--danger-bg);box-shadow:0 0 0 1px var(--err-ink)}
.gz-hs-fld.is-invalid .gz-hs-selwrap{animation:gz-nudge .32s ease}
@keyframes gz-nudge{0%,100%{transform:none}25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}

/* --- the picker: a sheet on a phone, a popover anywhere wider --------------------- */
.gz-pk{border:0;padding:0;margin:0;background:transparent;color:var(--ink);max-width:none;max-height:none;overflow:visible;text-align:start}
.gz-pk[open]{display:flex;flex-direction:column}
.gz-pk::backdrop{background:rgba(10,22,34,.45)}
.gz-pk.is-pop::backdrop{background:transparent}
.gz-pk-in{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;background:var(--card);outline:0;
	border:1px solid var(--field-line);border-radius:var(--radius-ctl);box-shadow:0 18px 48px rgba(10,22,34,.24);overflow:hidden}
.gz-pk.is-pop{position:fixed;inset:auto;animation:gz-pop .14s ease}
.gz-pk.is-sheet{position:fixed;inset:auto 0 var(--pk-kb,0px) 0;width:100%;
	max-height:min(86dvh,calc(var(--pk-vh,100dvh) - 12px));animation:giza-sheet .26s cubic-bezier(.16,1,.3,1)}
.gz-pk.is-sheet .gz-pk-in{border-radius:var(--radius-lg) var(--radius-lg) 0 0;border-bottom:0;padding-bottom:env(safe-area-inset-bottom)}
/* A sheet with a filter box keeps ONE height while the list filters: it used to collapse from
   726px to ~270px as the matches ran out, dropping the search field out from under the thumb
   (and the keyboard). Short lists without a filter box keep their content height. */
.gz-pk.is-sheet:has(.gz-pk-search:not([hidden])){height:min(86dvh,calc(var(--pk-vh,100dvh) - 12px))}
.gz-pk-head{position:relative;flex:none;display:flex;align-items:center;gap:8px;padding-block:16px 6px;padding-inline:16px 8px}
.gz-pk.is-pop .gz-pk-head{display:none}
.gz-pk-grab{position:absolute;top:6px;left:50%;width:42px;height:4px;margin-left:-21px;border-radius:4px;background:var(--line)}
.gz-pk-t{flex:1;min-width:0;margin:0;font-size:1.02rem;line-height:1.4}
.gz-pk-x{flex:none;min-width:44px;min-height:44px;display:grid;place-items:center;border:0;border-radius:var(--radius-sm);
	background:transparent;color:var(--muted);cursor:pointer}
@media (hover:hover){.gz-pk-x:hover{background:var(--bg);color:var(--ink)}}
.gz-pk-x:active{background:var(--hover);color:var(--ink)}
.gz-pk-search{position:relative;flex:none;display:flex;align-items:center;margin:4px 12px 8px}
.gz-pk.is-pop .gz-pk-search{margin-top:10px}
.gz-pk-search[hidden]{display:none}
.gz-pk-search svg{position:absolute;inset-inline-start:12px;color:var(--muted);pointer-events:none}
/* Symmetric padding: the field is dir="auto", so an empty or Latin query flips it to LTR while the
   magnifier stays on the page's start side. See the `.gz-hs-inwrap` note above. */
.gz-pk-q{width:100%;min-height:46px;margin:0;font:inherit;font-size:16px;color:var(--ink);background:var(--bg);
	border:1px solid var(--field-line);border-radius:var(--radius-ctl);padding:0 40px;-webkit-appearance:none;appearance:none}
.gz-pk-q::placeholder{color:var(--muted);opacity:1}
.gz-pk-q:focus-visible{outline:2px solid var(--brand);outline-offset:1px;border-color:var(--brand);background:var(--card)}
.gz-pk-q::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}
.gz-pk-list{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:2px 8px 10px;-webkit-overflow-scrolling:touch}
.gz-pk-grp[hidden],.gz-pk-o[hidden]{display:none}
.gz-pk-gh{position:sticky;top:0;z-index:1;padding:10px 12px 5px;background:var(--card);font-size:.74rem;font-weight:700;color:var(--muted)}
.gz-pk-o{display:flex;align-items:center;gap:10px;min-height:48px;padding:10px 12px;border-radius:var(--radius-xs);
	font-size:1rem;color:var(--ink);cursor:pointer;-webkit-user-select:none;user-select:none}
/* Hover only where there is a hovering pointer: on touch the tinted row stuck under the finger and
   read as the current selection. Touch gets a press state instead. */
@media (hover:hover) and (pointer:fine){.gz-pk-o:hover{background:var(--brand-50)}}
.gz-pk-o:active{background:var(--brand-50)}
/* Filled AND edged, like the suggestion list: a tint alone is 1.06:1 and not a state. */
.gz-pk-o.is-act{background:var(--brand-100);border-inline-start:3px solid var(--brand);padding-inline-start:9px}
.gz-pk-o.is-cur{font-weight:700;color:var(--brand-700)}
.gz-pk-o[aria-disabled="true"]{opacity:.5;cursor:not-allowed}
.gz-pk-ot{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gz-pk-on{flex:none;min-width:26px;padding:2px 8px;border-radius:999px;background:var(--bg);color:var(--muted);
	font-size:.74rem;font-weight:700;text-align:center;font-variant-numeric:tabular-nums}
.gz-pk-ck{flex:none;display:grid;color:var(--brand);visibility:hidden}
.gz-pk-o.is-cur .gz-pk-ck{visibility:visible}
.gz-pk-empty{margin:0;padding:22px 16px;text-align:center;color:var(--muted);font-size:.9rem}
.gz-pk-empty[hidden]{display:none}
/* The sheet keeps a fixed height while filtering, so with zero matches the list gives up its
   flex:1 and the message takes the slack: it sits right under the search box, footer at the bottom. */
.gz-pk-in:has(.gz-pk-empty:not([hidden])) .gz-pk-list{flex:0 0 auto}
.gz-pk-in:has(.gz-pk-empty:not([hidden])) .gz-pk-empty{flex:1 1 auto}
.gz-pk-foot{flex:none;padding:8px 12px 10px;border-top:1px solid var(--line)}
.gz-pk-foot[hidden]{display:none}
/* Solid, not dashed: a dashed edge reads as a drop zone or a placeholder, not as a button. */
.gz-pk-ai,.gz-vd-ai{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:10px 12px;margin:0;
	border:1px solid var(--brand-100);border-radius:var(--radius-ctl);background:var(--brand-50);color:var(--brand-700);
	font:inherit;font-size:.9rem;font-weight:700;text-align:start;cursor:pointer}
@media (hover:hover){.gz-pk-ai:hover,.gz-vd-ai:hover{background:var(--brand-100);border-color:var(--brand)}}
.gz-pk-ai:active,.gz-vd-ai:active{background:var(--brand-100)}
.gz-pk-ai svg{flex:none;color:var(--brand)}
.gz-pk-ai:focus-visible,.gz-vd-ai:focus-visible{outline:2px solid var(--brand);outline-offset:2px}

/* --- the hero: what, where, and the optional rest ----------------------------------- */
.gz-hs--hero{gap:14px;padding:16px}
.gz-hs-sec{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0}
.gz-hs--hero .gz-hs-go{width:100%;min-height:54px;font-size:1.05rem}
.gz-hs--hero .gz-hs-foot{justify-content:center}
/* 320px: the stacked "where" adds a row, so the card's rhythm tightens a step (see the hero
   type block under "Mobile: the scene comes OFF"). */
@media (max-width:359px){
	.hero .gz-hs--hero{gap:12px;padding:14px;margin-top:14px}
	.gz-hs--hero .gz-hs-sec{gap:10px}
}
/* Governorate and area side by side from 360px: one question ("where?") asked in one row, and the
   ~90px it saves is part of what puts Search on the first phone screen. At half width the field
   icons would eat the value's room, so they go until 640px. */
@media (min-width:360px){
	.gz-hs-sec--where{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
@media (min-width:360px) and (max-width:639px){
	/* The governorate is pre-filled with one short word; the area is the required, still-empty
	   answer whose placeholder must read in full ("Choose an a…" at an even split in English).
	   Arabic fits evenly, and its numbered governorate label needs the half. */
	:root[dir="ltr"] .gz-hs-sec--where{grid-template-columns:minmax(0,2fr) minmax(0,3fr)}
	.gz-hs-sec--where .gz-hs-ico{display:none}
	.gz-hs-sec--where .gz-hs-selwrap select,.gz-hs-sec--where .gz-pk-btn{padding-inline:12px 30px}
	.gz-hs-sec--where .gz-hs-selwrap::after{inset-inline-end:11px}
}
/* The optional refinements are a <details> (see parts-search-form.php). The <details> itself is a
   plain block — not every engine lets one be a grid container — and the grid is the inner box. */
details.gz-hs-sec--more{display:block}
.gz-hs-more-in{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding-top:6px}
@media (min-width:640px){
	.gz-hs-more-in{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);align-items:start}
}
/* The summary is the dashed "optional" divider: number + title, the dashed rule, the pill, then
   the disclosure chevron. The rule moves to ::before because ::after is the chevron. */
.gz-hs-sec--more>summary.gz-hs-sep{min-height:48px;margin:0;justify-content:flex-start;gap:10px}
.gz-hs-sec--more>summary.gz-hs-sep::before{content:"";order:1;flex:1;min-width:16px;border-top:1px dashed var(--field-line)}
.gz-hs-sec--more>summary.gz-hs-sep::after{order:3;min-width:0}
.gz-hs-sec--more>summary .gz-hs-opt{order:2}
@media (hover:hover){.gz-hs-sec--more>summary:hover .gz-hs-sep-t{color:var(--brand-700)}}
@media (min-width:860px){.gz-hs--hero{padding:18px 20px}}

/* --- "not sure which specialty?" ---------------------------------------------------- */
.gz-hs-ai{display:flex;align-items:center;gap:12px;width:100%;min-height:62px;padding:10px 12px;margin:0;
	border:1px solid var(--brand);border-radius:var(--radius-ctl);
	background:linear-gradient(135deg,var(--brand-50),var(--card) 70%);color:var(--ink);
	font:inherit;text-align:start;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}
.gz-hs-ai[hidden]{display:none}
/* Painted by the server; only a page with scripting OFF (no `gz-js` on <html>) hides it, because
   there the wizard it opens does not exist. */
:root:not(.gz-js) .gz-hs-ai{display:none}
@media (hover:hover){.gz-hs-ai:hover{border-color:var(--brand);box-shadow:0 8px 22px var(--cta-glow)}}
.gz-hs-ai:active{transform:translateY(1px)}
.gz-hs-ai:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.gz-hs-ai-ic{flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:12px;
	background:linear-gradient(160deg,var(--cta-2),var(--cta));color:var(--cta-ink);box-shadow:0 6px 14px var(--cta-glow)}
.gz-hs-ai-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;line-height:1.45}
.gz-hs-ai-t b{font-size:.95rem;color:var(--ink)}
.gz-hs-ai-sub{font-size:.8rem;color:var(--body)}
.gz-hs-ai-short{display:none}
/* A borderless directional chevron, not a bordered microphone: that circle looked like a record
   button and did not record (the real voice control is inside the wizard). */
.gz-hs-ai-go{flex:none;display:grid;place-items:center;width:24px;height:24px;border:0;background:none;color:var(--brand-700)}
.gz-hs-ai--page{margin-top:10px;min-height:54px}
/* Phones: one 56px row — a 36px icon, the short title on one line, no subtitle. */
@media (max-width:600px){
	.gz-hs-ai,.gz-hs-ai--page{min-height:56px;padding:8px 10px;gap:10px}
	.gz-hs-ai-ic{width:36px;height:36px;border-radius:10px}
	.gz-hs-ai-ic svg{width:20px;height:20px}
	.gz-hs-ai-sub,.gz-hs-ai-long{display:none}
	.gz-hs-ai-short{display:inline}
	.gz-hs-ai-t b{font-size:.92rem;line-height:1.4}
}
/* Phones: the short title must stay on ONE line. The chevron is decorative (the whole card is
   the button), so it goes up to 430px (412/414/428 phones wrapped with it), and from 400px down
   the title steps to 14.08px — the floor, never under it. At 374px and below the card's own
   gap and inline padding give 4px back; under 360px nothing fits one line at the floor, so the
   two lines are balanced (question / instruction) instead of leaving a one-word orphan. */
@media (max-width:430px){.gz-hs-ai-go{display:none}}
@media (max-width:400px){.gz-hs-ai-t b{font-size:.88rem}}
@media (max-width:374px){.gz-hs-ai,.gz-hs-ai--page{gap:8px;padding-inline:8px}}
@media (max-width:359px){.gz-hs-ai-t b{text-wrap:balance}}

/* --- the validation popup ------------------------------------------------------------ */
.gz-vd{border:0;padding:0;inset:0;margin:auto;width:min(420px,calc(100% - 32px));max-width:none;height:fit-content;
	max-height:calc(100dvh - 32px);background:transparent;color:var(--ink);overflow:visible;text-align:center}
.gz-vd::backdrop{background:rgba(10,22,34,.5)}
.gz-vd[open]{animation:gz-pop .16s ease}
.gz-vd-in{display:flex;flex-direction:column;align-items:center;gap:10px;padding:22px 20px 18px;background:var(--card);
	border-radius:var(--radius-lg);box-shadow:0 26px 70px rgba(10,22,34,.34);max-height:calc(100dvh - 32px);overflow-y:auto}
.gz-vd-ic{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:var(--warn-bg);color:var(--warn)}
.gz-vd-t{margin:0;font-size:1.12rem;line-height:1.4}
.gz-vd-d{margin:0;color:var(--body);font-size:.93rem;line-height:1.7;align-self:stretch;text-align:start}
.gz-vd-list{display:flex;flex-direction:column;gap:8px;width:100%;margin-top:4px}
.gz-vd-fix{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:10px 14px;margin:0;
	border:1px solid var(--danger-line);border-radius:var(--radius-ctl);background:var(--danger-bg);color:var(--danger-ink);
	font:inherit;font-size:.98rem;font-weight:700;text-align:start;cursor:pointer}
@media (hover:hover){.gz-vd-fix:hover{border-color:var(--err-ink)}}
.gz-vd-fix .gz-hs-num{background:var(--danger-ink);color:var(--danger-bg);margin:0}
.gz-vd-fix-t{flex:1}
/* The first fix is THE action of this popup ("choose the specialty"), so it takes the deep-gold
   conversion ramp; "OK" only dismisses and steps down to a ghost button. It used to be the other
   way round: a navy "OK" was the loudest control and the fixes were pink cards. */
.gz-vd-list .gz-vd-fix:first-child{background:linear-gradient(180deg,var(--cta-2),var(--cta));color:var(--cta-ink);
	border-color:transparent;box-shadow:0 6px 16px var(--cta-glow)}
.gz-vd-list .gz-vd-fix:first-child .gz-hs-num{background:var(--cta-ink);color:var(--cta)}
@media (hover:hover){.gz-vd-list .gz-vd-fix:first-child:hover{border-color:transparent;filter:brightness(1.08)}}
.gz-vd-alt{margin:2px 0 0;font-size:.84rem;color:var(--muted);line-height:1.6;align-self:stretch;text-align:start}
.gz-vd-alt[hidden]{display:none}
.gz-vd-alt a{color:var(--brand-700);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.gz-vd-ok{width:100%;min-height:48px;margin:4px 0 0;border:1px solid var(--field-line);border-radius:var(--radius-ctl);background:transparent;color:var(--ink);
	font:inherit;font-weight:700;cursor:pointer}
@media (hover:hover){.gz-vd-ok:hover{border-color:var(--brand);color:var(--brand-700)}}
.gz-vd-ok:active{background:var(--hover)}
.gz-vd-ok:focus-visible,.gz-vd-fix:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.gz-vd-list .gz-vd-fix:first-child:focus-visible{outline-color:var(--ink)}
@media (max-width:719px){
	.gz-vd{inset:auto 0 0 0;margin:0;width:100%;max-height:88dvh}
	.gz-vd[open]{animation:giza-sheet .26s cubic-bezier(.16,1,.3,1)}
	.gz-vd-in{border-radius:var(--radius-lg) var(--radius-lg) 0 0;max-height:88dvh;padding-bottom:calc(18px + env(safe-area-inset-bottom))}
}
/* showModal() throwing is rare but real; the attribute fallback is a non-modal dialog in normal flow. */
.gz-vd.is-fallback,.gz-ai.is-fallback{position:fixed;z-index:1000;box-shadow:0 0 0 100vmax rgba(10,22,34,.55)}

/* --- the symptom wizard -------------------------------------------------------------- */
.gz-ai{border:0;padding:0;inset:0;margin:auto;width:min(640px,calc(100% - 32px));max-width:none;
	height:min(780px,calc(100dvh - 40px));max-height:none;background:transparent;color:var(--ink);overflow:visible;text-align:start}
.gz-ai[open]{display:flex;animation:gz-pop .18s ease}
.gz-ai::backdrop{background:rgba(10,22,34,.55)}
.gz-ai-in{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;background:var(--card);
	border-radius:var(--radius-lg);box-shadow:0 26px 70px rgba(10,22,34,.34);overflow:hidden}
.gz-ai-head{flex:none;display:flex;align-items:center;gap:12px;padding-block:12px;padding-inline:16px 10px;border-bottom:1px solid var(--line)}
.gz-ai-prog{flex:none;display:flex;align-items:center;gap:4px}
.gz-ai-dot{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;border:1px solid var(--field-line);
	background:var(--bg);color:var(--muted);font-size:.8rem;font-weight:700}
.gz-ai-dot.is-on{background:var(--ink);border-color:var(--ink);color:var(--card)}
.gz-ai-dot.is-done{background:var(--ok-bg);border-color:var(--ok);color:var(--ok-ink)}
.gz-ai-line{width:16px;height:2px;border-radius:2px;background:var(--line)}
.gz-ai-titles{flex:1;min-width:0}
.gz-ai-stepl{margin:0;font-size:.74rem;font-weight:700;color:var(--muted)}
.gz-ai-t{margin:0;font-size:1.12rem;line-height:1.35;outline:0}
.gz-ai-x{flex:none;min-width:44px;min-height:44px;display:grid;place-items:center;border:0;border-radius:var(--radius-sm);
	background:transparent;color:var(--muted);cursor:pointer}
@media (hover:hover){.gz-ai-x:hover{background:var(--bg);color:var(--ink)}}
.gz-ai-x:active{background:var(--hover);color:var(--ink)}
.gz-ai-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:16px;-webkit-overflow-scrolling:touch}
.gz-ai-pane{display:flex;flex-direction:column;gap:14px}
.gz-ai-pane[hidden]{display:none}
.gz-ai-safe{display:flex;align-items:flex-start;gap:8px;margin:0;padding:10px 12px;border-radius:var(--radius-ctl);
	background:var(--ok-bg);color:var(--body);font-size:.82rem;line-height:1.65}
.gz-ai-safe svg{flex:none;margin-top:2px;color:var(--ok)}
/* The microphone is the biggest control on the step: on a phone it is the fastest way to answer. */
.gz-ai-voice{display:flex;align-items:center;gap:16px;padding:16px;border:1px solid var(--field-line);border-radius:var(--radius-lg);
	background:linear-gradient(160deg,var(--brand-50),var(--card) 75%);transition:border-color .2s ease}
.gz-ai-voice[hidden]{display:none}
.gz-ai-voice.is-rec{border-color:#c0392b}
.gz-ai-mic{position:relative;flex:none;display:grid;place-items:center;width:78px;height:78px;padding:0;border:0;border-radius:50%;
	background:linear-gradient(160deg,var(--cta-2),var(--cta));color:var(--cta-ink);cursor:pointer;box-shadow:0 10px 26px var(--cta-glow);
	transition:transform .15s ease}
@media (hover:hover){.gz-ai-mic:hover{transform:scale(1.04)}}
.gz-ai-mic:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.gz-ai-mic-off{display:none}
.gz-ai-mic.is-busy{opacity:.8}
.gz-ai-mic.is-rec{background:#c0392b;color:#fff;box-shadow:0 10px 26px rgba(192,57,43,.35)}
.gz-ai-mic.is-rec .gz-ai-mic-on{display:none}
.gz-ai-mic.is-rec .gz-ai-mic-off{display:block}
.gz-ai-mic-ring{position:absolute;inset:-7px;border-radius:50%;border:3px solid rgba(192,57,43,.5);opacity:0;pointer-events:none}
.gz-ai-mic.is-rec .gz-ai-mic-ring{animation:gz-ring 1.3s ease-out infinite}
@keyframes gz-ring{0%{transform:scale(.92);opacity:.95}100%{transform:scale(1.32);opacity:0}}
.gz-ai-vtxt{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}
.gz-ai-vs{margin:0;font-size:.95rem;font-weight:700;line-height:1.55;color:var(--ink)}
.gz-ai-vs.is-err{color:var(--err-ink)}
.gz-ai-vlang{position:relative;display:inline-flex;align-self:flex-start;border:1px solid var(--field-line);border-radius:999px;
	overflow:hidden;background:var(--card)}
.gz-ai-vlang input{position:absolute;opacity:0;width:1px;height:1px}
.gz-ai-vlang label{display:flex;align-items:center;min-height:44px;padding:0 16px;font-size:.8rem;font-weight:700;color:var(--muted);cursor:pointer}
.gz-ai-vlang input:checked+label{background:var(--ink);color:var(--card)}
.gz-ai-vlang input:focus-visible+label{outline:2px solid var(--brand);outline-offset:-3px}
@media (max-width:479px){.gz-ai-voice{flex-direction:column;text-align:center}.gz-ai-vlang{align-self:center}}
.gz-ai-l{font-size:.86rem;font-weight:700;color:var(--ink)}
.gz-ai-ta{position:relative}
.gz-ai-ta textarea{display:block;width:100%;min-height:108px;margin:0;resize:vertical;font:inherit;font-size:16px;line-height:1.65;
	color:var(--ink);background:var(--card);border:1px solid var(--field-line);border-radius:var(--radius-ctl);padding:12px 14px 30px}
.gz-ai-ta textarea::placeholder{color:var(--muted);opacity:1}
@media (hover:hover){.gz-ai-ta textarea:hover{border-color:var(--brand)}}
.gz-ai-ta textarea:focus-visible{outline:2px solid var(--brand);outline-offset:1px;border-color:var(--brand)}
.gz-ai-ta textarea[aria-invalid="true"],.gz-ai-ta textarea[aria-invalid="true"]:hover{border-color:var(--err-ink);box-shadow:0 0 0 1px var(--err-ink)}
.gz-ai-cnt{position:absolute;bottom:8px;inset-inline-end:12px;font-size:.72rem;color:var(--muted);pointer-events:none;font-variant-numeric:tabular-nums}
.gz-ai-cnt.is-near{color:var(--warn);font-weight:700}
.gz-ai-err{margin:0;color:var(--err-ink);font-size:.86rem;font-weight:700;line-height:1.55}
.gz-ai-err:empty{display:none}
.gz-ai-novoice{margin:0;font-size:.82rem;line-height:1.6;color:var(--muted)}
.gz-ai-novoice[hidden]{display:none}
.gz-ai-ex{display:flex;flex-wrap:wrap;gap:8px}
.gz-ai-chip{min-height:44px;padding:6px 14px;margin:0;border:1px solid var(--field-line);border-radius:999px;background:var(--bg);
	color:var(--body);font:inherit;font-size:.82rem;font-weight:600;cursor:pointer}
@media (hover:hover){.gz-ai-chip:hover{border-color:var(--brand);color:var(--brand-700)}}
.gz-ai-chip:active{border-color:var(--brand);background:var(--brand-50)}
.gz-ai-chip:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.gz-ai-go{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:52px;margin:0;border:0;
	border-radius:var(--radius-ctl);background:var(--ink);color:var(--card);font:inherit;font-size:1rem;font-weight:700;cursor:pointer}
@media (hover:hover){.gz-ai-go:hover{filter:brightness(1.12)}}
.gz-ai-go:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.gz-ai-go[disabled]{opacity:.7;cursor:progress}
.gz-ai-go.is-busy svg{animation:giza-spin 1.1s linear infinite}
.gz-ai-out{display:flex;flex-direction:column;gap:10px}
.gz-ai-out:empty{display:none}
.gz-ai-alert{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:12px 14px;border-radius:var(--radius-ctl);font-size:.88rem;line-height:1.65}
.gz-ai-alert--emg{background:var(--danger-bg);color:var(--danger-ink);border:1px solid var(--danger-line)}
.gz-ai-alert--emg a{color:var(--danger-ink);font-weight:700;text-decoration:underline}
.gz-ai-alert--warn{background:var(--warn-bg);color:var(--ink);border:1px solid var(--field-line)}
.gz-ai-alert--info{background:var(--brand-50);color:var(--ink);border:1px solid var(--brand-100)}
.gz-ai-retry{min-height:44px;padding:0 14px;margin:0;border:1px solid var(--field-line);border-radius:999px;background:var(--card);
	color:var(--ink);font:inherit;font-size:.84rem;font-weight:700;cursor:pointer}
@media (hover:hover){.gz-ai-retry:hover{border-color:var(--brand)}}
.gz-ai-retry:active{border-color:var(--brand);background:var(--hover)}
.gz-ai-load{display:flex;flex-direction:column;gap:8px}
.gz-ai-load p{margin:0;font-size:.88rem;font-weight:700;color:var(--body)}
.gz-ai-sk{height:66px;border-radius:var(--radius-ctl);background:linear-gradient(90deg,var(--bg) 0%,var(--line-2) 50%,var(--bg) 100%);
	background-size:200% 100%;animation:giza-shimmer 1.2s linear infinite}
.gz-ai-rh{margin:4px 0 0;font-size:1rem;outline:0}
.gz-ai-rsub{margin:-4px 0 0;font-size:.8rem;color:var(--muted)}
.gz-ai-opts{display:flex;flex-direction:column;gap:12px;padding-top:6px}
.gz-ai-opt{position:relative;display:flex;align-items:flex-start;gap:12px;padding:14px;border:1px solid var(--field-line);
	border-radius:var(--radius-ctl);background:var(--card);cursor:pointer;transition:border-color .15s ease,background-color .15s ease}
@media (hover:hover){.gz-ai-opt:hover{border-color:var(--brand)}}
.gz-ai-opt:active{border-color:var(--brand);background:var(--brand-50)}
.gz-ai-opt:has(input:checked){border-color:var(--gold);background:var(--brand-50);box-shadow:0 0 0 1px var(--gold)}
.gz-ai-opt input{flex:none;width:20px;height:20px;margin:3px 0 0;accent-color:var(--gold)}
.gz-ai-opt input:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.gz-ai-opt-b{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.gz-ai-opt-top{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.gz-ai-opt-n{min-width:0;font-size:1rem;font-weight:700;color:var(--ink)}
.gz-ai-pct{flex:none;font-size:1rem;font-weight:700;color:var(--brand-700);font-variant-numeric:tabular-nums;unicode-bidi:isolate}
.gz-ai-bar{display:block;height:8px;border-radius:999px;background:var(--bg);border:1px solid var(--line);overflow:hidden}
.gz-ai-bar i{display:block;height:100%;border-radius:inherit;background:var(--gold)}
.gz-ai-why{font-size:.8rem;line-height:1.55;color:var(--muted)}
.gz-ai-why bdi{color:var(--body);font-weight:600}
.gz-ai-cn{font-size:.76rem;color:var(--muted)}
.gz-ai-best{position:absolute;top:-10px;inset-inline-end:12px;padding:1px 9px;border-radius:999px;border:1px solid var(--ok);
	background:var(--ok-bg);color:var(--ok-ink);font-size:.7rem;font-weight:700}
.gz-ai-manual{display:flex;flex-direction:column;gap:8px;padding-top:14px;border-top:1px dashed var(--field-line)}
.gz-ai-ml{margin:0;font-size:.86rem;font-weight:700;color:var(--ink)}
.gz-ai-chosen{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;padding:12px 14px;border-radius:var(--radius-ctl);
	background:var(--brand-50);border:1px solid var(--brand-100);font-size:.92rem}
.gz-ai-chosen-l{color:var(--muted);font-weight:600}
.gz-ai-chosen b{color:var(--ink)}
.gz-ai-link{margin-inline-start:auto;min-height:44px;min-width:44px;padding:0 6px;border:0;background:none;color:var(--brand-700);font:inherit;
	font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.gz-ai-foot{flex:none;display:flex;gap:10px;padding:12px 16px;padding-bottom:calc(12px + env(safe-area-inset-bottom));
	border-top:1px solid var(--line);background:var(--card)}
.gz-ai-back{flex:none;min-height:52px;padding:0 18px;margin:0;border:1px solid var(--field-line);border-radius:var(--radius-ctl);
	background:transparent;color:var(--ink);font:inherit;font-weight:700;cursor:pointer}
@media (hover:hover){.gz-ai-back:hover{border-color:var(--brand)}}
.gz-ai-back:active{border-color:var(--brand);background:var(--hover)}
.gz-ai-next{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;min-height:52px;margin:0;border:0;
	border-radius:var(--radius-ctl);background:var(--gold);color:var(--gold-ink);font:inherit;font-size:1.02rem;font-weight:700;cursor:pointer}
@media (hover:hover){.gz-ai-next:hover{filter:brightness(1.05)}}
.gz-ai-back:focus-visible,.gz-ai-next:focus-visible,.gz-ai-x:focus-visible,.gz-ai-link:focus-visible,.gz-ai-retry:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
/* The arrow is drawn pointing to the reading direction's "forward" in Arabic; mirror it for English. */
[dir="ltr"] .gz-hs-arrow{transform:scaleX(-1)}
@media (max-width:719px){
	.gz-ai{inset:0;margin:0;width:100%;height:100%;height:100dvh}
	.gz-ai[open]{animation:giza-sheet .28s cubic-bezier(.16,1,.3,1)}
	.gz-ai-in{border-radius:0}
	.gz-ai-head{padding-top:calc(10px + env(safe-area-inset-top))}
	.gz-ai-body{padding:14px}
}

/* --- the results bar: a summary + sheet under 1024px, one row above it -------------------- */
.gz-sb .search-bar-in{gap:8px}
.gz-hs--bar{display:block;flex:1;min-width:0;margin:0}
.gz-sb-sum{display:flex;align-items:center;gap:10px;width:100%;min-width:0;min-height:56px;padding:6px;padding-inline-start:12px;
	border:1px solid var(--field-line);border-radius:var(--radius-ctl);background:var(--bg);color:var(--ink);transition:border-color .15s ease}
@media (hover:hover){.gz-sb-sum:hover{border-color:var(--brand)}}
.gz-sb-sum:active{border-color:var(--brand);background:var(--surface-2)}
.gz-sb-sum:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.gz-sb-sum-ic{flex:none;display:grid;color:var(--muted)}
.gz-sb-sum-t{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.35}
.gz-sb-sum-t b{font-size:.95rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gz-sb-sum-t span{font-size:.78rem;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gz-sb-sum-cta{flex:none;display:inline-flex;align-items:center;gap:6px;min-height:42px;padding:0 12px;border-radius:calc(var(--radius-ctl) - 3px);
	background:var(--gold);color:var(--gold-ink);font-size:.86rem;font-weight:700;white-space:nowrap;box-shadow:0 4px 12px var(--cta-glow)}
/* Icon-only on every phone width (under 480px): at 360 the label left the summary 94px (en) /
   126px (ar), and at 420-430 English still only ~154px. The whole bar is the link, so the gold
   pencil chip carries the affordance; the label stays in the accessibility tree (clipped, not
   hidden), so the link's name is unchanged. */
@media (max-width:479px){
	.gz-sb-sum-cta span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
	.gz-sb-sum-cta{padding:0 11px}
}
.gz-cs{border:0;padding:0;background:transparent;max-width:none;max-height:none;color:var(--ink);text-align:start}
.gz-cs:not([open]){display:none}
.gz-cs::backdrop{background:rgba(15,27,38,.5)}
.gz-cs[open]{position:fixed;inset:auto 0 0 0;margin:0;width:100%;max-height:92dvh;display:flex;flex-direction:column;background:var(--card);
	border-radius:var(--radius-lg) var(--radius-lg) 0 0;box-shadow:0 -8px 40px rgba(0,0,0,.25);animation:giza-sheet .26s cubic-bezier(.16,1,.3,1)}
.gz-cs-head{position:relative;flex:none;display:flex;align-items:center;gap:8px;padding-block:18px 10px;padding-inline:16px 10px;border-bottom:1px solid var(--line)}
.gz-cs-t{flex:1;min-width:0;margin:0;font-size:1.08rem;outline:0}
.gz-cs-x{flex:none;min-width:44px;min-height:44px;display:grid;place-items:center;border-radius:var(--radius-sm);color:var(--muted)}
@media (hover:hover){.gz-cs-x:hover{background:var(--bg);color:var(--ink)}}
.gz-cs-x:active{background:var(--hover);color:var(--ink)}
.gz-cs-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:14px 16px;display:flex;flex-direction:column;gap:12px;
	-webkit-overflow-scrolling:touch}
.gz-cs-what{display:flex;flex-direction:column;gap:10px}
.gz-cs-foot{flex:none;padding:12px 16px;padding-bottom:calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--card)}
.gz-cs-foot .gz-hs-go{width:100%;min-height:52px}
.gz-cs .gz-pk-k{display:none}
@media (min-width:720px) and (max-width:1023px){
	.gz-cs[open]{inset:0;margin:auto;width:min(560px,calc(100% - 48px));height:fit-content;max-height:86dvh;border-radius:var(--radius-lg);animation:gz-pop .16s ease}
}
/* Without JavaScript the summary is a link to #hs-cs, and :target opens the same sheet. */
@media (max-width:1023px){
	.gz-cs:target{display:flex!important;position:fixed;inset:auto 0 0 0;z-index:80;margin:0;width:100%;max-height:92dvh;flex-direction:column;
		background:var(--card);border-radius:var(--radius-lg) var(--radius-lg) 0 0;box-shadow:0 -8px 40px rgba(0,0,0,.25)}
	.gz-cs:target::before{content:"";position:fixed;inset:0;background:rgba(15,27,38,.5);z-index:-1}
	/* The sheet lives inside .search-bar, a sticky z-index:40 stacking context, so its own z-index
	   is capped at 40 — under .nav (50) and the bottom nav (55), which then covered its Search
	   button. The JS path is in the top layer and never had this problem; the :target path lifts
	   the whole bar while its sheet is open. */
	.search-bar:has(.gz-cs:target){z-index:95}
}
@supports not selector(:has(*)){
	@media (max-width:899px){.gz-cs:target .gz-cs-foot{padding-bottom:calc(78px + env(safe-area-inset-bottom))}}
}
@media (min-width:720px) and (max-width:1023px){
	.gz-cs:target{inset:0;margin:auto;width:min(560px,calc(100% - 48px));height:fit-content;max-height:86dvh;border-radius:var(--radius-lg)}
}
@media (min-width:1024px){
	.gz-sb .search-bar-in{max-width:var(--wrap)}
	.gz-sb-sum{display:none}
	.gz-cs,.gz-cs:not([open]){position:static;display:flex!important;flex-direction:row;align-items:stretch;gap:8px;inset:auto;margin:0;padding:0;
		width:100%;max-width:none;max-height:none;background:transparent;border-radius:0;box-shadow:none;animation:none}
	.gz-cs::backdrop{background:transparent}
	.gz-cs-head{display:none}
	.gz-cs-body{flex:1;display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,.85fr) minmax(0,1.1fr) auto;gap:8px;padding:0;overflow:visible}
	.gz-cs-what{display:contents}
	.gz-cs .gz-hs-l,.gz-cs .gz-hs-gender>legend{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
	.gz-cs .gz-hs-err,.gz-cs .gz-hs-sep,.gz-cs .gz-hs-ai,.gz-cs .gz-hs-fld--q{display:none!important}
	.gz-cs .gz-hs-fld{gap:0}
	.gz-cs .gz-pk-k{display:block}
	.gz-cs .gz-pk-btn{min-height:56px;padding-block:6px}
	.gz-cs .gz-hs-seg label{min-height:56px;padding-inline:14px}
	.gz-cs-foot{flex:none;padding:0;border:0;background:transparent}
	.gz-cs-foot .gz-hs-go{min-height:56px;height:100%;padding-inline:26px}
}

@media (prefers-reduced-motion:reduce){
	.gz-pk.is-pop,.gz-pk.is-sheet,.gz-vd[open],.gz-ai[open],.gz-cs[open]{animation:none}
	.gz-hs-fld.is-invalid .gz-hs-selwrap,.gz-ai-sk,.gz-ai-go.is-busy svg{animation:none}
	.gz-ai-mic.is-rec .gz-ai-mic-ring{animation:none;opacity:1;transform:none}
	.gz-ai-mic:hover,.gz-hs-ai:active{transform:none}
	.gz-hs-ai{transition:none}
}
@media (forced-colors:active){
	.gz-pk-o.is-act,.gz-ai-opt:has(input:checked){outline:2px solid Highlight;outline-offset:-2px}
	.gz-pk-btn[aria-invalid="true"],.gz-ai-mic.is-rec{outline:2px solid Highlight;outline-offset:2px}
	.gz-ai-bar i{forced-color-adjust:none;background:Highlight}
}

/* --- after the four-lens verification pass ------------------------------------------ */
/* The doctor-name list FLOWS under its field on the hero and in the sheet. Absolutely positioned,
   it opened straight over the submit button below it, so a tap on "Show doctors" landed on a
   stranger's profile — and inside the sheet it opened into the clipped part of the scroll box. */
.gz-hs--hero .gz-hs-list,.gz-cs .gz-hs-list{position:static;margin-top:6px;box-shadow:none;max-height:min(300px,45dvh)}
/* Phones: the summary needs the width the old square Filters button and the leading icon took.
   The "غيّر البحث" label stays — it is the control the client asked to see. */
.gz-sb .sb-filters{min-height:56px}
@media (max-width:559px){
	.gz-sb .sb-filters{position:relative;min-width:52px;padding-inline:0;justify-content:center}
	.gz-sb .sb-filters .sb-count{position:absolute;top:5px;inset-inline-end:5px}
}
@media (max-width:479px){
	.gz-sb-sum-ic{display:none}
	.gz-sb-sum{padding-inline-start:12px}
}
/* 1024-1179: the row is tight enough that the field icons cost the values their room. */
@media (min-width:1024px) and (max-width:1179px){
	.gz-cs .gz-hs-ico{display:none}
	.gz-cs .gz-pk-btn{padding-inline-start:14px}
}
/* An overflowing placeholder ends in an ellipsis instead of being cut mid-word. */
.gz-hs input[type=search]{text-overflow:ellipsis}
.gz-hs input::placeholder{text-overflow:ellipsis}

/* --- 2026 polish: home + search (P2) --------------------------------------------------------- */
/* Desktop: the popular-specialties rail WRAPS. As a masked scroll strip its last chip faded out
   under the mask with no scrollbar for a mouse to find. Touch widths keep the swipe rail.
   (html + two classes: the rail's own mask rules, later in the file than the hero block, are
   (0,3,0) in English.) */
@media (min-width:860px){
	html .hero-content .quick-rail.hero-rail{flex-wrap:wrap;justify-content:center;overflow:visible;
		-webkit-mask-image:none;mask-image:none}
}

/* Typeahead: the full page's "nothing by that name" now offers two real rows. */
.gz-hs-list .gz-hs-none--head{padding:8px 12px 4px;font-size:var(--fs-small);font-weight:600}
.gz-hs-list li.gz-hs-act{font-weight:700;color:var(--brand-700)}
.gz-hs-act-ic{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;
	background:var(--brand-50);color:var(--brand)}
.gz-hs-list li.is-on .gz-hs-act-ic{background:var(--card)}
.gz-hs-s-av{flex:none;width:28px;height:28px;border-radius:50%;object-fit:cover;background:var(--surface-2)}
/* The list's row hover is a pointer affordance too. */
@media (hover:none){.gz-hs-list li:hover{background:transparent;color:inherit}.gz-hs-list li:active{background:var(--brand-50)}}

/* The results bar summary: the keyword keeps its own end-ellipsis, after the place. */
.gz-sb-sum-t .gz-sb-rest{display:flex;align-items:baseline;gap:.35em;min-width:0}
/* The place takes its natural width; the keyword (flex-basis 0) gets only what is left, down to a
   few readable letters. The place gives only when it plus that short keyword cannot share the line
   (a 55% cap cut "السادس من أكتوبر، الجيزة" / "6th of October, Giza" even when there was room). */
.gz-sb-sum-t .gz-sb-place{flex:0 1 auto;max-width:none;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gz-sb-sum-t .gz-sb-qw{flex:1 1 0;min-width:min(4em,35%);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gz-sb-sum-t .gz-sb-qw[aria-hidden="true"]{flex:none;min-width:0}
/* With no keyword after it the place has the whole line ("كل المحافظات" was cut at 360px). */
.gz-sb-sum-t .gz-sb-place:last-child{flex:0 1 auto;max-width:none}
.gz-sb-qb .gz-sb-q{font-weight:inherit}

/* "Area is required" said up front on an area-less listing (the rule itself is locked). */
.gz-hs-lhint{font-weight:500;color:var(--muted);font-size:var(--fs-small);margin-inline-start:4px}
.gz-hs-fld--area.is-need .gz-pk-k{color:var(--brand-700)}
.gz-cs .gz-hs-fld--area.is-need .gz-pk-btn.is-ph{border-color:var(--brand);background:var(--brand-50)}

/* The mobile type floor for the form (14px for anything that is a sentence). */
@media (max-width:600px){
	.gz-hs-l,.gz-hs-hint{font-size:var(--fs-small)}
	.gz-hs-opt{font-size:.8rem}
}

@media (forced-colors:active){
	.gz-hs-check:has(input:checked){outline:2px solid Highlight;outline-offset:-2px}
}
/* 320px English: the header's controls did not fit and widened the layout viewport, which also
   left a strip of backdrop under every full-screen dialog. The control system above (44px icon
   buttons, a flexible logo, 4px gaps under 420px) is what fixes that now; below 360px the bar
   only gives back 4px of each gutter (12px still clears the edge) and 2px of the logo gap. */
@media (max-width:359px){
	.nav-in{gap:8px;padding-inline:max(12px,env(safe-area-inset-left)) max(12px,env(safe-area-inset-right))}
}
.empty-near{margin-top:1rem;display:flex;flex-wrap:wrap;justify-content:center;gap:.6rem}
