/* Shahid Al Hayat Transport: base layer loaded by the sah-site plugin.
   Tokens, type styles and components live in Oxygen's global CSS (imported from the design handoff). */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* Oxygen's global base styles set h1-h6 to its heading font (system-ui by default) and body to its body font.
   Point both at the design's one family, so headings without a type class (inside .sah-prose) match the reference. */
body { --bde-heading-font-family: var(--font-sans); --bde-body-font-family: var(--font-sans); }

/* Oxygen wraps every inline <svg> in div.oxy-svg-icon2 (1em box, svg at 100%).
   Let the wrapper vanish from layout so the design's own "X svg" sizing rules apply as in the reference. */
body .oxy-svg-icon2 { display: contents; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Wrapper around a shortcode inside an Oxygen template: take no part in layout, so the shortcode's markup sits
   in the stack/grid exactly as in the reference. */
.sah-slot { display: contents; }

/* Oxygen's base CSS sets img { max-width: 100% }, which the design does not; in the featured post card's flex row
   it changes how the image and text share the width. */
.sah-post-card--feature .sah-post-card__media { max-width: none; }

/* Logged-in editors see the WordPress admin bar above the page; keep the sticky header below it.
   The variable is 0px for visitors, so the public layout is unchanged. */
body .sah-header--sticky { top: var(--wp-admin--admin-bar--height, 0px); }

/* Match the reference exactly: site.css sets no font on form controls, so the reference renders them in the
   browser default (Arial 13.33px in Chrome). Oxygen's Modern Normalize sets font: inherit; roll that back. */
body :is(input, textarea, select) { font-family: revert; font-size: revert; line-height: revert; font-weight: revert; letter-spacing: revert; }
