/* LOGO-1 (Founder design directive, 2 Nov 2026): ONE logo size across the whole site.
   Reference = the homepage logo: Inter 800, 13px wordmark with the logo image at 1.1em (16px wordmark at
   phone widths <= 540px, as on the homepage). Every logo carries class "oct-logo"; this file is the only
   place its size is set. The wordmark uses the same self-hosted Inter in English AND Arabic, so the logo
   has identical dimensions in both languages (it used to fall back to Tajawal on Arabic pages), and the
   mark always reads left-to-right like the artwork. The logo artwork itself is unchanged. */
@font-face { font-family: 'October Logo'; font-style: normal; font-weight: 800; font-display: block;
  /* PERF-1: same Inter 800, WOFF2 Latin subset (23 KB instead of a 327 KB TTF on every page; the wordmark is Latin). */
  src: url('/static/academic-v3/fonts/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuDyYMZg.latin.woff2?v=w2') format('woff2'); }
:root { --oct-logo-size: 13px; }
@media (max-width: 540px) { :root { --oct-logo-size: 16px; } }

html body .oct-logo.oct-logo, html body .oct-logo.oct-logo * { font-family: 'October Logo', 'Inter', system-ui, -apple-system, sans-serif !important; }
/* 'html body … .oct-logo.oct-logo' outranks theme-refine.css (injected later by i18n.js), whose older logo rules
   set the image to 22px and moved its gap to the left in Arabic. */
html body .oct-logo.oct-logo {
  display: inline-block !important; vertical-align: middle; flex: none !important; /* inline (not flex): a flex box drops the space in "October AI" */
  direction: ltr !important; unicode-bidi: isolate; white-space: nowrap !important;
  font-size: var(--oct-logo-size) !important; font-weight: 800 !important; line-height: 1 !important;
  letter-spacing: 0 !important; text-transform: none !important; width: auto !important; height: auto !important;
  min-width: 0 !important; max-width: none !important; padding: 0 !important;
}
html body .oct-logo.oct-logo img {
  display: inline-block !important; vertical-align: -0.18em !important; height: 1.1em !important; width: auto !important; max-width: none !important;
  aspect-ratio: 1 / 1; object-fit: contain; border-radius: 5px !important; margin: 0 7px 0 0 !important; flex: none !important;
}
html body .oct-logo.oct-logo span { display: inline !important; margin: 0 !important; padding: 0 !important; font-size: inherit !important; font-weight: inherit !important; letter-spacing: 0 !important; line-height: 1 !important; }
