.elementor-2592 .elementor-element.elementor-element-897b401:not(.elementor-motion-effects-element-type-background), .elementor-2592 .elementor-element.elementor-element-897b401 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://amforestgroup.pl/wp-content/uploads/2026/05/6520110b-aa99-4769-96bb-c529604eb633.png");background-position:0px 0px;background-repeat:no-repeat;background-size:cover;}.elementor-2592 .elementor-element.elementor-element-897b401 > .elementor-container{min-height:416px;}.elementor-2592 .elementor-element.elementor-element-897b401 > .elementor-background-overlay{opacity:0.6;transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-2592 .elementor-element.elementor-element-897b401{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;margin-top:0px;margin-bottom:0px;padding:0px 0px 0px 0px;}.elementor-bc-flex-widget .elementor-2592 .elementor-element.elementor-element-2f9faea.elementor-column .elementor-widget-wrap{align-items:center;}.elementor-2592 .elementor-element.elementor-element-2f9faea.elementor-column.elementor-element[data-element_type="column"] > .elementor-widget-wrap.elementor-element-populated{align-content:center;align-items:center;}.elementor-2592 .elementor-element.elementor-element-2f9faea > .elementor-element-populated, .elementor-2592 .elementor-element.elementor-element-2f9faea > .elementor-element-populated > .elementor-background-overlay, .elementor-2592 .elementor-element.elementor-element-2f9faea > .elementor-background-slideshow{border-radius:0px 0px 0px 0px;}.elementor-2592 .elementor-element.elementor-element-2f9faea > .elementor-element-populated{box-shadow:0px 4px 76px 0px rgba(0, 0, 0, 0);margin:30px 0px 0px 0px;--e-column-margin-right:0px;--e-column-margin-left:0px;padding:30px 0px 30px 30px;}.elementor-2592 .elementor-element.elementor-element-acebf03 > .elementor-widget-container{margin:0px -60px 0px 0px;}.elementor-2592 .elementor-element.elementor-element-acebf03{text-align:left;}.elementor-2592 .elementor-element.elementor-element-acebf03 .elementor-heading-title{font-family:"Times New Roman", Sans-serif;font-size:63px;text-transform:none;line-height:1.2em;letter-spacing:1.9px;word-spacing:0em;color:#FFFFFF;}.elementor-2592 .elementor-element.elementor-element-1c63273{--spacer-size:30px;}.elementor-2592 .elementor-element.elementor-element-43abf04{font-family:"Times New Roman", Sans-serif;font-size:26px;font-weight:400;text-transform:none;font-style:normal;text-decoration:none;line-height:1.6em;color:#FFFFFF;--textColor:#FFFFFF;}.elementor-2592 .elementor-element.elementor-element-adb74e3{--spacer-size:30px;} .elementor-2592 .elementor-element.elementor-element-08e4dfc .box-button, .elementor-2592 .elementor-element.elementor-element-08e4dfc .box-button .popup-icon,  .elementor-2592 .elementor-element.elementor-element-08e4dfc .box-button:hover,  .elementor-2592 .elementor-element.elementor-element-08e4dfc .box-button:focus, .elementor-2592 .elementor-element.elementor-element-08e4dfc .box-hover:hover .box-button{background:#193921;}.elementor-2592 .elementor-element.elementor-element-08e4dfc{width:auto;max-width:auto;}.elementor-2592 .elementor-element.elementor-element-08e4dfc > .elementor-widget-container{margin:0px 30px 0px 0px;}.elementor-2592 .elementor-element.elementor-element-08e4dfc .box-button > span:not(.filter-popup){display:flex;align-items:center;justify-content:center;flex-flow:row nowrap;}.elementor-2592 .elementor-element.elementor-element-08e4dfc .box-button i{order:-1;margin:0 var(--btn-icon-spacing) 0 0;}.elementor-2592 .elementor-element.elementor-element-08e4dfc .box-button svg{order:-1;margin:0 var(--btn-icon-spacing) 0 0;}.elementor-2592 .elementor-element.elementor-element-08e4dfc .box-button .popup-icon{order:-1;margin:0 var(--btn-icon-spacing) 0 0;}.elementor-2592 .elementor-element.elementor-element-08e4dfc .box-button{font-family:"Times New Roman", Sans-serif;}.elementor-2592 .elementor-element.elementor-element-daaa0f6{--spacer-size:40px;}.elementor-bc-flex-widget .elementor-2592 .elementor-element.elementor-element-7bfe90a.elementor-column .elementor-widget-wrap{align-items:flex-start;}.elementor-2592 .elementor-element.elementor-element-7bfe90a.elementor-column.elementor-element[data-element_type="column"] > .elementor-widget-wrap.elementor-element-populated{align-content:flex-start;align-items:flex-start;}.elementor-2592 .elementor-element.elementor-element-7bfe90a > .elementor-element-populated{margin:1px 1px 1px 1px;--e-column-margin-right:1px;--e-column-margin-left:1px;padding:0px 0px 0px 0px;}.elementor-2592 .elementor-element.elementor-element-ebc50e9{--display:flex;}.elementor-2592 .elementor-element.elementor-element-6626445{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-2592 .elementor-element.elementor-element-14f1da4{--display:flex;--width:100%;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-2592 .elementor-element.elementor-element-559a848{--image-transition-duration:800ms;--content-text-align:center;--content-padding:20px;--content-transition-duration:800ms;--content-transition-delay:800ms;}@media(max-width:1100px){.elementor-2592 .elementor-element.elementor-element-897b401 > .elementor-container{min-height:500px;}.elementor-2592 .elementor-element.elementor-element-897b401:not(.elementor-motion-effects-element-type-background), .elementor-2592 .elementor-element.elementor-element-897b401 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-position:0px 0px;}.elementor-2592 .elementor-element.elementor-element-897b401{padding:30px 0px 0px 0px;}.elementor-2592 .elementor-element.elementor-element-2f9faea.elementor-column > .elementor-widget-wrap{justify-content:center;}.elementor-2592 .elementor-element.elementor-element-2f9faea > .elementor-element-populated{margin:0px 0px 0px 0px;--e-column-margin-right:0px;--e-column-margin-left:0px;padding:30px 30px 30px 30px;}.elementor-2592 .elementor-element.elementor-element-acebf03 > .elementor-widget-container{margin:0px 0px 0px 0px;}.elementor-2592 .elementor-element.elementor-element-acebf03{text-align:center;}.elementor-2592 .elementor-element.elementor-element-acebf03 .elementor-heading-title{font-size:48px;}.elementor-2592 .elementor-element.elementor-element-43abf04{text-align:center;}.elementor-2592 .elementor-element.elementor-element-7bfe90a > .elementor-element-populated{margin:0% 15% 0% 15%;--e-column-margin-right:15%;--e-column-margin-left:15%;}}@media(max-width:767px){.elementor-2592 .elementor-element.elementor-element-897b401:not(.elementor-motion-effects-element-type-background), .elementor-2592 .elementor-element.elementor-element-897b401 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-position:0px 0px;}.elementor-2592 .elementor-element.elementor-element-acebf03{text-align:center;}.elementor-2592 .elementor-element.elementor-element-acebf03 .elementor-heading-title{font-size:32px;}.elementor-2592 .elementor-element.elementor-element-43abf04{font-size:18px;}.elementor-2592 .elementor-element.elementor-element-08e4dfc{width:100%;max-width:100%;}.elementor-2592 .elementor-element.elementor-element-08e4dfc > .elementor-widget-container{margin:0px 0px 30px 0px;}.elementor-2592 .elementor-element.elementor-element-7bfe90a > .elementor-element-populated{margin:0% 0% 0% 0%;--e-column-margin-right:0%;--e-column-margin-left:0%;}}@media(min-width:768px){.elementor-2592 .elementor-element.elementor-element-2f9faea{width:50.147%;}.elementor-2592 .elementor-element.elementor-element-7bfe90a{width:49.817%;}}@media(max-width:1100px) and (min-width:768px){.elementor-2592 .elementor-element.elementor-element-2f9faea{width:100%;}.elementor-2592 .elementor-element.elementor-element-7bfe90a{width:100%;}}/* Start custom CSS for gallery, class: .elementor-element-559a848 */.am-realizacje-gallery {
  max-width: 1180px;
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
}

/* SIATKA 3 KOLUMNY */
.am-realizacje-gallery .e-gallery-container {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
}

/* CAŁA KARTA */
.am-realizacje-gallery .e-gallery-item,
.am-realizacje-gallery .elementor-gallery-item {
  position: relative !important;
  display: block !important;
  height: 315px !important;
  overflow: hidden !important;
  background: #F5F1EC !important;
}

/* ZDJĘCIE */
.am-realizacje-gallery .e-gallery-image,
.am-realizacje-gallery .elementor-gallery-item__image {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 245px !important;
  padding-bottom: 0 !important;
  background-size: cover !important;
  background-position: center !important;
  transition: transform 0.35s ease !important;
}

/* HOVER NA ZDJĘCIU */
.am-realizacje-gallery .e-gallery-item:hover .e-gallery-image,
.am-realizacje-gallery .elementor-gallery-item:hover .elementor-gallery-item__image {
  transform: scale(1.06) !important;
}

/* USUŃ CIEMNY OVERLAY ZDJĘCIA */
.am-realizacje-gallery .elementor-gallery-item__overlay {
  display: none !important;
}

/* TO JEST NAJWAŻNIEJSZE — PRZENOSI TEKST POD ZDJĘCIE */
.am-realizacje-gallery .elementor-gallery-item__content {
  position: absolute !important;
  top: 245px !important;
  left: 0 !important;
  right: 0 !important;
  height: 70px !important;
  background: #F5F1EC !important;
  padding: 14px 16px 12px !important;
  box-sizing: border-box !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;

  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  text-align: left !important;
}

/* UKRYWA TITLE, BO UŻYWAMY DESCRIPTION/CAPTION */
.am-realizacje-gallery .elementor-gallery-item__title {
  display: none !important;
}

/* OPIS / CAPTION */
.am-realizacje-gallery .elementor-gallery-item__description {
  position: static !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;

  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  color: #4a514b !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
  font-weight: 400 !important;
}

/* TYTUŁ W PODPISIE */
.am-realizacje-gallery .elementor-gallery-item__description strong {
  display: block !important;
  margin-bottom: 5px !important;
  color: #1d2b22 !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: 0.4px !important;
}

/* MAŁY OPIS */
.am-realizacje-gallery .elementor-gallery-item__description span {
  display: block !important;
  color: #4a514b !important;
  font-size: 12px !important;
  font-weight: 400 !important;
}

/* STRZAŁKA PO PRAWEJ */
.am-realizacje-gallery .elementor-gallery-item__content::after {
  content: "→";
  color: #1d2b22;
  font-size: 20px;
  line-height: 1;
  margin-left: 12px;
  transition: transform 0.25s ease;
}

.am-realizacje-gallery .e-gallery-item:hover .elementor-gallery-item__content::after {
  transform: translateX(4px);
}

/* TABLET */
@media (max-width: 1024px) {
  .am-realizacje-gallery .e-gallery-container {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* TELEFON */
@media (max-width: 767px) {
  .am-realizacje-gallery .e-gallery-container {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .am-realizacje-gallery .e-gallery-item,
  .am-realizacje-gallery .elementor-gallery-item {
    height: 300px !important;
  }

  .am-realizacje-gallery .e-gallery-image,
  .am-realizacje-gallery .elementor-gallery-item__image {
    height: 230px !important;
  }

  .am-realizacje-gallery .elementor-gallery-item__content {
    top: 230px !important;
    height: 70px !important;
  }
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-14f1da4 */.am-realizacje-gallery {
  max-width: 1180px;
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
}

/* BASIC GALLERY */
.am-realizacje-gallery .gallery {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
  margin: 0 !important;
}

.am-realizacje-gallery .gallery-item {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #F5F1EC;
  overflow: hidden;
}

.am-realizacje-gallery .gallery-icon {
  height: 245px;
  overflow: hidden;
}

.am-realizacje-gallery .gallery-icon a {
  display: block;
  width: 100%;
  height: 100%;
}

.am-realizacje-gallery .gallery-icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
  border: none !important;
  transition: transform 0.35s ease;
}

.am-realizacje-gallery .gallery-item:hover img {
  transform: scale(1.06);
}

/* PODPIS POD ZDJĘCIEM */
.am-realizacje-gallery .gallery-caption {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  min-height: 70px;
  background: #F5F1EC;
  padding: 14px 16px 12px !important;
  margin: 0 !important;
  text-align: left !important;
  color: #1d2b22;
  font-size: 12px;
  line-height: 1.3;
  box-sizing: border-box;
}

.am-realizacje-gallery .gallery-caption::after {
  content: "→";
  font-size: 20px;
  color: #1d2b22;
  margin-left: 12px;
  transition: transform 0.25s ease;
}

.am-realizacje-gallery .gallery-item:hover .gallery-caption::after {
  transform: translateX(4px);
}

.am-realizacje-gallery .gallery-caption strong {
  display: block;
  margin-bottom: 5px;
  color: #1d2b22;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.am-realizacje-gallery .gallery-caption span {
  display: block;
  color: #4a514b;
  font-size: 12px;
  line-height: 1.3;
}

/* NOWY WIDGET GALLERY ELEMENTORA */
.am-realizacje-gallery .e-gallery-container {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
}

.am-realizacje-gallery .e-gallery-item {
  height: 315px !important;
  background: #F5F1EC;
  overflow: hidden;
}

.am-realizacje-gallery .e-gallery-image {
  height: 245px !important;
  padding-bottom: 0 !important;
  background-size: cover !important;
  background-position: center !important;
  transition: transform 0.35s ease;
}

.am-realizacje-gallery .e-gallery-item:hover .e-gallery-image {
  transform: scale(1.06);
}

/* Tablet */
@media (max-width: 1024px) {
  .am-realizacje-gallery .gallery,
  .am-realizacje-gallery .e-gallery-container {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Telefon */
@media (max-width: 767px) {
  .am-realizacje-gallery .gallery,
  .am-realizacje-gallery .e-gallery-container {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .am-realizacje-gallery .gallery-icon {
    height: 230px;
  }
}/* End custom CSS */