/* 
 Theme Name:   Reveowisko Theme
 Theme URI:    
 Description:  Szablon Reveowisko
 Author:       Piotr Wilanowski
 Author URI:   https://gowebteam.pl
 Template:     hello-elementor
 Version:      3.5.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 /* == Add your own styles below this line ==
--------------------------------------------*/html, body {
  background: #FAF6EB !important;
}

#page, .site, .elementor-site, .elementor-page {
  background: #FAF6EB !important;
}
/* =========================
   STAGE24 WRAPPER FIX
========================= */

.gwt-stage24-wrap {
  position: relative;
  margin: 0 auto;
  background: #faf6eb !important; /* kolor strony */
  overflow: hidden;
  border-radius: 18px;
}

/* iframe */
.gwt-stage24-iframe {
  display: block;
  width: 100%;
  border: 0 !important;
  overflow: hidden;
  background: transparent !important;
  border-radius: 18px;
  
  /* usuwa biały pasek */
  margin-bottom: -8px;
}

/* dodatkowe zabezpieczenie */
.gwt-stage24-wrap iframe {
  display: block;
  width: 100%;
  border: 0 !important;
  margin-bottom: -8px;
}

/* cień jak w designie */
.gwt-stage24-wrap.has-shadow .gwt-stage24-iframe {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* fallback gdy iframe jeszcze się ładuje */
.gwt-stage24-iframe:empty {
  min-height: 1200px;
}

/* mobile fix */
@media (max-width: 767px) {
  .gwt-stage24-wrap {
    max-width: 100% !important;
    border-radius: 14px;
  }

  .gwt-stage24-iframe {
    border-radius: 14px;
    margin-bottom: -10px;
  }
}

/* =========================
   ELEMENTOR FIX (często winny)
========================= */

/* usuwa dodatkowe tło sekcji */
.elementor-section .gwt-stage24-wrap {
  background: #faf6eb !important;
}

/* usuwa padding który robi "białą przestrzeń" */
.elementor-widget-shortcode {
  margin-bottom: 0 !important;
}

/* =========================
   GLOBAL ANTI WHITE GAP FIX
========================= */

/* usuwa białe linie między elementami */
iframe {
  vertical-align: top;
}

/* czasem przeglądarka robi 1px gap */
.gwt-stage24-wrap::after {
  content: "";
  display: block;
  height: 1px;
  background: #faf6eb;
}

/* =========================
   OPTIONAL – SMOOTH LOOK
========================= */

/* lekki hover (opcjonalnie) */
.gwt-stage24-wrap:hover {
  transform: translateY(-2px);
  transition: 0.3s ease;
}