/* IMMOROSSI homepage: two separate swipeable reference and review rows, 2026-11-23. */
/* Original verified property images, review text and carousel scripts stay in place. */
@media (min-width:781px) {
  #main.im-home-shortened .im-home-quick-actions { gap:14px !important; }
  #main.im-home-shortened .im-home-quick-actions > a {
    min-height:78px !important;
    padding:18px 22px !important;
    font-size:17px !important;
    font-weight:700 !important;
    line-height:1.35 !important;
  }
}
#main.im-home-shortened .im-home-proof-stories {
  display:block;
  min-width:0;
  width:100%;
}
#main.im-home-shortened .im-home-proof-examples {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  width:100%;
  min-width:0;
  margin-top:18px;
}
#main.im-home-shortened .im-home-proof-examples.im-home-references-ready {
  grid-template-columns:minmax(0,1fr) !important;
}
#main.im-home-shortened .im-home-references {
  display:block;
  width:100%;
  max-width:100%;
  min-width:0;
}
#main.im-home-shortened .im-home-proof-examples { --im-home-references-ready:1; }
#main.im-home-shortened .im-home-review-section .im-home-client-voice { --im-home-reviews-ready:1; }
#main.im-home-shortened .im-home-review-section {
  box-sizing:border-box;
  display:block;
  width:100%;
  max-width:100%;
  min-width:0;
  margin-top:32px;
  padding:clamp(18px,3vw,32px);
  border:1px solid #dedede;
  border-radius:10px;
  background:#f7f7f7;
}
#main.im-home-shortened .im-home-review-heading {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:8px 24px;
  margin-bottom:14px;
}
#main.im-home-shortened .im-home-review-heading h3 {
  margin:0;
  font-size:clamp(20px,2.3vw,28px);
  font-weight:750;
  line-height:1.2;
  color:#171717;
}
#main.im-home-shortened .im-home-review-all-link {
  color:#171717;
  font-weight:700;
  font-size:14px;
  text-decoration:underline;
  text-underline-offset:3px;
}
#main.im-home-shortened .im-home-review-section > .im-home-proof-reviews {
  max-width:none !important;
  width:100%;
  margin:0 0 16px;
  padding:0 0 12px;
  border-top:0 !important;
  border-bottom:1px solid #dedede;
}
#main.im-home-shortened .im-home-review-section > .im-home-client-voice {
  box-sizing:border-box;
  display:block;
  width:100% !important;
  max-width:100% !important;
  min-width:0;
  margin:0 !important;
  grid-column:auto !important;
  padding:clamp(16px,2vw,25px);
  background:#fff;
  border:1px solid #e2e2e2;
  border-radius:7px;
}
#main.im-home-shortened .im-home-review-section .im-home-reviews__viewport {
  width:100%;
  max-width:100%;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  touch-action:pan-x pan-y;
}
#main.im-home-shortened .im-home-review-section .im-home-reviews__controls,
#main.im-home-shortened .im-home-references__controls {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
}
#main.im-home-shortened .im-home-references__arrow,
#main.im-home-shortened .im-home-reviews__arrow {
  cursor:pointer;
}
@media (max-width:780px) {
  #main.im-home-shortened .im-home-proof-examples { grid-template-columns:minmax(0,1fr); }
  #main.im-home-shortened .im-home-review-section { padding:16px; margin-top:24px; }
  #main.im-home-shortened .im-home-review-heading { align-items:flex-start; }
  #main.im-home-shortened .im-home-review-heading h3 { font-size:22px; }
  #main.im-home-shortened .im-home-review-section > .im-home-client-voice { padding:15px; }
}
