/* Video wrapper - chová se jako picture s object-fit: cover */
#big-header .header-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

#big-header .header-video-wrapper iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 56.25vw; /* 16:9 při plné šířce viewportu */
  min-height: 100%;
  min-width: 177.78vh; /* 100vh × (16/9) - zajistí pokrytí výšky na vysokých viewportech */
  border: 0;
}

/* Obrázek jako fallback (skrytý pokud je video) */
#big-header .header-video-fallback {
  display: none;
}

/* Hlavní kontejner headeru */
header[role="banner"]#big-header {
  max-height: 800px;
  height: auto;
  /*height: 60vh;*/
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 650px;
}

/* Obsahový kontejner musí být nad obrázkem */
#big-header .front-content {
  position: relative; /* Vytáhne element do nové vrstvy */
  z-index: 2; /* Vyšší než picture */
  width: 100%; /* Aby zabíral celou šířku */
  /*height: 100%; !* Aby mohl centrovat obsah *!*/
  pointer-events: none; /* Propustí klikání "skrz" na prvky pod ním, pokud by překážel */
  margin: 0 auto; /* Centrovaní obsahu */
  padding: 0 1rem 0 1rem; /* Vnitřní odsazení pro lepší vzhled */
  display: flex;
  flex-direction: column;
  height: 100%; /* Aby mohl centrovat obsah vertikálně */
  justify-content: flex-start;
}

/* Vše uvnitř containeru musí mít interakce zpět zapnuté */
#big-header .front-content > * {
  pointer-events: auto;
}

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

@media screen and (min-width: 768px) {
  #big-header .front-content {
    flex-direction: row;
    justify-content: space-between;
    flex: auto;
  }

  .front-main-block {
    flex: 0 1 50%;
  }

  .front-aktuality {
    flex: 0 1 50%;
  }
}

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

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

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