/* Sehha — generated from tokens.json */
/* WordPress copy: identical to review/sehha/tokens.css except that the @font-face rules are left out —
   theme.json declares the same fonts (assets/fonts/), so WordPress loads them on the site and in the editor. */
:root, [data-theme="light"] {
  --brand-50: #effaf4; /* Faintest green wash: table stripes, hover rows on solid surfaces. */
  --brand-100: #d5f3e3; /* Soft green fills: selected chips, News badges, icon circles (light theme). */
  --brand-200: #a9e6c8; /* Illustrative tint, cover blocks, progress tracks. Never a text colour. */
  --brand-300: #6fd3a7; /* Dark-theme link and hover colour; light-theme decorative only. */
  --brand-400: #34bd87; /* Dark-theme primary fill (buttons, active nav). */
  --brand-500: #159f6c; /* Charts and icons on light grounds at 24px+. Not for body text. */
  --brand-600: #0b7a53; /* THE Sehha green. Light-theme primary: buttons, active states, key icons. White text on it passes AA (5.4:1). */
  --brand-700: #08623f; /* Primary hover/pressed; green text links on light glass. */
  --brand-800: #064a31; /* Deep green for footers and the emblem ring. */
  --brand-900: #043624; /* Deepest green: footer ground, display text on tints. */
  --gold-500: #c9a227; /* Official accent (seal, emblem rim, featured marks). Decorative only — never text on light grounds. */
  --gold-700: #7a5f0c; /* Gold-family text (e.g. ‘Local’ badge label) on light grounds; 6:1 on gold-soft. */
  --bg: #f1f6f3; /* Page ground: a quiet green-tinted off-white. Everything else floats on it. */
  --bg-blob-1: #b8e6cf; /* Soft light #1 — a large, heavily blurred green glow at the top-start of the page. No edges, no shapes. Background only. */
  --bg-blob-2: #c8e8e9; /* Soft light #2 — a blurred aqua-green glow at mid-end. Background only. */
  --bg-blob-3: #dff0dd; /* Soft light #3 — a faint warm-green haze lower down. Background only. */
  --photo-scrim: rgba(3,34,22,0.94); /* Bottom of the scrim over every photo that carries text (slider, lens card). Guarantees white text ≥10:1 on ANY image. */
  --photo-glass: rgba(3,30,20,0.72); /* Dark glass laid over photos (slider index, lens caption). White text ≥5.5:1 even over a white image. */
  --photo-tint: var(--brand-900); /* Colour-blend layer (14%) that pulls every photo toward the brand so mixed photography looks like one set. */
  --on-photo: #ffffff; /* Text and icons on photo-scrim or photo-glass. */
  --on-photo-muted: #d3e9de; /* Secondary text on photo-scrim or photo-glass (≥4.6:1). */
  --surface-solid: #ffffff; /* Opaque fallback for glass when backdrop-filter is unsupported or reduced transparency is requested; inputs. */
  --glass-fill: rgba(255,255,255,0.46); /* Glass sheen START (top-start corner). Paired with glass-fill-end in a 135° gradient. */
  --glass-fill-end: rgba(255,255,255,0.24); /* Glass sheen END (bottom-end corner). Text is checked at THIS opacity over the strongest light pool: ink 13:1, ink-muted 7.8:1 (light); ink 9.9:1, ink-muted 5.9:1 (dark). */
  --glass-fill-strong: rgba(255,255,255,0.7); /* Strong glass START: header, hero, search, dialogs. */
  --glass-fill-strong-end: rgba(255,255,255,0.5); /* Strong glass END. */
  --glass-border: rgba(255,255,255,0.85); /* 1px edge highlight on every glass surface. */
  --glass-edge-start: rgba(255,255,255,0.95); /* Specular edge, top-start: the bright rim where light hits the glass. */
  --glass-edge-end: rgba(255,255,255,0.28); /* Specular edge, bottom-end: the rim fades away from the light. */
  --glass-glint: rgba(255,255,255,0.55); /* Soft light that follows the pointer across interactive glass (motion). Decorative. */
  --hairline: rgba(8,98,63,0.14); /* Dividers inside glass (list rows, footer columns). */
  --ink: #0c2219; /* Headings and body text on bg, glass-fill and surface-solid. */
  --ink-muted: #34473e; /* Secondary text: dates, excerpts, meta. ≥4.5:1 on glass-fill in both themes. */
  --ink-subtle: #4f6359; /* Placeholders and disabled labels only (≥3:1 is acceptable there). */
  --primary: var(--brand-600); /* Primary buttons, active nav, focus accents. */
  --primary-hover: var(--brand-700); /* Hover and pressed state of primary. */
  --on-primary: #ffffff; /* Text and icons on primary. */
  --primary-soft: var(--brand-100); /* Soft fills: News badge, service icon circle, selected chip. */
  --primary-text: var(--brand-800); /* Green text: links, ‘Read more’, badge labels — brand-800 in light so it holds 4.5:1 on the lighter glass. */
  --accent: var(--gold-500); /* Gold accent for official marks; emblem rim, featured ribbon, cover. */
  --accent-soft: #f8efcf; /* ‘Local health news’ badge ground. */
  --accent-text: var(--gold-700); /* Text on accent-soft. */
  --info: #1c66a8; /* Reports, informational alerts — icon and text colour. */
  --info-soft: #dcebf8; /* Report badge and info alert ground. */
  --warning: #8a5300; /* Advisories (heat, water, vaccination reminders). */
  --warning-soft: #fbecd0; /* Warning alert ground. */
  --danger: #b0261b; /* Emergencies, outbreak alerts, form errors. */
  --danger-soft: #fbe1de; /* Emergency alert ground. */
  --focus-ring: #0b7a53; /* 3px keyboard focus outline, 2px offset, on every interactive element. */
  --shadow-glass: 0 12px 36px rgba(6,74,49,0.14), inset 0 1px 0 rgba(255,255,255,0.9), inset 1px 0 0 rgba(255,255,255,0.5); /* Every resting glass surface. */
  --shadow-lift: 0 22px 50px rgba(6,74,49,0.2), inset 0 1px 0 rgba(255,255,255,0.95); /* Hover/focus of clickable glass (news card, service tile). */
  --shadow-button: 0 6px 16px rgba(11,122,83,0.28); /* Primary button only. */
}
[data-theme="dark"] {
  --bg: #06140f;
  --bg-blob-1: #115a3e;
  --bg-blob-2: #0e4446;
  --bg-blob-3: #0b2d22;
  --photo-tint: var(--brand-900);
  --surface-solid: #0b2119;
  --glass-fill: rgba(10,32,24,0.5);
  --glass-fill-end: rgba(10,32,24,0.36);
  --glass-fill-strong: rgba(10,32,24,0.72);
  --glass-fill-strong-end: rgba(10,32,24,0.56);
  --glass-border: rgba(255,255,255,0.16);
  --glass-edge-start: rgba(255,255,255,0.24);
  --glass-edge-end: rgba(255,255,255,0.04);
  --glass-glint: rgba(169,230,200,0.12);
  --hairline: rgba(169,230,200,0.14);
  --ink: #e9f6ef;
  --ink-muted: #a8c4b6;
  --ink-subtle: #8fac9e;
  --primary: var(--brand-400);
  --primary-hover: var(--brand-300);
  --on-primary: #022218;
  --primary-soft: rgba(52,189,135,0.18);
  --primary-text: var(--brand-300);
  --accent: var(--gold-500);
  --accent-soft: rgba(201,162,39,0.18);
  --accent-text: #e8c867;
  --info: #8ec4f0;
  --info-soft: rgba(142,196,240,0.16);
  --warning: #f2b64a;
  --warning-soft: rgba(242,182,74,0.16);
  --danger: #ff9d93;
  --danger-soft: rgba(255,157,147,0.16);
  --focus-ring: #6fd3a7;
  --shadow-glass: 0 14px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
  --shadow-lift: 0 22px 50px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.12);
  --shadow-button: 0 6px 18px rgba(52,189,135,0.22);
}
:root {
  --space-1: 4px; /* Icon-to-label gap in badges. */
  --space-2: 8px; /* Gap between inline controls; badge padding. */
  --space-3: 12px; /* Button inline padding (sm); list-row gap. */
  --space-4: 16px; /* Card inner gap; grid gutter on mobile. */
  --space-5: 20px; /* Card padding; grid gutter on desktop. */
  --space-6: 28px; /* Gap between a section title and its content. */
  --space-7: 40px; /* Between sections on mobile; cover pattern pitch. */
  --space-8: 64px; /* Between sections on desktop. */
  --space-9: 96px; /* Hero top/bottom padding. */
  --radius-sm: 8px; /* Inputs inside glass, small chips' inner elements, cover crosses. */
  --radius-md: 14px; /* Buttons, inputs, list rows, alert banners. */
  --radius-lg: 20px; /* Glass cards, service tiles, news cards. */
  --radius-xl: 28px; /* Hero panel, header bar, large glass sheets. */
  --radius-pill: 999px; /* Badges, filter chips, icon circles. */
  --blur-sm: 12px; /* Badges, chips and glass buttons. */
  --blur-md: 22px; /* Cards and tiles (default). */
  --blur-lg: 34px; /* Header, hero panel, dialogs. */
  --font-display: "Readex Pro", "IBM Plex Sans Arabic", Tahoma, sans-serif;
  --font-text: "IBM Plex Sans Arabic", "Readex Pro", Tahoma, sans-serif;
  --text-ar-display-xl: 600 3rem/4.5rem var(--font-display); /* عنوان الواجهة الرئيسية فقط، مرة واحدة في الصفحة. Homepage hero. */
  --text-ar-display: 600 2.375rem/3.625rem var(--font-display); /* عناوين صفحات الأقسام الرئيسية. */
  --text-ar-h1: 600 1.875rem/2.875rem var(--font-display); /* عنوان الصفحة وعنوان الخبر. */
  --text-ar-h2: 600 1.5rem/2.25rem var(--font-display); /* عناوين الأقسام داخل الصفحة. */
  --text-ar-h3: 500 1.1875rem/1.875rem var(--font-display); /* عناوين البطاقات: الأخبار والخدمات. */
  --text-ar-h4: 500 1.0625rem/1.75rem var(--font-display); /* عناوين صفوف التقارير والقوائم. */
  --text-ar-stat: 600 2.125rem/2.75rem var(--font-display); /* أرقام بطاقات المؤشرات (أرقام غربية بعرض ثابت). */
  --text-ar-body-lg: 400 1.125rem/2rem var(--font-text); /* متن الخبر ونص المقدمة. */
  --text-ar-body: 400 1rem/1.75rem var(--font-text); /* النص الافتراضي ومقتطفات البطاقات. */
  --text-ar-body-sm: 400 0.875rem/1.625rem var(--font-text); /* سطر البيانات (التاريخ، الحجم، المصدر). */
  --text-ar-label: 600 0.9375rem/1.5rem var(--font-text); /* الأزرار وروابط القائمة وتسميات الحقول. */
  --text-ar-caption: 600 0.8125rem/1.375rem var(--font-text); /* الشارات والوسوم. أصغر حجم مسموح للعربية. */
  --text-en-display-xl: 600 2.875rem/3.375rem var(--font-display); /* English hero only. */
  --text-en-h1: 600 1.75rem/2.25rem var(--font-display); /* English page titles. */
  --text-en-h2: 600 1.375rem/1.875rem var(--font-display); /* English section headings. */
  --text-en-h3: 500 1.125rem/1.625rem var(--font-display); /* English card titles. */
  --text-en-body: 400 0.9375rem/1.5rem var(--font-text); /* English body. */
  --text-en-small: 400 0.875rem/1.375rem var(--font-text); /* English meta lines. */
  --text-en-overline: 600 0.75rem/1rem var(--font-text); /* English kickers only — never track Arabic. */
}
.ar-display-xl {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 4.5rem;
  font-weight: 600;
  letter-spacing: 0;
}
.ar-display {
  font-family: var(--font-display);
  font-size: 2.375rem;
  line-height: 3.625rem;
  font-weight: 600;
  letter-spacing: 0;
}
.ar-h1 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 2.875rem;
  font-weight: 600;
  letter-spacing: 0;
}
.ar-h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 2.25rem;
  font-weight: 600;
  letter-spacing: 0;
}
.ar-h3 {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  line-height: 1.875rem;
  font-weight: 500;
  letter-spacing: 0;
}
.ar-h4 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  line-height: 1.75rem;
  font-weight: 500;
  letter-spacing: 0;
}
.ar-stat {
  font-family: var(--font-display);
  font-size: 2.125rem;
  line-height: 2.75rem;
  font-weight: 600;
  letter-spacing: 0;
}
.ar-body-lg {
  font-family: var(--font-text);
  font-size: 1.125rem;
  line-height: 2rem;
  font-weight: 400;
  letter-spacing: 0;
}
.ar-body {
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.75rem;
  font-weight: 400;
  letter-spacing: 0;
}
.ar-body-sm {
  font-family: var(--font-text);
  font-size: 0.875rem;
  line-height: 1.625rem;
  font-weight: 400;
  letter-spacing: 0;
}
.ar-label {
  font-family: var(--font-text);
  font-size: 0.9375rem;
  line-height: 1.5rem;
  font-weight: 600;
  letter-spacing: 0;
}
.ar-caption {
  font-family: var(--font-text);
  font-size: 0.8125rem;
  line-height: 1.375rem;
  font-weight: 600;
  letter-spacing: 0;
}
.en-display-xl {
  font-family: var(--font-display);
  font-size: 2.875rem;
  line-height: 3.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.en-h1 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.en-h2 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  line-height: 1.875rem;
  font-weight: 600;
  letter-spacing: 0;
}
.en-h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1.625rem;
  font-weight: 500;
  letter-spacing: 0;
}
.en-body {
  font-family: var(--font-text);
  font-size: 0.9375rem;
  line-height: 1.5rem;
  font-weight: 400;
  letter-spacing: 0;
}
.en-small {
  font-family: var(--font-text);
  font-size: 0.875rem;
  line-height: 1.375rem;
  font-weight: 400;
  letter-spacing: 0;
}
.en-overline {
  font-family: var(--font-text);
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}
