.flexmate-listing-page .flexmate-listing-shell{width:min(1280px,calc(100% - 32px));margin:auto;padding:56px 0;color:#183033;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none}
.flexmate-listing-page .flexmate-listing-shell *{box-sizing:border-box}
.flexmate-listing-page .flexmate-listing-shell img{max-width:100%}
.flexmate-listing-page .flexmate-listing-shell h1,.flexmate-listing-page .flexmate-listing-shell h2,.flexmate-listing-page .flexmate-listing-shell h3,.flexmate-listing-page .flexmate-listing-shell p{margin-top:0}
.flexmate-listing-page .flexmate-listing-shell h1,.flexmate-listing-page .flexmate-listing-shell h2,.flexmate-listing-page .flexmate-listing-shell h3{font-family:Georgia,"Times New Roman",serif;font-weight:500;line-height:1.08}
.flexmate-listing-page .flexmate-listing-shell h1{margin-bottom:12px;font-size:clamp(2.35rem,5vw,4.5rem)}
.flexmate-listing-page .flexmate-listing-shell h2{margin-bottom:0;font-size:clamp(1.75rem,3vw,2.5rem)}
.flexmate-listing-page .eyebrow{margin:0 0 8px;color:#527f7b;font-size:.78rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
.flexmate-listing-page .listing-nav{display:flex;justify-content:space-between;gap:20px;margin-bottom:18px;color:#52706d;font-size:.88rem}
.flexmate-listing-page .listing-nav a{color:#527f7b;font-weight:750;text-decoration:none}

/* v0.2.4: full-width gallery with listing information stacked below */
.flexmate-listing-page .listing-hero{display:block;overflow:hidden;border-radius:24px;background:#fff;box-shadow:0 15px 45px rgb(24 48 51/9%)}
.flexmate-listing-page .listing-photo{position:relative;display:block;overflow:hidden;background:#dee7e8}
.flexmate-listing-page .listing-fallback-photo,.flexmate-listing-page .listing-photo>.image-placeholder{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.flexmate-listing-page .image-placeholder{display:grid!important;place-items:center;color:#6d7e7c;background:#dee7e8}
.flexmate-listing-page .status-badge{position:absolute;z-index:11;top:16px;left:16px;padding:7px 11px;border-radius:999px;color:#183033;background:rgb(255 255 255/92%);font-size:.74rem;font-weight:850;letter-spacing:.05em;text-transform:uppercase;box-shadow:0 4px 16px rgb(24 48 51/12%)}
.flexmate-listing-page .listing-summary{padding:clamp(30px,4vw,52px)}
.flexmate-listing-page .listing-summary-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:36px;margin-bottom:32px}
.flexmate-listing-page .listing-summary-title{min-width:0}
.flexmate-listing-page .listing-summary h1{max-width:850px;margin-bottom:10px;font-size:clamp(2.4rem,5vw,4.75rem)}
.flexmate-listing-page .listing-location{margin-bottom:0;color:#52706d;font-size:1.08rem}
.flexmate-listing-page .listing-price{flex:0 0 auto;margin:0;color:#527f7b;font-size:clamp(2rem,3.5vw,3.15rem);font-weight:850;white-space:nowrap}
.flexmate-listing-page .key-facts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-top:1px solid #dee7e8;border-left:1px solid #dee7e8}
.flexmate-listing-page .key-facts div{display:flex;min-width:0;flex-direction:column;gap:4px;padding:18px 20px;border-right:1px solid #dee7e8;border-bottom:1px solid #dee7e8}
.flexmate-listing-page .key-facts strong{overflow-wrap:anywhere;font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.15rem,2vw,1.45rem);line-height:1.25}
.flexmate-listing-page .key-facts .community-link{color:inherit;text-decoration:none;text-decoration-thickness:1px;text-underline-offset:4px}
.flexmate-listing-page .key-facts .community-link:hover,.flexmate-listing-page .key-facts .community-link:focus{text-decoration:underline}
.flexmate-listing-page .key-facts span{color:#6d7e7c;font-size:.73rem;letter-spacing:.045em;text-transform:uppercase}

.flexmate-listing-page .listing-section,.flexmate-listing-page .detail-notice{margin-top:24px;padding:clamp(26px,5vw,48px);border-radius:18px;background:#fff;box-shadow:0 8px 30px rgb(24 48 51/6%)}
.flexmate-listing-page .section-heading{margin-bottom:26px;padding-bottom:20px;border-bottom:1px solid #dee7e8}
.flexmate-listing-page .section-heading.compact-heading{margin-bottom:0;padding-bottom:0;border-bottom:0}
.flexmate-listing-page .description{width:100%;max-width:none;margin-bottom:0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.06rem,2vw,1.2rem);line-height:1.8}
.flexmate-listing-page .description p:last-child{margin-bottom:0}
.flexmate-listing-page .detail-grid,.flexmate-listing-page .raw-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 34px}
.flexmate-listing-page .raw-fields{grid-template-columns:repeat(3,minmax(0,1fr))}
.flexmate-listing-page .detail-item{display:grid;grid-template-columns:minmax(120px,.75fr) minmax(0,1fr);gap:16px;padding:12px 0;border-bottom:1px solid #edf1f0}
.flexmate-listing-page .detail-item dt{color:#52706d;font-size:.84rem;font-weight:750}
.flexmate-listing-page .detail-item dd{margin:0;overflow-wrap:anywhere;line-height:1.45}
.flexmate-listing-page .raw-fields .detail-item{display:block}
.flexmate-listing-page .raw-fields .detail-item dt{margin-bottom:5px}
.flexmate-listing-page .detail-notice{border:1px solid #c6d8d5;color:#52706d;background:#f8fbfa}
.flexmate-listing-page .detail-notice strong{color:#183033}
.flexmate-listing-page .detail-notice p{margin:8px 0 0}
.flexmate-listing-page .listing-footer{display:flex;justify-content:space-between;gap:20px;padding:24px 4px 0;color:#6d7e7c;font-size:.76rem;line-height:1.5}
.flexmate-listing-page .listing-footer p{margin-bottom:0}

.flexmate-listing-page .listing-photo .fotorama,.flexmate-listing-page .listing-photo .fotorama__wrap{width:100%!important}
.flexmate-listing-page .listing-photo .fotorama__stage{background:#101819}
.flexmate-listing-page .listing-photo .fotorama__nav-wrap{padding:8px 4px;background:#fff}
.flexmate-listing-page .listing-photo .fotorama__thumb-border{border-color:#527f7b}
.flexmate-listing-page .listing-photo .fotorama__fullscreen-icon{top:14px;right:14px}

@media(max-width:1050px){
  .flexmate-listing-page .key-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:800px){
  .flexmate-listing-page .listing-summary-heading{align-items:flex-start;flex-direction:column;gap:18px}
  .flexmate-listing-page .listing-price{white-space:normal}
  .flexmate-listing-page .raw-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
  .flexmate-listing-page .flexmate-listing-shell{width:min(100% - 20px,1280px);padding:24px 0}
  .flexmate-listing-page .listing-hero{border-radius:18px}
  .flexmate-listing-page .listing-summary{padding:24px}
  .flexmate-listing-page .listing-summary h1{font-size:clamp(2.15rem,11vw,3.2rem)}
  .flexmate-listing-page .listing-price{font-size:clamp(1.8rem,9vw,2.5rem)}
  .flexmate-listing-page .key-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .flexmate-listing-page .listing-footer{flex-direction:column}
  .flexmate-listing-page .detail-grid,.flexmate-listing-page .raw-fields{grid-template-columns:1fr}
  .flexmate-listing-page .detail-item{grid-template-columns:minmax(105px,.75fr) minmax(0,1fr)}
  .flexmate-listing-page .listing-section,.flexmate-listing-page .detail-notice{padding:24px}
  .flexmate-listing-page .listing-photo .fotorama__nav--thumbs .fotorama__nav__frame{padding-left:1px}
}
