
/* Shared featured cards: centered text followed by a landscape project photo. */
#mainLayout .gv-detail-sidebars .gv-featured-properties{display:grid;gap:10px}
#mainLayout .gv-detail-sidebars .gv-featured-property{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"content" "image";direction:rtl;gap:6px;padding:0;box-sizing:border-box;border:1px solid #e6eaf0;border-radius:18px;background:#fff;text-decoration:none;color:#0b273b;overflow:hidden;transition:border-color .18s,box-shadow .18s}
#mainLayout .gv-detail-sidebars .gv-featured-property:hover,#mainLayout .gv-detail-sidebars .gv-featured-property:focus-visible{border-color:#db732180;box-shadow:0 6px 18px #071b2d12}
#mainLayout .gv-detail-sidebars .gv-featured-property:focus-visible{outline:2px solid #db7321;outline-offset:3px}
#mainLayout .gv-detail-sidebars .gv-featured-property>img,#mainLayout .gv-detail-sidebars .gv-featured-property__placeholder{grid-area:image;width:100%;height:75px;border-radius:0;object-fit:cover;display:block;background:#edf1f5}
#mainLayout .gv-detail-sidebars .gv-featured-property__placeholder{display:flex;align-items:center;justify-content:center;color:#9aa4b1;font-size:28px}
#mainLayout .gv-detail-sidebars .gv-featured-property__content{grid-area:content;min-width:0;direction:rtl;text-align:center;padding:10px 10px 0}
#mainLayout .gv-detail-sidebars .gv-featured-property h4{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;min-height:0;font-size:14px;font-weight:800;line-height:1.55;margin:0 0 3px;overflow-wrap:anywhere;color:#0b273b}
#mainLayout .gv-detail-sidebars .gv-featured-property__price{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:center;gap:4px 6px}
#mainLayout .gv-detail-sidebars .gv-featured-property__price small{display:inline;font-size:11px;font-weight:600;color:#7c8592;margin:0}
#mainLayout .gv-detail-sidebars .gv-featured-property__price strong{display:inline;font-size:16px;font-weight:800;line-height:1.45;color:#ce6517;overflow-wrap:anywhere}
@media(prefers-reduced-motion:reduce){#mainLayout .gv-detail-sidebars .gv-featured-property{transition:none}}

/* Distribute the existing cards across the shared desktop sidebar height. */
@media(min-width:1201px){body #mainLayout .gv-detail-sidebars .similar-card{display:flex;flex-direction:column;height:var(--gv-sidebar-card-height,auto)}body #mainLayout .gv-detail-sidebars .gv-featured-properties{display:flex;flex-direction:column;justify-content:space-between;flex:1;gap:10px}body #mainLayout .gv-detail-sidebars .gv-featured-property{flex-shrink:0}}
@media(max-width:1600px) and (any-pointer:coarse){body #mainLayout .gv-detail-sidebars .similar-card{display:block;height:auto}body #mainLayout .gv-detail-sidebars .gv-featured-properties{display:grid}}

/* Compact layouts: photo on the left, readable information on the right. */
@media(max-width:1200px),(max-width:1600px) and (any-pointer:coarse){
body #mainLayout .gv-detail-sidebars .gv-featured-properties{display:grid;gap:12px}
body #mainLayout .gv-detail-sidebars .gv-featured-property{display:grid;direction:ltr;grid-template-columns:clamp(104px,30%,180px) minmax(0,1fr);grid-template-areas:"image content";align-items:stretch;gap:0;min-height:112px;border-radius:16px}
body #mainLayout .gv-detail-sidebars .gv-featured-property>img,body #mainLayout .gv-detail-sidebars .gv-featured-property__placeholder{height:100%;min-height:112px;align-self:stretch;object-fit:cover}
body #mainLayout .gv-detail-sidebars .gv-featured-property__content{display:flex;flex-direction:column;justify-content:center;text-align:right;padding:14px 16px;direction:rtl}
body #mainLayout .gv-detail-sidebars .gv-featured-property h4{white-space:normal;overflow:visible;text-overflow:clip;font-size:15px;line-height:1.65;margin:0 0 7px}
body #mainLayout .gv-detail-sidebars .gv-featured-property__price{justify-content:flex-start;gap:3px 6px}
body #mainLayout .gv-detail-sidebars .gv-featured-property__price strong{font-size:16px}
}
@media(max-width:380px){body #mainLayout .gv-detail-sidebars .gv-featured-property__content{padding:12px}body #mainLayout .gv-detail-sidebars .gv-featured-property h4{font-size:14px}body #mainLayout .gv-detail-sidebars .gv-featured-property__price strong{font-size:15px}}

/* Short laptop layout only: four equal cards within the existing sidebar. */
body #mainLayout .gv-detail-sidebars.gv-short-laptop .similar-card{overflow:hidden}
body #mainLayout .gv-detail-sidebars.gv-short-laptop .gv-featured-properties{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(4,minmax(0,1fr));justify-items:stretch;align-items:stretch;gap:8px;min-height:0;width:100%;flex:1}
body #mainLayout .gv-detail-sidebars.gv-short-laptop .gv-featured-property{display:grid;width:100%;min-height:0;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);grid-template-areas:"content" "image";gap:4px;align-items:stretch}
body #mainLayout .gv-detail-sidebars.gv-short-laptop .gv-featured-property__content{padding:6px 10px 0}
body #mainLayout .gv-detail-sidebars.gv-short-laptop .gv-featured-property>img,body #mainLayout .gv-detail-sidebars.gv-short-laptop .gv-featured-property__placeholder{height:100%;min-height:0;width:100%;object-fit:cover}

/* Subtle brand-colored depth, shared by the four featured property cards. */
body #mainLayout .gv-detail-sidebars .gv-featured-property{border-color:rgba(219,115,33,.35);box-shadow:0 4px 10px rgba(7,27,45,.08)}
body #mainLayout .gv-detail-sidebars .gv-featured-property:hover,body #mainLayout .gv-detail-sidebars .gv-featured-property:focus-visible{border-color:rgba(219,115,33,.7);box-shadow:0 5px 12px rgba(7,27,45,.13)}

/* Center the text within the white area of compact horizontal cards. */
@media(max-width:1200px),(max-width:1600px) and (any-pointer:coarse){
body #mainLayout .gv-detail-sidebars .gv-featured-property__content{text-align:center;justify-content:center}
body #mainLayout .gv-detail-sidebars .gv-featured-property__price{justify-content:center}
}
