/*
Theme Name: Hello Child
Description: A lightweight child theme that extends the Parent Theme.
Author: Author
Author URI:   https://example.com
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, custom-colors, custom-menu, responsive-layout
Text Domain: hello-elementor
*/


.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.elementor-g-recaptcha {
	display:none;
}

/*Nascondi titolo foto dal lightbox*/
.elementor-slideshow__footer.elementor-lightbox-prevent-close {
	display: none;
}

/*rimuovere field prima e dopo tag dinamico*/
.elementor-heading-title.elementor-size-default div{
	display:none;
}

/*fix dimensione feed galleria living contemporaneo*/
.gallery-spacing-custom .gallery-item .gallery-icon {
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.gallery-spacing-custom .gallery-item .gallery-icon a {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-spacing-custom .gallery-item .gallery-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Galleria di Elementor: nessun border radius */
.elementor-gallery__container .e-gallery-item,
.elementor-gallery__container .e-gallery-image,
.elementor-gallery__container .elementor-gallery-item__image,
.elementor-gallery__container .elementor-gallery-item__overlay {
    border-radius: 0 !important;
}

/* ===== COLLAGE CARD POLTRONE ===== */
.cilia-collage {
  display: grid !important;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 4px;
  aspect-ratio: 1 / 1;
  width: 100%;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 6px;
}

/* poltrone con una sola foto: immagine piena */
.cilia-collage:not(:has(.elementor-widget-image:not(.big))) {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

