/*
 Theme Name: Astra Child
 Theme URI: https://wpastra.com/
 Description: A simple child theme for Astra.
 Author: You
 Author URI: https://example.com/
 Template: astra
 Version: 1.0.0
 License: GNU General Public License v2 or later
 License URI: https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: astra-child


/* css gia carousel widget main page */
/* === TRUE FULL-WIDTH HERO SLIDES === */
#hero-slides {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  max-width: 100vw;
  padding: 0 !important;
  background: transparent;
  overflow: hidden;
}

/* remove internal width restrictions Elementor/Astra add */
#hero-slides .elementor-container,
#hero-slides .elementor-column,
#hero-slides .elementor-widget-wrap {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
}

/* ensure the slides always stretch full width and height */
#hero-slides .elementor-widget-slides,
#hero-slides .swiper,
#hero-slides .swiper-wrapper,
#hero-slides .swiper-slide,
#hero-slides .elementor-slide {
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh; /* or 560px if you want fixed height */
}

/* make background images cover entire viewport width */
#hero-slides .elementor-slide .swiper-slide-bg {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  width: 100%;
  height: 100%;
}

/* remove any box shadow or grey from parent container */
body .site-content > .ast-container {
  max-width: 100% !important;
  padding: 0 !important;
}

/* ensure no side scrollbar appears */
html, body {
  overflow-x: hidden !important;
}

/* Optional: adjust arrows and dots colors */
#hero-slides .elementor-swiper-button i {
  color: #ffffff;
}
#hero-slides .swiper-pagination-bullet {
  background: #ffffff;
}
