/* 
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
*/
body {
    overflow-x: clip;
}

@media screen and (max-width:767px)
{
	.nobr-mobile br{display:none;}
}


/* Add your custom styles here */
/* Il parent .e-con-inner deve essere position relative
   per fare da riferimento all'absolute della colonna destra */
.container-extend > .e-con-inner {
    position: relative;
	
}

/* La colonna sinistra: 45% e definisce l'altezza */
.content-left.content-left {
    width: 45% !important;
}

.content-right.content-right {
    width: 45% !important;
    margin-left: auto !important;
}

/* La colonna destra: absolute, si appoggia ai bordi calcolati */
.extend-column-right.extend-column-right {
    position: absolute !important;
    top: 0;
    bottom: 0;
    left: 45%;
    right: calc(50% - 50vw);
    width: auto !important;
    max-width: none !important;
}

/* Colonna sinistra (immagine): absolute, estesa fino al bordo sinistro */
.extend-column-left.extend-column-left {
    position: absolute !important;
    top: 0;
    bottom: 0;
    right: 45%;
    left: calc(50% - 50vw);
    width: auto !important;
    max-width: none !important;
}


/* Su mobile/tablet ribalta tutto a flusso normale */
@media (max-width: 1024px) {
    .extend-column-right.extend-column-right {
        position: relative !important;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        width: 100% !important;
        min-height: 300px;
    }
	
	   .extend-column-left.extend-column-left {
        position: relative !important;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        width: 100% !important;
        min-height: 300px;
    }
    .content-left.content-left {
        width: 100% !important;
    }
	
	.content-right.content-right {
        width: 100% !important;
        margin-left: 0 !important;
    }
}

.bullet-space ul {padding-left:15px;}

.bullet-space ul li{margin-bottom:8px;}


/* CONTACT FORM */

.nolabel label{display:none !important;}

.container-contact-form input,
.container-contact-form textarea{background:none !important;
border-width:0 0 1px 0 !important;
border-color:#918C74 !important;
font-family: "Inter", sans-serif;
border-radius 0 !important;
}

.container-contact-form textarea{height:120px !important;}

.container-contact-form select{background:none !important;
border-width:0 0 1px 0 !important;
border-color:#918C74 !important;
font-family: "Inter", sans-serif;
border-radius 0 !important;
}

.container-contact-form button {background:#918C74 !important;
color:#fff !important;
text-transform:uppercase;
font-family: "Inter", sans-serif;
font-size:14px;
border:1px solid #918C74 !important;}

/* SCHEDE STUDIOS */
.icon-studios .elementor-icon-box-title{
	margin-bottom: 8px;
    display: inline-block !important;
}

.container-bordo-dx {
    position: relative;
}

.container-bordo-dx::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 50%;
    width: 1px;
    background: #c5c0b5;
}

@media screen and (max-width:767px)
{
	.container-bordo-dx.no-bordo-dx-mobile::after 
	{width:0 !important;}
}

.griglia-studios {
 grid-template-rows: 40% 60%;
}

.griglia-studios {
   
}

.griglia-studios .e-con-inner > .elementor-widget-image,
.griglia-studios > .elementor-widget-image {
    height: 100%;
}

.griglia-studios .elementor-widget-image,
.griglia-studios .elementor-widget-image .elementor-widget-container,
.griglia-studios .elementor-widget-image figure,
.griglia-studios .elementor-widget-image a {
    height: 100%;
    display: block;
}

.griglia-studios img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== Griglia Studios: normalizzazione responsive (come galleria plugin) ===== */

/* 768–1024px: due immagini quadrate per riga */
@media (min-width: 768px) and (max-width: 1024px) {
	.griglia-studios {
		grid-template-columns: repeat(2, 1fr) !important;
		grid-template-rows: none !important;
		grid-auto-rows: auto !important;
	}
	/* azzera gli span del mosaico: ogni immagine una cella */
	.griglia-studios > * {
		grid-area: auto !important;
	}
	/* la catena height:100% torna naturale */
	.griglia-studios .elementor-widget-image,
	.griglia-studios .elementor-widget-image .elementor-widget-container,
	.griglia-studios .elementor-widget-image figure,
	.griglia-studios .elementor-widget-image a {
		height: auto;
	}
	/* il quadrato lo fa l'immagine, in flusso */
	.griglia-studios img {
		height: auto;
		aspect-ratio: 1 / 1;
	}
}

/* ≤767px: una immagine quadrata per riga */
@media (max-width: 767px) {
	.griglia-studios {
		grid-template-columns: repeat(2, 1fr) !important;
		grid-template-rows: none !important;
		grid-auto-rows: auto !important;
	}
	.griglia-studios > * {
		grid-area: auto !important;
	}
	.griglia-studios .elementor-widget-image,
	.griglia-studios .elementor-widget-image .elementor-widget-container,
	.griglia-studios .elementor-widget-image figure,
	.griglia-studios .elementor-widget-image a {
		height: auto;
	}
	.griglia-studios img {
		height: auto;
		aspect-ratio: 1 / 1;
	}
}

/* FRECCE CAROSELLI HOVER */

.arrow-link:hover svg path{fill:#CBAE8A;}

/* IMMAGINI PROGETTI CROP */
.elementor-widget.project-featured a,
.elementor-widget.project-featured img {
  display: block;
  width: 100%;
}

.elementor-widget.project-featured img {
  aspect-ratio: 4 / 3;   
  height: auto;
  object-fit: cover;
  object-position: center;
}

/* SHORTCODE CUSTOM SELETTORE LINGUA */

.v4y-lang {
    display: inline-flex;
    align-items: center;
}
.v4y-lang__item {
    color: #000;
    font-weight: 600;
    text-decoration: none;
    padding: 0 10px;          /* spazio attorno alla barretta */
    line-height: 1;
}
.v4y-lang__item.is-current {
    color: #cbae8a;
    font-weight: 700;
}
.v4y-lang__item + .v4y-lang__item {
    border-left: 1px solid #000;   /* la barretta */
}
.v4y-lang__item:first-child { padding-left: 0; }

.v4y-lang {
    display: inline-flex;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
}
.v4y-lang__item {
    color: #000;
    font-weight: 600;
    text-decoration: none;
    padding: 0 10px;
    line-height: 1;
}
.v4y-lang__item.is-current {
    color: #cbae8a;
    font-weight: 600;
}
.v4y-lang__item + .v4y-lang__item {
    border-left: 1px solid #000;
}
.v4y-lang__item:first-child { padding-left: 0; }
.v4y-lang__item:last-child  { padding-right: 0; }
.v4y-lang__item:not(.is-current):hover { color: #cbae8a; }
.v4y-lang__item:last-child  { padding-right: 0; }
.v4y-lang__item:not(.is-current):hover { color: #cbae8a; }

@media (max-width: 1024px) {
    .v4y-lang { font-size: 14px; }
}