header {
  margin: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* Ensure header is above other content */
  background-color: var(--color-1);
}

header[role="banner"] {
  margin: 0;
  width: 100%;
  max-height: 250px;
  height: 60vh;
  overflow: hidden;
  position: relative; /* Nutné pro absolutní pozicování potomka */
}

header picture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Nejnižší vrstva */
}

header picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Header */
#block-jw-theme-site-branding {
  display: flex;
  flex-wrap: wrap;
}

.block-system-branding-block {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-right: 70px;
}

.site-slogan {
  font-size: 1.6rem;
  font-weight: bold;
  display: none;
}

.burger {
  margin: 0 1rem 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /*display: none;*/
  z-index: 1001; /* Ensure burger is above the header background */
  width: 35px;
  height: 30px;
}

.burger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: white;
  margin: 0 0 0 0;
  padding: 0;
  line-height: 100%;
}

.region-header {
  padding: 0 0 0 2.5rem;
}

@media screen and (min-width: 450px) {
}

@media screen and (min-width: 576px) {
}

@media screen and (min-width: 767px) {
  header {
    margin: 0;
    padding: 0;
    position: relative;
    top: 0;
    z-index: 1000; /* Ensure header is above other content */
  }

  .block-system-branding-block {
    width: 100%;
    margin: 0;
  }

  .site-logo {
    margin: 0 2rem 0 0;
    flex: 0 1 100px;
    display: flex;
    align-items: center;
  }


  .name-slogan {
    width: 100%;
  }

  .site-name {
    font-size: 3rem;
  }

  .site-slogan {
    font-size: 2rem;
    display: block;
  }

  .burger {
    display: none;
  }

  .region-header {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 0 0 2.5rem;
  }

}

@media screen and (min-width: 992px) {
}

@media screen and (min-width: 1200px) {
}

@media screen and (min-width: 1400px) {
}
