/* Community and city pages (v3). Builds on project.css (base + header/footer) and home.css (hero, dark sections). */

/* Hero: shorter than the home hero, stats on the glass */
.pl-hero{min-height:620px}
.pl-hero .pl-hero-in{position:relative;z-index:1;padding:56px 0 64px}
.pl-hero h1{max-width:900px}
.pl-hero .lead{max-width:720px}
.pl-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:46px 0 0;max-width:980px;border-radius:14px;overflow:hidden;background:linear-gradient(140deg,rgba(255,255,255,.18),rgba(255,255,255,.06));-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.28)}
.pl-stats div{padding:20px 24px;border-left:1px solid rgba(255,255,255,.18)}
.pl-stats div:first-child{border-left:0}
.pl-stats dt{font:600 12px/1.2 Poppins,sans-serif;text-transform:uppercase;letter-spacing:.08em;color:#e8d9ad;margin:0 0 6px}
.pl-stats dd{margin:0;font:600 28px/1.15 Poppins,sans-serif;color:#fff}
.pl-stats dd small{font:500 14px Roboto,sans-serif;color:#ddd}

/* Overview: text + map */
.pl-over-in{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:60px;align-items:start}
.pl-over-in>*{position:sticky;top:110px}
.pl-about p{font:400 19px/1.7 Roboto,sans-serif;color:var(--grey);margin:0 0 18px}
.pl-types{font:400 17px/1.6 Roboto,sans-serif;color:#000;margin:18px 0 0}
.pl-types b{font-weight:600}
.pl-map{border-radius:12px;overflow:hidden;border:1px solid var(--line);aspect-ratio:4/3;background:#eee;box-shadow:0 30px 60px -30px rgba(0,0,0,.35)}
.pl-map iframe{display:block;width:100%;height:100%;border:0}
.pl-strip{display:grid;grid-template-columns:2fr 1fr 1fr;grid-auto-rows:220px;gap:12px;margin-top:56px}
.pl-strip img{width:100%;height:100%;object-fit:cover;border-radius:10px}
.pl-strip img:first-child{grid-row:span 2}

/* Resale: empty state */
.pl-resale{background:#fff}
.pl-empty{max-width:720px;margin:0 auto;text-align:center;padding:40px 30px;border:1px dashed #d8ccb0;border-radius:12px;background:#faf8f4}
.pl-empty p{font:400 18px/1.6 Roboto,sans-serif;color:var(--grey);margin:0 0 20px}
.pl-empty div{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

/* Other cities */
.pl-cities{background:var(--chip)}
.pl-citylinks{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.mk .pl-citylinks a{display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:0 24px;border-radius:40px;background:#fff;border:1px solid var(--line);font:500 17px Roboto,sans-serif;color:#000;text-decoration:none;transition:border-color .2s,box-shadow .2s}
.mk .pl-citylinks a:hover{border-color:var(--gold);box-shadow:0 10px 24px -14px rgba(60,45,10,.4)}
.pl-citylinks span{color:var(--gold-d)}

@media (max-width:1100px){.pl-over-in{grid-template-columns:1fr;gap:36px}.pl-over-in>*{position:static}}
@media (max-width:1024px){.pl-hero{min-height:0}.pl-stats{grid-template-columns:1fr 1fr}.pl-stats div:nth-child(3){border-left:0}.pl-stats div:nth-child(n+3){border-top:1px solid rgba(255,255,255,.18)}}
@media (max-width:767px){
 .pl-hero .pl-hero-in{padding:28px 0 44px}
 .pl-stats{margin-top:30px}
 .pl-stats div{padding:14px 16px}
 .pl-stats dd{font-size:21px}
 .pl-about p{font-size:17px}
 .pl-strip{grid-template-columns:1fr 1fr;grid-auto-rows:140px;margin-top:36px}
 .pl-strip img:first-child{grid-column:span 2;grid-row:auto}
 .pl-strip img:nth-child(n+4){display:none}
 .pl-empty{padding:28px 18px}
 .pl-empty .mk-btn{width:100%}
}
/* Phones: no map on city, community and resale pages. It is in the way when scrolling and the
   cards below matter more. */
@media (max-width:767px){.pl-over .pl-map{display:none}}
