/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 23 2025 | 19:12:36 */
.custom-gallery {
  display: grid;
  gap: 5px;
}

.custom-gallery img {
	object-fit: cover;
	width: 100%;
	height: 100%;
	object-position: center;
	max-height: 450px;
}

/* 3 zdjęcia */
.grid-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

/* 4 zdjęcia → 3 w pierwszym wierszu, 1 na dole full width */
.grid-4 {
  grid-template-areas: 
    "a b c"
    "d d d";
}
.grid-4 .gallery-item:nth-child(1) { grid-area: a; }
.grid-4 .gallery-item:nth-child(2) { grid-area: b; }
.grid-4 .gallery-item:nth-child(3) { grid-area: c; }
.grid-4 .gallery-item:nth-child(4) { grid-area: d; }

/* 5 zdjęć → pierwszy rząd 3, drugi rząd 2 z różnymi szerokościami */
.grid-5 {
  grid-template-areas: 
    "a b c"
    "d d e";
}
.grid-5 .gallery-item:nth-child(1) { grid-area: a; }
.grid-5 .gallery-item:nth-child(2) { grid-area: b; }
.grid-5 .gallery-item:nth-child(3) { grid-area: c; }
.grid-5 .gallery-item:nth-child(4) { grid-area: d; }
.grid-5 .gallery-item:nth-child(5) { grid-area: e; }

/* tablet */
@media (max-width: 1024px) {
  .custom-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .custom-gallery .gallery-item:nth-last-child(1):nth-child(odd) {
    grid-column: span 2;
  }
}

/* mobile */
@media (max-width: 768px) {
  .custom-gallery {
    grid-template-columns: 1fr;
  }
}


/* =================== */ 
/* STRONA REALIZACJE  */



/* lewa kolumna (1., 3., 5. ...) */
.offer-boxes .elementor-loop-container > .e-loop-item:nth-of-type(odd) .item-obraz img {
/*   clip-path: polygon(0 0, 100% 15%, 100% 100%, 0% 100%); */
  clip-path: polygon(0 15%, 100% 0, 100% 100%, 0% 100%);
  object-fit: cover;
}

/* prawa kolumna (2., 4., 6. ...) */
.offer-boxes .elementor-loop-container > .e-loop-item:nth-of-type(even) .item-obraz img {
/*   clip-path: polygon(0 15%, 100% 0, 100% 100%, 0% 100%); */
  clip-path: polygon(0 0, 100% 15%, 100% 100%, 0% 100%);
  object-fit: cover;
}

/* @media (max-width: 767px) {
	.offer-boxes .elementor-loop-container > .e-loop-item:nth-of-type(odd) .item-obraz img, .offer-boxes .elementor-loop-container > .e-loop-item:nth-of-type(even) .item-obraz img {
		clip-path: none;
	}
} */


.realizacja .elementor-widget-image a {
  position: relative;
  overflow: hidden;
  flex: 1;
	width: 100%;
}

/* .realizacja .elementor-widget-image a img {
	height: 350px !important;
} */

/* 
.realizacja .elementor-widget-image a img {
	object-fit: cover;
	object-position: center;
} */


div.featured-image a img {
/* height: 120% !important; */
	object-position: center;
object-fit: cover;
display: block;
width: 100%;
/* 	height: 350px !important; */
}

.realizacja .elementor-widget-image a img {
	height: 350px !important;
	width: 100% !important;
}


@media (max-width: 1366px) {
	.realizacja .elementor-widget-image a img {
		height: 300px !important;
	}
}


@media (max-width: 1023px) {
	.realizacja .elementor-widget-image a img {
		height: 280px !important;
	}
}

@media (max-width: 767px) {
	.realizacja .elementor-widget-image a img {
		height: 240px !important;
	}
}
