/* Melissa Bennett custom IDX portal — adapted from Homes with Kasey product UI */
:root{--mel-ink:#1b1b1e;--mel-cream:#fbf8f3;--mel-paper:#fffdf9;--mel-accent:#ca9d75;--mel-muted:#6f6259;--mel-line:rgba(27,27,30,.12);--ease:cubic-bezier(.23,1,.32,1)}
body.listings2-page,body.ksl-single,body.ksl-listing-page{background:var(--mel-cream);color:var(--mel-ink)}
body.listings2-page #page-container,body.ksl-listing-page #page-container{padding-top:0!important}
body.listings2-page .site-header,body.ksl-listing-page .site-header{z-index:120}
.k2-searchbar input,.k2-filters input,.k2-filters select,.k2-actions select,.k2-save-form input,.ksl-inquiry-form input,.ksl-inquiry-form textarea{font-family:Inter,Arial,sans-serif!important}
.k2-searchbar button,.k2-actions button,.k2-apply,.k2-save-form button[type="submit"],.btn,.ksl-save-heart{font-family:Inter,Arial,sans-serif!important}
.k2-portal{height:100vh;padding-top:0;background:#fbf8f3;color:#1b1b1e;display:grid;grid-template-columns:minmax(420px,50.5vw) minmax(420px,1fr);overflow:hidden}.k2-map{position:relative;height:100vh;background:#d8d1c6}.k2-map:after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset -1px 0 rgba(23,33,38,.12);z-index:2}#k2-map{position:absolute;inset:0;z-index:1}.k2-panel{height:100vh;overflow:auto;padding:126px 26px 42px;background:#fbf8f3}.k2-search{position:sticky;top:0;z-index:30;background:linear-gradient(#fbf8f3 82%,rgba(246,243,236,0));padding-bottom:18px}.k2-searchbar{display:grid;grid-template-columns:1fr 112px;gap:8px;padding:6px;border:1px solid rgba(23,33,38,.12);background:#fff;border-radius:999px;box-shadow:0 16px 44px rgba(23,33,38,.08)}.k2-searchbar input{height:48px;border:0!important;background:transparent!important;color:#1b1b1e!important;padding:0 18px!important;border-radius:999px!important;font-size:15px}.k2-searchbar button,.k2-actions button,.k2-apply{border:0;background:#1b1b1e;color:#fbf8f3;border-radius:999px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;font-size:12px;cursor:pointer}.k2-actions{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:18px 4px 0}.k2-actions p{margin:0;color:#6f6259;font-size:13px}.k2-actions select{height:42px;min-width:140px;border:1px solid rgba(23,33,38,.12);background:#fff;color:#1b1b1e;border-radius:999px;padding:0 14px;font:inherit}.k2-filter-toggle{height:42px;padding:0 18px!important;background:#fff!important;color:#1b1b1e!important;border:1px solid rgba(23,33,38,.16)!important}.k2-list{display:grid;gap:14px}.k2-card{display:grid;grid-template-columns:220px 1fr;min-height:164px;border:1px solid rgba(23,33,38,.10);border-radius:22px;background:#fff;overflow:hidden;color:#1b1b1e;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.k2-card:hover{transform:translateY(-2px);border-color:rgba(189,160,106,.45);box-shadow:0 18px 44px rgba(23,33,38,.10)}.k2-card figure{margin:0;background:#d8d1c6;min-height:164px}.k2-card img{width:100%;height:100%;object-fit:cover;filter:saturate(.94) contrast(1.02)}.k2-card-copy{padding:18px 18px 16px;display:flex;flex-direction:column}.k2-card-copy strong{font-family:Italiana, Georgia, serif;font-size:31px;font-weight:400;letter-spacing:-.055em;line-height:1;color:#1b1b1e}.k2-card-copy h2{margin:10px 0 5px;font-family:Italiana, Georgia, serif;font-weight:400;font-size:28px;line-height:1;letter-spacing:-.045em}.k2-card-copy p{margin:0;color:#6f6259;font-size:14px}.k2-card-copy div{margin-top:auto;display:flex;gap:7px;flex-wrap:wrap}.k2-card-copy span{padding:7px 10px;border:1px solid rgba(23,33,38,.10);border-radius:999px;background:#fbf8f3;font-size:12px;font-weight:750}.k2-filters{position:fixed;top:0;right:0;bottom:0;z-index:90;width:min(420px,92vw);padding:30px;background:#fff;box-shadow:-30px 0 90px rgba(23,33,38,.22);transform:translateX(110%);transition:transform .28s cubic-bezier(.2,.8,.2,1);display:flex;flex-direction:column;gap:18px}.k2-filters.is-open{transform:none}.k2-filters>div:first-child{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.k2-filters strong{font-family:Italiana, Georgia, serif;font-size:40px;font-weight:400;letter-spacing:-.05em}.k2-filter-close{border:1px solid rgba(23,33,38,.14);background:#fbf8f3;border-radius:999px;padding:10px 14px}.k2-filters label{display:grid;gap:7px;color:#6f6259;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.k2-filters input,.k2-filters select{height:46px;border:1px solid rgba(23,33,38,.13);border-radius:999px;background:#fbf8f3;color:#1b1b1e;padding:0 14px;font-size:14px}.k2-filter-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.k2-apply{height:48px;margin-top:8px}.k2-clear{text-align:center;color:#6f6259;font-size:13px}.k2-pin span{display:block;width:22px;height:22px;border:3px solid #fff;border-radius:50%;background:#ca9d75;box-shadow:0 8px 22px rgba(23,33,38,.32)}.k2-empty{padding:50px;border:1px solid rgba(23,33,38,.10);border-radius:24px;background:#fff}.leaflet-popup-content strong{font-family:Georgia,serif;font-size:18px}.leaflet-control-attribution{font-size:10px!important}
@media(max-width:980px){body.listings2-page{overflow:auto!important}.k2-portal{height:auto;min-height:100vh;display:block;overflow:visible}.k2-map{height:44vh;min-height:330px;margin-top:96px}.k2-panel{height:auto;overflow:visible;padding:22px 14px 50px}.k2-search{top:0}.k2-card{grid-template-columns:140px 1fr;min-height:150px}.k2-card figure{min-height:150px}.k2-card-copy{padding:14px}.k2-card-copy strong{font-size:25px}.k2-card-copy h2{font-size:23px}.k2-card-copy span{font-size:11px;padding:6px 8px}}
@media(max-width:560px){.k2-searchbar{grid-template-columns:1fr}.k2-searchbar button{height:44px}.k2-actions{align-items:stretch;display:grid;grid-template-columns:1fr 1fr}.k2-actions p{grid-column:1/-1}.k2-card{grid-template-columns:1fr}.k2-card figure{height:220px}.k2-filter-grid{grid-template-columns:1fr}}

/* Listings2: no marketing preloader on portal route */
body.listings2-page #kasey-preloader{display:none!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important}

/* Listings2 search behavior corrections */
body.listings2-page>nav{transition:transform .28s cubic-bezier(.2,.8,.2,1),opacity .22s ease!important}
body.listings2-page.k2-header-hidden>nav{transform:translateY(-120%)!important;opacity:0!important;pointer-events:none!important}
.k2-search{position:relative!important;top:auto!important;z-index:30!important;background:#fbf8f3!important;padding-bottom:18px!important}
.k2-searchbar{position:relative!important}.k2-autocomplete{position:relative;min-width:0}.k2-autocomplete input{width:100%}.k2-suggestions{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:80;display:none;max-height:320px;overflow:auto;padding:8px;border:1px solid rgba(23,33,38,.12);border-radius:22px;background:#fff;box-shadow:0 24px 70px rgba(23,33,38,.16)}.k2-suggestions.is-open{display:block}.k2-suggestion{width:100%;display:grid;gap:3px;padding:12px 14px;border:0;border-radius:16px;background:transparent;color:#1b1b1e;text-align:left;cursor:pointer}.k2-suggestion:hover,.k2-suggestion.is-active{background:#fbf8f3}.k2-suggestion strong{font-size:14px;line-height:1.2}.k2-suggestion span{font-size:12px;color:#6f6259}.k2-suggestion em{font-style:normal;color:#9c6f47;font-weight:800;letter-spacing:.08em;text-transform:uppercase;font-size:10px}.k2-no-suggestions{padding:14px;color:#6f6259;font-size:13px}
@media(max-width:980px){.k2-search{position:relative!important;top:auto!important}}

/* Listings2 map popup with image */
.k2-map-popup{display:block;width:220px;color:#1b1b1e!important;text-decoration:none!important}.k2-map-popup img{width:100%;height:124px;object-fit:cover;border-radius:12px;margin-bottom:10px;background:#d8d1c6}.k2-map-popup span{display:block;font-family:Italiana, Georgia, serif;font-size:25px;line-height:1;letter-spacing:-.055em;color:#1b1b1e}.k2-map-popup strong{display:block;margin-top:5px;font-size:14px;line-height:1.15;color:#1b1b1e}.k2-map-popup em{display:block;margin-top:4px;font-style:normal;font-size:12px;color:#6f6259}.leaflet-popup-content{margin:12px!important}.leaflet-popup-content-wrapper{border-radius:18px!important}.k2-card.is-map-active{border-color:#ca9d75!important;box-shadow:0 0 0 3px rgba(189,160,106,.22),0 18px 44px rgba(23,33,38,.13)!important}

/* Listings2 true map search */
.k2-card[hidden]{display:none!important}.k2-actions p{font-weight:750;color:#1b1b1e!important}

/* Listings2 refinement pass: filters/search/autocomplete/cards */
.k2-actions{grid-template-columns:1fr auto auto!important;display:grid!important;align-items:center!important}.k2-actions p{display:none!important}.k2-searchbar{grid-template-columns:minmax(0,1fr) 112px!important}.k2-suggestions{padding:10px!important;border-radius:24px!important;box-shadow:0 28px 80px rgba(23,33,38,.20)!important}.k2-suggestion{grid-template-columns:74px 1fr!important;grid-template-areas:"type main" "type sub"!important;column-gap:14px!important;align-items:center!important;padding:13px 14px!important;border-bottom:1px solid rgba(23,33,38,.07)!important;border-radius:14px!important}.k2-suggestion:last-child{border-bottom:0!important}.k2-sugg-type{grid-area:type!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;height:26px!important;border-radius:999px!important;background:#fbf8f3!important;color:#9c6f47!important;font-size:9px!important;font-weight:900!important;letter-spacing:.08em!important;text-transform:uppercase!important}.k2-sugg-main{grid-area:main!important;color:#1b1b1e!important;font-size:15px!important;font-weight:800!important;line-height:1.15!important}.k2-sugg-sub{grid-area:sub!important;color:#6f6259!important;font-size:12px!important;line-height:1.2!important}.k2-suggestion:hover .k2-sugg-type,.k2-suggestion.is-active .k2-sugg-type{background:#1b1b1e!important;color:#fbf8f3!important}.k2-filters{z-index:140!important}.k2-card-copy{gap:0!important}.k2-card-copy strong{margin-bottom:8px!important}.k2-card-copy h2{margin:0 0 4px!important}.k2-card-copy p{margin:0 0 14px!important;line-height:1.25!important}.k2-card-copy div{margin-top:auto!important}
@media(max-width:560px){.k2-actions{grid-template-columns:1fr 1fr!important}.k2-searchbar{grid-template-columns:1fr!important}.k2-suggestion{grid-template-columns:68px 1fr!important}}

/* Listings2 layout correction: equal cards + polished control row */
.k2-search{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important;align-items:start!important}.k2-searchbar{display:grid!important;grid-template-columns:minmax(0,1fr) 104px!important;gap:8px!important;height:56px!important;padding:4px!important;border-radius:18px!important}.k2-searchbar input{height:48px!important}.k2-searchbar button{height:48px!important;border-radius:14px!important}.k2-actions{display:grid!important;grid-template-columns:132px 104px!important;gap:10px!important;padding:0!important;align-items:start!important}.k2-actions select,.k2-filter-toggle{width:100%!important;height:56px!important;min-width:0!important;border-radius:18px!important;margin:0!important;text-align:center!important}.k2-actions select{padding:0 12px!important;background:#fff!important}.k2-filter-toggle{padding:0 14px!important;background:#1b1b1e!important;color:#fbf8f3!important;border-color:#1b1b1e!important}.k2-list{margin-top:18px!important}.k2-card{grid-template-columns:168px minmax(0,1fr)!important;min-height:136px!important;max-height:136px!important;border-radius:18px!important}.k2-card figure{height:136px!important;min-height:136px!important;max-height:136px!important;overflow:hidden!important}.k2-card figure img{height:136px!important;min-height:136px!important;max-height:136px!important;width:100%!important;object-fit:cover!important}.k2-card-copy{min-height:136px!important;height:136px!important;padding:14px 16px!important;overflow:hidden!important}.k2-card-copy strong{font-size:25px!important;margin-bottom:6px!important;line-height:.95!important}.k2-card-copy h2{font-size:22px!important;line-height:1!important;margin:0 0 3px!important;display:-webkit-box!important;-webkit-line-clamp:1!important;-webkit-box-orient:vertical!important;overflow:hidden!important}.k2-card-copy p{font-size:13px!important;margin:0 0 10px!important;line-height:1.2!important}.k2-card-copy div{margin-top:auto!important;gap:6px!important;display:flex!important;flex-wrap:nowrap!important;overflow:hidden!important}.k2-card-copy span{font-size:11px!important;padding:6px 8px!important;white-space:nowrap!important}.k2-card:first-child{min-height:136px!important;max-height:136px!important}.k2-card:first-child figure,.k2-card:first-child img,.k2-card:first-child .k2-card-copy{height:136px!important;min-height:136px!important;max-height:136px!important}
@media(max-width:720px){.k2-search{grid-template-columns:1fr!important}.k2-actions{grid-template-columns:1fr 1fr!important}.k2-searchbar{grid-template-columns:1fr!important;height:auto!important;border-radius:20px!important}.k2-searchbar button{height:46px!important}.k2-card{grid-template-columns:132px minmax(0,1fr)!important;min-height:128px!important;max-height:128px!important}.k2-card figure,.k2-card figure img,.k2-card-copy,.k2-card:first-child figure,.k2-card:first-child img,.k2-card:first-child .k2-card-copy{height:128px!important;min-height:128px!important;max-height:128px!important}.k2-card-copy{padding:12px!important}.k2-card-copy strong{font-size:22px!important}.k2-card-copy h2{font-size:19px!important}.k2-card-copy span{font-size:10px!important;padding:5px 7px!important}}

/* Listings2 favorite + status badges */
.k2-card figure{position:relative!important}.k2-fav{position:absolute!important;top:10px!important;right:10px!important;z-index:4!important;width:34px!important;height:34px!important;display:grid!important;place-items:center!important;border:1px solid rgba(255,255,255,.65)!important;border-radius:999px!important;background:rgba(255,255,255,.88)!important;color:#1b1b1e!important;backdrop-filter:blur(10px)!important;font-size:20px!important;line-height:1!important;cursor:pointer!important;box-shadow:0 10px 24px rgba(23,33,38,.18)!important;transition:transform .18s ease,background .18s ease,color .18s ease!important}.k2-fav:hover{transform:scale(1.06)!important}.k2-fav.is-saved{background:#ca9d75!important;color:#1b1b1e!important;border-color:#ca9d75!important}.k2-status{position:absolute!important;left:10px!important;top:10px!important;z-index:3!important;display:inline-flex!important;align-items:center!important;min-height:28px!important;padding:0 10px!important;border-radius:999px!important;background:rgba(23,33,38,.86)!important;color:#fbf8f3!important;font-size:10px!important;font-weight:900!important;letter-spacing:.1em!important;text-transform:uppercase!important;backdrop-filter:blur(10px)!important}.k2-status+.k2-fav{right:10px!important}

/* Listings2 production hardening */
.k2-card{cursor:pointer!important;min-width:0!important}.k2-card-copy,.k2-card-copy *{min-width:0!important}.k2-card-copy h2,.k2-card-copy p{overflow:hidden!important;text-overflow:ellipsis!important}.k2-card:focus-visible,.k2-fav:focus-visible,.k2-suggestion:focus-visible,.k2-filter-toggle:focus-visible,.k2-searchbar button:focus-visible,.k2-actions select:focus-visible{outline:3px solid rgba(189,160,106,.55)!important;outline-offset:3px!important}.k2-map-empty{display:none;padding:26px;border:1px solid rgba(23,33,38,.10);border-radius:18px;background:#fff;color:#6f6259}.k2-map-empty.is-visible{display:block}.k2-map-empty h2{margin:0 0 6px;font-family:Italiana, Georgia, serif;font-weight:400;color:#1b1b1e}.k2-map-empty p{margin:0}.k2-map.is-unavailable:before,.k2-map #k2-map.has-tile-error:before{content:'Map temporarily unavailable';position:absolute;z-index:5;left:20px;bottom:20px;padding:12px 16px;border-radius:999px;background:#fff;color:#1b1b1e;box-shadow:0 14px 40px rgba(23,33,38,.18)}
@media(prefers-reduced-motion:reduce){.k2-card,.k2-fav,.k2-filters,body.listings2-page>nav{transition:none!important;scroll-behavior:auto!important}}
body.k2-modal-open{overflow:hidden!important}.k2-save-modal{position:fixed;inset:0;z-index:140;display:none;align-items:center;justify-content:center;padding:22px}.k2-save-modal.is-open{display:flex}.k2-save-backdrop{position:absolute;inset:0;background:rgba(17,26,30,.54);backdrop-filter:blur(12px)}.k2-save-dialog{position:relative;width:min(520px,100%);max-height:min(760px,92vh);overflow:auto;border-radius:30px;background:#fff;color:#1b1b1e;padding:32px;box-shadow:0 34px 110px rgba(17,26,30,.32);border:1px solid rgba(23,33,38,.10)}.k2-save-close{position:absolute;top:16px;right:16px;width:38px;height:38px;border:1px solid rgba(23,33,38,.12);border-radius:999px;background:#fbf8f3;color:#1b1b1e;font-size:24px;line-height:1;cursor:pointer}.k2-save-dialog h2{font-family:Italiana, Georgia, serif;font-weight:400;letter-spacing:-.04em;line-height:.98;font-size:clamp(34px,4vw,48px);margin:8px 44px 12px 0}.k2-save-intro{color:#6f6259;line-height:1.55;margin:0 0 18px}.k2-save-listing{padding:15px 16px;margin:0 0 18px;border:1px solid rgba(23,33,38,.10);border-radius:18px;background:#f8f5ee}.k2-save-listing strong{display:block;font-size:18px;line-height:1.15}.k2-save-listing span{display:block;margin-top:5px;color:#6f6259;font-size:13px}.k2-save-form{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;max-width:none!important}.k2-save-form label{display:grid!important;gap:7px!important;color:#1b1b1e!important;font-size:11px!important;letter-spacing:.14em!important;text-transform:uppercase!important}.k2-save-form label small{color:#6f6259;text-transform:none;letter-spacing:0;font-size:11px}.k2-save-form input{width:100%!important;border:1px solid rgba(23,33,38,.12)!important;background:#fff!important;color:#1b1b1e!important;border-radius:16px!important;padding:15px!important;font:inherit!important}.k2-consent{display:flex!important;grid-template-columns:none!important;align-items:flex-start!important;gap:10px!important;margin-top:2px;color:#6f6259!important;text-transform:none!important;letter-spacing:0!important;font-size:13px!important;line-height:1.35!important}.k2-consent input{width:18px!important;height:18px!important;margin:0!important;flex:0 0 auto}.k2-save-form button[type="submit"]{border:0;border-radius:999px;background:#1b1b1e;color:#fbf8f3;padding:16px 20px;text-transform:uppercase;letter-spacing:.14em;font-size:12px;font-weight:800;cursor:pointer}.k2-save-form button[disabled]{opacity:.62;cursor:wait}.k2-save-message{min-height:20px;margin:0;color:#6f6259;font-size:13px;line-height:1.4}.k2-fav.is-saved{background:#ca9d75!important;color:#1b1b1e!important;border-color:#ca9d75!important}
@media(max-width:720px){.k2-save-modal{align-items:flex-end;padding:0}.k2-save-dialog{width:100%;max-height:88vh;border-radius:28px 28px 0 0;padding:28px 20px 22px}.k2-save-dialog h2{font-size:36px}}
.ksl-single{background:var(--ivory);color:var(--ink)}
.ksl-page{background:linear-gradient(180deg,#fbf8f3 0%,#fffdf9 42%,#fbf8f3 100%);overflow:hidden}.ksl-page:before{content:'';position:fixed;inset:0;pointer-events:none;z-index:0;background:radial-gradient(circle at 18% 8%,rgba(181,152,90,.16),transparent 30%),radial-gradient(circle at 88% 28%,rgba(23,33,38,.08),transparent 28%);opacity:.9}.ksl-page>*{position:relative;z-index:1}.ksl-hero{min-height:100dvh;padding:150px 7vw 88px;display:grid;grid-template-columns:minmax(0,.92fr) minmax(420px,1.08fr);gap:54px;align-items:end}.ksl-back{display:inline-flex;margin-bottom:34px;color:rgba(23,33,38,.68);font-size:12px;font-weight:850;letter-spacing:.14em;text-transform:uppercase;text-decoration:none}.ksl-back:hover{color:var(--gold)}.ksl-hero h1{max-width:760px;margin:0;font-family:Italiana, Georgia, serif;font-size:clamp(58px,7.4vw,126px);line-height:.86;font-weight:400;letter-spacing:-.055em;text-wrap:balance}.ksl-location{margin:22px 0 0;max-width:52ch;color:rgba(23,33,38,.68);font-size:clamp(17px,1.3vw,22px);line-height:1.45}.ksl-price-row{display:flex;align-items:flex-end;gap:18px;flex-wrap:wrap;margin:34px 0}.ksl-price-row strong{font-family:Italiana, Georgia, serif;font-size:clamp(38px,4vw,72px);font-weight:400;line-height:.95;color:var(--ink)}.ksl-price-row span{padding:10px 14px;border:1px solid rgba(181,152,90,.34);border-radius:999px;color:#9c6f47;font-size:11px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.ksl-actions{display:flex;gap:12px;flex-wrap:wrap}.ksl-hero-media{position:relative;border-radius:34px;overflow:hidden;min-height:680px;box-shadow:0 42px 100px rgba(23,33,38,.22)}.ksl-hero-media:after{content:'';position:absolute;inset:0;border:1px solid rgba(255,255,255,.42);border-radius:34px;pointer-events:none}.ksl-hero-media img{width:100%;height:100%;min-height:680px;object-fit:cover;display:block;transform:scale(1.01)}.ksl-gallery{padding:0 7vw 100px;display:grid;grid-template-columns:1.25fr .82fr .82fr;grid-auto-rows:260px;gap:16px}.ksl-gallery figure{margin:0;border-radius:24px;overflow:hidden;background:#ddd;box-shadow:0 20px 50px rgba(23,33,38,.10)}.ksl-gallery figure:first-child{grid-row:span 2}.ksl-gallery img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s var(--ease)}@media(hover:hover){.ksl-gallery figure:hover img{transform:scale(1.035)}}.ksl-overview{padding:20px 7vw 110px;display:grid;grid-template-columns:360px minmax(0,1fr);gap:72px;align-items:start}.ksl-stats{position:sticky;top:110px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.ksl-stats div{min-height:118px;padding:22px;border:1px solid rgba(23,33,38,.09);border-radius:22px;background:rgba(255,255,255,.62);box-shadow:0 18px 50px rgba(23,33,38,.06);backdrop-filter:blur(14px)}.ksl-stats span{display:block;margin-bottom:14px;color:#9c6f47;font-size:10px;font-weight:850;letter-spacing:.14em;text-transform:uppercase}.ksl-stats strong{font-family:Italiana, Georgia, serif;font-size:clamp(28px,2.6vw,46px);font-weight:400;line-height:1;color:var(--ink)}.ksl-story{max-width:900px}.ksl-story h2,.ksl-details h2,.ksl-contact h2{margin:0;font-family:Italiana, Georgia, serif;font-weight:400;font-size:clamp(42px,5vw,88px);line-height:.92;letter-spacing:-.045em;text-wrap:balance}.ksl-story p:not(.eyebrow),.ksl-contact p{margin-top:28px;color:rgba(23,33,38,.74);font-size:clamp(17px,1.45vw,21px);line-height:1.74;max-width:72ch}.ksl-details{margin:0 7vw 110px;padding:56px;border-radius:34px;background:#1b1b1e;color:var(--ivory);display:grid;grid-template-columns:330px 1fr;gap:54px;box-shadow:0 35px 90px rgba(23,33,38,.24)}.ksl-details h2{color:var(--ivory);font-size:clamp(38px,4.2vw,72px)}.ksl-details dl{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px}.ksl-details dl div{padding:20px 0;border-bottom:1px solid rgba(250,247,239,.14)}.ksl-details dt{color:#ca9d75;font-size:10px;font-weight:850;letter-spacing:.14em;text-transform:uppercase}.ksl-details dd{margin:8px 0 0;color:rgba(250,247,239,.88);font-size:16px;line-height:1.5}.ksl-contact{margin:0 7vw 100px;padding:72px;border-radius:38px;background:linear-gradient(135deg,rgba(255,255,255,.8),rgba(241,230,207,.72));display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:48px;align-items:center;box-shadow:0 28px 80px rgba(23,33,38,.10)}.ksl-contact-card{padding:34px;border-radius:28px;background:#fff;box-shadow:0 24px 70px rgba(23,33,38,.12);display:grid;gap:12px}.ksl-contact-card strong{font-family:Italiana, Georgia, serif;font-size:34px;font-weight:400}.ksl-contact-card span{color:#9c6f47;font-size:12px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.ksl-contact-card a:not(.btn){color:var(--ink);text-decoration:none;font-weight:650}.ksl-contact-card .btn{margin-top:12px;justify-content:center}.ksl-compliance{margin:0 7vw 70px;padding:24px 0;border-top:1px solid rgba(23,33,38,.12);display:flex;gap:24px;justify-content:space-between;align-items:flex-start;color:rgba(23,33,38,.58);font-size:12px;line-height:1.55}.ksl-compliance p{max-width:900px;margin:0}.ksl-compliance a{color:#9c6f47;font-weight:800;text-decoration:none;white-space:nowrap}
@media(max-width:980px){.ksl-hero{grid-template-columns:1fr;min-height:0;padding:128px 24px 64px;gap:32px}.ksl-hero-media,.ksl-hero-media img{min-height:460px}.ksl-gallery{padding:0 24px 72px;grid-template-columns:1fr 1fr;grid-auto-rows:190px}.ksl-gallery figure:first-child{grid-column:span 2}.ksl-overview{padding:0 24px 80px;grid-template-columns:1fr;gap:38px}.ksl-stats{position:static;grid-template-columns:1fr 1fr}.ksl-details{margin:0 24px 72px;padding:36px 26px;grid-template-columns:1fr}.ksl-details dl{grid-template-columns:1fr}.ksl-contact{margin:0 24px 72px;padding:38px 26px;grid-template-columns:1fr}.ksl-compliance{margin:0 24px 50px;display:block}.ksl-compliance a{display:inline-block;margin-top:14px}}
@media(max-width:560px){.ksl-hero h1{font-size:52px}.ksl-hero-media,.ksl-hero-media img{min-height:360px;border-radius:24px}.ksl-actions .btn{width:100%;justify-content:center}.ksl-gallery{grid-template-columns:1fr;grid-auto-rows:220px}.ksl-gallery figure:first-child{grid-column:auto;grid-row:auto}.ksl-stats{grid-template-columns:1fr}.ksl-stats div{min-height:96px}.ksl-details,.ksl-contact{border-radius:26px}.ksl-price-row strong{font-size:42px}}

/* Single listing auto carousel + lightbox */
.ksl-carousel{padding:0 0 104px;overflow:hidden}.ksl-carousel-head{padding:0 7vw 26px;display:flex;justify-content:space-between;gap:24px;align-items:end}.ksl-carousel-head h2{margin:0;font-family:Italiana, Georgia, serif;font-size:clamp(42px,4.8vw,86px);font-weight:400;line-height:.9;letter-spacing:-.045em}.ksl-carousel-head>p{margin:0 0 10px;color:rgba(23,33,38,.58);font-size:13px;font-weight:750;letter-spacing:.08em;text-transform:uppercase}.ksl-carousel-viewport{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;cursor:grab}.ksl-carousel-viewport::-webkit-scrollbar{display:none}.ksl-carousel-viewport:focus-visible{outline:3px solid rgba(181,152,90,.45);outline-offset:-6px}.ksl-carousel-track{display:flex;gap:18px;width:max-content;padding:0 7vw}.ksl-carousel-slide{appearance:none;border:0;margin:0;padding:0;width:clamp(300px,38vw,620px);height:clamp(260px,34vw,500px);border-radius:30px;overflow:hidden;background:#ddd;box-shadow:0 28px 70px rgba(23,33,38,.14);cursor:zoom-in;position:relative;transform:translateZ(0)}.ksl-carousel-slide:after{content:'View';position:absolute;right:18px;bottom:18px;padding:10px 14px;border-radius:999px;background:rgba(250,247,239,.92);color:#1b1b1e;font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;opacity:0;transform:translateY(8px);transition:opacity .24s var(--ease),transform .24s var(--ease)}.ksl-carousel-slide img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .65s var(--ease),filter .35s var(--ease)}@media(hover:hover){.ksl-carousel-slide:hover img{transform:scale(1.045);filter:saturate(1.04)}.ksl-carousel-slide:hover:after{opacity:1;transform:translateY(0)}}.ksl-carousel-slide:focus-visible{outline:3px solid rgba(181,152,90,.7);outline-offset:4px}.ksl-lightbox{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:34px;background:rgba(8,13,16,.88);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);opacity:0;pointer-events:none;transition:opacity .26s var(--ease)}.ksl-lightbox[aria-hidden="false"]{opacity:1;pointer-events:auto}.ksl-lightbox img{max-width:min(1180px,92vw);max-height:82vh;border-radius:24px;box-shadow:0 34px 100px rgba(0,0,0,.48);transform:scale(.985);transition:transform .28s var(--ease)}.ksl-lightbox[aria-hidden="false"] img{transform:scale(1)}.ksl-lightbox-close{position:absolute;top:24px;right:24px;width:48px;height:48px;border:1px solid rgba(250,247,239,.22);border-radius:999px;background:rgba(250,247,239,.12);color:#fff;font-size:34px;line-height:1;cursor:pointer}.ksl-lightbox p{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);margin:0;color:rgba(250,247,239,.72);font-size:12px;letter-spacing:.08em;text-transform:uppercase;text-align:center}.ksl-lightbox-open{overflow:hidden}@media(max-width:980px){.ksl-carousel{padding-bottom:78px}.ksl-carousel-head{padding:0 24px 22px;display:block}.ksl-carousel-head>p{margin-top:12px}.ksl-carousel-track{gap:14px;padding:0 24px}.ksl-carousel-slide{width:min(82vw,430px);height:330px;border-radius:24px}}@media(max-width:560px){.ksl-carousel-slide{width:82vw;height:280px}.ksl-lightbox{padding:18px}.ksl-lightbox img{max-width:94vw;max-height:76vh;border-radius:18px}.ksl-lightbox-close{top:16px;right:16px}}
@media(prefers-reduced-motion:reduce){.ksl-carousel-slide img,.ksl-carousel-slide:after,.ksl-lightbox,.ksl-lightbox img{transition:none!important}}

/* Single listing refinement: stat row, stronger back link, inquiry modal */
.ksl-back{padding:12px 16px!important;border:1px solid rgba(23,33,38,.16)!important;border-radius:999px!important;background:rgba(255,255,255,.72)!important;box-shadow:0 12px 34px rgba(23,33,38,.08)!important;color:#1b1b1e!important}.ksl-back:before{content:'←';margin-right:10px;color:#9a8150}.ksl-save-heart{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid rgba(181,152,90,.34);border-radius:999px;background:rgba(255,255,255,.72);color:#1b1b1e;padding:15px 22px;font-size:12px;font-weight:850;letter-spacing:.12em;text-transform:uppercase;cursor:pointer;transition:transform .2s var(--ease),background .2s var(--ease),border-color .2s var(--ease)}.ksl-save-heart span{font-size:17px;color:#9a8150}.ksl-save-heart:hover,.ksl-save-heart.is-saved{transform:translateY(-2px);background:#1b1b1e;color:#fbf8f3;border-color:#1b1b1e}.ksl-save-heart:hover span,.ksl-save-heart.is-saved span{color:#ca9d75}.ksl-stats-row{margin:-34px 7vw 104px;padding:18px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;border:1px solid rgba(23,33,38,.08);border-radius:28px;background:rgba(255,255,255,.72);box-shadow:0 24px 70px rgba(23,33,38,.10);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}.ksl-stats-row div{min-height:116px;padding:20px 18px;border-radius:20px;background:linear-gradient(180deg,rgba(250,247,239,.9),rgba(255,255,255,.82));display:flex;flex-direction:column;justify-content:space-between}.ksl-stats-row span{color:#9c6f47;font-size:10px;font-weight:850;letter-spacing:.14em;text-transform:uppercase}.ksl-stats-row strong{font-family:Italiana, Georgia, serif;font-size:clamp(24px,2.1vw,40px);font-weight:400;line-height:1;color:#1b1b1e}.ksl-overview{grid-template-columns:1fr!important;padding-top:0!important}.ksl-story{max-width:980px;margin:0 auto}.ksl-agent-photo{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:22px;margin-bottom:10px;filter:saturate(.96);object-position:center top}.ksl-contact-card button.btn{border:0;cursor:pointer}.ksl-inquiry-modal{position:fixed;inset:0;z-index:1100;display:grid;place-items:center;padding:24px;opacity:0;pointer-events:none;transition:opacity .24s var(--ease)}.ksl-inquiry-modal[aria-hidden="false"]{opacity:1;pointer-events:auto}.ksl-inquiry-backdrop{position:absolute;inset:0;background:rgba(8,13,16,.72);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.ksl-inquiry-dialog{position:relative;width:min(720px,100%);max-height:min(820px,92vh);overflow:auto;padding:38px;border-radius:30px;background:#fbf8f3;box-shadow:0 40px 120px rgba(0,0,0,.36);color:#1b1b1e}.ksl-inquiry-close{position:absolute;top:18px;right:18px;width:42px;height:42px;border:1px solid rgba(23,33,38,.12);border-radius:999px;background:#fff;color:#1b1b1e;font-size:28px;line-height:1;cursor:pointer}.ksl-inquiry-dialog h2{margin:0;font-family:Italiana, Georgia, serif;font-size:clamp(38px,4.2vw,64px);line-height:.95;font-weight:400;letter-spacing:-.04em}.ksl-inquiry-intro{color:rgba(23,33,38,.68);line-height:1.55}.ksl-inquiry-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}.ksl-inquiry-form label{display:grid;gap:7px;color:#6f6259;font-size:12px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.ksl-inquiry-form .full{grid-column:1/-1}.ksl-inquiry-form input,.ksl-inquiry-form textarea{width:100%;border:1px solid rgba(23,33,38,.12);border-radius:16px;background:#fff;color:#1b1b1e;padding:14px 15px;font:inherit;font-size:15px;line-height:1.35;outline:none;text-transform:none;letter-spacing:0}.ksl-inquiry-form input:focus,.ksl-inquiry-form textarea:focus{border-color:#ca9d75;box-shadow:0 0 0 4px rgba(181,152,90,.16)}.ksl-consent{display:flex!important;grid-template-columns:auto 1fr!important;align-items:flex-start;text-transform:none!important;letter-spacing:0!important;font-size:13px!important;font-weight:600!important;color:#1b1b1e!important}.ksl-consent input{width:auto!important;margin-top:3px}.ksl-inquiry-form button{border:0;cursor:pointer}.ksl-inquiry-message{grid-column:1/-1;margin:0;color:#6f6259;font-size:14px}.ksl-modal-open{overflow:hidden}@media(max-width:980px){.ksl-stats-row{margin:-28px 24px 78px;grid-template-columns:repeat(3,1fr)}.ksl-inquiry-dialog{padding:32px 24px}}@media(max-width:560px){.ksl-stats-row{grid-template-columns:repeat(2,1fr);padding:10px;border-radius:22px}.ksl-stats-row div{min-height:94px;padding:16px 14px}.ksl-inquiry-form{grid-template-columns:1fr}.ksl-inquiry-dialog{border-radius:24px}.ksl-save-heart{width:100%}}

/* Single listing lightbox navigation + balanced hero CTA spacing */
.ksl-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important;max-width:760px!important}.ksl-actions .btn,.ksl-actions .ksl-save-heart{width:100%!important;min-height:56px!important;padding:15px 18px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;line-height:1.1!important;box-sizing:border-box!important}.ksl-lightbox-nav{position:absolute;top:50%;z-index:2;transform:translateY(-50%);width:58px;height:58px;border:1px solid rgba(250,247,239,.28);border-radius:999px;background:rgba(250,247,239,.14);color:#fff;font-size:48px;line-height:.8;cursor:pointer;display:grid;place-items:center;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);transition:transform .2s var(--ease),background .2s var(--ease),border-color .2s var(--ease)}.ksl-lightbox-prev{left:28px}.ksl-lightbox-next{right:28px}.ksl-lightbox-nav:hover,.ksl-lightbox-nav:focus-visible{background:rgba(250,247,239,.26);border-color:rgba(250,247,239,.46);transform:translateY(-50%) scale(1.04);outline:none}.ksl-lightbox p{width:min(620px,80vw)}@media(max-width:760px){.ksl-actions{grid-template-columns:1fr!important;max-width:none!important}.ksl-lightbox-nav{width:48px;height:48px;font-size:38px}.ksl-lightbox-prev{left:12px}.ksl-lightbox-next{right:12px}.ksl-lightbox img{max-width:82vw!important}.ksl-lightbox p{bottom:18px;width:78vw}}

/* Equalize single listing hero CTA buttons */
.ksl-actions{width:min(760px,100%)!important}.ksl-actions .btn,.ksl-actions .ksl-save-heart{min-width:0!important;width:100%!important;height:56px!important;min-height:56px!important;align-self:stretch!important;justify-self:stretch!important;margin:0!important;padding:0 16px!important;box-sizing:border-box!important;white-space:normal!important}

/* Single listing: match /listings scroll-away header behavior */
body.ksl-listing-page>nav{transition:transform .28s cubic-bezier(.2,.8,.2,1),opacity .22s ease!important;will-change:transform,opacity}body.ksl-listing-page.ksl-header-hidden>nav{transform:translateY(-120%)!important;opacity:0!important;pointer-events:none!important}
.k2-portal{font-family:Inter,Arial,sans-serif!important}.k2-card-copy strong,.k2-card-copy h2,.k2-filters strong,.k2-empty h2,.k2-save-dialog h2,.ksl-hero h1,.ksl-price-row strong,.ksl-carousel-head h2,.ksl-story h2,.ksl-details h2,.ksl-contact h2,.ksl-contact-card strong,.ksl-inquiry-dialog h2{font-family:Italiana,Georgia,serif!important}.k2-searchbar button,.k2-actions button,.k2-apply,.k2-save-form button[type="submit"]{background:var(--mel-ink)!important;color:#fffdf9!important}.k2-card:hover{border-color:rgba(202,157,117,.55)!important}.k2-pin span{background:var(--mel-accent)!important}.k2-save-intro:after{content:''}.k2-map-popup img{width:100%;height:120px;object-fit:cover;border-radius:12px;margin-bottom:10px}.k2-map-popup span{display:block;color:var(--mel-accent);font-weight:800}.k2-map-popup strong{display:block;color:var(--mel-ink);font-size:17px}.k2-map-popup em{display:block;color:var(--mel-muted);font-style:normal}.ksl-page{font-family:Inter,Arial,sans-serif!important}.ksl-agent-photo{width:92px;height:92px;border-radius:50%;object-fit:cover;margin-bottom:8px}.ksl-save-heart{border:1px solid rgba(27,27,30,.18);border-radius:999px;background:#fff;color:var(--mel-ink);cursor:pointer;text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:800}.ksl-inquiry-modal{position:fixed;inset:0;z-index:140;display:none;align-items:center;justify-content:center;padding:22px}.ksl-inquiry-modal.is-open{display:flex}.ksl-inquiry-backdrop{position:absolute;inset:0;background:rgba(27,27,30,.58);backdrop-filter:blur(12px)}.ksl-inquiry-dialog{position:relative;width:min(620px,100%);max-height:92vh;overflow:auto;border-radius:30px;background:#fff;color:var(--mel-ink);padding:38px;box-shadow:0 34px 110px rgba(27,27,30,.32)}
@media(max-width:980px){body.listings2-page .k2-map{margin-top:92px}}

/* Scoped shell polish for IDX surfaces */
body.listings2-page .page-header--absolute,
body.ksl-listing-page .page-header--absolute,
body.listings2-page .sp-header--absolute,
body.ksl-listing-page .sp-header--absolute{
  background:rgba(27,27,30,.86)!important;
  border-bottom:1px solid rgba(255,255,255,.12)!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
}
body.listings2-page .page-header--absolute a,
body.ksl-listing-page .page-header--absolute a,
body.listings2-page .sp-header--absolute a,
body.ksl-listing-page .sp-header--absolute a,
body.listings2-page .fd-header__menu-btn,
body.ksl-listing-page .fd-header__menu-btn,
body.listings2-page .fd-header__cta,
body.ksl-listing-page .fd-header__cta{color:#fffdf9!important;border-color:rgba(255,255,255,.28)!important}
body.listings2-page .fd-header__idx,
body.ksl-listing-page .fd-header__idx{background:#ca9d75!important;color:#1b1b1e!important}
body.listings2-page .sp-footer,
body.ksl-listing-page .sp-footer{overflow:hidden!important}
body.listings2-page .sp-footer__contact-value,
body.ksl-listing-page .sp-footer__contact-value,
body.listings2-page .footer-menu a,
body.ksl-listing-page .footer-menu a{overflow-wrap:anywhere!important;word-break:normal!important}
body.listings2-page .sp-footer .row,
body.ksl-listing-page .sp-footer .row{row-gap:24px!important}
.ksl-contact,.ksl-contact *{overflow:visible!important}.ksl-contact p{display:block!important;max-height:none!important;-webkit-line-clamp:unset!important;line-clamp:unset!important}.ksl-contact-card{min-width:0!important}
@media(max-width:760px){body.listings2-page .sp-footer__contact-value,body.ksl-listing-page .sp-footer__contact-value{font-size:15px!important;line-height:1.45!important}.ksl-contact{align-items:start!important}.ksl-contact p{font-size:16px!important;line-height:1.65!important}}

/* More assertive IDX-only header/readability fixes (stylesheet only loads on IDX pages). */
.page-header--absolute,.sp-header--absolute,.page-header,.sp-header{
  background:rgba(27,27,30,.94)!important;
  color:#fffdf9!important;
  border-bottom:1px solid rgba(255,255,255,.16)!important;
  box-shadow:0 18px 60px rgba(0,0,0,.18)!important;
}
.page-header--absolute a,.sp-header--absolute a,.page-header a,.sp-header a,.fd-header__menu-btn,.fd-header__cta,.spark-menu a{color:#fffdf9!important;text-shadow:0 1px 12px rgba(0,0,0,.35)!important}.sp-header img,.page-header img{filter:brightness(0) invert(1)!important}.fd-header__idx,.fd-header__idx--mobile{background:#ca9d75!important;color:#1b1b1e!important;text-shadow:none!important}.fd-header__idx a,.fd-header__idx--mobile a{color:#1b1b1e!important;text-shadow:none!important}
.ksl-details .mel-idx-eyebrow,.ksl-details .eyebrow{color:#e0b98f!important}.ksl-details h2{color:#fffdf9!important}.ksl-details dt{color:#e0b98f!important}.ksl-details dd{color:rgba(255,253,249,.92)!important}
@media(max-width:760px){.k2-card{grid-template-columns:1fr!important}.k2-card figure{height:220px!important;min-height:220px!important}.k2-card-copy{padding:18px!important}.k2-card-copy h2{white-space:normal!important;overflow:visible!important}.k2-card-copy div{gap:6px!important}.k2-card-copy span{font-size:10px!important;padding:6px 7px!important}.ksl-contact-card{display:block!important;text-align:left!important}.ksl-agent-photo{float:none!important;display:block!important;margin:0 0 14px!important;width:86px!important;height:86px!important}.ksl-contact-card strong,.ksl-contact-card span,.ksl-contact-card a{display:block!important;clear:both!important;overflow-wrap:anywhere!important;margin-bottom:8px!important}.ksl-contact-card .btn{display:flex!important;margin-top:12px!important}.ksl-contact-card{padding:26px 20px!important}}


/* IDX app-mode shell: remove site header/footer and make views true full-screen. */
body.listings2-page,
body.ksl-listing-page{
  margin:0!important;
  background:#fbf8f3!important;
}
body.listings2-page .page-header,
body.listings2-page .page-header--absolute,
body.listings2-page .sp-header,
body.listings2-page .sp-header--absolute,
body.listings2-page .sp-menu-mobile,
body.listings2-page .spark-mega-menu,
body.listings2-page .sp-footer,
body.ksl-listing-page .page-header,
body.ksl-listing-page .page-header--absolute,
body.ksl-listing-page .sp-header,
body.ksl-listing-page .sp-header--absolute,
body.ksl-listing-page .sp-menu-mobile,
body.ksl-listing-page .spark-mega-menu,
body.ksl-listing-page .sp-footer{
  display:none!important;
}
body.listings2-page #page-container,
body.ksl-listing-page #page-container,
body.listings2-page .site,
body.ksl-listing-page .site{
  padding:0!important;
  margin:0!important;
  min-height:0!important;
}
body.listings2-page{
  height:100dvh!important;
  overflow:hidden!important;
}
body.listings2-page .k2-portal{
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  height:100dvh!important;
  min-height:100dvh!important;
  padding:0!important;
  overflow:hidden!important;
  grid-template-columns:minmax(420px,50.5vw) minmax(420px,1fr)!important;
}
body.listings2-page .k2-map{
  height:100dvh!important;
  min-height:100dvh!important;
  margin:0!important;
}
body.listings2-page .k2-panel{
  height:100dvh!important;
  max-height:100dvh!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior:contain!important;
  padding:92px 26px 42px!important;
}
body.ksl-listing-page{
  overflow:auto!important;
}
body.ksl-listing-page .ksl-page{
  min-height:100dvh!important;
  padding-top:0!important;
}
.mel-idx-back{
  position:fixed!important;
  top:22px!important;
  left:22px!important;
  z-index:1300!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:86px!important;
  height:44px!important;
  padding:0 18px!important;
  border:1px solid rgba(27,27,30,.14)!important;
  border-radius:999px!important;
  background:rgba(255,253,249,.88)!important;
  color:#1b1b1e!important;
  box-shadow:0 18px 50px rgba(27,27,30,.16)!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
  font-family:Inter,Arial,sans-serif!important;
  font-size:11px!important;
  font-weight:850!important;
  letter-spacing:.16em!important;
  text-transform:uppercase!important;
  text-decoration:none!important;
  transition:transform .18s var(--ease),background .18s var(--ease),color .18s var(--ease),border-color .18s var(--ease)!important;
}
.mel-idx-back:before{content:'←';margin-right:9px;color:#ca9d75;font-size:14px;line-height:1}.mel-idx-back:hover{transform:translateY(-2px)!important;background:#1b1b1e!important;color:#fffdf9!important;border-color:#1b1b1e!important}.mel-idx-back:focus-visible{outline:3px solid rgba(202,157,117,.55)!important;outline-offset:4px!important}
body.ksl-listing-page .ksl-hero{padding-top:128px!important;min-height:100dvh!important}.ksl-back{display:none!important}
@media(max-width:980px){
  body.listings2-page{height:auto!important;overflow:auto!important;}
  body.listings2-page .k2-portal{position:relative!important;display:block!important;width:100%!important;height:auto!important;min-height:100dvh!important;overflow:visible!important;}
  body.listings2-page .k2-map{height:42dvh!important;min-height:300px!important;margin:0!important;}
  body.listings2-page .k2-panel{height:auto!important;max-height:none!important;overflow:visible!important;padding:20px 14px 50px!important;}
  .mel-idx-back{top:14px!important;left:14px!important;height:42px!important;min-width:78px!important;background:rgba(27,27,30,.82)!important;color:#fffdf9!important;border-color:rgba(255,255,255,.18)!important;}
  body.ksl-listing-page .ksl-hero{padding-top:112px!important;}
}

/* Mobile IDX polish: keep back control clear of listing media and keep search content immediately visible. */
@media(max-width:760px){
  body.ksl-listing-page .mel-idx-back{position:absolute!important;top:14px!important;left:14px!important;}
  body.ksl-listing-page .ksl-page{position:relative!important;}
  body.ksl-listing-page .ksl-hero{padding-top:104px!important;}
  body.listings2-page .k2-map{height:34dvh!important;min-height:240px!important;}
  body.listings2-page .k2-panel{padding-top:14px!important;}
  body.listings2-page .k2-search{position:relative!important;top:auto!important;}
}


/* Match Kasey IDX typography + suggestion states exactly, with Melissa colour accents. */
body.listings2-page .k2-portal,
body.listings2-page .k2-search,
body.listings2-page .k2-card,
body.listings2-page .k2-filters,
body.ksl-listing-page .ksl-page{
  font-family:'Cabinetgrotesk Variable','Cabinet Grotesk',CabinetGrotesk,Inter,Arial,sans-serif!important;
}
body.listings2-page .k2-card-copy strong,
body.listings2-page .k2-card-copy h2,
body.listings2-page .k2-filters strong,
body.listings2-page .k2-empty h2,
body.listings2-page .k2-save-dialog h2,
body.ksl-listing-page .ksl-hero h1,
body.ksl-listing-page .ksl-price-row strong,
body.ksl-listing-page .ksl-carousel-head h2,
body.ksl-listing-page .ksl-story h2,
body.ksl-listing-page .ksl-details h2,
body.ksl-listing-page .ksl-contact h2,
body.ksl-listing-page .ksl-contact-card strong,
body.ksl-listing-page .ksl-inquiry-dialog h2,
body.ksl-listing-page .ksl-stats-row strong,
body.ksl-listing-page .ksl-inquiry-dialog h2{
  font-family:'Zodiak Variable',Zodiak,Georgia,serif!important;
}
body.listings2-page .k2-suggestions{background:#fff!important;}
body.listings2-page .k2-suggestion,
body.listings2-page .k2-suggestion:hover,
body.listings2-page .k2-suggestion.is-active{
  color:#1b1b1e!important;
  background:#fbf8f3!important;
}
body.listings2-page .k2-suggestion:not(:hover):not(.is-active){background:transparent!important;}
body.listings2-page .k2-sugg-type,
body.listings2-page .k2-suggestion:hover .k2-sugg-type,
body.listings2-page .k2-suggestion.is-active .k2-sugg-type{
  background:transparent!important;
  color:#9c6f47!important;
}
body.listings2-page .k2-sugg-main{color:#1b1b1e!important;font-weight:760!important;}
body.listings2-page .k2-sugg-sub{color:#6f6259!important;}
body.listings2-page .k2-suggestion::selection,
body.listings2-page .k2-suggestion *::selection,
body.listings2-page .k2-searchbar input::selection{
  background:rgba(202,157,117,.28)!important;
  color:#1b1b1e!important;
}

/* Autocomplete spacing polish for long addresses. */
body.listings2-page .k2-suggestion{
  min-height:58px!important;
  row-gap:4px!important;
  padding-top:14px!important;
  padding-bottom:14px!important;
}
body.listings2-page .k2-sugg-main,
body.listings2-page .k2-sugg-sub{
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}


/* 2026-07-04: IDX listing CTA card image/name collision fix */
body.ksl-listing-page .ksl-contact-card{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:10px!important;
}
body.ksl-listing-page .ksl-contact-card .ksl-agent-photo{
  flex:0 0 auto!important;
  display:block!important;
  float:none!important;
  width:112px!important;
  height:112px!important;
  margin:0 0 8px!important;
  border-radius:999px!important;
  object-fit:cover!important;
  object-position:center top!important;
}
body.ksl-listing-page .ksl-contact-card strong,
body.ksl-listing-page .ksl-contact-card span,
body.ksl-listing-page .ksl-contact-card a{
  display:block!important;
  clear:both!important;
  width:100%!important;
  overflow-wrap:anywhere!important;
}
@media(max-width:760px){
  body.ksl-listing-page .ksl-contact-card{display:flex!important;padding:26px 20px!important;}
  body.ksl-listing-page .ksl-contact-card .ksl-agent-photo{width:96px!important;height:96px!important;margin:0 0 10px!important;}
}

/* 2026-07-04: mobile optical spacing for agent card portrait/name */
@media(max-width:760px){
  body.ksl-listing-page .ksl-contact-card .ksl-agent-photo{
    margin-bottom:32px!important;
  }
  body.ksl-listing-page .ksl-contact-card strong{
    font-size:42px!important;
    line-height:1.02!important;
    letter-spacing:-.035em!important;
  }
}
