/* Verkoopheader: dezelfde lichte blauwe huisstijl als de andere hoofdpagina's. */
.dw-site .dwv26-sale-hero {
  background: linear-gradient(120deg,#eff6fb 0%,#ffffff 100%) !important;
  border-bottom:1px solid #dbe7ef;
}
.dw-site .dwv26-sale-hero .dwv3-hero-media { box-shadow:0 20px 50px rgba(13,59,102,.13); }

/* Verkoopaanbod: rustige Funda-achtige advertentie zonder zware blauwe kaders. */
.dw-site .dwv26-listing-grid{display:grid;gap:34px;margin-top:36px}
.dw-site .dwv26-listing-card{display:grid;grid-template-columns:minmax(430px,1.06fr) minmax(0,.94fr);overflow:hidden;border:1px solid #dfe7ec;border-radius:22px;background:#fff;box-shadow:0 12px 34px rgba(13,59,102,.08)}
.dw-site .dwv26-listing-media{position:relative;min-width:0;padding:18px;background:#fff;border-right:1px solid #e7edf1}
.dw-site .dwv26-primary-photo{width:100%;aspect-ratio:16/9;padding:0;border:0;border-radius:15px;overflow:hidden;background:#edf2f5;box-shadow:none}
.dw-site .dwv26-primary-photo img{width:100%;height:100%;object-fit:cover;display:block}
.dw-site .dwv26-thumb-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
.dw-site .dwv26-thumb-grid .dwi-photo{position:relative;width:100%;aspect-ratio:16/8.5;padding:0;border:0;border-radius:11px;overflow:hidden;background:#edf2f5;box-shadow:none}
.dw-site .dwv26-thumb-grid img{width:100%;height:100%;object-fit:cover;display:block}
.dw-site .dwv26-thumb-more{border:0!important}
.dw-site .dwv26-thumb-overlay{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:10px;background:rgba(7,43,75,.67);color:#fff;text-align:center}
.dw-site .dwv26-thumb-overlay strong{font-size:27px;line-height:1;color:#fff}
.dw-site .dwv26-thumb-overlay span{font-size:13px;font-weight:700;color:#fff}
.dw-site .dwv26-listing-media .dwv3-status{left:30px;top:30px;background:rgba(13,59,102,.92)}
.dw-site .dwv26-listing-content{padding:34px 36px;display:flex;flex-direction:column}
.dw-site .dwv26-listing-content h3{font-size:33px;margin:6px 0 17px}
.dw-site .dwv26-listing-content>p{font-size:16px;line-height:1.7;margin:0 0 17px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.dw-site .dwv26-listing-content .dwv3-stats{margin-bottom:18px}
.dw-site .dwv26-listing-content .dwv3-feature-list{margin:0 0 21px}
.dw-site .dwv26-listing-content .dwv3-price-row{margin-top:auto;padding-top:20px;border-top:1px solid #e5ebef;align-items:center}
.dw-site .dwv26-listing-content .dwv3-price-row>strong{font-size:20px;color:#0d3b66}
/* Klikbare woningtitel: wit in rust, subtiel lichtblauw bij hover.
   Extra sterke selectors voorkomen dat het WordPress-thema hier een donkerblauwe knop van maakt. */
.dw-site .dwv26-listing-content button.dwv29-listing-title{
  display:block !important;
  width:100% !important;
  margin:0 0 16px !important;
  padding:12px 14px !important;
  border:1px solid transparent !important;
  border-radius:12px !important;
  background:#ffffff !important;
  box-shadow:none !important;
  color:#0d3b66 !important;
  text-align:left !important;
  text-transform:none !important;
  cursor:pointer;
  transition:background-color .18s ease,border-color .18s ease !important;
}
.dw-site .dwv26-listing-content button.dwv29-listing-title h3{
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
  color:#0d3b66 !important;
  font-size:33px;
  line-height:1.18;
  transition:color .18s ease !important;
}
.dw-site .dwv26-listing-content button.dwv29-listing-title:hover,
.dw-site .dwv26-listing-content button.dwv29-listing-title:focus-visible{
  background:#eef5fb !important;
  border-color:#d7e5ef !important;
  color:#0d3b66 !important;
  outline:none !important;
}
.dw-site .dwv26-listing-content button.dwv29-listing-title:hover h3,
.dw-site .dwv26-listing-content button.dwv29-listing-title:focus-visible h3{
  color:#0d3b66 !important;
}
.dw-site .dwv29-listing-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.dw-site .dwv29-view-property{cursor:pointer}

/* Woningdetailpopup blijft ruim, professioneel en klikbaar. */
body.dwv29-modal-open{overflow:hidden}
.dwv29-property-modal{position:fixed;inset:0;z-index:999999;display:none;padding:30px;align-items:center;justify-content:center}
.dwv29-property-modal.is-open{display:flex}
.dwv29-property-backdrop{position:absolute;inset:0;background:rgba(5,28,51,.78);backdrop-filter:blur(5px)}
.dwv29-property-dialog{position:relative;z-index:1;width:min(1240px,100%);max-height:calc(100vh - 60px);overflow:auto;border-radius:26px;background:#fff;box-shadow:0 30px 90px rgba(0,0,0,.32)}
.dwv29-property-close{position:absolute;right:16px;top:14px;z-index:4;width:44px;height:44px;border:0;border-radius:50%;background:rgba(8,55,95,.92);color:#fff;font-size:30px;line-height:1;cursor:pointer}
.dwv29-property-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr)}
.dwv29-property-gallery{padding:24px;background:#f4f8fa}
.dwv29-property-main{overflow:hidden;border-radius:18px;background:#dce8ef;aspect-ratio:16/10}
.dwv29-property-main img{width:100%;height:100%;object-fit:cover;display:block}
.dwv29-property-thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:12px;max-height:190px;overflow:auto;padding-bottom:2px}
.dwv29-property-thumbs button{padding:0;border:2px solid transparent;border-radius:10px;overflow:hidden;background:#fff;aspect-ratio:4/3;cursor:pointer;opacity:.78}
.dwv29-property-thumbs button.is-active{border-color:#4fae3b;opacity:1}
.dwv29-property-thumbs img{width:100%;height:100%;object-fit:cover;display:block}
.dwv29-property-content{position:relative;padding:42px 38px 36px;display:flex;flex-direction:column}
.dwv29-property-content h2{margin:8px 0 22px;color:#0d3b66;font-size:38px;line-height:1.1}
.dwv29-property-content>p{font-size:17px;line-height:1.75;margin:20px 0}
.dwv29-modal-status{position:static!important;align-self:flex-start;margin-bottom:16px}
.dwv29-modal-price{margin-top:auto;padding-top:24px;border-top:1px solid #dfe8ee;display:flex;gap:18px;align-items:center;justify-content:space-between}
.dwv29-modal-price>strong{font-size:24px;color:#0d3b66}

@media(max-width:980px){.dw-site .dwv26-listing-card{grid-template-columns:1fr}.dw-site .dwv26-listing-media{border-right:0;border-bottom:1px solid #e7edf1}}
@media(max-width:900px){.dw-site .dwv26-listing-content{padding:28px 22px}.dwv29-property-modal{padding:12px}.dwv29-property-dialog{max-height:calc(100vh - 24px)}.dwv29-property-layout{grid-template-columns:1fr}.dwv29-property-content{padding:28px 22px}.dwv29-property-thumbs{grid-template-columns:repeat(4,minmax(0,1fr))}.dw-site .dwv29-listing-actions{justify-content:flex-start}}
@media(max-width:600px){.dw-site .dwv26-listing-media{padding:12px}.dw-site .dwv26-listing-media .dwv3-status{left:22px;top:22px}.dw-site .dwv26-listing-content h3{font-size:28px}.dwv29-property-gallery{padding:14px}.dwv29-property-content h2{font-size:30px}.dwv29-modal-price{align-items:flex-start;flex-direction:column}.dw-site .dwv3-price-row{align-items:flex-start;flex-direction:column}.dw-site .dwv29-listing-actions{width:100%}.dw-site .dwv29-listing-actions .dw-btn{width:100%;text-align:center}}

/* V3.2: duidelijke pijlen om in de woningpopup door alle foto's te bladeren. */
.dwv29-property-main{position:relative}
.dwv29-gallery-arrow{
  position:absolute !important;
  top:50%;
  z-index:3;
  width:48px !important;
  height:48px !important;
  min-width:48px !important;
  padding:0 !important;
  margin:0 !important;
  transform:translateY(-50%);
  border:1px solid rgba(255,255,255,.85) !important;
  border-radius:50% !important;
  background:rgba(255,255,255,.94) !important;
  box-shadow:0 8px 24px rgba(5,28,51,.20) !important;
  color:#0d3b66 !important;
  font-family:Arial,sans-serif !important;
  font-size:40px !important;
  font-weight:400 !important;
  line-height:42px !important;
  text-align:center !important;
  cursor:pointer;
  opacity:.96;
  transition:background-color .18s ease,transform .18s ease,box-shadow .18s ease !important;
}
.dwv29-gallery-prev{left:16px}
.dwv29-gallery-next{right:16px}
.dwv29-gallery-arrow:hover,.dwv29-gallery-arrow:focus-visible{
  background:#eef6fb !important;
  transform:translateY(-50%) scale(1.06);
  box-shadow:0 10px 28px rgba(5,28,51,.27) !important;
  outline:none !important;
}
.dwv29-gallery-counter{
  position:absolute;
  right:16px;
  bottom:14px;
  z-index:2;
  padding:7px 11px;
  border-radius:999px;
  background:rgba(5,28,51,.72);
  color:#fff;
  font-size:13px;
  font-weight:800;
  line-height:1;
  pointer-events:none;
}
.dwv29-property-thumbs button:focus-visible{outline:3px solid rgba(79,174,59,.35);outline-offset:2px}
@media(max-width:600px){
  .dwv29-gallery-arrow{width:42px !important;height:42px !important;min-width:42px !important;font-size:34px !important;line-height:36px !important}
  .dwv29-gallery-prev{left:9px}.dwv29-gallery-next{right:9px}
  .dwv29-gallery-counter{right:9px;bottom:9px}
}
