/* ============================================================
   Mumford Property Listings — single listing page
   Namespaced under .mc-single.
   ============================================================ */
.mc-single{
  --slate:#708387;
  --green:#2e8c52;
  --green-dark:#1f6b3c;
  --green-btn:#3f9d6c;
  --ink:#2c3539;
  --ink-2:#5c666b;
  --bg:#f3f3f3;
  --panel:#c9d2d5;
  color:var(--ink);background:#fff;
  -webkit-font-smoothing:antialiased;line-height:1.6;
}
.mc-single *{box-sizing:border-box;}
.mc-single img{display:block;max-width:100%;}
.mc-single a{text-decoration:none;color:inherit;}
.mc-single .wrap{max-width:1180px;margin:0 auto;padding:0 28px;}
.mc-single .ls-h2{font-weight:300;font-size:34px;letter-spacing:.04em;margin:0 0 38px;}
.mc-single .ls-h2 .g{color:var(--green);font-weight:400;}
.mc-single .ls-h2 .k{color:#23282a;font-weight:600;}
.mc-single .ls-section{padding:70px 0;}

/* Hero */
.mc-single .ls-hero{width:100%;background:#dfe3e5;padding-top:132px;} /* 100px navbar + 32px topbar */
.mc-single .ls-hero-img{width:100%;height:clamp(180px,30vw,460px);object-fit:cover;object-position:center;}
.mc-single .ls-hero-empty{background:linear-gradient(135deg,#cfd6d9,#aeb9bd);}

/* Title bar */
.mc-single .ls-titlebar{background:var(--bg);border-bottom:1px solid #e3e6e7;}
.mc-single .ls-titlebar-in{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:26px 28px;flex-wrap:wrap;}
.mc-single .ls-titlebar-l{display:flex;flex-direction:column;align-items:flex-start;}
.mc-single .ls-title{font-weight:400;font-size:26px;color:#23282a;margin:0 0 18px;line-height:1.25;}
.mc-single .ls-actions{display:flex;gap:12px;flex-wrap:wrap;}
.mc-single .ls-btn{display:inline-flex;align-items:center;gap:8px;background:var(--green-btn);color:#fff;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:11px 18px;transition:background .2s;}
.mc-single .ls-btn:hover{background:var(--green-dark);}
.mc-single .ls-btn svg{width:13px;height:13px;fill:#fff;}
.mc-single .ls-titlebar-r{text-align:left;min-width:260px;}
.mc-single .ls-badges{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:12px;}
.mc-single .ls-badges .badge{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#5c666b;}
.mc-single .ls-badges .badge-status{color:var(--green);}
.mc-single .ls-meta{display:flex;align-items:center;gap:8px;font-size:13px;color:#3a3f41;margin-top:6px;}
.mc-single .ls-meta svg{width:16px;height:16px;fill:var(--green);flex-shrink:0;}

/* Two-column image + bullets */
.mc-single .ls-split{display:grid;grid-template-columns:300px 1fr;gap:48px;align-items:start;}
.mc-single .ls-split-img{position:relative;padding:0 0 12px 0;}
.mc-single .ls-frame-img{width:100%;height:auto;border-right:5px solid var(--green);}
.mc-single .ls-bullets{list-style:none;margin:0;padding:0;}
.mc-single .ls-bullets li{position:relative;padding:0 0 14px 20px;font-size:14.5px;line-height:1.55;color:#3a3f41;}
.mc-single .ls-bullets li::before{content:"";position:absolute;left:2px;top:9px;width:5px;height:5px;border-radius:50%;background:#3a3f41;}
.mc-single .ls-bullets.sm li{padding-bottom:11px;font-size:13.5px;}

/* Gallery */
.mc-single .ls-gallery-sec{background:var(--panel);}
.mc-single .ls-gallery-sec .ls-h2{margin-bottom:16px;}

/* Gallery layout */
.mc-single .ls-gallery{display:flex;flex-direction:column;gap:10px;}

/* Main stage */
.mc-single .ls-gallery-stage{position:relative;overflow:hidden;background:#b9c2c5;aspect-ratio:16/9;border-radius:4px;}
.mc-single .ls-slide{position:absolute;inset:0;margin:0;opacity:0;transition:opacity .5s ease;}
.mc-single .ls-slide.active{opacity:1;}
.mc-single .ls-slide img{width:100%;height:100%;object-fit:cover;}

/* Prev/Next overlaid on stage */
.mc-single .ls-gprev,
.mc-single .ls-gnext{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border:none;background:rgba(0,0,0,.45);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s;z-index:2;border-radius:2px;}
.mc-single .ls-gprev{left:10px;}
.mc-single .ls-gnext{right:10px;}
.mc-single .ls-gprev:hover,
.mc-single .ls-gnext:hover{background:var(--green);}
.mc-single .ls-gprev svg,
.mc-single .ls-gnext svg{width:22px;height:22px;fill:#fff;}

/* Counter badge */
.mc-single .ls-gallery-count{position:absolute;bottom:10px;right:12px;background:rgba(0,0,0,.5);color:#fff;font-size:12px;font-weight:600;padding:3px 9px;border-radius:20px;z-index:2;letter-spacing:.04em;}

/* Thumbnails strip */
.mc-single .ls-gallery-thumbs{display:flex;gap:6px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px;}
.mc-single .ls-gallery-thumbs::-webkit-scrollbar{height:4px;}
.mc-single .ls-gallery-thumbs::-webkit-scrollbar-thumb{background:rgba(0,0,0,.18);border-radius:2px;}
.mc-single .ls-thumb{flex:0 0 80px;height:56px;border:2px solid transparent;border-radius:3px;overflow:hidden;cursor:pointer;padding:0;background:#c8d0d3;scroll-snap-align:start;transition:border-color .2s,opacity .2s;}
.mc-single .ls-thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.mc-single .ls-thumb-placeholder{display:block;width:100%;height:100%;background:#c8d0d3;}
.mc-single .ls-thumb:hover{border-color:var(--forest);opacity:.9;}
.mc-single .ls-thumb.active{border-color:var(--green);opacity:1;}

/* Grid thumbnail mode — wraps row by row, fits under large image */
.mc-single .ls-gallery-thumbs--grid{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    overflow:visible;
    padding-bottom:0;
    width:100%;
}
.mc-single .ls-gallery-thumbs--grid .ls-thumb{
    /* JS sets flex-basis so thumbs fill exactly one row width */
    flex:1 1 70px;
    max-width:90px;
    height:56px;
    scroll-snap-align:none;
}

/* Highlights / Building overview */
.mc-single .ls-specs-in{display:grid;grid-template-columns:300px 1fr 1fr;gap:48px;align-items:start;}
.mc-single .ls-h3{font-weight:600;font-size:17px;letter-spacing:.04em;color:var(--green);text-transform:uppercase;margin:0 0 20px;}

/* Three-up content row: Deal Features / Property Highlights / Building Overview */
.mc-single .ls-three-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:56px;align-items:start;}
.mc-single .ls-col-h{display:flex;align-items:flex-end;min-height:38px;font-weight:600;font-size:19px;letter-spacing:.03em;color:var(--green);text-transform:uppercase;margin:0 0 22px;padding-bottom:14px;border-bottom:2px solid #e0e0e0;position:relative;}
.mc-single .ls-col-h::after{content:"";position:absolute;left:0;bottom:-2px;width:64px;height:2px;background:var(--green);}

/* Body content from the main editor */
.mc-single .ls-content-sec{background:#fff;}
.mc-single .ls-content{max-width:1180px;color:var(--ink);font-size:16.5px;line-height:1.75;}
.mc-single .ls-content > :first-child{margin-top:0;}
.mc-single .ls-content > :last-child{margin-bottom:0;}
.mc-single .ls-content p{margin:0 0 20px;}
.mc-single .ls-content h2{font-weight:600;color:var(--green);text-transform:uppercase;letter-spacing:.03em;font-size:24px;margin:38px 0 18px;padding-bottom:12px;border-bottom:2px solid #e0e0e0;position:relative;}
.mc-single .ls-content h2::after{content:"";position:absolute;left:0;bottom:-2px;width:64px;height:2px;background:var(--green);}
.mc-single .ls-content h3{font-weight:700;color:#23282a;font-size:18px;letter-spacing:.02em;margin:28px 0 12px;}
.mc-single .ls-content ul,.mc-single .ls-content ol{margin:0 0 20px;padding-left:20px;}
.mc-single .ls-content li{margin:0 0 9px;line-height:1.6;}
.mc-single .ls-content ul li{list-style:none;position:relative;padding-left:20px;}
.mc-single .ls-content ul li::before{content:"";position:absolute;left:0;top:.62em;width:6px;height:6px;border-radius:50%;background:var(--green);}
.mc-single .ls-content a{color:var(--green);text-decoration:underline;text-underline-offset:2px;}
.mc-single .ls-content img{max-width:100%;height:auto;}
.mc-single .ls-content blockquote{margin:24px 0;padding:6px 0 6px 20px;border-left:3px solid var(--green);color:#41494c;}

/* Contact form */
.mc-single .ls-contact{background:var(--bg);}
.mc-single .ls-contact-sub{font-size:14px;color:#5c666b;margin:0 0 30px;}
.mc-single .ls-contact-content{margin-bottom:28px;}
.mc-single .ls-contact-content p{margin:0 0 14px;line-height:1.7;font-size:15px;}
.mc-single .ls-contact-content p:last-child{margin-bottom:0;}
.mc-single .ls-contact-content ul,.mc-single .ls-contact-content ol{margin:0 0 14px;padding-left:22px;}
.mc-single .ls-contact-content li{margin-bottom:6px;line-height:1.6;}
.mc-single .ls-conf-agreement{
    background:#f7f9fa;
    border-left:4px solid var(--forest);
    border-radius:0 4px 4px 0;
    padding:20px 24px;
    margin-bottom:28px;
}
/* Confidentiality Agreement: forest green */
.mc-single .ls-conf-agreement p{margin:0 0 12px;font-size:14px;line-height:1.7;color:var(--ink);}
.mc-single .ls-conf-agreement p:last-child{margin-bottom:0;}
.mc-single .ls-contact-before{
    background:#f7f9fa;
    border-left:4px solid var(--green);
    border-radius:0 4px 4px 0;
    padding:20px 24px;
    margin-bottom:28px;
}
/* Before Form: deep green accent */
.mc-single .ls-contact-before p{margin:0 0 12px;font-size:14px;line-height:1.7;color:var(--ink);}
.mc-single .ls-contact-before p:last-child{margin-bottom:0;}
.mc-single .ls-contact-after{
    background:#f7f9fa;
    border-left:4px solid var(--slate);
    border-radius:0 4px 4px 0;
    padding:20px 24px;
    margin-top:28px;
}
/* After Form: slate grey accent */
.mc-single .ls-contact-after p{margin:0 0 12px;font-size:14px;line-height:1.7;color:var(--ink);}
.mc-single .ls-contact-after p:last-child{margin-bottom:0;}
.mc-single .ls-notice{padding:14px 18px;margin:0 0 24px;font-size:14px;border-radius:3px;}
.mc-single .ls-notice.ok{background:#e3f3e9;color:#1f6b3c;border:1px solid #b6ddc4;}
.mc-single .ls-notice.err{background:#fdecea;color:#a3372c;border:1px solid #f2c2bd;}
.mc-single .ls-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}
.mc-single .ls-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px 30px;}
.mc-single .ls-field{display:flex;flex-direction:column;gap:7px;}
.mc-single .ls-field.full{grid-column:1 / -1;}
.mc-single .ls-field span{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#3a3f41;}
.mc-single .ls-field i{color:var(--green);font-style:normal;margin-left:2px;}
.mc-single .ls-field input,.mc-single .ls-field select,.mc-single .ls-field textarea{
  width:100%;background:#fff;border:1px solid #d4d9da;padding:13px 14px;font-size:14px;color:#2c3539;border-radius:2px;transition:border-color .2s,box-shadow .2s;}
.mc-single .ls-field input:focus,.mc-single .ls-field select:focus,.mc-single .ls-field textarea:focus{outline:none;border-color:var(--green);box-shadow:0 0 0 3px rgba(46,140,82,.14);}
.mc-single .ls-field textarea{resize:vertical;}
.mc-single .ls-submit{margin-top:26px;background:var(--green);color:#fff;border:none;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:14px 34px;cursor:pointer;transition:background .2s;}
.mc-single .ls-submit:hover{background:var(--green-dark);}

/* Similar properties */
.mc-single .ls-similar{background:var(--bg);}
.mc-single .ls-similar-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;}
.mc-single .ls-scard{background:#fff;border:1px solid #e3e6e7;display:flex;flex-direction:column;transition:box-shadow .25s,transform .25s;}
.mc-single .ls-scard:hover{box-shadow:0 14px 30px rgba(20,30,35,.14);transform:translateY(-4px);}
.mc-single .ls-scard-photo{aspect-ratio:16/10;overflow:hidden;background:#d6dadc;}
.mc-single .ls-scard-photo img{width:100%;height:100%;object-fit:cover;}
.mc-single .ls-noimg{display:flex;align-items:center;justify-content:center;height:100%;color:#9aa6ab;font-size:11px;}
.mc-single .ls-scard-body{padding:18px 20px 22px;}
.mc-single .ls-scard-name{font-size:14px;font-weight:700;letter-spacing:.3px;text-transform:uppercase;color:var(--green);margin:0 0 6px;line-height:1.25;}
.mc-single .ls-scard-loc{font-size:11px;font-weight:700;letter-spacing:.4px;text-transform:uppercase;color:#23282a;margin-bottom:12px;}
.mc-single .ls-scard-addr{display:flex;gap:7px;align-items:flex-start;font-size:12.5px;color:#5c666b;line-height:1.4;margin-bottom:10px;}
.mc-single .ls-scard-addr svg{width:14px;height:15px;fill:var(--green);flex-shrink:0;margin-top:1px;}
.mc-single .ls-scard-rooms{font-size:12.5px;color:#3a3f41;margin-bottom:14px;}
.mc-single .ls-scard-tag{display:inline-block;font-size:10px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;color:#5c666b;border:1px solid #d4d9da;padding:5px 10px;}

/* Responsive */
@media(max-width:1100px){
  .mc-single .ls-section{padding:54px 0;}
  .mc-single .ls-three-grid{grid-template-columns:1fr 1fr;gap:40px;}
  .mc-single .ls-specs-in{grid-template-columns:1fr 1fr;gap:36px;}
  .mc-single .ls-specs-img{grid-column:1 / -1;max-width:420px;}
  .mc-single .ls-similar-grid{grid-template-columns:1fr 1fr;gap:22px;}
}
@media(max-width:880px){
  .mc-single .ls-split,.mc-single .ls-specs-in{grid-template-columns:1fr;gap:28px;}
  .mc-single .ls-three-grid{grid-template-columns:1fr;gap:30px;}
  .mc-single .ls-col-h{min-height:0;}
  .mc-single .ls-specs-img{max-width:none;}
  .mc-single .ls-thumb{flex:0 0 64px;height:46px;}
  .mc-single .ls-form-grid{grid-template-columns:1fr;}
  .mc-single .ls-similar-grid{grid-template-columns:1fr;max-width:440px;margin:0 auto;}
  .mc-single .ls-titlebar-in{flex-direction:column;align-items:flex-start;gap:18px;}
  .mc-single .ls-titlebar-r{min-width:0;}
}
@media(max-width:560px){
  .mc-single .wrap{padding:0 18px;}
  .mc-single .ls-section{padding:40px 0;}
  .mc-single .ls-hero-img{height:180px;}
  .mc-single .ls-h2{font-size:27px;margin-bottom:26px;}
  .mc-single .ls-title{font-size:22px;}
  .mc-single .ls-actions{width:100%;}
  .mc-single .ls-btn{flex:1;justify-content:center;}
  .mc-single .ls-badges{gap:10px 14px;}
  .mc-single .ls-gallery-stage{aspect-ratio:4/3;}
  .mc-single .ls-submit{width:100%;}
}

.mc-single .ls-conf-download{
    display:inline-flex; align-items:center;
    padding:10px 20px;
    background:var(--forest); color:#fff;
    border-radius:4px; font-size:14px; font-weight:600;
    text-decoration:none; letter-spacing:.02em;
    transition:background .2s;
}
.mc-single .ls-conf-download:hover{ background:var(--forest-deep); color:#fff; }
