html,
body {
  background-color: var(--white);
  color: var(--black);
  font-variant-ligatures: none;
  font-size: 14.4px;
  position: relative;
  width: 100%;
  font-family: "Samsung", sans-serif;
  font-display: swap;
  font-weight: normal;
  overflow-x: hidden;
}

body::before {
  content: "";
  display: block;
  height: 5rem;
}

body * {
  box-sizing: border-box;
}

[lang=cs] .sk,
[lang=sk] .cz {
  display: none !important;
}

section,
main,
header,
footer {
  position: relative;
}

section.textcontent {
  padding: 4.5rem 0;
}
section.colorstrip {
  padding-bottom: 3.4rem;
}
[data-page=clanek] section.colorstrip {
  padding-top: 1.3rem;
}
[data-page=kategorie] section.colorstrip {
  padding-top: 0;
}
section.colorstrip #menu-bar {
  background-color: #fff;
}
section.colorstrip #menu-bar .middle {
  font-size: 0;
}
section.colorstrip #menu-bar .middle * {
  display: inline-block;
}
@media (max-aspect-ratio: 1/1) and (max-width: 1000px) {
  section.colorstrip #menu-bar .middle * {
    display: none;
  }
}
section.colorstrip #menu-bar .middle a {
  border-top: 1px solid var(--grey-d9);
  border-right: 1px solid var(--grey-d9);
  padding: 0.5rem 1rem;
  font-size: 1rem;
  line-height: 120%;
  font-family: "Samsung Sharp Sans";
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
  user-select: none;
  text-decoration: none;
}
section.colorstrip #menu-bar .middle a.selected {
  background-color: var(--grey-f1);
}
section.colorstrip #menu-bar + div {
  margin-top: 2rem;
}
section.grey {
  background-color: var(--grey-f1);
}

.middle {
  margin: 0 auto;
  width: 100rem;
}

.radius {
  border-radius: 1rem;
}

hr {
  border: 0;
  border-top: 1px solid var(--grey-d9);
}

.grid,
.grid.sq {
  width: 18.9rem;
  aspect-ratio: 1/1;
}

.double-grid,
.double-grid.sq {
  width: 39.175rem;
  aspect-ratio: 1/1;
}

:root {
  --grid-margin: 1.375rem;
}

#isMobile {
  display: none;
}

@media (max-width: 1440px) {
  html,
  body {
    font-size: 1vw;
  }
  .middle {
    width: 100%;
    padding: 0 1rem;
  }
  .grid,
  .grid.sq {
    width: 18.5rem;
    aspect-ratio: 1/1;
  }
  .double-grid,
  .double-grid.sq {
    width: calc(37rem + (100% - 92.5rem) / 4);
    aspect-ratio: 1/1;
  }
  :root {
    --grid-margin: 1rem;
  }
}
@media (max-aspect-ratio: 1/1) and (max-width: 1000px) {
  html,
  body {
    font-size: 3.5vw;
  }
  #isMobile {
    display: block;
  }
  .middle {
    width: 25rem;
    padding: 0;
  }
  .double-grid,
  .double-grid.sq {
    width: 100%;
    aspect-ratio: 1/1;
  }
  .grid,
  .grid.sq {
    width: calc(50% - 0.5rem);
    aspect-ratio: 1/1;
  }
  :root {
    --grid-margin: 1rem;
  }
  .show-desktop {
    display: none;
  }
}
/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #000000 #c9c9c9;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 16px;
}

*::-webkit-scrollbar-track {
  background: #c9c9c9;
}

*::-webkit-scrollbar-thumb {
  background-color: #000000;
  border-radius: 16px;
  border: 0px none #ffffff;
}