.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-contact-cta{background:#f8fbfa;border:1px solid #d7e4e2}
.flexmate-listing-page .listing-contact-cta .section-heading{margin-bottom:18px}
.flexmate-listing-page .listing-contact-intro{max-width:760px;margin:0 0 28px;color:#52706d;font-size:1rem;line-height:1.65}
.flexmate-listing-page .listing-contact-form{max-width:900px}
.flexmate-listing-page .listing-contact-form .gform_wrapper{margin:0}
.flexmate-listing-page .listing-contact-form .gform_title{margin-bottom:8px}
.flexmate-listing-page .listing-contact-form .gform_description{display:block;margin-bottom:20px;color:#52706d}
.flexmate-listing-page .listing-contact-form input:not([type=submit]),.flexmate-listing-page .listing-contact-form select,.flexmate-listing-page .listing-contact-form textarea{border:1px solid #cbd9d7;border-radius:8px;background:#fff}
.flexmate-listing-page .listing-contact-form input[type=submit],.flexmate-listing-page .listing-contact-form button[type=submit]{border:0;border-radius:8px;padding:12px 22px;background:#527f7b;color:#fff;font-weight:750;cursor:pointer}
.flexmate-listing-page .listing-contact-form input[type=submit]:hover,.flexmate-listing-page .listing-contact-form input[type=submit]:focus,.flexmate-listing-page .listing-contact-form button[type=submit]:hover,.flexmate-listing-page .listing-contact-form button[type=submit]:focus{filter:brightness(.92)}
.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}
}


/* v0.2.19: in-page navigation and listing map */
.flexmate-listing-page .listing-jump-nav{position:sticky;z-index:900;top:70px;display:flex;align-items:center;gap:14px;margin-top:24px;padding:14px 16px;border:1px solid #d7e4e2;border-radius:16px;background:rgb(248 251 250/97%);box-shadow:0 6px 22px rgb(24 48 51/8%);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.flexmate-listing-page .listing-jump-label{flex:0 0 auto;color:#52706d;font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.flexmate-listing-page .listing-jump-links{display:flex;flex-wrap:wrap;gap:8px}
.flexmate-listing-page .listing-jump-links a{display:inline-flex;align-items:center;min-height:36px;padding:7px 13px;border:1px solid #c6d8d5;border-radius:999px;color:#385f5c;background:#fff;font-size:.84rem;font-weight:750;line-height:1;text-decoration:none;transition:background .15s ease,border-color .15s ease,color .15s ease,transform .15s ease}
.flexmate-listing-page .listing-jump-links a:hover,.flexmate-listing-page .listing-jump-links a:focus{border-color:#527f7b;color:#fff;background:#527f7b;outline:0;transform:translateY(-1px)}
.flexmate-listing-page .listing-scroll-target{scroll-margin-top:var(--flexmate-scroll-offset,160px)}
.flexmate-listing-page .listing-map-address{margin:-8px 0 20px;color:#52706d;font-size:.95rem}
.flexmate-listing-page .listing-map{width:100%;height:420px;overflow:hidden;border:1px solid #d7e4e2;border-radius:14px;background:#dee7e8}
.flexmate-listing-page .listing-map .leaflet-control-attribution{font-size:10px}
.flexmate-listing-page .listing-map-actions{display:flex;justify-content:flex-end;margin-top:14px}
.flexmate-listing-page .listing-directions-link{display:inline-flex;align-items:center;min-height:38px;padding:8px 14px;border:1px solid #527f7b;border-radius:999px;color:#527f7b;background:#fff;font-size:.86rem;font-weight:750;line-height:1;text-decoration:none;transition:background .15s ease,color .15s ease,transform .15s ease}
.flexmate-listing-page .listing-directions-link:hover,.flexmate-listing-page .listing-directions-link:focus{color:#fff;background:#527f7b;outline:0;transform:translateY(-1px)}
.flexmate-listing-page .flexmate-map-marker{background:transparent;border:0}
.flexmate-listing-page .flexmate-map-pin{position:relative;display:block;width:34px;height:34px;border:3px solid #fff;border-radius:50% 50% 50% 0;background:#527f7b;box-shadow:0 3px 10px rgb(24 48 51/30%);transform:rotate(-45deg)}
.flexmate-listing-page .flexmate-map-pin::after{position:absolute;top:9px;left:9px;width:10px;height:10px;border-radius:50%;background:#fff;content:""}

@media(max-width:650px){
  .flexmate-listing-page .listing-jump-nav{top:0;align-items:flex-start;flex-direction:column;gap:10px;padding:14px}
  .flexmate-listing-page .listing-jump-links{gap:7px}
  .flexmate-listing-page .listing-jump-links a{min-height:34px;padding:7px 11px;font-size:.8rem}
  .flexmate-listing-page .listing-map{height:340px}
}

/* v0.2.21: phone sticky offset and Google Maps directions link */
