.site-blocks-cover.inner-page-cover {
    background-image: url(../../../images/bg_props.jpg) !important;
    background-position-y: -308px;
}
.list_prop_imm {
	padding: 48px;
}
.site-blocks-cover.overlay:before {
    z-index: 1;
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.4) !important;
    /* background: rgba(0, 0, 0, 0.4); */
}
.luxury-link {
    border-bottom: 1px solid #c4a47c; /* Riga sottile color oro/sabbia */
    padding-bottom: 2px;
    text-transform: capitalize;
    color: #fff;
    cursor: default; /* Fa capire che non &#65533; necessariamente un link se non vuoi che lo sia */
}

.section-properties {
  background: #53686a;
}

#toolbar-immobili-centro-hol {
    width: 100%;
    /* margin-bottom: 30px; */
    padding-left: calc(3rem + 15px) !important;
    padding-right: calc(3rem + 15px) !important;
    margin-top: 30px;
}
.vis-hol {
    width: 50%;
    float: left;
    color: #FFF;
}
.vis-hol2 {
    width: 50%;
    float: left;
    text-align: right;
}

/* 1. Il contenitore: ora limitato a 350px */
.property-item .img {
    display: block;
    width: 100%;
    height: 300px;     /* Altezza massima richiesta */
    overflow: hidden;  /* Necessario per lo zoom e per tagliare l'eccesso */
    position: relative;
    background-color: #f8f9fa; /* Colore di fondo se l'immagine manca */
}

/* 2. L'immagine: deve coprire tutto il box */
.property-item .img img.img_fluid {
    width: 100%;
    height: 100%;      /* Forza l'altezza a 350px */
    object-fit: cover; /* Riempie il box mantenendo le proporzioni (taglia i lati) */
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); /* Zoom pi&#65533; fluido */
    display: block;
}

/* 3. Effetto Zoom al passaggio del mouse */
.property-item:hover .img img.img_fluid {
    transform: scale(1.2); /* Zoom del 10% */
}

/* 4. Opzionale: Overlay leggero per far risaltare le label */
.property-item .img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1); /* Scurisce appena la foto */
    pointer-events: none;
}

/* 4. Assicuriamoci che le label restino sopra l'immagine durante lo zoom */
.property-item .img .label, 
.property-item .img .label_two {
    z-index: 10;
    pointer-events: none; /* Evita che le label disturbino il mouse-over */
}

/* Posizionamento etichette (For Sale, Tipologia, ecc.) sopra la foto */
.property-item .img .label, 
.property-item .img .label_two, 
.property-item .img .statoimmobile {
    position: absolute;
    z-index: 2;
}

/* Esempio di posizionamento etichetta "For Sale" */
.property-item .img .label {
    top: 20px;
    left: 20px;
    background: rgb(16 45 49 / 50%);
    color: #fff;
    padding: 5px 15px;
}

/* Esempio per "Sold/Venduto" */
.property-item .img .statoimmobile.venduto {
    top: 20px;
    right: 20px;
    background: red;
    color: white;
    padding: 5px 10px;
}

/**/
.btn.btn-primary {
  background: #005555;
  color: #fff;
  text-decoration: none !important;
  border-radius: 30px;
  border-width: 2px;
  border-color: transparent;
  border: none !important;
  position: relative;
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease;
}
.property-item.mb-30 {
  margin-bottom: 50px;
  }

.property-item .img {
  position: relative;
  z-index: 1; }

.property-item .property-content {
  background: #fff;
  padding: 21px;
  font-size: 13px;
  position: relative;
  width: 100%;
  margin-top: 0px;
  -webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.05);
  z-index: 2;
  }
  .property-item .property-content .price, .property-item .property-content .city {
    font-size: 17px;
    font-weight: 700;
    color: #000;
    }
.property-item .property-content .title_box {
	font-size: 19px;
	color: #000;
	font-weight: 700;
	height: 41px;
}
  .property-item .property-content .price {
    color: #005555; }
    .property-item .property-content .price span {
      position: relative;
      padding-bottom: 4px;
      display: inline-block; }
      .property-item .property-content .price span:after {
        position: absolute;
        content: "";
        width: 100%;
        height: 2px;
        left: 0;
        bottom: 0;
        background-color: #005555; }
  .property-item .property-content .specs {
    font-size: 18px; }
    .property-item .property-content .specs .caption {
      font-size: 13px; }


.custom-pagination a, .custom-pagination span {
  background: rgba(255, 255, 255, 0.8) !important;
  color: #FFF;
}
.custom-pagination a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  font-weight: 700;
  border-radius: 50%;
  background: rgba(0, 32, 74, 1);
  color: #000 !important;
  text-align: center;
  margin-right: 7px;
}
.custom-pagination a:last-child {
  margin-right: 0px;
}
.custom-pagination a:hover, .custom-pagination a.active {
  background: #00204a !important;
  color: #fff !important;
}

/*Inizio SCORRIMENTO*/
.contenitore_scorrimento {
  width: 100%;
  text-align: center;
}
.contenitore_scorrimento ul {
    padding: 25px 0px;
}
.contenitore_scorrimento ul li {
    list-style: none;
    display: inline-block;
}

.contenitore_scorrimento ul li a {
    background-color: #fff;
    color: #000;
    padding: 11px;
    border-radius: 7px;
    font-weight: 700;
    border: 1px solid #000
}
.contenitore_scorrimento ul li select {
    background-color: #fff;
    color: #000;
    padding: 11px;
    border-radius: 7px;
    font-weight: 700;
    border: 1px solid #000
}
.contenitore_scorrimento ul li a.current {
    background-color: #4c595b;
    color: #fff;
    font-weight: 700;
    border: 1px solid #fff;
}

.contenitore_scorrimento .nice-select {
	top: 15px;
}
/*Fine SCORRIMENTO*/

/*TOOLBAR IMMOBILI*/
.vis-hol2 {
	font-size: 14px;
	color: #fff;
}
.vis-hol2 select {
	padding: 5px;
	text-transform: uppercase;
}
.link-dettagli-servizio {
	color: #111111;
}
.link-dettagli-servizio:hover {
	color: #111111;
}

.to_be_cont_box {
	background: #baa462;
	color: #FFF !important;
	padding: 3px 5px;
	text-align:center;
}

@media (max-width: 767.98px) {
	.site-blocks-cover.inner-page-cover {
	    background-position-y: 0px;
	}
	.list_prop_imm {
		padding: 0px;
	}
	.site-blocks-cover h1 {
        font-size: 23px !important;
        line-height: 35px !important;
    }
	.vis-hol {
	    width: 100%;
	    float: none;
	    color: #FFF;
	    margin-bottom: 15px;
	    /* text-align: right; */
	}
	.vis-hol2 {
	    width: 100%;
	    float: none;
	    text-align: right;
	    margin-bottom: 15px;
	}
	#toolbar-immobili-centro-hol {
	    width: 100%;
	    /* margin-bottom: 30px; */
	    padding-left: 10px !important;
	    padding-right: 10px !important;
	    margin-top: 30px;
	}
	.property-item .img img.img_fluid {
	    width: 100%;
	    height: auto;
	    object-fit: cover;
	    object-position: center;
	    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
	    display: block;
	}
	.property-item .img {
	    display: block;
	    width: 100%;
	    height: auto;
	    overflow: hidden;
	    position: relative;
	    background-color: #f8f9fa;
	}
	.property-item .img .label {
	    top: 5px;
	    left: 5px;
	    background: rgb(16 45 49 / 50%);
	    color: #fff;
	    padding: 5px 15px;
	}
}


