/* ==========================================
ÚVODNÍ FOTOGRAFIE
========================================== */

#motive {
  position: relative;
  isolation: isolate;
}

#motive::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  z-index: -1;
  pointer-events: none;
}

/* Hlavní nadpis */
#motive #motto #motto-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(30px, 3.4vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  text-transform: none;
  max-width: 1100px;
  margin: 130px auto 20px;
  text-shadow: none;
}

/* Text pod nadpisem */
#motive #motto #motto-text {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: #ffffff;
  text-transform: none;
  width: 100%;
  max-width: 760px;
  margin: 0 auto 40px;
}


/* ==========================================
HLAVNÍ NADPIS OBSAHU
========================================== */

#reseni h1 {
  text-transform: none !important;
  letter-spacing: normal !important;
}


/* ==========================================
KONTAKTNÍ SEKCE
========================================== */

section.section-container.section-contact {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

section.section-container.section-contact > .row {
  display: flex;
  flex-wrap: wrap;
}

section.section-container.section-contact .section-content {
  min-width: 0;
  margin-bottom: 24px;
  overflow-wrap: break-word;
}


/* ==========================================
HORNÍ LIŠTA A NAVIGACE
========================================== */

/* Skrytí horního pruhu a hledání */
header #top-ribbon,
header #sm-search {
  display: none !important;
}

/* Velikost loga */
header .navbar .logo img {
  width: 150px !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
}

/* Písmo a barvy menu */
header #navbar .navbar-nav > li > a {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  color: #252525 !important;
}

header #navbar .navbar-nav > li {
  border: none !important;
}

/* Aktivní položka bez barevného pozadí */
header #navbar .navbar-nav > li.active > a,
header #navbar .navbar-nav > li.active > a:hover,
header #navbar .navbar-nav > li.active > a:focus {
  background: transparent !important;
  color: #60a63b !important;
}

header #navbar .navbar-nav > li.active > a::before,
header #navbar .navbar-nav > li.active > a::after {
  display: none !important;
}

/* Zvýraznění odkazu při najetí */
header #navbar .navbar-nav > li > a:hover,
header #navbar .navbar-nav > li > a:focus {
  color: #60a63b !important;
  background: transparent !important;
}


/* ==========================================
MOBIL A TABLET – HORNÍ LIŠTA
========================================== */

@media (max-width: 991px) {
  header {
    height: auto !important;
  }

  /* Logo vlevo, menu vpravo */
  header .navbar > .container {
    display: grid !important;
    grid-template-columns: 1fr auto;
    align-items: center;
    width: 100%;
    padding: 10px 16px;
  }

  header .navbar > .container::before,
  header .navbar > .container::after {
    display: none;
  }

  /* Logo */
  header .navbar .logo {
    display: block;
    position: relative;
    z-index: 1;
  }

  header .navbar .logo,
  header .navbar .logo a,
  header .navbar .logo img {
    width: 110px !important;
    max-width: 110px !important;
    min-width: 0 !important;
  }

  header .navbar .logo img {
    display: block;
    height: auto !important;
    max-height: 40px !important;
    object-fit: contain;
  }

  /* Oblast tlačítka menu */
  header .navbar-header {
    display: block;
    position: relative;
    z-index: 1001;
    margin: 0 !important;
  }

  /* Tlačítko menu */
  header .navbar-toggle {
    position: relative;
    float: none;
    margin: 0 !important;
    padding: 12px 10px;
    min-width: 44px;
    min-height: 44px;
    border: none;
    background: transparent !important;
    cursor: pointer;
    pointer-events: auto;
  }

  /* Rozbalovací menu */
  header #navbar {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
    padding: 0;
  }
}


/* ==========================================
MOBIL – ÚVODNÍ TEXT
========================================== */

@media (max-width: 767px) {
  #motive #motto #motto-title {
    margin-top: 55px;
  }

  #motive #motto #motto-text {
    font-size: 17px;
    margin-bottom: 30px;
  }
}
/* Skrytí vyhledávacího pole i jeho tlačítka */
#search-bar,
#search-toggle {
  display: none !important;
}