
.custom-list  {
    list-style: none;
    padding: 0;
    margin: 0;
}

h2 {font-family: 'ivyora-display, sans-serif'!important;  font-weight: 200;}

#mapOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 9999;
  overflow: hidden;
}

#mapContainer {
  position: relative;
  width: 100%;
  height: 100%;
}

#mapContainer iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

#closeMapBtn {
  position: absolute;
  top: 20px;
font-weight:300;
  right: 20px;
  padding: 20px 40px;
  font-size: 1rem;
  background-color: #212121;
  color: white;
border-radius: 50px;
  border: none;
  cursor: pointer;
  z-index: 10000;
}


/* Lightbox */
.gallery-t {
  display: grid!important;
  grid-template-columns: 1fr!important;
  gap: 0.75rem!important;
}

/* Pierwszy obrazek */
.gallery-t figure:first-child {
  grid-column: 1 / -1!important;
  width: 100%!important;
  position: relative!important;
  border-radius: 10px!important;
  overflow: hidden!important;
}

/* Miniaturki */
.gallery-t figure:nth-child(n+2) {
  width: 100%!important;
  aspect-ratio: 4 / 3!important;
  overflow: hidden!important;
  border-radius: 10px!important;
}

/* Obrazki */
.gallery-t figure a img {
  width: 100%!important;
  height: 100%!important;
  object-fit: cover!important;
  display: block!important;
  transition: transform 0.3s ease!important;
  border-radius: inherit!important;
}

.gallery-t figure:nth-child(n+2):hover img {
  transform: scale(1.02)!important;
}

/* Ikonka "+" na pierwszym */
 .gallery-t figure:first-child::after {
  content: '+'; 
  position: absolute;
  bottom: 25px;
  right: 25px;
    background-color: rgba(255, 255, 255, 0.4)!important;
    backdrop-filter: blur(20px);
  color: #212121;
  font-size: 30px;
    padding-bottom:6px;
    font-weight:100;
    font-family: "system-ui"!important;
    line-height:40%!important;
  width:40px;
    height:40px;
    text-align:center;
  border-radius: 50px;
  z-index: 2;
  pointer-events: none;
    display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.gallery-t figure:first-child:hover::after {
  transform: scale(1.1)!important;
  background-color: rgba(255, 255, 255, 0.55)!important;
}

.intro-2  {color:#7F7E7D!important; text-transform:uppercase; opacity:0.7;}
.intro  { text-transform:uppercase; font-weight: 400;}

.single-apartament .price {font-weight:500; font-size:20px}

button#showMapBtn {text-transform: uppercase; color: #F8F6F3; background-color: #212121; padding: 20px 40px 20px 40px; font-weight: 300; border-radius:50px; border: none; cursor: pointer;}

.offer-id {padding-left:50px;position: relative;
  display: flex;
  align-items: center;}

.offer-id::before {
  content: "";
	opacity:0.4;
  position: absolute;
  left: 0;
  width: 20px;
  height: 20px;
  background-image: url('https://wordpress-1378599-5451201.cloudwaysapps.com/wp-content/themes/air-light-child/svg/id.svg'); 
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

/* Lightbox opisy */
.glightbox-clean .gslide-description {
  display: none!important;
}

/* Desktop: 2 kolumny miniaturek */
@media (min-width: 768px) {
  .gallery-t {
    grid-template-columns: repeat(2, 1fr)!important;
  }

  .gallery-t figure:first-child {
    grid-column: 1 / -1!important;
  }
}

@media (max-width: 1024px) {
.gallery-t figure:nth-child(n+2) {display:none;}
.glightbox-clean .gprev, .glightbox-clean .gnext {display:none!important;}
}

.glightbox-clean .gclose svg {width:24px!important;}
.glightbox-clean .gclose path, .glightbox-clean .gnext path, .glightbox-clean .gprev path, 
.glightbox-clean .gclose, .glightbox-clean .gnext, .glightbox-clean .gprev {fill: #000!important; background-color:transparent!important;}

.goverlay {background-color: rgba(239, 236, 232, 0.95)!important;
}
.glightbox-clean .gslide-media {box-shadow:none!important;}

