/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */





/* PADDING TIOLO  */

.room-info {
    padding: 20px 30px;
}

h3.room-title {
    padding-bottom: 10px;
}

span.chip {
    color: white!important;
    font-weight: bolder!important;
    padding: 8px 8px!important;
}

.room-info {
    padding: 0px 5px;
}

@media(max-width:800px){
	.room-info {
    padding: 0px 5px!important;
}
}









/* stato iniziale sopra la hero */
.elementor-location-header {
  background: transparent;
  transition: background-color .35s ease, box-shadow .35s ease;
}

/* quando scatta lo sticky Elementor aggiunge questa classe */
.elementor-sticky--effects.elementor-sticky--active {
  background: #ffffff !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.elementor-element.elementor-element-8255e5b.e-con-full.header.e-flex.e-con.e-parent.e-lazyloaded.elementor-sticky.elementor-sticky--active.elementor-section--handles-inside {
    margin-top: 10px!important;
}



.modulo a {
    color: #1EC0C3!important;
}





/* Desktop / tablet */
img.swiper-slide-image.swiper-lazy.swiper-lazy-loaded {
  width: 500px;
  height: 500px !important;
  object-fit: cover;
  /* opzionale: mantiene proporzione quadrata se cambia la width */
  aspect-ratio: 1 / 1;
}

/* Mobile: fino a 768px */
@media (max-width: 768px) {
  img.swiper-slide-image.swiper-lazy.swiper-lazy-loaded {
    width: 100%;
    max-width: 100%;
    /* altezza proporzionale allo schermo per mantenere crop */
    height: 70vw !important; /* prova 60–80vw a gusto */
    max-height: 420px;       /* limite di sicurezza, opzionale */
    object-fit: cover;
  }
}

/* Extra small: fino a 480px (opzionale, più alto per dare respiro) */
@media (max-width: 480px) {
  img.swiper-slide-image.swiper-lazy.swiper-lazy-loaded {
    height: 80vw !important;
    max-height: none;
  }
}
