/* WT Listings — front-end grid & search. On-brand: royal blue + coral. */
.wtl-wrap{
  --wtl-blue:#1D489B; --wtl-coral:#FF6A3D; --wtl-ink:#0B1220;
  --wtl-line:#e6e8ee; --wtl-muted:#6b7280; --wtl-card:#fff;
  --wtl-font-body:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --wtl-font-heading:Lora,Georgia,serif;
  font-family:var(--wtl-font-body);
  color:var(--wtl-ink);
}
.wtl-wrap *{box-sizing:border-box}

/* Theme skins — override the accent palette */
.wtl-wrap.wtl-theme-midnight{--wtl-blue:#111827;--wtl-coral:#f59e0b}
.wtl-wrap.wtl-theme-forest{--wtl-blue:#1b5e3a;--wtl-coral:#e07a3f}
.wtl-wrap.wtl-theme-classic{--wtl-blue:#1f4e9b;--wtl-coral:#1f4e9b}

/* Search bar */
.wtl-search{
  display:flex;flex-wrap:wrap;gap:8px;align-items:center;
  background:#f7f8fb;border:1px solid var(--wtl-line);border-radius:14px;
  padding:12px;margin:0 0 20px;
}
.wtl-search input,.wtl-search select{
  height:42px;border:1px solid var(--wtl-line);border-radius:10px;
  padding:0 12px;font-size:14px;background:#fff;color:var(--wtl-ink);
}
.wtl-search input[type="text"]{flex:1 1 220px;min-width:180px}
.wtl-search input[type="number"]{width:110px}
.wtl-search select{flex:0 1 150px;min-width:130px}
.wtl-archive-h1{font-family:var(--wtl-font-heading);font-size:clamp(24px,4vw,34px);margin:0 0 16px;color:var(--wtl-ink)}
.wtl-btn{
  height:42px;padding:0 22px;border:0;border-radius:10px;cursor:pointer;
  background:var(--wtl-coral);color:#fff;font-weight:600;font-size:14px;
}
.wtl-btn:hover{filter:brightness(.95)}

/* Grid */
.wtl-grid{
  display:grid;gap:20px;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
}
.wtl-card{
  position:relative;
  background:var(--wtl-card);border:1px solid var(--wtl-line);border-radius:16px;
  overflow:hidden;display:flex;flex-direction:column;
  transition:box-shadow .18s ease,transform .18s ease;
}
.wtl-card:hover{box-shadow:0 12px 30px rgba(11,18,32,.12);transform:translateY(-2px)}

.wtl-card-media{position:relative;display:block;aspect-ratio:4/3;background:#eef1f6;overflow:hidden}
.wtl-card-media img{width:100%;height:100%;object-fit:cover;display:block}
.wtl-noimg{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  color:var(--wtl-muted);font-size:13px;
}
.wtl-badge{
  position:absolute;left:12px;top:12px;
  background:var(--wtl-coral);color:#fff;font-weight:600;font-size:11px;
  text-transform:uppercase;letter-spacing:.04em;
  padding:4px 10px;border-radius:999px;
}
.wtl-badge-sale{background:var(--wtl-blue)}   /* For Sale = blue */
.wtl-badge-lease{background:var(--wtl-coral)} /* For Lease = coral */
.wtl-price{
  position:absolute;left:12px;bottom:12px;
  background:var(--wtl-blue);color:#fff;font-weight:700;font-size:15px;
  padding:6px 12px;border-radius:999px;font-family:"JetBrains Mono",ui-monospace,monospace;
  box-shadow:0 4px 14px rgba(11,18,32,.25);
}

.wtl-card-body{padding:14px 16px 16px;display:flex;flex-direction:column}
.wtl-card-type{margin:0 0 4px;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--wtl-coral)}
.wtl-card-title{font-size:16px;line-height:1.3;margin:0 0 4px;font-weight:600}
.wtl-card-title a{color:var(--wtl-ink);text-decoration:none}
.wtl-card-title a:hover{color:var(--wtl-blue)}
.wtl-card-loc{margin:0 0 10px;color:var(--wtl-muted);font-size:13px}

.wtl-specs{
  display:flex;gap:14px;list-style:none;margin:0 0 10px;padding:0;
  font-size:13px;color:#374151;
}
.wtl-specs li strong{color:var(--wtl-ink)}
/* Icon spec row (list cards) */
.wtl-iconspecs{display:flex;flex-wrap:wrap;gap:16px;margin:auto 0 0;padding-top:10px;border-top:1px solid var(--wtl-line)}
.wtl-spec{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:var(--wtl-ink)}
.wtl-spec svg{width:18px;height:18px;color:var(--wtl-blue);flex:none}

/* List / Map view toggle */
.wtl-viewtoggle{display:inline-flex;gap:0;margin:0 0 16px;border:1px solid var(--wtl-line);border-radius:999px;overflow:hidden;background:#fff}
.wtl-vt{display:inline-flex;align-items:center;gap:7px;border:0;background:none;padding:9px 18px;font-size:14px;font-weight:600;color:var(--wtl-muted);cursor:pointer}
.wtl-vt svg{width:16px;height:16px}
.wtl-vt.is-on{background:var(--wtl-blue);color:#fff}
.wtl-map-view{display:none;width:100%;height:560px;border:1px solid var(--wtl-line);border-radius:16px;overflow:hidden}
.wtl-results.wtl-show-map .wtl-grid{display:none}
.wtl-results.wtl-show-map .wtl-map-view{display:block}

/* Pagination */
.wtl-pagination{margin:26px 0 0}
.wtl-pagination .page-numbers{list-style:none;display:flex;gap:6px;padding:0;margin:0;flex-wrap:wrap;justify-content:center}
.wtl-pagination .page-numbers li a,.wtl-pagination .page-numbers li span{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:38px;height:38px;padding:0 10px;border-radius:9px;
  border:1px solid var(--wtl-line);text-decoration:none;color:var(--wtl-ink);font-size:14px;
}
.wtl-pagination .page-numbers li .current{background:var(--wtl-blue);color:#fff;border-color:var(--wtl-blue)}
.wtl-pagination .page-numbers li a:hover{border-color:var(--wtl-blue);color:var(--wtl-blue)}

/* Single listing — photo collage (big hero + 2 stacked, last shows "+N") */
.wtl-single .wtl-gallery{
  display:grid;gap:8px;margin:0 0 20px;
  grid-template-columns:2.3fr 1fr;grid-template-rows:1fr 1fr;height:460px;
}
.wtl-gimg{
  position:relative;padding:0;border:0;margin:0;background:none;cursor:zoom-in;overflow:hidden;
  border-radius:12px;display:block;width:100%;height:100%;
}
.wtl-gimg img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}
.wtl-gimg:hover img{transform:scale(1.06)}
.wtl-single .wtl-gallery .wtl-gimg:nth-child(1){grid-column:1;grid-row:1 / span 2}
.wtl-single .wtl-gallery .wtl-gimg:nth-child(2){grid-column:2;grid-row:1}
.wtl-single .wtl-gallery .wtl-gimg:nth-child(3){grid-column:2;grid-row:2}
.wtl-single .wtl-gallery .wtl-gimg:nth-child(n+4){display:none}
/* Low-count layouts (selectors kept specific enough to beat the nth-child rules above) */
.wtl-single .wtl-gallery.wtl-gc-1 .wtl-gimg:nth-child(1){grid-column:1 / 3;grid-row:1 / 3}
.wtl-single .wtl-gallery.wtl-gc-2 .wtl-gimg:nth-child(1){grid-column:1;grid-row:1 / 3}
.wtl-single .wtl-gallery.wtl-gc-2 .wtl-gimg:nth-child(2){grid-column:2;grid-row:1 / 3}
.wtl-more-count{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  background:rgba(11,18,32,.55);color:#fff;font-size:24px;font-weight:700;
}
.wtl-single-head{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px;margin:0 0 8px}
.wtl-price-lg{position:static;box-shadow:none;font-size:22px;padding:8px 16px}
.wtl-single .wtl-specs{font-size:15px;margin:0}
@media (max-width:600px){
  .wtl-single .wtl-gallery{height:320px}
}

/* Features strip */
.wtl-features{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:1px;
  background:var(--wtl-line);border:1px solid var(--wtl-line);border-radius:14px;overflow:hidden;margin:0 0 24px;
}
.wtl-feat{background:#fff;padding:12px 14px;display:flex;flex-direction:column;gap:2px}
.wtl-feat-v{font-weight:700;color:var(--wtl-ink);font-size:15px}
.wtl-feat-l{font-size:11px;text-transform:uppercase;letter-spacing:.03em;color:var(--wtl-muted)}

/* Grouped details */
.wtl-group{margin:0 0 18px}
.wtl-group h3{font-size:14px;text-transform:uppercase;letter-spacing:.04em;color:var(--wtl-coral);margin:0 0 6px}

/* Room table */
.wtl-rooms-wrap{overflow-x:auto}
.wtl-rooms{width:100%;border-collapse:collapse;font-size:14px}
.wtl-rooms th,.wtl-rooms td{text-align:left;padding:9px 12px;border-bottom:1px solid var(--wtl-line);vertical-align:top}
.wtl-rooms th{font-size:12px;text-transform:uppercase;letter-spacing:.03em;color:var(--wtl-muted);font-weight:600}
.wtl-rooms td:first-child{font-weight:600;color:var(--wtl-ink);white-space:nowrap}

/* On-site embed modal */
.wtl-modal{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;background:rgba(11,18,32,.75);padding:20px}
.wtl-modal.open{display:flex}
.wtl-modal-panel{background:#fff;border-radius:14px;overflow:hidden;width:min(900px,96vw);height:min(640px,88vh);display:flex;flex-direction:column;box-shadow:0 20px 60px rgba(0,0,0,.4)}
.wtl-modal-head{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #e6e8ee}
.wtl-modal-title{font-weight:700;color:#0B1220;font-size:15px}
.wtl-modal-close{width:36px;height:36px;border:0;border-radius:50%;background:#f0f2f6;color:#0B1220;font-size:22px;line-height:1;cursor:pointer}
.wtl-modal-close:hover{background:#e4e7ee}
.wtl-modal-frame{flex:1;width:100%;border:0}
.wtl-near-link{cursor:pointer;font-family:inherit;line-height:1.2}

/* Lightbox / album */
body.wtl-lb-lock{overflow:hidden}
.wtl-lb{
  position:fixed;inset:0;z-index:99999;display:none;
  align-items:center;justify-content:center;background:rgba(11,18,32,.93);
}
.wtl-lb.open{display:flex}
.wtl-lb-stage{margin:0;max-width:94vw;display:flex;flex-direction:column;align-items:center;gap:10px}
.wtl-lb-img{max-width:94vw;max-height:82vh;object-fit:contain;border-radius:6px;box-shadow:0 12px 44px rgba(0,0,0,.55)}
.wtl-lb-count{color:#fff;font-size:13px;font-family:Inter,-apple-system,sans-serif;opacity:.85}
.wtl-lb-close{
  position:absolute;top:16px;right:20px;width:44px;height:44px;border:0;border-radius:50%;
  background:rgba(255,255,255,.12);color:#fff;font-size:26px;line-height:1;cursor:pointer;
}
.wtl-lb-nav{
  position:absolute;top:50%;transform:translateY(-50%);width:52px;height:52px;border:0;border-radius:50%;
  background:rgba(255,255,255,.12);color:#fff;font-size:30px;line-height:1;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
}
.wtl-lb-close:hover,.wtl-lb-nav:hover{background:rgba(255,255,255,.24)}
.wtl-lb-prev{left:16px}
.wtl-lb-next{right:16px}
@media (max-width:600px){
  .wtl-lb-nav{width:44px;height:44px;font-size:24px}
  .wtl-lb-prev{left:6px}.wtl-lb-next{right:6px}
  .wtl-lb-img{max-height:74vh}
}

.wtl-morelink{margin:20px 0 0}
.wtl-morelink .wtl-btn{display:inline-flex;align-items:center;text-decoration:none;background:var(--wtl-blue)}

/* Detail page: two-column layout */
.wtl-detail{display:grid;grid-template-columns:1fr 340px;gap:32px;margin:24px 0 0;align-items:start}
.wtl-detail-main{min-width:0}
.wtl-detail-side{position:sticky;top:24px}
.wtl-sec{margin:0 0 28px}
.wtl-sec h2{font-family:var(--wtl-font-heading);font-size:20px;margin:0 0 14px;color:var(--wtl-ink)}
.wtl-desc-body{font-size:15px;line-height:1.7;color:#374151}

/* Facts table */
.wtl-facts{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:0;border-top:1px solid var(--wtl-line)}
.wtl-fact{display:flex;justify-content:space-between;gap:12px;padding:10px 4px;border-bottom:1px solid var(--wtl-line);font-size:14px}
.wtl-fact dt{color:var(--wtl-muted);margin:0}
.wtl-fact dd{margin:0;font-weight:600;color:var(--wtl-ink);text-align:right}

/* Mortgage calculator */
.wtl-mtg-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 16px}
.wtl-mtg-grid label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600;color:var(--wtl-muted)}
.wtl-mtg-grid input{height:42px;border:1px solid var(--wtl-line);border-radius:10px;padding:0 12px;font-size:15px;color:var(--wtl-ink)}
.wtl-mtg-out{display:flex;align-items:baseline;gap:10px;background:#f7f8fb;border:1px solid var(--wtl-line);border-radius:12px;padding:16px 18px}
.wtl-mtg-payment{font-family:"JetBrains Mono",ui-monospace,monospace;font-size:28px;font-weight:700;color:var(--wtl-blue)}
.wtl-mtg-sub{color:var(--wtl-muted);font-size:13px}
.wtl-mtg-note{margin:8px 0 0;font-size:11px;color:var(--wtl-muted)}
.wtl-mortgage--card{background:#fff;border:1px solid var(--wtl-line);border-radius:16px;padding:20px 22px;box-shadow:0 8px 24px rgba(11,18,32,.06)}

/* Map + neighbourhood */
.wtl-map{width:100%;height:320px;border:1px solid var(--wtl-line);border-radius:14px;margin:0 0 16px}
.wtl-near-title{margin:0 0 8px;font-size:13px;font-weight:600;color:var(--wtl-muted)}
.wtl-near{display:flex;flex-wrap:wrap;gap:8px}
.wtl-near-link{padding:8px 14px;border:1px solid var(--wtl-line);border-radius:999px;font-size:13px;font-weight:600;color:var(--wtl-blue);text-decoration:none;background:#fff}
.wtl-near-link:hover{border-color:var(--wtl-blue);background:#f2f5fc}

/* Agent card + lead form */
.wtl-agent-card{background:#fff;border:1px solid var(--wtl-line);border-radius:16px;padding:18px;box-shadow:0 8px 24px rgba(11,18,32,.06)}
.wtl-agent-card--inline{background:transparent;border:0;border-radius:0;padding:0;box-shadow:none}
.wtl-agent{display:flex;gap:12px;align-items:center;margin:0 0 16px;padding:0 0 16px;border-bottom:1px solid var(--wtl-line)}
.wtl-agent-photo{width:64px;height:64px;border-radius:50%;object-fit:cover;flex:none}
.wtl-agent-name{margin:0;font-weight:700;font-size:16px;color:var(--wtl-ink)}
.wtl-agent-title{margin:2px 0;font-size:12px;color:var(--wtl-muted)}
.wtl-agent-line{margin:2px 0 0;font-size:14px}
.wtl-agent-line a{color:var(--wtl-blue);text-decoration:none;font-weight:600}
.wtl-lead-h{margin:0 0 12px;font-size:16px;color:var(--wtl-ink)}
.wtl-intent{display:flex;gap:14px;margin:0 0 12px;font-size:13px;color:#374151}
.wtl-lead-form input[type=text],.wtl-lead-form input[type=email],.wtl-lead-form input[type=tel],.wtl-lead-form textarea{
  width:100%;border:1px solid var(--wtl-line);border-radius:10px;padding:11px 12px;font-size:14px;margin:0 0 10px;color:var(--wtl-ink);font-family:inherit;
}
.wtl-lead-form textarea{resize:vertical}
.wtl-lead-submit{width:100%;height:46px;border:0;border-radius:10px;background:var(--wtl-coral);color:#fff;font-weight:700;font-size:15px;cursor:pointer}
.wtl-lead-submit:hover{filter:brightness(.96)}
.wtl-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden}
.wtl-lead-ok{background:#e8f7ee;border:1px solid #b7e4c7;color:#1b7a43;padding:10px 12px;border-radius:10px;font-size:13px;margin:0 0 12px}
.wtl-lead-err{background:#fdecea;border:1px solid #f5c6c0;color:#a12b1e;padding:10px 12px;border-radius:10px;font-size:13px;margin:0 0 12px}
.wtl-hidden-summary{display:none}
.wtl-guide-desc{font-size:13px;color:var(--wtl-muted);margin:0 0 14px;line-height:1.5}

/* Guide download — cover image + eyebrow + "what's inside" bullets + form.
   Default (layout="split") matches the homepage guide-section design: media
   beside body, full width, generous body text. Use layout="card" for a
   compact stacked variant inside dense multi-up grids. */
.wtl-guide-section{margin:0 0 28px}
.wtl-guide-section__inner{
  display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center;
  background:var(--wtl-card);border:1px solid var(--wtl-line);border-radius:16px;
  padding:32px;box-shadow:0 8px 24px rgba(11,18,32,.06);
}
.wtl-guide-section--no-media .wtl-guide-section__inner{grid-template-columns:1fr;max-width:560px}
.wtl-guide-section__media{position:relative;border-radius:10px;overflow:hidden;aspect-ratio:4/5;background:#eef1f6}
.wtl-guide-section__media img{width:100%;height:100%;object-fit:cover;display:block}
.wtl-guide-section__tag{
  position:absolute;left:14px;bottom:14px;background:var(--wtl-blue);color:#fff;
  font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;
  padding:7px 12px;border-radius:4px;
}
.wtl-guide-section__eyebrow{display:block;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--wtl-coral);margin:0 0 8px}
.wtl-guide-section__title{margin:0 0 12px;font-size:26px;font-family:var(--wtl-font-heading);color:var(--wtl-ink)}
.wtl-guide-section__desc{margin:0 0 14px;font-size:15px;line-height:1.6;color:var(--wtl-ink)}
.wtl-guide-section__bullets{margin:0 0 20px;padding:0;list-style:none;display:flex;flex-direction:column;gap:9px}
.wtl-guide-section__bullets li{display:flex;gap:9px;font-size:14px;line-height:1.5;color:var(--wtl-ink)}
.wtl-guide-section__bullets li::before{content:"✓";flex:none;color:var(--wtl-blue);font-weight:700}
.wtl-guide-section .wtl-lead-form{max-width:440px}

/* Compact "card" variant (layout="card") — media stacked above body, for
   dense multi-up grids where each item is only ~300-400px wide. */
.wtl-guide-section--card .wtl-guide-section__inner{
  display:flex;flex-direction:column;gap:16px;padding:20px;height:100%;
}
.wtl-guide-section--card{height:100%}
.wtl-guide-section--card .wtl-guide-section__media{max-width:220px}
.wtl-guide-section--card .wtl-guide-section__title{font-size:18px;margin:0 0 8px}
.wtl-guide-section--card .wtl-guide-section__desc{font-size:13.5px;line-height:1.5;color:var(--wtl-muted);margin:0 0 12px}
.wtl-guide-section--card .wtl-guide-section__bullets{margin:0 0 16px;gap:7px}
.wtl-guide-section--card .wtl-guide-section__bullets li{font-size:13px}
.wtl-guide-section--card .wtl-guide-section__tag{font-size:9px;padding:5px 8px;left:8px;bottom:8px}
.wtl-guide-section--card .wtl-lead-form{max-width:100%}

@media (max-width:560px){
  .wtl-guide-section__inner{grid-template-columns:1fr}
  .wtl-guide-section__media{aspect-ratio:16/10;max-width:none}
}

/* Home Finder */
.wtl-homefinder-sub{margin:0 0 16px;font-size:13px;color:var(--wtl-muted)}
.wtl-homefinder-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 14px}
.wtl-homefinder-grid label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600;color:var(--wtl-muted)}
.wtl-homefinder-grid select{height:42px;border:1px solid var(--wtl-line);border-radius:10px;padding:0 10px;font-size:14px;color:var(--wtl-ink);font-family:inherit;background:#fff}

@media (max-width:820px){
  .wtl-detail{grid-template-columns:1fr}
  .wtl-detail-side{position:static}
  .wtl-facts{grid-template-columns:1fr}
}

/* Misc */
.wtl-empty{padding:40px;text-align:center;color:var(--wtl-muted)}
.wtl-attribution{margin:28px 0 0;font-size:11px;line-height:1.5;color:var(--wtl-muted)}

@media (max-width:600px){
  .wtl-search{flex-direction:column;align-items:stretch}
  .wtl-search input,.wtl-search select,.wtl-search .wtl-btn{width:100%}
}

/* =====================================================================
 * v0.10 visual refresh — fixed column layouts, crisper cards, more
 * legible price badge, cleaner search bar. Layered after the base rules.
 * =================================================================== */

/* Fixed column counts (set by the block "Columns" control / shortcode columns="") */
.wtl-grid--cols-2{grid-template-columns:repeat(2,1fr)}
.wtl-grid--cols-3{grid-template-columns:repeat(3,1fr)}
.wtl-grid--cols-4{grid-template-columns:repeat(4,1fr)}
@media (max-width:1000px){ .wtl-grid--cols-3,.wtl-grid--cols-4{grid-template-columns:repeat(2,1fr)} }
@media (max-width:600px){ .wtl-grid--cols-2,.wtl-grid--cols-3,.wtl-grid--cols-4{grid-template-columns:1fr} }

/* Cards */
.wtl-card{border-radius:14px}
.wtl-card:hover{box-shadow:0 16px 36px rgba(11,18,32,.14);transform:translateY(-3px)}
/* Scrim so the price/badge stay legible over bright photos */
.wtl-card-media::after{content:"";position:absolute;left:0;right:0;bottom:0;height:46%;
  background:linear-gradient(to top,rgba(11,18,32,.55),rgba(11,18,32,0));z-index:1;pointer-events:none}
.wtl-badge,.wtl-price{z-index:2}
.wtl-price{font-size:16px;padding:7px 13px;box-shadow:0 6px 18px rgba(11,18,32,.32)}
.wtl-card-title{font-size:17px}
.wtl-card-body{padding:15px 17px 17px}

/* Search / filter bar — softer, roomier */
.wtl-search{background:#fff;border-color:var(--wtl-line);border-radius:16px;box-shadow:0 4px 16px rgba(11,18,32,.05);padding:14px}
.wtl-search input,.wtl-search select{height:44px;border-radius:10px}
.wtl-search select:focus,.wtl-search input:focus{outline:none;border-color:var(--wtl-blue)}
.wtl-btn{border-radius:10px}

/* View toggle — align with card radius language */
.wtl-viewtoggle{border-radius:12px}

/* Listings map + filters ([wt_map_search] / wt-listings/map-search) — a
   homepage "browse everything" band: filter bar on top, a big always-visible
   map underneath (unlike .wtl-map-view, which stays hidden behind the List/
   Map toggle). Marker clustering (loaded alongside Leaflet) keeps this fast
   even with province-wide listing volume. */
.wtl-mapsearch{margin:0 0 8px}
.wtl-mapsearch-h{font-family:var(--wtl-font-heading);font-size:clamp(24px,3.6vw,34px);margin:0 0 16px;color:var(--wtl-ink)}
.wtl-mapsearch-filters{margin-bottom:14px}
.wtl-mapsearch-count{margin:0 0 12px;font-size:13px;color:var(--wtl-muted)}
.wtl-mapsearch-map{width:100%;height:640px;border:1px solid var(--wtl-line);border-radius:16px;overflow:hidden}
@media (max-width:640px){
  .wtl-mapsearch-map{height:440px}
}
/* Full-width variant — breaks out of whatever contained column it's sitting
   in (e.g. the theme's .wtr-container) to span the full viewport width. The
   classic breakout trick: works regardless of the parent's own width/padding. */
.wtl-mapsearch-map--full{
  width:100vw;height:720px;border-radius:0;border-left:0;border-right:0;
  margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);
}
@media (max-width:640px){
  .wtl-mapsearch-map--full{height:480px}
}
/* Leaflet.markercluster's default cluster-bubble palette, tinted to the brand
   colour instead of its stock green/yellow/orange (kept subtle — clusters are
   a map UI convention, not a place to get loud with colour). */
.marker-cluster-small,.marker-cluster-medium,.marker-cluster-large{background-color:rgba(29,72,155,.18)}

/* Save to Favorites / Possibilities — card overlay + single-listing toolbar */
.wtl-save-toolbar{position:absolute;top:10px;right:10px;z-index:2;display:flex;gap:6px}
.wtl-save-btn{
  width:34px;height:34px;border:0;border-radius:50%;cursor:pointer;
  background:rgba(255,255,255,.94);color:var(--wtl-ink);
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 2px 6px rgba(11,18,32,.18);transition:transform .12s ease;
}
.wtl-save-btn:hover{transform:scale(1.07)}
.wtl-save-btn svg{width:17px;height:17px}
.wtl-save-btn[data-list="favorites"].is-active{color:#e0245e}
.wtl-save-btn[data-list="favorites"].is-active svg{fill:currentColor}
.wtl-save-btn[data-list="possibilities"].is-active{color:var(--wtl-blue)}
.wtl-save-btn[data-list="possibilities"].is-active svg{fill:currentColor}

.wtl-single-actions{display:flex;gap:10px;margin:14px 0 0}
.wtl-save-btn-lg{
  width:auto;height:42px;border-radius:10px;padding:0 16px;gap:8px;
  background:#fff;border:1px solid var(--wtl-line);box-shadow:none;font-size:13px;font-weight:600;
}
.wtl-save-btn-lg svg{width:16px;height:16px}
.wtl-save-btn-lg span{white-space:nowrap}

/* Account pages — signup/login cards, saved-homes dashboard, shared list */
.wtl-account-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 18px}
.wtl-logout-link{font-size:13px;color:var(--wtl-muted);text-decoration:none}
.wtl-logout-link:hover{color:var(--wtl-ink)}
.wtl-account-tabs{display:flex;gap:4px;margin:0 0 20px;border-bottom:1px solid var(--wtl-line)}
.wtl-tab{padding:10px 16px;text-decoration:none;color:var(--wtl-muted);font-weight:600;font-size:14px;border-bottom:2px solid transparent;margin-bottom:-1px}
.wtl-tab.is-active{color:var(--wtl-ink);border-color:var(--wtl-blue)}
.wtl-share-box{background:#f7f8fb;border:1px solid var(--wtl-line);border-radius:12px;padding:14px 16px;margin:0 0 24px}
.wtl-share-box label{display:block;font-size:12.5px;color:var(--wtl-muted);margin:0 0 8px}
.wtl-share-row{display:flex;gap:8px}
.wtl-share-row input{flex:1;height:40px;border:1px solid var(--wtl-line);border-radius:8px;padding:0 12px;font-size:13px;color:var(--wtl-muted);background:#fff}
.wtl-share-row .wtl-btn{height:40px;padding:0 18px;white-space:nowrap}
.marker-cluster-small div,.marker-cluster-medium div,.marker-cluster-large div{background-color:var(--wtl-blue,#1D489B);color:#fff;font-weight:700}
