/*!
 * Vlastní minimální podmnožina Font Awesome 6/7 Free.
 * Obsahuje POUZE ikony reálně použité na webu kalabasyn.cz (28 unikátních
 * znaků ze 3 stylů), vygenerováno nástrojem fonttools ze zdroje
 * @fortawesome/fontawesome-free (MIT / SIL OFL 1.1 / CC BY 4.0 licence,
 * viz https://fontawesome.com/license/free).
 *
 * Nahrazuje: fontawesome.css, fontawesome-free.css (celkem ~574 KiB fontů
 * + ~150 KiB CSS). Tento soubor + 3 fonty dohromady váží cca 6 KB.
 *
 * Když budeš chtít na web přidat NOVOU ikonu, kterou tu nenajdeš, je potřeba
 * podmnožinu znovu vygenerovat (přidat její unicode a přebuildovat woff2) –
 * jinak se nezobrazí. Neopravuje se to ručním psaním CSS pravidla.
 */

@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/fa-solid-900.woff2") format("woff2");
}
/* Alias – style.css šablony volá pár ikon (šipky u dropdownů) přímo přes
   font-family: "Font Awesome 5 Free" místo přes .fa-* třídu. Stejný soubor,
   jen druhé jméno, ať to nadále funguje beze změny style.css. */
@font-face {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/fa-solid-900.woff2") format("woff2");
}
@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/fa-regular-400.woff2") format("woff2");
}
@font-face {
  font-family: "Font Awesome 6 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/fa-brands-400.woff2") format("woff2");
}

/* Základní třídy stylu (nové i starší zápisy použité v šabloně) */
.fa-solid,
.fas,
.fa {
  font-family: "Font Awesome 6 Free";
  font-weight: 900 !important;
}
.fa-regular,
.far {
  font-family: "Font Awesome 6 Free";
  font-weight: 400 !important;
}
.fa-brands,
.fab {
  font-family: "Font Awesome 6 Brands";
  font-weight: 400 !important;
}

.fa-solid, .fas, .fa,
.fa-regular, .far,
.fa-brands, .fab {
  display: var(--fa-display, inline-block);
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
}

/* Ikony - solid */
.fa-arrow-left::before { content: "\f060"; }
.fa-arrow-right::before { content: "\f061"; }
.fa-arrow-right-long::before { content: "\f178"; }
.fa-arrow-up-right-from-square::before { content: "\f08e"; }
.fa-calendar-check::before { content: "\f274"; }
.fa-check::before { content: "\f00c"; }
.fa-chevron-down::before { content: "\f078"; }
.fa-circle-check::before { content: "\f058"; }
.fa-envelope::before { content: "\f0e0"; }
.fa-gift::before { content: "\f06b"; }
.fa-handshake::before { content: "\f2b5"; }
.fa-house::before { content: "\f015"; }
.fa-id-card::before { content: "\f2c2"; }
.fa-location-dot::before { content: "\f3c5"; }
.fa-map-pin::before { content: "\f276"; }
.fa-money-bill-wave::before { content: "\f53a"; }
.fa-paper-plane::before { content: "\f1d8"; }
.fa-person-digging::before { content: "\f85e"; }
.fa-phone::before { content: "\f095"; }
.fa-spinner::before { content: "\f110"; }
.fa-star::before { content: "\f005"; }
.fa-truck::before { content: "\f0d1"; }
.fa-xmark::before,
.fa-times::before { content: "\f00d"; }
.fa-angle-up::before { content: "\f106"; }
.fa-bars::before { content: "\f0c9"; }

/* Tyto dva znaky nemá žádná .fa-* třída v HTML – používá je přímo style.css
   šablony přes content:"\f107" / "\f105" (šipky select2 a vnořeného menu).
   V kódu webu se aktuálně nespouští (žádné select2, žádné vícevrstvé menu),
   ale jsou tu pro jistotu, kdyby se to v budoucnu použilo. */

/* Ikony - regular */
.fa-clock::before { content: "\f017"; }

/* Ikony - brands */
.fa-x-twitter::before { content: "\e61b"; }
.fa-facebook-f::before { content: "\f39e"; }
.fa-pinterest::before { content: "\f0d2"; }
.fa-instagram::before { content: "\f16d"; }

/* Rotující spinner (šablona používá fa-spin společně s fa-spinner) */
.fa-spin {
  animation: fa-spin 2s infinite linear;
}
@keyframes fa-spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
