/* =========================================================
   Izolovaný základ pre náš header/footer na podstránkach (Avada obsah).
   Všetko je scoped na .md-chrome, aby sa nedotklo Avada obsahu.
   Utility triedy: chrome-utilities.css (npm run build:css).
   ========================================================= */
@font-face {
  font-family: 'Nunito';
  src: url('../fonts/Nunito-Variable-latin-ext.woff2') format('woff2-variations');
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  src: url('../fonts/Nunito-Variable-latin.woff2') format('woff2-variations');
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
  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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-primary: #357488;
  --color-primary-light: #DBF6FF;
  --color-bg-light: #F7F8F9;
  --color-ink: #211F1F;
  --color-accent: #2F7A43;
  --color-border: #DEE1E2;
  --fs-btn: clamp(0.95rem, 0.88rem + 0.25vw, 1.1rem);
}

/* Reset s nulovou špecificitou (:where), aby utility triedy vždy vyhrali — ako Tailwind preflight */
:where(.md-chrome),
:where(.md-chrome) *,
:where(.md-chrome) *::before,
:where(.md-chrome) *::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: #e5e7eb; }

:where(.md-chrome) {
  font-family: 'Nunito', sans-serif;
  line-height: 1.5;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

:where(.md-chrome) ul, :where(.md-chrome) ol { list-style: none; margin: 0; padding: 0; }
:where(.md-chrome) li { margin: 0; padding: 0; }
:where(.md-chrome) p { margin: 0; }
:where(.md-chrome) a { color: inherit; text-decoration: inherit; background: none; }
:where(.md-chrome) img, :where(.md-chrome) svg { display: block; vertical-align: middle; }
:where(.md-chrome) img { max-width: 100%; height: auto; border: 0; }
:where(.md-chrome) button { font: inherit; color: inherit; margin: 0; text-transform: none; }

/* Avada (bootstrap clearfix) by inak pridal ::before/::after ako položky flexu */
.md-chrome .container::before,
.md-chrome .container::after { content: none; display: none; }

.md-chrome .container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
@media (min-width: 640px)  { .md-chrome .container { max-width: 640px; } }
@media (min-width: 768px)  { .md-chrome .container { max-width: 768px; } }
@media (min-width: 1024px) { .md-chrome .container { max-width: 1024px; padding-left: 40px; padding-right: 40px; } }
@media (min-width: 1280px) { .md-chrome .container { max-width: 1280px; } }
@media (min-width: 1536px) { .md-chrome .container { max-width: 1536px; } }

.md-chrome .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: var(--fs-btn);
  padding: 16px 32px;
  border-radius: 10px;
  white-space: nowrap;
  transition: all .2s ease;
  cursor: pointer;
  text-decoration: none;
}
