/* =============================================================
   WEBRAKÉTA — FONTS (LOKÁLIS @font-face)  ·  v8
   -------------------------------------------------------------
   A fontfájlok a témán belül találhatók:
     /wp-content/themes/webraketa/assets/fonts/inter/
     /wp-content/themes/webraketa/assets/fonts/space-grotesk/
     /wp-content/themes/webraketa/assets/fonts/jetbrains-mono/

   Ez a fájl helye:
     /wp-content/themes/webraketa/assets/css/fonts.css

   Ezért a font-fájlok relatív útvonala: ../fonts/<család>/<fájl>
   ============================================================= */

/* 2026-09-09, Optimus: a betutipusok WOFF2-re alakitva (latin + latin-ext reszhalmaz).
   Miert: a fooldal 10 TTF fajlt toltott le, osszesen 1904 KB-ot, tomorites nelkul.
   A WOFF2 valtozat ugyanezt ~257 KB-bol adja (-86%), a magyar ekezetes betuk
   es a tipografiai jelek ellenorizve benne vannak. A TTF tartalek marad. */


/* ---------- Inter ---------- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/Inter_18pt-Regular.woff2") format("woff2"),
       url("../fonts/inter/Inter_18pt-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/Inter_18pt-Medium.woff2") format("woff2"),
       url("../fonts/inter/Inter_18pt-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/Inter_18pt-SemiBold.woff2") format("woff2"),
       url("../fonts/inter/Inter_18pt-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/Inter_18pt-Bold.woff2") format("woff2"),
       url("../fonts/inter/Inter_18pt-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/Inter_18pt-Light.woff2") format("woff2"),
       url("../fonts/inter/Inter_18pt-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ---------- Space Grotesk ---------- */
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk/SpaceGrotesk-Light.woff2") format("woff2"),
       url("../fonts/space-grotesk/SpaceGrotesk-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk/SpaceGrotesk-Regular.woff2") format("woff2"),
       url("../fonts/space-grotesk/SpaceGrotesk-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk/SpaceGrotesk-Medium.woff2") format("woff2"),
       url("../fonts/space-grotesk/SpaceGrotesk-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk/SpaceGrotesk-SemiBold.woff2") format("woff2"),
       url("../fonts/space-grotesk/SpaceGrotesk-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk/SpaceGrotesk-Bold.woff2") format("woff2"),
       url("../fonts/space-grotesk/SpaceGrotesk-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- JetBrains Mono ---------- */
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono/JetBrainsMono-Regular.woff2") format("woff2"),
       url("../fonts/jetbrains-mono/JetBrainsMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono/JetBrainsMono-Medium.woff2") format("woff2"),
       url("../fonts/jetbrains-mono/JetBrainsMono-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Sulyszam-aliasok ----------
   Ezek eddig a design-system.css-ben voltak masodpeldanyban. 2026-09-09-tol
   MINDEN @font-face csak ITT van, hogy egy helyen kelljen karbantartani. */
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk/SpaceGrotesk-Bold.woff2") format("woff2"),
       url("../fonts/space-grotesk/SpaceGrotesk-Bold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono/JetBrainsMono-Medium.woff2") format("woff2"),
       url("../fonts/jetbrains-mono/JetBrainsMono-Medium.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
