/* Stejné soubory pro základní latinku i české znaky jako na termpir.eu. */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459Wdhyzbi.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459Wlhyw.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;
}

html:root {
  --template-font: "Montserrat";
  --template-headings-font: "Montserrat";
}

body {
  font-family: var(--template-font), sans-serif;
  font-weight: 400;
  letter-spacing: normal;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--template-headings-font), sans-serif;
  font-weight: 700;
}

.type-index #carousel .extended-banner-title {
  font-weight: 700;
  letter-spacing: normal;
}

.type-index #carousel .extended-banner-text {
  font-weight: 400;
  letter-spacing: normal;
}

.btn, .type-index #carousel .extended-banner-link {
  font-weight: 600;
  letter-spacing: normal;
}

#header #navigation .menu-level-1 > li > a > b {
  display: inline-block;
  position: relative;
  font-weight: 600;
  letter-spacing: normal;
}

#header #navigation .menu-level-1 > li > a > b::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #ffdc00;
  pointer-events: none;
  transition: width .3s ease;
}

#header #navigation .menu-level-1 > li > a:is(:hover, :focus-visible) > b::after {
  width: 100%;
}

#header #navigation .menu-level-1 > li > a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -3px;
}

@media (min-width: 992px) {
  .type-index #navigation {
    --termpir-barva-menu: white;
  }

  #header #navigation .menu-level-1 > li > a,
  #header #navigation .menu-level-1 > li > a:is(:hover, :focus-visible) {
    margin-inline: 0;
    color: var(--termpir-barva-menu, #142a52);
    background-color: transparent;
    text-decoration: none;
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #header #navigation .menu-level-1 > li > a > b::after {
    transition: none;
  }
}
