/*
.gallery {
    display: flex;
margin-top: auto;

}

.video {
    width: 50%;
}

.images {
    width: 50%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px; /* Odstęp między zdjęciami */
/*
}

.images img {
    width: 100%;
    height: auto;
}

/* (A) GALLERY WRAPPER */
.vvideo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Elastyczna siatka */
  grid-gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: auto;
}

/* (B) GALLERY VIDEOS */
.vvideo video {
  width: 100%;
  height: auto; /* Wysokość automatyczna, proporcjonalna do szerokości */
  object-fit: cover; /* Obraz wypełnia komórkę */
  cursor: pointer;
  display: block; /* Eliminuje przerwy */
}

/* (B2) FULLSCREEN VIDEO */
.vvideo video.full {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100vw;
  height: 100vh;
  background: #000;
  object-fit: scale-down;
}

/* (C) EXIT FULLSCREEN */
#vClose {
  position: fixed;
  display: none;
  top: 0;
  right: 0;
  z-index: 9999;
  font-size: 20px;
  font-weight: 700;
  padding: 10px 15px;
  color: #fff;
  background: #741414;
  cursor: pointer;
}
#vClose.show {
  display: block;
}

/* Ukrywanie elementów - poprawione selektory i usunięto błąd składni */
main.template-set p.collection-description,
.template-set .desktop,
.template-set .mobile,
.pretitle,
.backlink.heading_desktop.heading_mobile {
  display: none;
}

/* Style adjustments - us
