/* CUI homepage only: approved Option B. Original mobile cards remain intact. */
.home-page .featured-section > .cui-home-featured-premium {display:none;}
@media (min-width:821px) {
  .home-page .featured-section > .rentals-grid.cui-fp-original {display:none!important;}
  .home-page .featured-section > .cui-home-featured-premium {
    display:grid; width:100%; max-width:1280px; margin:0 auto;
    grid-template-columns:minmax(0,2.06fr) repeat(2,minmax(0,1fr));
    grid-template-rows:repeat(2,minmax(0,1fr)); gap:24px 18px; align-items:stretch;
  }
  .home-page .cui-home-featured-premium .cui-fp-card {
    box-sizing:border-box; display:flex; flex-direction:column; min-width:0;
    overflow:hidden; border:1px solid #e6e5e2; border-radius:8px;
    background:#fff; color:#17191d; text-decoration:none; box-shadow:none;
  }
  .home-page .cui-home-featured-premium .cui-fp-lead {grid-row:span 2;}
  .home-page .cui-fp-photo {display:block; overflow:hidden; background:#eeece8; aspect-ratio:1.8; flex:none;}
  .home-page .cui-fp-photo img {display:block; width:100%; height:100%; object-fit:cover; transition:transform .45s ease;}
  .home-page .cui-fp-lead .cui-fp-photo {aspect-ratio:auto; flex:1 1 0; min-height:360px;}
  .home-page .cui-fp-card:hover .cui-fp-photo img {transform:scale(1.035);}
  .home-page .cui-fp-info {position:relative; padding:12px 13px 14px; flex:1 0 auto;}
  .home-page .cui-fp-lead .cui-fp-info {padding:18px 20px 19px; flex:0 0 auto;}
  .home-page .cui-fp-status {color:#d81025; font:600 10px/1.4 Inter,Arial,sans-serif; letter-spacing:1.7px; text-transform:uppercase;}
  .home-page .cui-fp-title {font:500 25px/1.05 'Cormorant Garamond',Georgia,serif; color:#17191d; margin:5px 26px 3px 0; overflow-wrap:anywhere;}
  .home-page .cui-fp-location {font:400 11px/1.5 Inter,Arial,sans-serif; color:#666; margin:0 0 8px;}
  .home-page .cui-fp-price {font:600 14px/1.35 Inter,Arial,sans-serif; color:#253029; overflow-wrap:anywhere;}
  .home-page .cui-fp-amenities {display:flex; flex-wrap:wrap; align-items:center; gap:5px 16px; margin-top:9px; color:#535953; font:400 12px/1.4 Inter,Arial,sans-serif;}
  .home-page .cui-fp-amenities span {display:inline-flex; align-items:center; gap:5px;}
  .home-page .cui-fp-amenities svg {width:17px; height:17px; flex:none;}
  .home-page .cui-fp-arrow {position:absolute; right:13px; top:32px; font:400 19px/1 Inter,Arial,sans-serif; color:#d81025; transition:transform .3s ease;}
  .home-page .cui-fp-card:hover .cui-fp-arrow {transform:translate(3px,-3px);}
  .home-page .cui-fp-card:focus-visible {outline:2px solid #d81025; outline-offset:3px;}
  .home-page .cui-fp-lead .cui-fp-title {font-size:39px;}
  .home-page .cui-fp-lead .cui-fp-price {font-size:21px;}
  .home-page .cui-fp-lead .cui-fp-location,.home-page .cui-fp-lead .cui-fp-amenities {font-size:13px;}
  .home-page .cui-fp-lead .cui-fp-arrow {right:20px; top:38px;}
  .home-page .cui-fp-lead .cui-fp-amenities {gap:20px;}
  .home-page .cui-fp-lead .cui-fp-amenities svg {width:19px; height:19px;}
  /* Match existing desktop section rhythm (Ley Street and Expertise). */
  .home-page .homepage-content > .grove-home-feature,
  .home-page .homepage-content > .grove-home-feature + .cui-home-local-insight {margin-top:72px!important;}
}
@media (min-width:821px) and (max-width:1050px) {
  .home-page .featured-section > .cui-home-featured-premium {grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:auto;}
  .home-page .cui-home-featured-premium .cui-fp-lead {grid-row:auto; grid-column:span 2;}
  .home-page .cui-fp-lead .cui-fp-photo {aspect-ratio:1.8; flex:none; min-height:0;}
}
@media (prefers-reduced-motion:reduce) {
  .home-page .cui-fp-photo img,.home-page .cui-fp-arrow {transition:none;}
}

/* Match the existing Ley Street and One City banner corners. */
.home-page .homepage-content > .grove-home-feature {
  border-radius:4px;
  overflow:hidden;
}

/* Consistent new homes identification, over the photographs only. */
.home-page .ley-home-feature .ley-home-photo,
.home-page .grove-home-feature .grove-home-media {position:relative;}
.home-page .cui-new-homes-label {
  position:absolute; top:20px; left:20px; z-index:5;
  box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center;
  min-width:125px; padding:11px 15px; border-radius:3px;
  font:600 11px/1.2 Inter,Arial,sans-serif; letter-spacing:1.6px;
  text-transform:uppercase; pointer-events:none;
}
.home-page .ley-home-feature .cui-new-homes-label {background:#29332c;color:#fff;}
.home-page .grove-home-feature .cui-new-homes-label {background:#CD7228;color:#172034;left:auto;right:20px;}
@media(max-width:820px) {
  .home-page .cui-new-homes-label {top:14px;left:14px;min-width:112px;padding:9px 12px;font-size:10px;}
  .home-page .grove-home-feature .cui-new-homes-label {left:auto;right:14px;}
}
