/* ======================
   CARD-HOME STYLE
   ====================== */
.card-home--overlay {
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* ombra soft */
}

.card-home__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Card verticale */
.card-home {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-home__image {
  position: relative;
  width: 100%;
}

.card-home__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Overlay scuro elegante */
.card-home__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
  padding-top: 100px ;
  background: linear-gradient(to top, #1c1c1c 40%, #0000 100%);
  color: var(--e-global-color-aa5884c);
}

/* Titolo */
.card-home__title {
  margin: 0 0 6px;
  line-height: 1.3;
  color: var(--e-global-color-aa5884c);
}

/* Location */
.card-home__location {
  color: #e0e0e0;
  margin-bottom: 6px;
}

/* Prezzo */
.card-home__price {
  font-weight: 700; /* più bold */
  color: var(--e-global-color-aa5884c);
}
.slick-slide {
  display: flex !important;
  justify-content: center;
}

.card-home--overlay {
  width: 100%;
  max-width: 600px; /* regola larghezza card */
  margin: 0 auto;
}

.card-home__image {
  height: 750px; /* regola a piacere */
  width: 100%;
}

.card-home__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-home__image {
    aspect-ratio: 4 / 5;
}

.slick-slide {
  margin: 0 10px; /* gap orizzontale tra le card */
}

.slick-list {
  margin: 0 -10px; /* compensazione margini per allineamento */
}



.city-section-title {
  font-family: var(--e-global-typography-primary-font-family), Sans-serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #2c3e50;
}

.horizontal-scroll-wrapper {
  position: relative;
  overflow: hidden;
}

.horizontal-properties-list {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding-bottom: 15px;
  -webkit-overflow-scrolling: touch;
}

.horizontal-properties-list::-webkit-scrollbar {
  height: 8px;
}

.horizontal-properties-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.horizontal-properties-list::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.horizontal-properties-list::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.horizontal-property-item {
  flex: 0 0 auto;
  width: 320px;
  background: var(--e-global-color-aa5884c);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.horizontal-property-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.horizontal-property-item .custom-property-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.horizontal-property-item .custom-property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.horizontal-property-item:hover .custom-property-image img {
  transform: scale(1.05);
}

.horizontal-property-item .custom-property-content {
  padding: 16px;
}

.horizontal-property-item .custom-property-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.horizontal-property-item .custom-property-title a {
  color: #2c3e50;
  text-decoration: none;
}

.horizontal-property-item .custom-property-title a:hover {
  color: #3498db;
}

.horizontal-property-item .custom-property-location {
  font-size: 14px;
  color: #7f8c8d;
  margin-bottom: 12px;
}

.horizontal-property-item .custom-property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #555;
}

.horizontal-property-item .custom-property-meta span {
  display: inline-block;
}

.horizontal-property-item .custom-property-price {
  font-size: 20px;
  font-weight: 700;
  color: #27ae60;
}

/* Responsive */

