/*!
Theme Name: Worky
Theme URI: https://www.templatemonster.com/vendors/zemez
Author: Zemez
Author URI: https://zemez.io/wordpress
Description: Kava child theme.
Template: kava
Version: 2.1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: worky
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
DocumentationID: worky
Template Id: 21594
*/

#toTop {
	cursor: pointer;
}

.wpcf7-spinner {
	display: none;
}

.site-breadcrumbs {
	display: none;
}

.jet-theme-core-document {
	overflow: hidden;
}

div[aria-label="Back to Prev Items"] i:before{
	content:"\f104"
}

.blog .search-form__submit.btn {
	display: flex;
	padding: 10px 4px 10px 11px;
}

@font-face {
    font-family: 'ArgueDEMO';
    src: url('https://teawebsoftware.it/edilgemi/wp-content/themes/worky/assets/demo-content/default/fonts/Marcellus-Regular.woff2') format('woff2'),
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "ArgueDEMO", sans-serif !important;
}

.jet-slider__content-inner .jet-slider__subtitle {
    order: 1;
}
.jet-slider__content-inner .jet-slider__title{
    order: 2;
}
.jet-slider__content-inner .jet-slider__desc{
    order: 3;
}
.jet-slider__content-inner .jet-slider__button-wrapper{
    order: 4;
}
.home .jet-services__inner {
	position: relative;
}

.home .jet-services__inner::before {
	content: "";
	position: absolute;
	inset: 0;
	background: #000;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
	z-index: 1;
}

.home .jet-services__inner:hover::before {
	opacity: 0.5;
}

.home .jet-services__cover {
	position: relative;
	justify-content: flex-start !important;
	align-items: flex-start !important;
}

.home .jet-services__header {
	height: 650px !important;
}

.home .jet-services__inner > .jet-services__content {
	position: absolute;
	inset: 0;
	display: flex;
	justify-content: flex-start !important;
	align-items: flex-start !important;
	pointer-events: none;
	z-index: 2;
}

.home .jet-services__button {
	align-self: flex-start !important;
	margin: 0 !important;
	padding-left: 64px !important;
	pointer-events: auto;
}

.home .jet-services__button-text {
	display: inline-block;
	margin-top: 50px !important;
}

.home .jet-services__title {
	position: absolute !important;
	left: 20px !important;
	bottom: 40px !important;
	margin: 0 !important;
}

.home .jet-services__title-text {
	display: inline-block;
	font-weight: 500 !important;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	white-space: nowrap;
}
.btn-dottesio .jet-button__plane-normal{
	background-color: #000;
}


.type-immobili h1.entry-title,
.type-immobili figure.post-thumbnail{
	display: none !important;
}
.type-immobili h1 {
    margin: 50px 0;
}

/*portfolio*/
.immobili-list {
	display: grid;
	grid-template-columns: repeat(var(--immobili-columns, 3), minmax(0, 1fr));
	gap: 30px;
}

.immobile-item {
	display: flex;
	flex-direction: column;
}

.immobile-thumb img {
	display: block;
	width: 100%;
	height: auto;
	width: 100%;
    height: 300px !important;
    object-fit: cover;
}

.immobile-title {
	margin: 15px 0 10px;
	font-size: 22px;
	line-height: 1.2;
}

.immobile-title a {
	color: inherit;
	text-decoration: none;
}

.immobile-excerpt {
	font-size: 15px;
	line-height: 1.6;
}

@media (max-width: 1024px) {
	.immobili-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.immobili-list {
		grid-template-columns: 1fr;
	}
}




.jet-slider__content {
    display: flex !important;
    justify-content: center !important;
    padding-left: 10% !important; /* regola questo valore */
    align-items: center;
}

.jet-slider__content-item {
    width: auto !important;
    max-width: fit-content !important;
}

.jet-slider__content-inner {
    display: inline-block;
    width: auto !important;
    max-width: 700px;
    background: rgba(0, 0, 0, 0.55);
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.elementor-1636 .elementor-element.elementor-element-4867fbd .jet-slider__content-inner {
    padding: 50px 80px 50px 80px !important;
}



/* ========================= */
/*  RESPONSIVE SLIDER HOME */
/* ========================= */

/* TABLET */
@media (max-width: 1024px) {
    .jet-slider__content {
        padding-left: 5% !important;
    }

    .jet-slider__content-inner {
        max-width: 90%;
    }

    .elementor-1636 .elementor-element.elementor-element-4867fbd .jet-slider__content-inner {
        padding: 40px 50px 40px 50px !important;
    }
}

/* MOBILE */
@media (max-width: 767px) {

    .jet-slider__content {
        padding-left: 3% !important;
        padding-right: 3% !important;
        justify-content: center !important;
        align-items: center;
    }

    .jet-slider__content-item {
        width: 100% !important;
        display: flex;
        justify-content: center;
    }

    .jet-slider__content-inner {
        max-width: 90%;
        width: auto !important;
        display: inline-block;
        background: rgba(0, 0, 0, 0.6);
        border-radius: 10px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.35);
        padding: 18px 16px !important;
    }

    .elementor-1636 .elementor-element.elementor-element-4867fbd .jet-slider__content-inner {
        padding: 18px 16px !important;
    }
}


/* ========================= */
/*  MOBILE SLIDER HOME FIX  */
/*  Da aggiungere sotto al CSS che hai già */
/* ========================= */

@media (max-width: 767px) {

    .elementor-1636 .elementor-element.elementor-element-4867fbd .jet-slider__content {
        padding-left: 16px !important;
        padding-right: 16px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        text-align: center !important;
    }

    .elementor-1636 .elementor-element.elementor-element-4867fbd .jet-slider__content-item {
        width: 100% !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        padding: 0 !important;
    }

    .elementor-1636 .elementor-element.elementor-element-4867fbd .jet-slider__content-inner {
        width: 100% !important;
        max-width: 345px !important;

        margin-left: auto !important;
        margin-right: auto !important;

        padding: 24px 20px 26px !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;

        background: rgba(0, 0, 0, 0.62) !important;
        border-radius: 12px !important;

        box-sizing: border-box !important;
    }

    .elementor-1636 .elementor-element.elementor-element-4867fbd .jet-slider__subtitle {
        order: 1 !important;

        margin: 0 0 14px !important;

        font-size: 21px !important;
        line-height: 1.15 !important;
        text-align: center !important;
    }

    .elementor-1636 .elementor-element.elementor-element-4867fbd .jet-slider__title {
        order: 2 !important;

        margin: 0 0 16px !important;

        font-size: 28px !important;
        line-height: 1.16 !important;
        letter-spacing: 3px !important;

        text-align: center !important;
        word-break: normal !important;
    }

    .elementor-1636 .elementor-element.elementor-element-4867fbd .jet-slider__desc {
        order: 3 !important;

        width: 100% !important;
        max-width: 285px !important;

        margin: 0 auto 24px !important;

        font-size: 26px !important;
        line-height: 1.16 !important;

        text-align: center !important;
    }

    .elementor-1636 .elementor-element.elementor-element-4867fbd .jet-slider__button-wrapper {
        order: 4 !important;

        width: 100% !important;
        max-width: 260px !important;

        margin-left: auto !important;
        margin-right: auto !important;
    }

    .elementor-1636 .elementor-element.elementor-element-4867fbd .jet-slider__button {
        width: 100% !important;

        min-height: 48px !important;
        padding: 14px 18px !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        font-size: 15px !important;
        line-height: 1.2 !important;
        letter-spacing: 4px !important;

        text-align: center !important;
        white-space: normal !important;
    }

    .elementor-1636 .elementor-element.elementor-element-4867fbd .sp-buttons {
        bottom: 22px !important;
    }
}


/* ========================= */
/*  TELEFONI PICCOLI */
/* ========================= */

@media (max-width: 390px) {

    .elementor-1636 .elementor-element.elementor-element-4867fbd .jet-slider__content-inner {
        max-width: 318px !important;
        padding: 22px 18px 24px !important;
    }

    .elementor-1636 .elementor-element.elementor-element-4867fbd .jet-slider__subtitle {
        font-size: 19px !important;
    }

    .elementor-1636 .elementor-element.elementor-element-4867fbd .jet-slider__title {
        font-size: 25px !important;
        letter-spacing: 2.5px !important;
    }

    .elementor-1636 .elementor-element.elementor-element-4867fbd .jet-slider__desc {
        max-width: 260px !important;
        font-size: 23px !important;
    }

    .elementor-1636 .elementor-element.elementor-element-4867fbd .jet-slider__button {
        font-size: 14px !important;
        letter-spacing: 3px !important;
    }
}

/* ==========================================================
   EDIL.GE.MI - HEADER MOBILE FIX
   Header nera, fissa, hero sotto header,
   menu mobile visibile con pagine
   ========================================================== */

@media screen and (max-width: 767px) {

    /* Spazio per header fissa */
    body {
        padding-top: 84px !important;
    }

    body.admin-bar {
        padding-top: 130px !important;
    }

    /* Header fissa nera */
    #jet-theme-core-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;

        width: 100% !important;
        height: 84px !important;

        background: #000000 !important;
        z-index: 99999 !important;

        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28) !important;
    }

    body.admin-bar #jet-theme-core-header {
        top: 46px !important;
    }

    #jet-theme-core-header .jet-theme-core-location__inner,
    #jet-theme-core-header .elementor-27,
    #jet-theme-core-header .elementor-element-e26a7f3 {
        width: 100% !important;
        height: 84px !important;
        min-height: 84px !important;

        background: #000000 !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: visible !important;
    }

    #jet-theme-core-header .elementor-element-e26a7f3 > .elementor-container {
        width: 100% !important;
        max-width: 100% !important;
        height: 84px !important;
        min-height: 84px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;

        margin: 0 !important;
        padding: 0 20px !important;

        background: #000000 !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    /* Colonna logo */
    #jet-theme-core-header .elementor-element-3d065f3 {
        width: 72% !important;
        max-width: 72% !important;
        flex: 0 0 72% !important;
    }

    #jet-theme-core-header .elementor-element-3d065f3 .elementor-widget-wrap {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;

        padding: 0 !important;
    }

    #jet-theme-core-header .elementor-element-5757151,
    #jet-theme-core-header .elementor-element-5757151 .elementor-widget-container,
    #jet-theme-core-header .jet-logo,
    #jet-theme-core-header .jet-logo__link {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    #jet-theme-core-header .jet-logo__img {
        width: auto !important;
        max-width: 190px !important;
        max-height: 54px !important;
        height: auto !important;

        display: block !important;
    }

    /* Colonna menu */
    #jet-theme-core-header .elementor-element-66336e1 {
        width: 28% !important;
        max-width: 28% !important;
        flex: 0 0 28% !important;
    }

    #jet-theme-core-header .elementor-element-66336e1 .elementor-widget-wrap {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;

        padding: 0 !important;
        overflow: visible !important;
    }

    /* Nasconde il menu mobile Jet vuoto */
    #jet-theme-core-header .elementor-element-96d7732,
    body .jet-mobile-menu__container,
    body .jet-mobile-menu-cover {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /* Riattiva il menu principale anche su mobile */
    #jet-theme-core-header .elementor-element-8e43b8f {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;

        width: auto !important;
        max-width: none !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    #jet-theme-core-header .elementor-element-8e43b8f .elementor-widget-container {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: visible !important;
    }

    #jet-theme-core-header .elementor-element-8e43b8f .jet-mega-menu {
        position: static !important;
        width: auto !important;
        overflow: visible !important;
    }

    /* Burger */
    #jet-theme-core-header .elementor-element-8e43b8f .jet-mega-menu-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 46px !important;
        height: 46px !important;

        margin: 0 !important;
        padding: 0 !important;

        background: transparent !important;
        border: 0 !important;
        cursor: pointer !important;
    }

    #jet-theme-core-header .elementor-element-8e43b8f .jet-mega-menu-toggle svg {
        width: 34px !important;
        height: 34px !important;
        fill: #ffffff !important;
    }

    #jet-theme-core-header .elementor-element-8e43b8f .jet-mega-menu-toggle-icon {
        color: #ffffff !important;
    }

    /* Pannello menu chiuso */
    #jet-theme-core-header .elementor-element-8e43b8f .jet-mega-menu-container {
        position: fixed !important;
        top: 84px !important;
        left: 0 !important;
        right: 0 !important;

        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;

        width: 100vw !important;
        max-width: 100vw !important;

        max-height: calc(100vh - 84px) !important;
        overflow-y: auto !important;

        background: #000000 !important;

        padding: 14px 22px 26px !important;

        box-shadow: 0 16px 34px rgba(0, 0, 0, 0.38) !important;
        box-sizing: border-box !important;
        z-index: 99998 !important;
    }

    body.admin-bar #jet-theme-core-header .elementor-element-8e43b8f .jet-mega-menu-container {
        top: 130px !important;
        max-height: calc(100vh - 130px) !important;
    }

    /* Pannello menu aperto */
    #jet-theme-core-header .elementor-element-8e43b8f .jet-mega-menu.jet-mega-menu--dropdown-open .jet-mega-menu-container,
    #jet-theme-core-header .elementor-element-8e43b8f .jet-mega-menu.jet-mega-menu--active .jet-mega-menu-container,
    #jet-theme-core-header .elementor-element-8e43b8f .jet-mega-menu.jet-mega-menu--open .jet-mega-menu-container,
    #jet-theme-core-header .elementor-element-8e43b8f .jet-mega-menu-container[style*="display: block"] {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    /* Lista voci */
    #jet-theme-core-header .elementor-element-8e43b8f .jet-mega-menu-list {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;

        width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        list-style: none !important;
        background: transparent !important;
    }

    #jet-theme-core-header .elementor-element-8e43b8f .jet-mega-menu-item {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;

        background: transparent !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.13) !important;
    }

    #jet-theme-core-header .elementor-element-8e43b8f .jet-mega-menu-item__inner {
        width: 100% !important;

        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;

        margin: 0 !important;
        padding: 0 !important;

        background: transparent !important;
    }

    #jet-theme-core-header .elementor-element-8e43b8f .jet-mega-menu-item__link {
        width: 100% !important;

        display: flex !important;
        align-items: center !important;

        padding: 15px 0 !important;

        color: #ffffff !important;
        background: transparent !important;
        text-decoration: none !important;
    }

    #jet-theme-core-header .elementor-element-8e43b8f .jet-mega-menu-item__label {
        color: #ffffff !important;

        font-size: 15px !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;
        letter-spacing: 0.8px !important;
        text-transform: uppercase !important;
    }

    #jet-theme-core-header .elementor-element-8e43b8f .jet-mega-current-menu-item > .jet-mega-menu-item__inner .jet-mega-menu-item__label,
    #jet-theme-core-header .elementor-element-8e43b8f .current_page_item > .jet-mega-menu-item__inner .jet-mega-menu-item__label {
        color: #e2b36b !important;
    }

    /* Freccia dropdown */
    #jet-theme-core-header .elementor-element-8e43b8f .jet-mega-menu-item__dropdown {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        margin-left: 10px !important;
        color: #ffffff !important;
    }

    #jet-theme-core-header .elementor-element-8e43b8f .jet-mega-menu-item__dropdown svg {
        width: 13px !important;
        height: 13px !important;
        fill: #ffffff !important;
    }

    /* Sottomenu: visibile e ordinato, così non spariscono le pagine */
    #jet-theme-core-header .elementor-element-8e43b8f .jet-mega-menu-sub-menu {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;

        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 0 8px 14px !important;

        background: transparent !important;
        box-shadow: none !important;
        transform: none !important;
    }

    #jet-theme-core-header .elementor-element-8e43b8f .jet-mega-menu-sub-menu__list {
        width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        background: transparent !important;
        list-style: none !important;
    }

    #jet-theme-core-header .elementor-element-8e43b8f .jet-mega-menu-item--sub-level {
        border-bottom: 0 !important;
    }

    #jet-theme-core-header .elementor-element-8e43b8f .jet-mega-menu-item__link--sub-level {
        padding: 8px 0 !important;
    }

    #jet-theme-core-header .elementor-element-8e43b8f .jet-mega-menu-item--sub-level .jet-mega-menu-item__label {
        color: rgba(255, 255, 255, 0.78) !important;

        font-size: 14px !important;
        line-height: 1.25 !important;
        font-weight: 500 !important;
        letter-spacing: 0 !important;
        text-transform: none !important;
    }

    /* Hero sotto header, non più attraversata */
    body.home .elementor-1636,
    body.page-id-1636 .elementor-1636,
    body.home .elementor-1636 .elementor-element-19ced04,
    body.page-id-1636 .elementor-1636 .elementor-element-19ced04,
    body.home .elementor-1636 .elementor-element-4867fbd,
    body.page-id-1636 .elementor-1636 .elementor-element-4867fbd {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

/* ==========================================================
   EDIL.GE.MI - MOBILE BURGER FALLBACK CSS
   ========================================================== */

@media screen and (min-width: 768px) {
    #egm-mobile-burger-fallback {
        display: none !important;
    }
}

@media screen and (max-width: 767px) {

    /* Nasconde i menu Jet mobile problematici */
    #jet-theme-core-header .elementor-element-96d7732,
    #jet-theme-core-header .jet-mobile-menu,
    #jet-theme-core-header .jet-mobile-menu__container,
    #jet-theme-core-header .jet-mobile-menu-cover {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /* Burger fallback sempre visibile */
    #egm-mobile-burger-fallback {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        z-index: 1000000 !important;
    }

    body.admin-bar #egm-mobile-burger-fallback {
        top: 46px !important;
    }

    #egm-mobile-burger-toggle {
        position: fixed !important;
        top: 19px !important;
        right: 20px !important;

        width: 46px !important;
        height: 46px !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;

        padding: 0 !important;
        margin: 0 !important;

        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;

        cursor: pointer !important;
        z-index: 1000002 !important;
    }

    body.admin-bar #egm-mobile-burger-toggle {
        top: 65px !important;
    }

    #egm-mobile-burger-toggle span {
        display: block !important;

        width: 34px !important;
        height: 4px !important;

        background: #ffffff !important;
        border-radius: 4px !important;

        transition: transform 0.25s ease, opacity 0.25s ease !important;
    }

    body.egm-mobile-menu-open #egm-mobile-burger-toggle span:nth-child(1) {
        transform: translateY(10px) rotate(45deg) !important;
    }

    body.egm-mobile-menu-open #egm-mobile-burger-toggle span:nth-child(2) {
        opacity: 0 !important;
    }

    body.egm-mobile-menu-open #egm-mobile-burger-toggle span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg) !important;
    }

    /* Pannello menu */
    #egm-mobile-burger-panel {
        position: fixed !important;
        top: 84px !important;
        left: 0 !important;
        right: 0 !important;

        width: 100vw !important;
        max-width: 100vw !important;
        height: calc(100vh - 84px) !important;

        background: #000000 !important;

        padding: 22px 24px 40px !important;

        overflow-y: auto !important;
        box-sizing: border-box !important;

        transform: translateX(100%) !important;
        transition: transform 0.28s ease !important;

        z-index: 1000001 !important;
    }

    body.admin-bar #egm-mobile-burger-panel {
        top: 130px !important;
        height: calc(100vh - 130px) !important;
    }

    body.egm-mobile-menu-open #egm-mobile-burger-panel {
        transform: translateX(0) !important;
    }

    #egm-mobile-burger-panel .egm-mobile-menu-list,
    #egm-mobile-burger-panel .egm-mobile-menu-list ul {
        list-style: none !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    #egm-mobile-burger-panel .egm-mobile-menu-list > li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
    }

    #egm-mobile-burger-panel a {
        display: block !important;

        padding: 16px 0 !important;

        color: #ffffff !important;
        text-decoration: none !important;

        font-size: 16px !important;
        line-height: 1.25 !important;
        font-weight: 700 !important;
        letter-spacing: 0.8px !important;
        text-transform: uppercase !important;
    }

    #egm-mobile-burger-panel .sub-menu {
        padding: 0 0 10px 16px !important;
    }

    #egm-mobile-burger-panel .sub-menu a {
        padding: 8px 0 !important;

        font-size: 14px !important;
        font-weight: 500 !important;
        letter-spacing: 0 !important;
        text-transform: none !important;

        color: rgba(255, 255, 255, 0.78) !important;
    }
}

@media screen and (max-width: 390px) {

    #egm-mobile-burger-toggle {
        top: 17px !important;
        right: 18px !important;

        width: 42px !important;
        height: 42px !important;
    }

    body.admin-bar #egm-mobile-burger-toggle {
        top: 63px !important;
    }

    #egm-mobile-burger-toggle span {
        width: 30px !important;
        height: 4px !important;
    }

    #egm-mobile-burger-panel {
        top: 80px !important;
        height: calc(100vh - 80px) !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    body.admin-bar #egm-mobile-burger-panel {
        top: 126px !important;
        height: calc(100vh - 126px) !important;
    }
}

/* ==========================================================
   EDIL.GE.MI - FIX BURGER DOPPIO + SOTTOMENU MOBILE
   ========================================================== */

@media screen and (max-width: 767px) {

    /* Nasconde tutti i burger/menu Jet originali dentro header */
    #jet-theme-core-header .elementor-widget-jet-mega-menu,
    #jet-theme-core-header .elementor-element-8e43b8f,
    #jet-theme-core-header .elementor-element-96d7732,
    #jet-theme-core-header .jet-mega-menu-toggle,
    #jet-theme-core-header .jet-mobile-menu__toggle,
    #jet-theme-core-header .jet-mega-menu-container,
    #jet-theme-core-header .jet-mobile-menu,
    #jet-theme-core-header .jet-mobile-menu__container,
    #jet-theme-core-header .jet-mobile-menu-cover {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /* Il fallback resta l’unico burger visibile */
    #egm-mobile-burger-fallback,
    #egm-mobile-burger-toggle,
    #egm-mobile-burger-panel {
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    /* Voci con sottopagine */
    #egm-mobile-burger-panel .menu-item-has-children {
        position: relative !important;
    }

    #egm-mobile-burger-panel .menu-item-has-children > a {
        padding-right: 48px !important;
    }

    /* Freccetta a destra */
    #egm-mobile-burger-panel .egm-submenu-toggle {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;

        width: 44px !important;
        height: 54px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        padding: 0 !important;
        margin: 0 !important;

        background: transparent !important;
        border: 0 !important;
        cursor: pointer !important;
        z-index: 2 !important;
    }

    #egm-mobile-burger-panel .egm-submenu-toggle span {
        display: block !important;

        width: 10px !important;
        height: 10px !important;

        border-right: 2px solid #ffffff !important;
        border-bottom: 2px solid #ffffff !important;

        transform: rotate(45deg) !important;
        transition: transform 0.22s ease !important;
    }

    #egm-mobile-burger-panel .menu-item-has-children.egm-submenu-open > .egm-submenu-toggle span {
        transform: rotate(-135deg) !important;
    }

    /* Sottomenu chiuso di default */
    #egm-mobile-burger-panel .menu-item-has-children > .sub-menu {
        display: none !important;

        margin: 0 !important;
        padding: 0 0 12px 16px !important;

        border-top: 1px solid rgba(255,255,255,0.08) !important;
    }

    /* Sottomenu aperto al click sulla freccia */
    #egm-mobile-burger-panel .menu-item-has-children.egm-submenu-open > .sub-menu {
        display: block !important;
    }

    #egm-mobile-burger-panel .sub-menu li {
        border-bottom: 0 !important;
    }

    #egm-mobile-burger-panel .sub-menu a {
        padding: 9px 0 !important;

        font-size: 14px !important;
        line-height: 1.25 !important;
        font-weight: 500 !important;
        text-transform: none !important;
        letter-spacing: 0 !important;

        color: rgba(255,255,255,0.78) !important;
    }
}


/* Telefoni piccoli */
@media screen and (max-width: 390px) {

    #jet-theme-core-header,
    #jet-theme-core-header .jet-theme-core-location__inner,
    #jet-theme-core-header .elementor-27,
    #jet-theme-core-header .elementor-element-e26a7f3,
    #jet-theme-core-header .elementor-element-e26a7f3 > .elementor-container {
        height: 80px !important;
        min-height: 80px !important;
    }

    body {
        padding-top: 80px !important;
    }

    body.admin-bar {
        padding-top: 126px !important;
    }

    #jet-theme-core-header .jet-logo__img {
        max-width: 168px !important;
        max-height: 50px !important;
    }

    #jet-theme-core-header .elementor-element-8e43b8f .jet-mega-menu-toggle {
        width: 42px !important;
        height: 42px !important;
    }

    #jet-theme-core-header .elementor-element-8e43b8f .jet-mega-menu-toggle svg {
        width: 30px !important;
        height: 30px !important;
    }

    #jet-theme-core-header .elementor-element-8e43b8f .jet-mega-menu-container {
        top: 80px !important;
        max-height: calc(100vh - 80px) !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    body.admin-bar #jet-theme-core-header .elementor-element-8e43b8f .jet-mega-menu-container {
        top: 126px !important;
        max-height: calc(100vh - 126px) !important;
    }
}




/* ========================= */
/*  SLIDER MOBILE - TESTI RAGGRUPPATI */
/* ========================= */

@media (max-width: 767px) {

    .elementor-1636 .elementor-element.elementor-element-4867fbd .jet-slider__content-inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;

        gap: 0 !important;

        padding-top: 26px !important;
        padding-bottom: 28px !important;
    }

    .elementor-1636 .elementor-element.elementor-element-4867fbd .jet-slider__subtitle {
        order: 1 !important;

        margin: 0 0 8px !important;
        padding: 0 !important;

        font-size: 20px !important;
        line-height: 1.1 !important;

        text-align: center !important;
    }

    .elementor-1636 .elementor-element.elementor-element-4867fbd .jet-slider__title {
        order: 2 !important;

        margin: 0 0 14px !important;
        padding: 0 !important;

        font-size: 28px !important;
        line-height: 1.12 !important;
        letter-spacing: 3px !important;

        text-align: center !important;
    }

    .elementor-1636 .elementor-element.elementor-element-4867fbd .jet-slider__desc {
        order: 3 !important;

        margin: 0 auto 22px !important;
        padding: 0 !important;

        max-width: 285px !important;

        font-size: 25px !important;
        line-height: 1.15 !important;

        text-align: center !important;
    }

    .elementor-1636 .elementor-element.elementor-element-4867fbd .jet-slider__button-wrapper {
        order: 4 !important;

        margin: 0 auto !important;
        padding: 0 !important;
    }
}


/* Telefoni piccoli */
@media (max-width: 390px) {

    .elementor-1636 .elementor-element.elementor-element-4867fbd .jet-slider__subtitle {
        margin-bottom: 7px !important;
        font-size: 18px !important;
    }

    .elementor-1636 .elementor-element.elementor-element-4867fbd .jet-slider__title {
        margin-bottom: 12px !important;
        font-size: 25px !important;
    }

    .elementor-1636 .elementor-element.elementor-element-4867fbd .jet-slider__desc {
        margin-bottom: 20px !important;
        font-size: 23px !important;
    }
}





/* ==========================================================
   EDIL.GE.MI - RESPONSIVE SEZIONE ICON BOX
   Sezione: Tempi certi / Controllo costi / ecc.
   Solo tablet/mobile - PC non toccato
   ========================================================== */


/* ==========================================================
   TABLET
   ========================================================== */

@media screen and (max-width: 1024px) {

    /* Container principale: elimina effetto bordi laterali */
    .elementor-element-84c814d {
        width: 100vw !important;
        max-width: 100vw !important;

        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;

        padding: 34px 24px !important;

        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px !important;

        background-size: cover !important;
        background-position: center center !important;

        border: 0 !important;
        box-shadow: none !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    /* Singoli box */
    .elementor-element-84c814d > .e-con,
    .elementor-element-84c814d > .elementor-element {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 24px 18px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        border: 0 !important;
        box-shadow: none !important;
        box-sizing: border-box !important;
    }

    /* Ultimo box centrato quando resta da solo */
    .elementor-element-84c814d > .elementor-element-3b05e33 {
        grid-column: 1 / -1 !important;
        max-width: 50% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Widget icon box */
    .elementor-element-84c814d .elementor-widget-icon-box,
    .elementor-element-84c814d .elementor-widget-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .elementor-element-84c814d .elementor-icon-box-wrapper {
        width: 100% !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;

        gap: 12px !important;

        text-align: center !important;
    }

    .elementor-element-84c814d .elementor-icon-box-icon {
        margin: 0 !important;
        line-height: 1 !important;
    }

    .elementor-element-84c814d .elementor-icon {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 54px !important;
        height: 54px !important;

        margin: 0 auto !important;
    }

    .elementor-element-84c814d .elementor-icon svg {
        width: 34px !important;
        height: 34px !important;
    }

    .elementor-element-84c814d .elementor-icon-box-content {
        width: 100% !important;
        text-align: center !important;
    }

    .elementor-element-84c814d .elementor-icon-box-title {
        margin: 0 !important;
        padding: 0 !important;

        text-align: center !important;
        line-height: 1.25 !important;
    }

    .elementor-element-84c814d .elementor-icon-box-title span {
        display: block !important;

        font-size: 18px !important;
        line-height: 1.25 !important;
        text-align: center !important;
    }


    /* ======================================================
       SEZIONE TESTO "Realizza il tuo progetto..."
       Spazio dai lati su tablet
       ====================================================== */

    .elementor-element-172a6a0,
    .elementor-element-a22328c {
        width: 100% !important;
        max-width: 760px !important;

        margin-left: auto !important;
        margin-right: auto !important;

        padding-left: 28px !important;
        padding-right: 28px !important;

        box-sizing: border-box !important;
    }

    .elementor-element-172a6a0 h2 {
        margin-bottom: 18px !important;
        line-height: 1.15 !important;
    }

    .elementor-element-a22328c p {
        font-size: 17px !important;
        line-height: 1.65 !important;
        margin-bottom: 18px !important;
    }

    .elementor-element-a22328c p:last-child {
        margin-bottom: 0 !important;
    }
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media screen and (max-width: 767px) {

    /* Container principale: full width pulito, niente bordi laterali */
    .elementor-element-84c814d {
        width: 100vw !important;
        max-width: 100vw !important;

        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;

        padding: 28px 18px !important;

        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;

        border: 0 !important;
        box-shadow: none !important;
        overflow: hidden !important;
    }

    .elementor-element-84c814d > .e-con,
    .elementor-element-84c814d > .elementor-element {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 18px 16px !important;

        border: 0 !important;
        box-shadow: none !important;
    }

    .elementor-element-84c814d > .elementor-element-3b05e33 {
        grid-column: auto !important;
        max-width: 100% !important;
    }

    .elementor-element-84c814d .elementor-icon-box-wrapper {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;

        gap: 15px !important;

        text-align: left !important;
    }

    .elementor-element-84c814d .elementor-icon-box-icon {
        flex: 0 0 auto !important;
        margin: 0 !important;
    }

    .elementor-element-84c814d .elementor-icon {
        width: 46px !important;
        height: 46px !important;
        margin: 0 !important;
    }

    .elementor-element-84c814d .elementor-icon svg {
        width: 28px !important;
        height: 28px !important;
    }

    .elementor-element-84c814d .elementor-icon-box-content {
        flex: 1 !important;
        min-width: 0 !important;
        text-align: left !important;
    }

    .elementor-element-84c814d .elementor-icon-box-title {
        text-align: left !important;
        margin: 0 !important;
    }

    .elementor-element-84c814d .elementor-icon-box-title span {
        font-size: 16.5px !important;
        line-height: 1.25 !important;
        text-align: left !important;
    }


    /* ======================================================
       TESTO "Realizza il tuo progetto..."
       Più respiro laterale su telefono
       ====================================================== */

    .elementor-element-172a6a0,
    .elementor-element-a22328c {
        width: 100% !important;
        max-width: 100% !important;

        padding-left: 22px !important;
        padding-right: 22px !important;

        margin-left: auto !important;
        margin-right: auto !important;

        box-sizing: border-box !important;
    }

    .elementor-element-172a6a0 h2 {
        font-size: 30px !important;
        line-height: 1.15 !important;
        margin-bottom: 16px !important;
    }

    .elementor-element-a22328c p {
        font-size: 15.8px !important;
        line-height: 1.62 !important;
        margin-bottom: 16px !important;
    }

    .elementor-element-a22328c p:last-child {
        margin-bottom: 0 !important;
    }
}


/* ==========================================================
   MOBILE PICCOLO
   ========================================================== */

@media screen and (max-width: 390px) {

    .elementor-element-84c814d {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .elementor-element-84c814d > .e-con,
    .elementor-element-84c814d > .elementor-element {
        padding: 17px 14px !important;
    }

    .elementor-element-84c814d .elementor-icon {
        width: 42px !important;
        height: 42px !important;
    }

    .elementor-element-84c814d .elementor-icon svg {
        width: 25px !important;
        height: 25px !important;
    }

    .elementor-element-84c814d .elementor-icon-box-title span {
        font-size: 15.8px !important;
    }

    .elementor-element-172a6a0,
    .elementor-element-a22328c {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .elementor-element-172a6a0 h2 {
        font-size: 27px !important;
    }

    .elementor-element-a22328c p {
        font-size: 15.2px !important;
    }
}





/* ==========================================================
   EDIL.GE.MI - RESPONSIVE TESTI E TITOLONI
   Solo tablet/mobile - PC non toccato
   ========================================================== */


/* ==========================================================
   TABLET
   ========================================================== */

@media screen and (max-width: 1024px) {

    /* ------------------------------------------------------
       SEZIONE: Trasforma il tuo immobile con Edil Ge. Mi.
       Più respiro laterale
       ------------------------------------------------------ */

    .elementor-element-724b0d5,
    .elementor-element-7e5c159 {
        width: 100% !important;
        max-width: 780px !important;

        margin-left: auto !important;
        margin-right: auto !important;

        padding-left: 30px !important;
        padding-right: 30px !important;

        box-sizing: border-box !important;
    }

    .elementor-element-724b0d5 h2 {
        margin-bottom: 18px !important;

        font-size: 40px !important;
        line-height: 1.12 !important;

        text-align: left !important;
    }

    .elementor-element-7e5c159 p {
        font-size: 17px !important;
        line-height: 1.65 !important;
        margin-bottom: 18px !important;
    }

    .elementor-element-7e5c159 p:last-child {
        margin-bottom: 0 !important;
    }


    /* ------------------------------------------------------
       SEZIONE HERO TESTUALE RISTRUTTURAZIONI
       Rimpicciolimento titolone H1
       ------------------------------------------------------ */

    .elementor-element-23c1d73 {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 34px !important;
    }

    .elementor-element-c583e65,
    .elementor-element-a5d4102 {
        width: 100% !important;
        max-width: 780px !important;

        margin-left: auto !important;
        margin-right: auto !important;

        padding-left: 30px !important;
        padding-right: 30px !important;

        box-sizing: border-box !important;
    }

    .elementor-element-h1a2201 h1 {
        font-size: 44px !important;
        line-height: 1.08 !important;
        margin-bottom: 20px !important;
    }

    .elementor-element-t1b2201 p {
        font-size: 17px !important;
        line-height: 1.65 !important;
        margin-bottom: 17px !important;
    }

    .elementor-element-t1b2201 p:last-child {
        margin-bottom: 0 !important;
    }

    .elementor-element-i1c2201 img {
        display: block !important;
        width: 100% !important;
        max-width: 520px !important;
        height: auto !important;

        margin-left: auto !important;
        margin-right: auto !important;
    }
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media screen and (max-width: 767px) {

    /* ------------------------------------------------------
       SEZIONE: Trasforma il tuo immobile con Edil Ge. Mi.
       ------------------------------------------------------ */

    .elementor-element-724b0d5,
    .elementor-element-7e5c159 {
        max-width: 100% !important;

        padding-left: 22px !important;
        padding-right: 22px !important;

        text-align: left !important;
    }

    .elementor-element-724b0d5 h2 {
        font-size: 30px !important;
        line-height: 1.14 !important;
        margin-bottom: 16px !important;

        text-align: left !important;
    }

    .elementor-element-7e5c159 p {
        font-size: 15.8px !important;
        line-height: 1.62 !important;
        margin-bottom: 16px !important;
    }


    /* ------------------------------------------------------
       SEZIONE H1 RISTRUTTURAZIONI
       Titolone più piccolo e contenuto con respiro
       ------------------------------------------------------ */

    .elementor-element-23c1d73 {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .elementor-element-c583e65,
    .elementor-element-a5d4102 {
        max-width: 100% !important;

        padding-left: 22px !important;
        padding-right: 22px !important;

        text-align: left !important;
    }

    .elementor-element-h1a2201 h1 {
        font-size: 32px !important;
        line-height: 1.12 !important;
        margin-bottom: 18px !important;

        text-align: left !important;
    }

    .elementor-element-t1b2201 p {
        font-size: 15.8px !important;
        line-height: 1.62 !important;
        margin-bottom: 16px !important;
    }

    .elementor-element-i1c2201 img {
        width: 100% !important;
        max-width: 360px !important;
        height: auto !important;

        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}


/* ==========================================================
   MOBILE PICCOLO
   ========================================================== */

@media screen and (max-width: 390px) {

    .elementor-element-724b0d5,
    .elementor-element-7e5c159,
    .elementor-element-c583e65,
    .elementor-element-a5d4102 {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .elementor-element-724b0d5 h2 {
        font-size: 27px !important;
    }

    .elementor-element-h1a2201 h1 {
        font-size: 29px !important;
    }

    .elementor-element-7e5c159 p,
    .elementor-element-t1b2201 p {
        font-size: 15.2px !important;
    }

    .elementor-element-i1c2201 img {
        max-width: 320px !important;
    }
}


/* ==========================================================
   EDIL.GE.MI - TITOLI RESPONSIVE GLOBALI PAGINA
   Riduce tutti H1 / H2 / H3 nel contenuto
   Solo tablet/mobile - PC non toccato
   ========================================================== */


/* ==========================================================
   TABLET
   ========================================================== */

@media screen and (max-width: 1024px) {

    body .elementor[data-elementor-type="wp-post"] h1,
    body .elementor[data-elementor-type="wp-page"] h1,
    body .elementor[data-elementor-type="wp-post"] h1.elementor-heading-title,
    body .elementor[data-elementor-type="wp-page"] h1.elementor-heading-title {
        font-size: 44px !important;
        line-height: 1.08 !important;
    }

    body .elementor[data-elementor-type="wp-post"] h2,
    body .elementor[data-elementor-type="wp-page"] h2,
    body .elementor[data-elementor-type="wp-post"] h2.elementor-heading-title,
    body .elementor[data-elementor-type="wp-page"] h2.elementor-heading-title,
    body .elementor[data-elementor-type="wp-post"] .elementor-widget-text-editor h2,
    body .elementor[data-elementor-type="wp-page"] .elementor-widget-text-editor h2 {
        font-size: 38px !important;
        line-height: 1.12 !important;
    }

    body .elementor[data-elementor-type="wp-post"] h3,
    body .elementor[data-elementor-type="wp-page"] h3,
    body .elementor[data-elementor-type="wp-post"] h3.elementor-heading-title,
    body .elementor[data-elementor-type="wp-page"] h3.elementor-heading-title,
    body .elementor[data-elementor-type="wp-post"] .elementor-widget-text-editor h3,
    body .elementor[data-elementor-type="wp-page"] .elementor-widget-text-editor h3 {
        font-size: 28px !important;
        line-height: 1.16 !important;
    }
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media screen and (max-width: 767px) {

    body .elementor[data-elementor-type="wp-post"] h1,
    body .elementor[data-elementor-type="wp-page"] h1,
    body .elementor[data-elementor-type="wp-post"] h1.elementor-heading-title,
    body .elementor[data-elementor-type="wp-page"] h1.elementor-heading-title {
        font-size: 31px !important;
        line-height: 1.12 !important;
    }

    body .elementor[data-elementor-type="wp-post"] h2,
    body .elementor[data-elementor-type="wp-page"] h2,
    body .elementor[data-elementor-type="wp-post"] h2.elementor-heading-title,
    body .elementor[data-elementor-type="wp-page"] h2.elementor-heading-title,
    body .elementor[data-elementor-type="wp-post"] .elementor-widget-text-editor h2,
    body .elementor[data-elementor-type="wp-page"] .elementor-widget-text-editor h2 {
        font-size: 29px !important;
        line-height: 1.14 !important;
    }

    body .elementor[data-elementor-type="wp-post"] h3,
    body .elementor[data-elementor-type="wp-page"] h3,
    body .elementor[data-elementor-type="wp-post"] h3.elementor-heading-title,
    body .elementor[data-elementor-type="wp-page"] h3.elementor-heading-title,
    body .elementor[data-elementor-type="wp-post"] .elementor-widget-text-editor h3,
    body .elementor[data-elementor-type="wp-page"] .elementor-widget-text-editor h3 {
        font-size: 23px !important;
        line-height: 1.18 !important;
    }
}


/* ==========================================================
   MOBILE PICCOLO
   ========================================================== */

@media screen and (max-width: 390px) {

    body .elementor[data-elementor-type="wp-post"] h1,
    body .elementor[data-elementor-type="wp-page"] h1,
    body .elementor[data-elementor-type="wp-post"] h1.elementor-heading-title,
    body .elementor[data-elementor-type="wp-page"] h1.elementor-heading-title {
        font-size: 28px !important;
    }

    body .elementor[data-elementor-type="wp-post"] h2,
    body .elementor[data-elementor-type="wp-page"] h2,
    body .elementor[data-elementor-type="wp-post"] h2.elementor-heading-title,
    body .elementor[data-elementor-type="wp-page"] h2.elementor-heading-title,
    body .elementor[data-elementor-type="wp-post"] .elementor-widget-text-editor h2,
    body .elementor[data-elementor-type="wp-page"] .elementor-widget-text-editor h2 {
        font-size: 26px !important;
    }

    body .elementor[data-elementor-type="wp-post"] h3,
    body .elementor[data-elementor-type="wp-page"] h3,
    body .elementor[data-elementor-type="wp-post"] h3.elementor-heading-title,
    body .elementor[data-elementor-type="wp-page"] h3.elementor-heading-title,
    body .elementor[data-elementor-type="wp-post"] .elementor-widget-text-editor h3,
    body .elementor[data-elementor-type="wp-page"] .elementor-widget-text-editor h3 {
        font-size: 21px !important;
    }
}




/* ==========================================================
   EDIL.GE.MI - RESPONSIVE GRIGLIA IMMOBILI
   Sezione: Alcuni degli ultimi interventi conclusi
   PC NON TOCCATO
   ========================================================== */


/* ==========================================================
   TABLET
   Mostra massimo 6 immobili, 2 colonne
   ========================================================== */

@media screen and (max-width: 1024px) {

    .elementor-element-034d783 {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
        box-sizing: border-box !important;
    }

    .elementor-element-034d783 > .e-con-inner,
    .elementor-element-034d783 .elementor-element-b23d7fb,
    .elementor-element-034d783 .elementor-element-44fba10,
    .elementor-element-034d783 .elementor-shortcode {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    .elementor-element-034d783 .immobili-list {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 24px !important;

        width: 100% !important;
        max-width: 860px !important;

        margin-left: auto !important;
        margin-right: auto !important;

        padding: 0 !important;
    }

    /* Su tablet mostra solo i primi 6 immobili */
    .elementor-element-034d783 .immobili-list .immobile-item:nth-of-type(n+7) {
        display: none !important;
    }

    .elementor-element-034d783 .immobile-thumb {
        width: 100% !important;
        overflow: hidden !important;
    }

    .elementor-element-034d783 .immobile-thumb img {
        width: 100% !important;
        height: 245px !important;
        object-fit: cover !important;
        display: block !important;
    }

    .elementor-element-034d783 .immobile-title {
        margin: 14px 0 0 !important;
        font-size: 21px !important;
        line-height: 1.2 !important;
    }
}


/* ==========================================================
   MOBILE
   Mostra massimo 4 immobili, 1 colonna
   ========================================================== */

@media screen and (max-width: 767px) {

    .elementor-element-034d783 {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .elementor-element-8f25c50,
    .elementor-element-7a684c1 {
        padding-left: 18px !important;
        padding-right: 18px !important;
        box-sizing: border-box !important;
    }

    .elementor-element-8f25c50 h2 {
        text-align: left !important;
        margin-bottom: 14px !important;
    }

    .elementor-element-7a684c1 p {
        text-align: left !important;
        line-height: 1.6 !important;
        margin-bottom: 24px !important;
    }

    .elementor-element-034d783 .immobili-list {
        grid-template-columns: 1fr !important;
        gap: 22px !important;

        max-width: 430px !important;

        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Su telefono mostra solo i primi 4 immobili */
    .elementor-element-034d783 .immobili-list .immobile-item:nth-of-type(n+5) {
        display: none !important;
    }

    .elementor-element-034d783 .immobile-thumb img {
        height: 235px !important;
    }

    .elementor-element-034d783 .immobile-title {
        font-size: 20px !important;
        line-height: 1.2 !important;
        margin-top: 13px !important;
    }
}


/* ==========================================================
   MOBILE PICCOLO
   Mostra massimo 3 immobili
   ========================================================== */

@media screen and (max-width: 390px) {

    .elementor-element-034d783 {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .elementor-element-8f25c50,
    .elementor-element-7a684c1 {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .elementor-element-034d783 .immobili-list {
        gap: 20px !important;
        max-width: 100% !important;
    }

    /* Su telefoni piccoli mostra solo i primi 3 immobili */
    .elementor-element-034d783 .immobili-list .immobile-item:nth-of-type(n+4) {
        display: none !important;
    }

    .elementor-element-034d783 .immobile-thumb img {
        height: 215px !important;
    }

    .elementor-element-034d783 .immobile-title {
        font-size: 19px !important;
    }
}


/* ==========================================================
   EDIL.GE.MI - RESPONSIVE TESTO ECBAD02
   Sezione: Scopri i nostri progetti e raccontaci i tuoi
   PC non toccato
   ========================================================== */

@media screen and (max-width: 1024px) {

    .elementor-element-ecbad02 {
        width: 100% !important;
        max-width: 720px !important;

        margin-left: auto !important;
        margin-right: auto !important;

        padding-left: 30px !important;
        padding-right: 30px !important;

        box-sizing: border-box !important;
    }

    .elementor-element-ecbad02 h2 {
        margin-bottom: 18px !important;
        line-height: 1.14 !important;
    }

    .elementor-element-ecbad02 p {
        line-height: 1.65 !important;
        margin-bottom: 17px !important;
    }

    .elementor-element-ecbad02 p:last-child {
        margin-bottom: 0 !important;
    }
}

@media screen and (max-width: 767px) {

    .elementor-element-ecbad02 {
        max-width: 390px !important;

        padding-left: 22px !important;
        padding-right: 22px !important;

        text-align: left !important;
    }

    .elementor-element-ecbad02 h2 {
        font-size: 29px !important;
        line-height: 1.14 !important;
        margin-bottom: 16px !important;
    }

    .elementor-element-ecbad02 p {
        font-size: 15.8px !important;
        line-height: 1.62 !important;
        margin-bottom: 16px !important;
    }
}

@media screen and (max-width: 390px) {

    .elementor-element-ecbad02 {
        max-width: 340px !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .elementor-element-ecbad02 h2 {
        font-size: 27px !important;
    }

    .elementor-element-ecbad02 p {
        font-size: 15.2px !important;
    }
}


/* ==========================================================
   EDIL.GE.MI - FIX RESPONSIVE BLOCCO QUALITA
   Sposta leggermente in basso + raggruppa + allinea
   PC non toccato
   ========================================================== */


/* TABLET */
@media screen and (max-width: 1024px) {

    .elementor-widget-wrap:has(> .elementor-element-677db283) {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;

        padding-top: 58px !important;
        padding-bottom: 34px !important;
        padding-left: 32px !important;
        padding-right: 32px !important;

        box-sizing: border-box !important;
    }

    .elementor-element-677db283,
    .elementor-element-1747066a,
    .elementor-element-276a4fa6 {
        width: 100% !important;
        max-width: 720px !important;

        margin-left: 0 !important;
        margin-right: auto !important;

        padding-left: 0 !important;
        padding-right: 0 !important;

        text-align: left !important;
        box-sizing: border-box !important;
    }

    .elementor-element-677db283 {
        margin-bottom: 8px !important;
    }

    .elementor-element-677db283 h1 {
        margin: 0 !important;

        font-size: 42px !important;
        line-height: 1.05 !important;

        text-align: left !important;
    }

    .elementor-element-1747066a {
        margin-bottom: 14px !important;
    }

    .elementor-element-1747066a h2 {
        margin: 0 !important;

        font-size: 32px !important;
        line-height: 1.16 !important;

        text-align: left !important;
    }

    .elementor-element-276a4fa6 {
        margin-top: 0 !important;
    }

    .elementor-element-276a4fa6 .elementor-divider {
        padding: 0 !important;
        text-align: left !important;
    }

    .elementor-element-276a4fa6 .elementor-divider-separator {
        width: 82px !important;
        max-width: 82px !important;
        margin-left: 0 !important;
        margin-right: auto !important;
    }
}


/* MOBILE */
@media screen and (max-width: 767px) {

    .elementor-widget-wrap:has(> .elementor-element-677db283) {
        align-items: flex-start !important;

        padding-top: 48px !important;
        padding-bottom: 28px !important;
        padding-left: 22px !important;
        padding-right: 22px !important;
    }

    .elementor-element-677db283,
    .elementor-element-1747066a,
    .elementor-element-276a4fa6 {
        max-width: 360px !important;

        margin-left: 0 !important;
        margin-right: auto !important;

        text-align: left !important;
    }

    .elementor-element-677db283 {
        margin-bottom: 7px !important;
    }

    .elementor-element-677db283 h1 {
        font-size: 31px !important;
        line-height: 1.06 !important;
        text-align: left !important;
    }

    .elementor-element-1747066a {
        margin-bottom: 12px !important;
    }

    .elementor-element-1747066a h2 {
        font-size: 25px !important;
        line-height: 1.16 !important;
        text-align: left !important;
    }

    .elementor-element-276a4fa6 .elementor-divider-separator {
        width: 68px !important;
        max-width: 68px !important;
        margin-left: 0 !important;
    }
}


/* MOBILE PICCOLO */
@media screen and (max-width: 390px) {

    .elementor-widget-wrap:has(> .elementor-element-677db283) {
        padding-top: 44px !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .elementor-element-677db283,
    .elementor-element-1747066a,
    .elementor-element-276a4fa6 {
        max-width: 320px !important;
    }

    .elementor-element-677db283 h1 {
        font-size: 29px !important;
    }

    .elementor-element-1747066a h2 {
        font-size: 23px !important;
    }
}


/* ==========================================================
   EDIL.GE.MI - PROGETTO IN EVIDENZA
   Allarga solo il testo
   ========================================================== */

.elementor-element-c52088f .elementor-element-a7e958b {
    max-width: 860px !important;
    width: 100% !important;
}

.elementor-element-c52088f .elementor-element-a7e958b p:last-child {
    max-width: 800px !important;
}


/* TABLET */
@media screen and (max-width: 1024px) {

    .elementor-element-c52088f .elementor-element-a7e958b {
        max-width: 760px !important;
    }

    .elementor-element-c52088f .elementor-element-a7e958b p:last-child {
        max-width: 720px !important;
    }
}


/* MOBILE */
@media screen and (max-width: 767px) {

    .elementor-element-c52088f .elementor-element-a7e958b {
        max-width: 100% !important;
        width: 100% !important;
    }

    .elementor-element-c52088f .elementor-element-a7e958b p:last-child {
        max-width: 100% !important;
    }
}



/* ==========================================================
   EDIL.GE.MI - LISTA IMMOBILI RESPONSIVE
   Meno immobili visibili in base al dispositivo
   PC non toccato
   ========================================================== */


/* TABLET: 2 colonne, massimo 6 immobili */
@media screen and (max-width: 1024px) {

    .immobili-list {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 24px !important;

        width: 100% !important;
        max-width: 860px !important;

        margin-left: auto !important;
        margin-right: auto !important;

        padding-left: 24px !important;
        padding-right: 24px !important;

        box-sizing: border-box !important;
    }

    .immobili-list .immobile-item:nth-of-type(n+7) {
        display: none !important;
    }

    .immobili-list .immobile-thumb {
        width: 100% !important;
        overflow: hidden !important;
    }

    .immobili-list .immobile-thumb img {
        display: block !important;
        width: 100% !important;
        height: 245px !important;
        object-fit: cover !important;
    }

    .immobili-list .immobile-title {
        margin: 14px 0 0 !important;
        font-size: 21px !important;
        line-height: 1.2 !important;
    }
}


/* MOBILE: 1 colonna, massimo 4 immobili */
@media screen and (max-width: 767px) {

    .immobili-list {
        grid-template-columns: 1fr !important;
        gap: 22px !important;

        max-width: 430px !important;

        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .immobili-list .immobile-item:nth-of-type(n+5) {
        display: none !important;
    }

    .immobili-list .immobile-thumb img {
        height: 235px !important;
    }

    .immobili-list .immobile-title {
        margin-top: 13px !important;
        font-size: 20px !important;
        line-height: 1.2 !important;
    }
}


/* MOBILE PICCOLO: massimo 3 immobili */
@media screen and (max-width: 390px) {

    .immobili-list {
        max-width: 100% !important;

        padding-left: 16px !important;
        padding-right: 16px !important;

        gap: 20px !important;
    }

    .immobili-list .immobile-item:nth-of-type(n+4) {
        display: none !important;
    }

    .immobili-list .immobile-thumb img {
        height: 215px !important;
    }

    .immobili-list .immobile-title {
        font-size: 19px !important;
    }
}


/* ==========================================================
   EDIL.GE.MI - FOOTER MOBILE
   Riduce distanza tra titolo azienda e contatti sotto
   ========================================================== */

@media screen and (max-width: 1024px) {

    #jet-theme-core-footer .elementor-element-aa3bd67 {
        padding-bottom: 6px !important;
        margin-bottom: 0 !important;
        min-height: 0 !important;
        height: auto !important;
    }

    #jet-theme-core-footer .elementor-element-aa3bd67 > .elementor-container,
    #jet-theme-core-footer .elementor-element-aa3bd67 .elementor-column,
    #jet-theme-core-footer .elementor-element-aa3bd67 .elementor-widget-wrap {
        min-height: 0 !important;
        height: auto !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    #jet-theme-core-footer .elementor-element-9bcede5 {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    #jet-theme-core-footer .elementor-element-9bcede5 h2 {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    #jet-theme-core-footer .elementor-element-846005c {
        padding-top: 10px !important;
        margin-top: 0 !important;
    }

    #jet-theme-core-footer .elementor-element-846005c > .elementor-container,
    #jet-theme-core-footer .elementor-element-846005c .elementor-column,
    #jet-theme-core-footer .elementor-element-846005c .elementor-widget-wrap {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}


/* MOBILE */
@media screen and (max-width: 767px) {

    #jet-theme-core-footer .elementor-element-aa3bd67 {
        padding-top: 34px !important;
        padding-bottom: 4px !important;
    }

    #jet-theme-core-footer .elementor-element-9bcede5 {
        text-align: left !important;
    }

    #jet-theme-core-footer .elementor-element-9bcede5 h2 {
        max-width: 350px !important;

        margin: 0 !important;

        text-align: left !important;
        font-size: 27px !important;
        line-height: 1.2 !important;
    }

    #jet-theme-core-footer .elementor-element-846005c {
        padding-top: 12px !important;
    }

    #jet-theme-core-footer .elementor-element-c41cf73,
    #jet-theme-core-footer .elementor-element-023c37c,
    #jet-theme-core-footer .elementor-element-2715809 {
        margin-top: 0 !important;
    }

    #jet-theme-core-footer .elementor-element-ab3fc74 {
        margin-top: 0 !important;
    }
}


/* MOBILE PICCOLO */
@media screen and (max-width: 390px) {

    #jet-theme-core-footer .elementor-element-aa3bd67 {
        padding-top: 30px !important;
        padding-bottom: 2px !important;
    }

    #jet-theme-core-footer .elementor-element-846005c {
        padding-top: 8px !important;
    }

    #jet-theme-core-footer .elementor-element-9bcede5 h2 {
        font-size: 24px !important;
    }
}