/* ============================================================
   Albadyh – Static reproduction
   Design tokens derived from live site screenshots
   ============================================================ */

/* ------------------------------------------------------------
   Self-hosted Thmanyah Sans (Arabic UI)
   Note: no 600-weight WOFF2 ships with the family; weight 600
   intentionally maps to the Bold file as a pragmatic fallback.
   ------------------------------------------------------------ */
@font-face {
  font-family: "Thmanyah Sans";
  src: url("../assets/fonts/thmanyahsans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Sans";
  src: url("../assets/fonts/thmanyahsans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Sans";
  src: url("../assets/fonts/thmanyahsans-Bold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Sans";
  src: url("../assets/fonts/thmanyahsans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------
   Self-hosted Thmanyah Serif Display (large Arabic editorial titles)
   Opt-in via .arabic-display / [data-arabic-display]. Not used for UI/body.
   No 600-weight ships; 600 maps to Bold as a pragmatic fallback.
   ------------------------------------------------------------ */
@font-face {
  font-family: "Thmanyah Serif Display";
  src: url("../assets/fonts/thmanyahserifdisplay-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Serif Display";
  src: url("../assets/fonts/thmanyahserifdisplay-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Serif Display";
  src: url("../assets/fonts/thmanyahserifdisplay-Bold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Serif Display";
  src: url("../assets/fonts/thmanyahserifdisplay-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------
   Self-hosted Thmanyah Serif Text (long Arabic article/editorial body)
   Opt-in via .arabic-editorial / .arabic-article / [data-arabic-editorial].
   ------------------------------------------------------------ */
@font-face {
  font-family: "Thmanyah Serif Text";
  src: url("../assets/fonts/thmanyahseriftext-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Serif Text";
  src: url("../assets/fonts/thmanyahseriftext-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Serif Text";
  src: url("../assets/fonts/thmanyahseriftext-Bold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Serif Text";
  src: url("../assets/fonts/thmanyahseriftext-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colors */
  --bg: #F2F0EB;           /* page background – warm cream */
  --bg-soft: #ECE9E2;      /* slightly deeper cream for surfaces */
  --surface: #FFFFFF;      /* cards */
  --border: #D9D6CE;       /* dividers */
  --text: #1A1A1A;         /* primary text */
  --text-muted: #4B4B4B;   /* secondary */
  --text-faint: #8A8780;   /* tertiary */

  --primary: #6D28D9;      /* violet – CTA & announcement bar */
  --primary-strong: #5B21B6;
  --primary-soft: #EDE9FE;
  --primary-hover: #5B21B6;

  --footer-bg: #1B3A35;    /* deep teal/green footer */
  --footer-text: #E9E7DF;
  --footer-muted: #B7BCB6;

  --badge-open-bg: #16A34A;
  --badge-closed-bg: #6B7280;
  --badge-grant-bg: #111111;
  --badge-accelerator-bg: #111111;
  --badge-text: #FFFFFF;

  /* Typography */
  --font-english: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-arabic: "Thmanyah Sans", "IBM Plex Sans Arabic", "Noto Sans Arabic", Arial, sans-serif;
  --font-arabic-display: "Thmanyah Serif Display", "Thmanyah Sans", "IBM Plex Sans Arabic", "Noto Sans Arabic", Arial, sans-serif;
  --font-arabic-serif: "Thmanyah Serif Text", "Thmanyah Sans", "IBM Plex Sans Arabic", "Noto Sans Arabic", Arial, sans-serif;
  --font-sans: var(--font-english);
  --font-display: var(--font-english);

  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 22px;
  --text-2xl: 28px;
  --text-3xl: 36px;
  --text-hero: 84px;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  --container: 1360px;
  --container-narrow: 1100px;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,.06);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ------------------------------------------------------------
   Bilingual font selection
   - English pages (lang="en"/dir="ltr") => Nunito
   - Arabic pages  (lang="ar"/dir="rtl") => Thmanyah Sans
   - Mixed text: tag spans with lang="ar" / lang="en"
   ------------------------------------------------------------ */
html[lang="en"],
html[dir="ltr"] {
  font-family: var(--font-english);
}
html[lang="ar"],
html[dir="rtl"] {
  font-family: var(--font-arabic);
}
html[lang="ar"] body,
html[dir="rtl"] body {
  font-family: var(--font-arabic);
}

:lang(ar),
[lang="ar"],
[dir="rtl"] {
  font-family: var(--font-arabic);
}
:lang(en),
[lang="en"],
[dir="ltr"] {
  font-family: var(--font-english);
}

/* ------------------------------------------------------------
   Arabic editorial typography — opt-in only.
   Default Arabic UI/body stays Thmanyah Sans.
   Use these on Arabic hero/editorial titles and article bodies.
   ------------------------------------------------------------ */
.arabic-display,
[data-arabic-display] {
  font-family: var(--font-arabic-display);
}
.arabic-editorial,
.arabic-article,
[data-arabic-editorial] {
  font-family: var(--font-arabic-serif);
}

/* Ensure interactive UI inherits the page font instead of UA defaults */
button, input, select, textarea, optgroup {
  font-family: inherit;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* Layout helpers */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.section { padding: var(--space-9) 0; }
.section-tight { padding: var(--space-7) 0; }

.html-embed-section {
  padding: var(--space-6) 0 var(--space-9);
}

/* Breadcrumb above embed/panel pages */
.breadcrumb {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: var(--space-6) 0 var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text);
  flex-wrap: wrap;
  min-width: 0;
}
.breadcrumb a,
.breadcrumb__home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin: -4px;
  transition: color .15s ease, background-color .15s ease;
}
.breadcrumb__home:hover,
.breadcrumb__home:focus-visible {
  color: var(--primary);
  background: var(--primary-soft);
  outline: none;
}
.breadcrumb__home svg {
  width: 18px;
  height: 18px;
  display: block;
}
.breadcrumb__sep {
  color: var(--text-faint);
  display: inline-flex;
  align-items: center;
}
.breadcrumb__sep svg {
  width: 14px;
  height: 14px;
  display: block;
}
.breadcrumb__current {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
@media (max-width: 640px) {
  .breadcrumb {
    width: calc(100% - var(--space-5));
    padding-top: var(--space-5);
    font-size: var(--text-xs);
  }
  .breadcrumb__home svg { width: 16px; height: 16px; }
  .breadcrumb__sep svg { width: 12px; height: 12px; }
}
.html-embed {
  width: min(100%, 1180px);
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(27, 58, 53, 0.04), 0 12px 32px rgba(27, 58, 53, 0.08);
  isolation: isolate;
}
.html-embed iframe {
  display: block;
  width: 100%;
  min-height: 600px;
  border: 0;
  border-radius: inherit;
  background: var(--surface);
}
@media (max-width: 640px) {
  .html-embed {
    width: calc(100% - var(--space-5));
    border-radius: 18px;
  }
}
.placeholder-page {
  max-width: 820px;
  margin: 0 auto var(--space-9);
  background: rgba(255,255,255,.62);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  color: var(--text-muted);
}
.newsletter-page-card {
  max-width: 860px;
  margin: 0 auto var(--space-9);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
}
.newsletter-page-card h2 {
  margin-top: 0;
  font-size: var(--text-3xl);
  letter-spacing: -.03em;
}

.newsletter-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
  padding: clamp(64px, 12vw, 160px) 0 var(--space-9);
}
.newsletter-page__copy h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -.025em;
  line-height: 1.05;
  margin: 0 0 var(--space-5);
  color: var(--text);
}
.newsletter-page__copy p {
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--text-muted);
  margin: 0;
}
.newsletter-page__embed {
  display: flex;
  justify-content: center;
}
.newsletter-page__embed .substack-embed-wrap {
  width: 100%;
  max-width: 480px;
}
.newsletter-page__embed .substack-embed-wrap iframe {
  width: 100%;
  max-width: 100%;
}
@media (max-width: 900px) {
  .newsletter-page {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    padding-top: var(--space-7);
  }
  .newsletter-page__embed { justify-content: flex-start; }
}

.embed-page {
  padding: var(--space-5) 0 var(--space-9);
}
.embed-page.embed-only {
  padding-top: var(--space-6);
}
.embed-heading {
  max-width: 880px;
  margin: 0 auto var(--space-5);
  text-align: center;
}
.embed-heading h1 {
  margin: 0 0 var(--space-3);
  font-size: clamp(36px, 5vw, 68px);
  line-height: .98;
  letter-spacing: -.055em;
}
.embed-heading .sub {
  margin: 0 auto;
  max-width: 720px;
}
.embed-frame-wrap {
  width: min(100%, 1180px);
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.embed-frame-wrap iframe {
  display: block;
  width: 100%;
  min-height: 760px;
  border: 0;
  background: #fff;
}

/* ============================================================
   Announcement bar
   ============================================================ */
.announce {
  background: var(--primary);
  color: #fff;
  height: 32px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}
.announce-track {
  display: flex;
  white-space: nowrap;
  gap: 80px;
  padding-left: 80px;
  animation: marquee 22s linear infinite;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}
.announce-track span { display: inline-flex; align-items: center; gap: 8px; }
.announce-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: #fff;
  opacity: .85;
  font-size: 16px;
  line-height: 1;
  padding: 4px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   Header / nav
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: var(--space-6);
}
.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  letter-spacing: -.02em;
  color: var(--text);
  line-height: 1;
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a, .nav .nav-item {
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  position: relative;
  padding: 6px 0;
}
.nav .caret {
  width: 10px; height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-right { position: relative; }
.lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 8px;
  color: var(--text);
  background: transparent;
  border: 0;
  font-weight: 600;
  font-size: 14px;
}
.lang:hover { background: var(--bg-soft); }
.lang svg { width: 22px; height: 22px; }
.lang-label { line-height: 1; }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  padding: 6px;
  min-width: 160px;
  display: none;
  z-index: 50;
}
html[dir="rtl"] .lang-menu { right: auto; left: 0; }
.lang-menu.open { display: block; }
.lang-menu__item {
  display: block;
  width: 100%;
  text-align: start;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.lang-menu__item:hover { background: var(--bg-soft); }
.lang-menu__item.is-active { background: var(--primary-soft); color: var(--primary-strong); font-weight: 700; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  transition: background .15s ease, transform .05s ease;
}
.btn-dark { background: #111; color: #fff; }
.btn-dark:hover { background: #000; }
.btn-primary { background: var(--primary); color: #fff; border-radius: 10px; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-primary.lg { padding: 14px 24px; font-size: 16px; }

/* Mobile menu */
.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 0;
  background: transparent;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  margin: 5px auto;
}

/* Dropdown (desktop) */
.nav-item { cursor: pointer; }
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: -16px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 220px;
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease;
  border: 1px solid var(--border);
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
}
.dropdown a:hover { background: var(--bg-soft); }

/* ============================================================
   Breadcrumb
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  padding: 28px 0;
}
.breadcrumb a { display: inline-flex; align-items: center; }
.breadcrumb svg { width: 16px; height: 16px; }
.breadcrumb .sep { color: var(--text-faint); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  padding: var(--space-9) 0;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: var(--space-8);
  align-items: center;
  width: 100%;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 7vw, var(--text-hero));
  line-height: 1.04;
  letter-spacing: -.025em;
  margin: 0 0 24px;
}
.hero p.lead {
  font-size: 18px;
  color: var(--text);
  max-width: 460px;
  margin: 0 0 36px;
}
.hero-cta { display: inline-flex; }

/* Globe */
.globe {
  position: relative;
  aspect-ratio: 1;
  max-width: 520px;
  margin-left: auto;
}
.globe-sphere {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, #4ea7ff 0%, #2c6fb8 38%, #1a4378 65%, #0b2247 100%);
  box-shadow:
    inset -30px -40px 80px rgba(0,0,0,.45),
    inset 30px 20px 60px rgba(255,255,255,.10),
    0 30px 80px rgba(0,0,0,.18);
  animation: spin 60s linear infinite;
  overflow: hidden;
}
.globe-sphere::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 40% 14% at 30% 28%, rgba(56,128,68,.85) 40%, transparent 60%),
    radial-gradient(ellipse 24% 10% at 65% 38%, rgba(70,140,80,.8) 40%, transparent 60%),
    radial-gradient(ellipse 20% 9% at 45% 60%, rgba(60,130,70,.85) 40%, transparent 60%),
    radial-gradient(ellipse 14% 8% at 75% 70%, rgba(80,150,90,.7) 40%, transparent 60%),
    radial-gradient(ellipse 12% 6% at 20% 75%, rgba(60,130,70,.7) 40%, transparent 60%);
  mix-blend-mode: screen;
  border-radius: 50%;
}
.globe-sphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(180deg, rgba(255,255,255,.04) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 28px);
  border-radius: 50%;
}
.globe-arrows { position: absolute; inset: -10%; pointer-events: none; }
@keyframes spin {
  from { background-position: 0 0; }
  to   { background-position: -1000px 0; }
}

/* ============================================================
   Trusted by
   ============================================================ */
.trusted {
  padding: var(--space-7) 0 var(--space-8);
  border-top: 1px solid var(--border);
}
.trusted h3 {
  text-align: center;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-muted);
  margin: 0 0 var(--space-6);
}
.trusted-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-6);
  align-items: center;
}
.trusted-row .logo {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: .04em;
  opacity: .8;
}

/* ============================================================
   Section headings
   ============================================================ */
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: var(--space-7);
  gap: var(--space-5);
  flex-wrap: wrap;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 var(--space-3);
}
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0;
  line-height: 1.05;
}
.section .subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin: 12px 0 0;
  max-width: 640px;
}
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 13px;
  padding-bottom: 6px;
  border-bottom: 1.5px solid var(--primary);
}
.cta-link.muted { color: var(--text); border-bottom-color: var(--text); letter-spacing: .02em; text-transform: none; font-weight: 600; font-size: 14px; border-bottom-width: 1px; }
.cta-link:hover { color: var(--primary-hover); border-bottom-color: var(--primary-hover); }

/* ============================================================
   Card grids – Programs
   ============================================================ */
.cards-row {
  display: grid;
  gap: 20px;
}
.cards-row.cols-5 { grid-template-columns: repeat(5, 1fr); }
.cards-row.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cards-row.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards-row.cols-6 { grid-template-columns: repeat(6, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card-thumb {
  aspect-ratio: 16/10;
  background:
    repeating-linear-gradient(45deg, #E5E2DA 0 8px, #EFECE4 8px 16px);
  border-bottom: 1px solid var(--border);
}
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.card-title { font-size: 16px; font-weight: 700; line-height: 1.3; margin: 0; }
.card-sub { font-size: 13px; color: var(--text-muted); margin: 0; }
.card-desc { font-size: 13px; color: var(--text); margin: 4px 0 0; }
.card-meta { font-size: 12px; color: var(--text-faint); margin-top: 4px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--badge-text);
  background: var(--badge-accelerator-bg);
  letter-spacing: .02em;
}
.badge.open { background: var(--badge-open-bg); }
.badge.closed { background: var(--badge-closed-bg); }
.badge.grant { background: var(--badge-grant-bg); }
.badge.accelerator { background: var(--badge-accelerator-bg); }
.badge.upcoming { background: #C2410C; }
.badge.outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

/* ============================================================
   Who we serve – tile cards with image
   ============================================================ */
.tile {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #222;
  aspect-ratio: 4/5;
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.7) 100%);
  z-index: 1;
}
.tile-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.tile-content {
  position: relative;
  z-index: 2;
  padding: 18px;
  width: 100%;
}
.tile h3 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
}
.tile a.learn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #fff;
}

/* Tile backgrounds (placeholders that match site's photographic feel) */
.tile-corporations .tile-bg { background: linear-gradient(135deg, #6b6f7a, #2c303a); }
.tile-investors .tile-bg    { background: linear-gradient(135deg, #5a6b7a, #1d2530); }
.tile-governments .tile-bg  { background: linear-gradient(135deg, #4f5a66, #232a32); }
.tile-universities .tile-bg { background: linear-gradient(135deg, #c1a14a, #3a2a10); }
.tile-startups .tile-bg     { background: linear-gradient(135deg, #5b3a1f, #1f1407); }
.tile-mentors .tile-bg      { background: linear-gradient(135deg, #6b6253, #2c2820); }

/* ============================================================
   Jobs
   ============================================================ */
.jobs-tabs {
  display: inline-flex;
  gap: 8px;
  margin: var(--space-5) 0 var(--space-6);
}
.jobs-tab {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}
.jobs-tab.active { background: var(--text); color: #fff; border-color: var(--text); }
.jobs-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.job-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.job-logo {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #EDE9FE, #DDD6FE);
  border: 1px solid #C4B5FD;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.job-logo svg { width: 18px; height: 18px; color: var(--primary); }
.job-name { font-size: 14px; font-weight: 600; }

/* ============================================================
   Newsletter
   ============================================================ */
.newsletter {
  padding: var(--space-9) 0;
}
.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
.newsletter h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 var(--space-7);
}
.newsletter p.lead {
  font-size: 22px;
  font-weight: 500;
  max-width: 440px;
  margin: 0 0 12px;
  line-height: 1.35;
}
.newsletter .subline { color: var(--text-muted); font-size: 14px; margin: 0; }
.subscribe-card {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border);
}
.subscribe-card .brand-line {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-bottom: 16px;
}
.subscribe-row {
  display: flex;
  gap: 0;
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--primary);
}
.subscribe-row input {
  flex: 1;
  border: 0;
  padding: 12px 16px;
  background: transparent;
  font-size: 14px;
  outline: none;
  color: var(--text);
}
.subscribe-row button {
  background: var(--primary);
  color: #fff;
  border: 0;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 14px;
}
.subscribe-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
  text-align: center;
}
.subscribe-meta a { text-decoration: underline; color: var(--text-muted); }
.substack-mark {
  font-size: 11px;
  color: var(--text-faint);
  text-align: right;
  margin-top: 14px;
}
.substack-embed-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}
.substack-embed-wrap iframe {
  max-width: 100%;
  width: 480px;
  height: 320px;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: var(--space-9) 0 var(--space-6);
  margin-top: var(--space-9);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-7);
  padding-bottom: var(--space-7);
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  color: #fff;
  letter-spacing: -.02em;
}
.footer h4 {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer a { color: var(--footer-text); font-size: 14px; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--footer-muted);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-social {
  display: flex;
  gap: 14px;
}
.footer-social a {
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center; justify-content: center;
  color: var(--footer-text);
}
.footer-social svg { width: 18px; height: 18px; }

/* ============================================================
   Generic page hero (inner pages)
   ============================================================ */
.page-hero {
  text-align: center;
  padding: var(--space-7) 0 var(--space-8);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 8vw, 110px);
  letter-spacing: -.025em;
  margin: 0;
  line-height: 1.02;
}
.page-hero p.lead {
  margin: 16px auto 0;
  color: var(--text-muted);
  max-width: 640px;
  font-size: 16px;
}

/* About page side-nav layout */
.about-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-7);
  padding-bottom: var(--space-9);
}
.about-sidenav {
  position: sticky;
  top: 96px;
  align-self: start;
}
.about-sidenav a {
  display: block;
  padding: 8px 0;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}
.about-sidenav a:hover { color: var(--primary); }
.about-content h2 { font-size: 20px; font-weight: 700; margin: 0 0 12px; }
.about-content h2.first { margin-top: 0; }
.about-content p { margin: 0 0 12px; font-size: 16px; line-height: 1.6; }
.about-content section { margin-bottom: 28px; }

/* Generic CMS-style table-list pages */
.list-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  margin-bottom: var(--space-9);
}
.list-card h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -.02em;
  margin: 0 0 6px;
}
.list-card .sub {
  font-size: 14px; color: var(--text-muted); margin: 0 0 18px;
}
.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.pill-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg);
  font-size: 13px;
  font-weight: 500;
}
.toolbar-actions { display: flex; align-items: center; gap: 14px; color: var(--text-muted); }
.toolbar-actions svg { width: 16px; height: 16px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.gallery-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  min-height: 140px;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  font-size: 14px;
  font-weight: 600;
  gap: 8px;
}
.gallery-card .ico {
  width: 18px; height: 18px;
  display: inline-flex;
  color: var(--text-muted);
}

.empty {
  text-align: center;
  color: var(--text-faint);
  font-size: 14px;
  padding: var(--space-8) 0;
}

/* Contact (FAQ + form) */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-7);
  padding-bottom: var(--space-9);
}
.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}
.field { margin-bottom: 20px; }
.field-label { font-weight: 600; font-size: 15px; margin-bottom: 10px; display: flex; gap: 4px; align-items: baseline; }
.field-label .req { color: var(--primary); }
.radio-row { display: flex; flex-direction: column; gap: 8px; }
.radio {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 14px;
  background: var(--bg);
  width: fit-content;
}
.radio input { accent-color: var(--primary); }
.contact-side a { display: block; padding: 4px 0; color: var(--text); }

/* Legal page */
.legal-doc {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: var(--space-9);
}
.legal-doc h2 { font-size: 22px; font-weight: 700; margin: 36px 0 12px; }
.legal-doc p, .legal-doc li { font-size: 15px; line-height: 1.65; color: var(--text); }

/* Login */
.auth-wrap {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-7) 16px;
}
.auth-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 40px;
  max-width: 560px;
  width: 100%;
  box-shadow: var(--shadow-sm);
}
.auth-card h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 56px;
  letter-spacing: -.02em;
  margin: 0 0 28px;
}
.auth-field { margin-bottom: 18px; }
.auth-field label { font-size: 14px; font-weight: 500; display: block; margin-bottom: 6px; }
.auth-field label .req { color: #444; }
.auth-input {
  width: 100%;
  border: 0;
  background: #ECEAE4;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
}
.auth-input::placeholder { color: #B9B5AB; }
.auth-eye {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  background: transparent;
  border: 0;
}
.auth-input-wrap { position: relative; }
.auth-submit {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 14px;
  font-weight: 600;
  font-size: 15px;
  margin-top: 6px;
}
.auth-submit:hover { background: var(--primary-hover); }
.auth-forgot { display: inline-block; margin-top: 14px; color: var(--primary); font-size: 14px; }
.auth-or {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 20px 0;
  color: var(--text);
  font-size: 14px;
}
.auth-or::before, .auth-or::after {
  content: "";
  height: 1px;
  background: var(--border);
}
.auth-foot { font-size: 14px; }
.auth-foot a { color: var(--primary); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .cards-row.cols-5 { grid-template-columns: repeat(3, 1fr); }
  .cards-row.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-row.cols-6 { grid-template-columns: repeat(3, 1fr); }
  .jobs-row { grid-template-columns: repeat(3, 1fr); }
  .trusted-row { grid-template-columns: repeat(3, 1fr); }
  .newsletter-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .globe { margin: 0 auto; }
}
@media (max-width: 700px) {
  .container, .container-narrow { padding-left: 18px; padding-right: 18px; }
  .brand { font-size: 28px; }
  .nav { display: none; }
  .menu-toggle { display: block; }
  .header-right .lang { display: none; }
  .header-right .btn-dark { padding: 8px 16px; font-size: 14px; }

  .hero { min-height: auto; padding: 40px 0 64px; }
  .hero h1 { font-size: 44px; }
  .hero p.lead { font-size: 17px; }
  .globe { max-width: 320px; }

  .section { padding: 64px 0; }
  .section h2 { font-size: 32px; }

  .cards-row.cols-5,
  .cards-row.cols-4,
  .cards-row.cols-3,
  .cards-row.cols-6 { grid-template-columns: 1fr; }
  .jobs-row { grid-template-columns: 1fr; }
  .trusted-row { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { font-size: 40px; }

  .newsletter h2, .newsletter p.lead { text-align: left; }

  .about-grid { grid-template-columns: 1fr; }
  .about-sidenav { position: static; display: flex; flex-wrap: wrap; gap: 12px; }
  .contact-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 24px; }
  .auth-card h1 { font-size: 40px; }

  /* mobile nav drawer */
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
    gap: 16px;
    z-index: 60;
  }
  .nav.open .dropdown { position: static; opacity: 1; pointer-events: auto; transform: none; box-shadow: none; border: 0; padding: 4px 0 0 12px; background: transparent; }
}

/* Google sign-in + signed-in user UI */
.auth-slot { display: inline-flex; align-items: center; }
.google-signin-row { display: flex; justify-content: center; margin-bottom: 8px; }
.google-signin-host { min-height: 44px; display: flex; justify-content: center; }
.auth-notice {
  background: #FFF4E5;
  border: 1px solid #F0C58A;
  color: #6B3F00;
  font-size: 13px;
  line-height: 1.5;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 16px;
}
.signed-in-box {
  display: flex; flex-direction: column; gap: 12px;
  align-items: stretch; text-align: center;
  padding: 12px 0;
}

.user-chip { position: relative; }
.user-chip-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border, #E6E2D9);
  border-radius: 999px; padding: 4px 10px 4px 4px;
  font: inherit; color: inherit; cursor: pointer;
  max-width: 220px;
}
.user-chip-btn:hover { background: #FAF8F3; }
.user-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  object-fit: cover; display: inline-block; flex: 0 0 28px;
}
.user-avatar-initial {
  background: var(--primary, #6D28D9); color: #fff;
  font-weight: 700; font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center;
}
.user-chip-name {
  font-size: 14px; font-weight: 500;
  max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.user-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 240px; background: #fff;
  border: 1px solid var(--border, #E6E2D9); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  padding: 8px; opacity: 0; pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 120ms ease, transform 120ms ease;
  z-index: 70;
}
.user-chip.open .user-menu { opacity: 1; pointer-events: auto; transform: none; }
.user-menu-head { padding: 10px 12px; border-bottom: 1px solid var(--border, #E6E2D9); margin-bottom: 6px; }
.user-menu-name { font-size: 14px; font-weight: 600; }
.user-menu-email { font-size: 13px; color: #6B6760; word-break: break-all; }
.user-menu-item {
  display: block; width: 100%; text-align: left;
  background: transparent; border: 0; padding: 10px 12px;
  font: inherit; color: inherit; border-radius: 8px; cursor: pointer;
}
.user-menu-item:hover { background: #F3F0EA; }

@media (max-width: 760px) {
  .user-chip-name { display: none; }
  .user-chip-btn { padding: 4px; }
}


/* ============================================================
   Admin · Fillout
   ============================================================ */
.admin-section { padding: var(--space-7) 0 var(--space-9); }
.admin-head { margin-bottom: var(--space-5); }
.admin-head h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -.02em;
  margin: 0 0 8px;
}
.admin-sub { color: var(--text-muted); font-size: 15px; max-width: 720px; }

.admin-notice {
  background: #FEF3C7;
  border: 1px solid #F59E0B;
  color: #78350F;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  margin: 0 0 var(--space-5);
}
.admin-notice[data-kind="error"] {
  background: #FEE2E2;
  border-color: #DC2626;
  color: #7F1D1D;
}

.admin-auth-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
}
.admin-user {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}
.admin-tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-5);
}
.admin-tab {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.admin-tab:hover { color: var(--text); }
.admin-tab.active { color: var(--text); border-bottom-color: var(--primary); }
.admin-user-info { display: flex; flex-direction: column; line-height: 1.2; }
.admin-user-name { font-weight: 600; font-size: 14px; }
.admin-user-email { font-size: 12px; color: var(--text-muted); }
.admin-signout {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit; font-size: 13px;
  cursor: pointer;
}
.admin-signout:hover { background: #F3F0EA; }

.admin-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  margin-top: var(--space-5);
}
.admin-side {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  min-height: 320px;
}
.admin-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.admin-side-head h2 { font-size: 16px; font-weight: 700; margin: 0; }
.admin-refresh {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font: inherit; font-size: 12px;
  cursor: pointer;
}
.admin-refresh:hover { background: #F3F0EA; }

.admin-forms {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 4px;
}
.admin-form-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
  text-align: left;
  cursor: pointer;
  gap: 2px;
}
.admin-form-btn:hover { background: #F3F0EA; }
.admin-form-btn.active {
  background: var(--primary-soft);
  border-color: var(--primary);
}
.admin-form-name { font-size: 14px; font-weight: 600; }
.admin-form-id { font-size: 11px; color: var(--text-faint); font-family: ui-monospace, monospace; }
.admin-empty { color: var(--text-faint); font-size: 13px; padding: 8px 4px; }

.admin-main { min-width: 0; }
.admin-empty-state {
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 48px 24px;
  text-align: center;
  color: var(--text-muted);
}
.admin-form-detail {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.admin-detail-head { margin-bottom: 18px; }
.admin-detail-head h2 { font-size: 24px; font-weight: 700; margin: 0 0 6px; }
.admin-detail-meta {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  font-size: 12px; color: var(--text-muted);
}
.admin-detail-meta a { color: var(--primary); }
.admin-block { margin-top: 22px; }
.admin-block h3 { font-size: 16px; font-weight: 700; margin: 0 0 10px; }
.admin-block-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.admin-block-head h3 { margin: 0; }

.admin-field-list, .admin-sub-list { list-style: none; padding: 0; margin: 0; }
.admin-field-list li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 14px;
}
.admin-field-type { color: var(--text-faint); font-family: ui-monospace, monospace; font-size: 12px; }

.admin-sub-list { display: flex; flex-direction: column; gap: 10px; }
.admin-sub {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  background: #FAFAF7;
}
.admin-sub header {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 12px; color: var(--text-muted);
  margin-bottom: 8px;
}
.admin-sub-id { font-family: ui-monospace, monospace; }
.admin-sub-body { display: grid; grid-template-columns: 200px 1fr; gap: 4px 12px; margin: 0; font-size: 13px; }
.admin-sub-body dt { font-weight: 600; }
.admin-sub-body dd { margin: 0; word-break: break-word; }

.admin-create-note {
  font-size: 13px;
  color: var(--text-muted);
  background: #F4F2EC;
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 12px 14px;
}

@media (max-width: 900px) {
  .admin-grid { grid-template-columns: 1fr; }
  .admin-sub-body { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   Notion-embed forced-light-mode workaround
   Notion-published pages embedded from community.albadyh.com
   render unreadable under user's dark color-scheme. Force light.
   ------------------------------------------------------------ */
iframe[src*="community.albadyh.com"] {
  color-scheme: light !important;
  background: #ffffff !important;
}
