/* Bootstrap rows need a container or their negative margins overflow. */
#home > .row {
  margin-left: 0;
  margin-right: 0;
}

#home .item-wedding-hall {
  background-image: url('../images/slider-svatebni-sal.webp');
  background-position: center;
}

#home .caption > .container {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: center;
}

#home .caption > .container::before,
#home .caption > .container::after {
  display: none;
}

#home .caption > .container > .col-md-8 {
  width: auto;
  float: none;
}

#home .caption > .container > img {
  max-width: 100%;
  object-fit: contain;
  justify-self: center;
}

@media (max-width: 991px) {
  #home .caption {
    padding: 70px 0 20px;
  }

  #home .caption > .container {
    height: 520px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 350px 150px;
    row-gap: 20px;
  }
}

#menu .menu-thumb {
  width: 100%;
}

iframe {
  max-width: 100%;
}

.custom-navbar .navbar-brand img {
  filter: brightness(0.35);
}

@media (min-width: 993px) {
  #home .item-third,
  #home .item-wedding-hall,
  #home .item-5 {
    background-position: center bottom;
  }
}

@media (max-width: 767px) {
  .slider .item h1 {
    overflow-wrap: break-word;
  }

  .custom-navbar .navbar-brand {
    padding-top: 10px;
  }
}
