/*! fonts-override.css v1.3 — Arial/14, per-heading sizes; FA & Summernote icons fixed; FA bullets aligned */

/* ====================== TYPO BASE ====================== */
:root{
  --app-font: Arial, Helvetica, sans-serif;
  --app-text-size: 16px;
  --app-line-height: 1.6;

  /* default pre všetky nadpisy */
  --app-heading-size: 18px;

  /* per-heading overrides (meníš len tu) */
  --app-h1-size: 24px;
  --app-h2-size: 22px;
  --app-h3-size: 20px;
  --app-h4-size: 18px;
  --app-h5-size: 16px;
  --app-h6-size: 16px;

  /* ====== FA BULLETS TWEAKS (lahko nastavitelné) ====== */
  --list-indent: 1.25em;        /* odsadenie textu od ikonky */
  --list-bullet-size: .7em;     /* velkost ikonky (rel. k textu) */
  --list-bullet-top: .52em;     /* vert. zarovnanie ikonky (top) */
  --list-item-gap: .5em;        /* medzera medzi <li> (cca 7px pri 14px) */
}

html, body{
  font-family: var(--app-font) !important;
  font-size: var(--app-text-size) !important;
  line-height: var(--app-line-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* VŠETKO dedí rodinu písma (zabezpecí Arial všade) */
*, *::before, *::after{
  font-family: inherit !important;
}

/* ====================== HEADINGS ====================== */
h1,h2,h3,h4,h5,h6{
  font-family: var(--app-font) !important;
  line-height: 1.3;
  font-weight: 600;
  margin-top: .8em;
  margin-bottom: .4em;
}
h1{ font-size: var(--app-h1-size) !important; }
h2{ font-size: var(--app-h2-size) !important; }
h3{ font-size: var(--app-h3-size) !important; }
h4{ font-size: var(--app-h4-size) !important; }
h5{ font-size: var(--app-h5-size) !important; }
h6{ font-size: var(--app-h6-size) !important; }

/* Utilities */
.hx-16{ font-size:16px !important; }
.hx-18{ font-size:18px !important; }
.hx-20{ font-size:20px !important; }
.hx-22{ font-size:22px !important; }
.hx-24{ font-size:24px !important; }
.hx-28{ font-size:28px !important; }
.hx-32{ font-size:32px !important; }
.hx-36{ font-size:36px !important; }

.text-12{ font-size:12px !important; }
.text-14{ font-size:14px !important; }
.text-16{ font-size:16px !important; }
.text-18{ font-size:18px !important; }

/* ====================== PRINT ====================== */
@media print{
  html, body{
    font-family: var(--app-font) !important;
    font-size: var(--app-text-size) !important;
    line-height: var(--app-line-height);
  }
  h1,h2,h3,h4,h5,h6{ font-size: var(--app-heading-size) !important; }
}

/* ====================== ICON FONTS EXCEPTIONS ====================== */
/* Font Awesome (v4/v5/v6) */
.fa{
  font-family:"Font Awesome 6 Free","Font Awesome 5 Free","FontAwesome" !important;
  font-weight:900 !important; /* solid */
}
.fas, .fa-solid{
  font-family:"Font Awesome 6 Free","Font Awesome 5 Free","FontAwesome" !important;
  font-weight:900 !important;
}
.far, .fa-regular{
  font-family:"Font Awesome 6 Free","Font Awesome 5 Free","FontAwesome" !important;
  font-weight:400 !important;
}
.fal, .fa-light, .fa-thin{
  font-family:"Font Awesome 6 Free","Font Awesome 5 Free","FontAwesome" !important;
  font-weight:300 !important;
}
.fab, .fa-brands{
  font-family:"Font Awesome 6 Brands","Font Awesome 5 Brands" !important;
  font-weight:400 !important;
}
.fa::before, .fas::before, .far::before, .fal::before, .fab::before,
.fa-solid::before, .fa-regular::before, .fa-light::before, .fa-thin::before, .fa-brands::before{
  font-family: inherit !important; /* zdedí správnu FA family */
}

/* Summernote 0.8.x icon font */
[class^="note-icon"], [class*=" note-icon"],
.note-toolbar [class^="note-icon"], .note-toolbar [class*=" note-icon"]{
  font-family:"note-icon","summernote","note" !important;
  font-style:normal !important;
  font-weight:normal !important;
  font-variant:normal !important;
  text-transform:none !important;
  line-height:1;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
[class^="note-icon"]::before, [class*=" note-icon"]::before,
[class^="note-icon"]::after,  [class*=" note-icon"]::after,
.note-toolbar [class^="note-icon"]::before, .note-toolbar [class*=" note-icon"]::before,
.note-toolbar [class^="note-icon"]::after,  .note-toolbar [class*=" note-icon"]::after{
  font-family:"note-icon","summernote","note" !important;
}

/* ====================== LISTS: FA BULLETS (indented & aligned) ====================== */
/* nastavitelné premenné (môžeš presunút do :root, ak chceš) */
:root{
  --list-indent: 1.4em;        /* kolko bude text odsadený od lavého okraja */
  --list-bullet-left: .15em;   /* jemné posunutie bodky doprava v rámci odsadenia */
  --list-bullet-size: .68em;   /* velkost bodky (rel. k textu) */
  --list-bullet-top: .52em;    /* vertikálne zarovnanie bodky voci textu */
  --list-item-gap: .4em;       /* zvislá medzera medzi <li> */
}

/* zapni FA-bullets len pre tvoje zoznamy */
.lists, .lists-2{
  list-style: none;
  margin: 0;
  padding-left: 40px;             /* kontrolu odsadenia rieši li */
}

/* každý riadok má vlastné odsadenie – text nezacína na úplnom kraji */
.lists li, .lists-2 li{
  position: relative;
  padding-left: var(--list-indent);
  margin: 0 0 var(--list-item-gap) 0;
  line-height: 1.5;
}

/* posledný <li> bez extra medzery */
.lists li:last-child, .lists-2 li:last-child{ margin-bottom: 0; }

/* FA ikonka ako bullet – umiestnená do odsadenia (nie úplne na lavý kraj) */
.lists li::before, .lists-2 li::before{
  content: "\f111"; /* fas fa-circle (plné koliesko) – zmen ak chceš */
  font-family: "Font Awesome 6 Free","Font Awesome 5 Free","FontAwesome" !important;
  font-weight: 900 !important;
  position: absolute;
  left: calc(var(--list-bullet-left));   /* drobný offset od lavého okraja li */
  top: var(--list-bullet-top);           /* vertikálne zarovnanie k 14px textu */
  font-size: var(--list-bullet-size);
  line-height: 1;
  color: currentColor;                   /* farba = farba textu */
  width: calc(var(--list-indent) - var(--list-bullet-left));
  text-align: left;
}

/* vnorené zoznamy – o nieco menšie odsadenie aj ikonka */
.lists li > ul, .lists-2 li > ul{
  margin-top: .25em;
  margin-bottom: 0;
  padding-left: 0;
}
.lists li > ul li, .lists-2 li > ul li{
  padding-left: calc(var(--list-indent) + .6em);
  margin-bottom: calc(var(--list-item-gap) * .85);
}
.lists li > ul li::before, .lists-2 li > ul li::before{
  content: "\f0da"; /* fas fa-caret-right pre vnorenú úroven */
  font-weight: 900 !important;
  font-size: .62em;
  left: calc(var(--list-bullet-left) + .45em);
  top: var(--list-bullet-top);
}

/* === EXCEPTION: Themify Icons === */
[class^="ti-"], [class*=" ti-"] {
  font-family: "themify" !important;
  font-style: normal !important;
  font-weight: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

