/* Metropolis projects: compact directory, detail slider, plan, accessible units */
.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.project-grid .project-compact-card{min-width:0;border-radius:12px;overflow:hidden}
.project-grid .project-compact-card .property-image{height:160px;display:block;position:relative}
.project-grid .project-compact-card .property-image img{width:100%;height:100%;object-fit:cover}
.project-grid .project-compact-card .property-info{padding:12px}
.project-grid .project-compact-card h3{font-size:1rem;line-height:1.35;margin:5px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.project-grid .project-compact-card .property-location{font-size:.78rem;line-height:1.4}
.project-grid .project-compact-card .project-card-promoter{font-size:.78rem}
.project-grid .project-compact-card .property-bottom{margin-top:8px}
.project-detail-page .metro-gallery{margin-bottom:20px}
.metro-gallery-stage{position:relative;aspect-ratio:16/8.2;min-height:235px;border-radius:15px;overflow:hidden;background:#eff2f0}
.metro-gallery-slide{display:block;width:100%;height:100%;object-fit:contain;position:absolute;inset:0;background:#16241f}
.metro-gallery-slide[hidden]{display:none}
.metro-gallery-nav{position:absolute;top:50%;transform:translateY(-50%);height:43px;width:43px;border-radius:50%;border:0;background:rgba(255,255,255,.94);color:#172c23;font-size:30px;cursor:pointer;box-shadow:0 1px 8px #0003}
.metro-gallery-nav.prev{left:12px}.metro-gallery-nav.next{right:12px}
.metro-gallery-count{position:absolute;bottom:12px;right:12px;background:#172c23;color:#fff;padding:5px 11px;border-radius:18px;font-size:.8rem}
.metro-gallery-thumbs{display:flex;gap:8px;overflow-x:auto;padding:10px 1px 4px;scrollbar-width:thin}
.metro-gallery-thumbs button{padding:0;border:2px solid transparent;border-radius:9px;flex:0 0 94px;height:67px;overflow:hidden;background:#eef1ee;cursor:pointer}
.metro-gallery-thumbs button[aria-pressed=true]{border-color:#176549}
.metro-gallery-thumbs img{width:100%;height:100%;object-fit:cover}
.metro-gallery-nav:focus-visible,.metro-gallery-thumbs button:focus-visible{outline:3px solid #126b50;outline-offset:3px}
.metro-plan-block{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:10px 0 24px;padding:15px;background:#f7f9f7;border:1px solid #dbe3de;border-radius:12px}
.metro-plan-block>div{flex:1 1 220px}.metro-plan-block p{margin:4px 0 0}
.metro-plan-block img{width:115px;max-height:100px;object-fit:contain;border:1px solid #dbe3de;border-radius:6px}
.project-detail-page .project-units-section{padding:16px}
.project-detail-page .metropolis-unit-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.project-detail-page .metropolis-unit-card{padding:12px;border-radius:11px;min-width:0}
.project-detail-page .unit-card-head{gap:5px;flex-wrap:wrap}
.project-detail-page .unit-card-head h3{font-size:.98rem}
.project-detail-page .unit-card-measure{padding:6px 0;gap:5px}
.project-detail-page .unit-card-measure strong{font-size:.95rem}
.project-detail-page .unit-card-attributes{font-size:.8rem}
@media(max-width:1250px){.project-detail-page .metropolis-unit-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1050px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-detail-page .metropolis-unit-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.project-grid .project-compact-card .property-image{height:125px}.project-grid .project-compact-card .property-info{padding:9px}.project-detail-page .metropolis-unit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metro-gallery-stage{min-height:220px;aspect-ratio:4/3}}
@media(max-width:420px){.project-grid{grid-template-columns:1fr}.project-grid .project-compact-card .property-image{height:195px}.project-detail-page .metropolis-unit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.project-detail-page .metropolis-unit-card{padding:9px}}

/* v1.1 — More compact frontend project and lot cards; scoped to project pages. */
@media (min-width: 1151px) {
  .project-grid { grid-template-columns:repeat(4,minmax(0,1fr));gap:12px; }
  .project-detail-page .metropolis-unit-grid { grid-template-columns:repeat(6,minmax(0,1fr)); }
}
@media (min-width: 701px) and (max-width: 1150px) {
  .project-grid { grid-template-columns:repeat(3,minmax(0,1fr));gap:11px; }
  .project-detail-page .metropolis-unit-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
.project-grid .project-compact-card .property-image { height:138px; }
.project-grid .project-compact-card .property-info { padding:9px 10px; }
.project-grid .project-compact-card h3 { font-size:.9rem;line-height:1.3;margin:4px 0; }
.project-grid .project-compact-card .property-location,
.project-grid .project-compact-card .project-card-promoter {font-size:.76rem;line-height:1.4;}
.project-grid .project-compact-card .property-bottom {margin-top:7px;}
.project-detail-page .metropolis-unit-card { padding:10px; }
.project-detail-page .unit-card-head h3 { font-size:.9rem; }
.project-detail-page .unit-card-measure { padding:4px 0; }
.project-detail-page .unit-card-measure strong { font-size:.9rem; }
.project-detail-page .unit-card-attributes { font-size:.77rem; }
@media (max-width:700px) {
  .project-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
  .project-grid .project-compact-card .property-image {height:112px;}
  .project-grid .project-compact-card .property-info {padding:8px;}
  .project-grid .project-compact-card h3 {font-size:.86rem;}
  .project-detail-page .metropolis-unit-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  .project-detail-page .metropolis-unit-card {padding:9px;}
}
@media (max-width:359px) {
  .project-grid {grid-template-columns:1fr;}
  .project-grid .project-compact-card .property-image {height:160px;}
}
