/* =========================================================
   ΑΚΑΣ Ταρώ · κοινές γραμματοσειρές (Πρόταση Α, 2026-11-13)
   Τίτλοι: Noto Serif Display · Κείμενο: Noto Serif
   Φιλοξενούνται τοπικά (assets/fonts), μόνο ελληνικά + λατινικά.
   Άδεια: SIL Open Font License 1.1 (Google Noto fonts).
   ========================================================= */

:root {
  --akas-font-text: "Noto Serif", "Noto Serif Fallback", Georgia, "Times New Roman", serif;
  --akas-font-display: "Noto Serif Display", "Noto Serif Display Fallback", Georgia, "Times New Roman", serif;
}

/* Τίτλοι: μηδενική προτεραιότητα (:where), ώστε κάθε δικός κανόνας της σελίδας να υπερισχύει.
   Οι σελίδες με δική τους γραμματοσειρά-χαρακτήρα έχουν <html data-fonts-own> και εξαιρούνται. */
:where(html:not([data-fonts-own])) :where(h1, h2) { font-family: var(--akas-font-display); font-weight: 400; }
:where(html:not([data-fonts-own])) :where(h3) { font-family: var(--akas-font-display); font-weight: 500; }

/* Noto Serif · normal · greek */
@font-face {
  font-family: "Noto Serif";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/noto-serif-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

/* Noto Serif · normal · latin */
@font-face {
  font-family: "Noto Serif";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/noto-serif-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Noto Serif · italic · greek */
@font-face {
  font-family: "Noto Serif";
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/noto-serif-greek-italic.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

/* Noto Serif · italic · latin */
@font-face {
  font-family: "Noto Serif";
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/noto-serif-latin-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Noto Serif Display · normal · greek */
@font-face {
  font-family: "Noto Serif Display";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/noto-serif-display-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

/* Noto Serif Display · normal · latin */
@font-face {
  font-family: "Noto Serif Display";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/noto-serif-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Noto Serif Display · italic · greek */
@font-face {
  font-family: "Noto Serif Display";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/noto-serif-display-greek-italic.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

/* Noto Serif Display · italic · latin */
@font-face {
  font-family: "Noto Serif Display";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/noto-serif-display-latin-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Προσωρινή γραμματοσειρά μέχρι να φορτώσει η Noto: Georgia ρυθμισμένη στις διαστάσεις της Noto,
   ώστε το κείμενο να μη «πηδάει» όταν γίνει η αλλαγή (μετρήσεις 2026-11-13).
   Στα Android δεν υπάρχει Georgia· εκεί η εφεδρεία είναι η Noto Serif του συστήματος, ίδιων διαστάσεων. */
@font-face {
  font-family: "Noto Serif Fallback";
  src: local("Georgia");
  font-weight: 400;
  size-adjust: 103.5%;
  ascent-override: 103.4%;
  descent-override: 28%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Noto Serif Fallback";
  src: local("Georgia Bold"), local("Georgia-Bold");
  font-weight: 700;
  size-adjust: 97.6%;
  ascent-override: 109.6%;
  descent-override: 29.7%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Noto Serif Display Fallback";
  src: local("Georgia");
  size-adjust: 103.8%;
  ascent-override: 103.1%;
  descent-override: 27.9%;
  line-gap-override: 0%;
}
