/* ==========================================================================
   Dvigrad Telekom — patch 2026-10
   Loaded AFTER index-*.css and dvigrad-fixes.css. Remove the
   <!-- patch-2026-10 --> block in index.html to roll back.
   ========================================================================== */

/* A. Self-hosted brand web fonts (SIL OFL 1.1, licences in /assets/fonts/).
      Variable fonts: one file covers every weight the site uses. */
@font-face {
    font-family: "Sora";
    src: url("/assets/fonts/Sora.woff2") format("woff2");
    font-weight: 100 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Open Sans";
    src: url("/assets/fonts/OpenSans.woff2") format("woff2");
    font-weight: 300 800;
    font-style: normal;
    font-display: swap;
}

/* Body text: Open Sans. Tailwind's html rule reads var(--font-sans). */
:root {
    --font-sans: "Open Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif,
                 "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/* Headings: Sora. */
h1, h2, h3, h4 {
    font-family: "Sora", var(--font-sans);
}

/* B. No sideways scrolling on phones while slide-in animations start
      off-screen. `clip` (not `hidden`) keeps position: sticky working. */
html, body {
    overflow-x: clip;
}
