/* HB Housing 1.0.21 – integration-specific styles; intentionally independent of main Sass builds. */
.property-teaser .hb-woningen--home{background:transparent;padding:0;color:inherit;font:inherit}
.property-teaser .hb-woningen--home .property-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem}
.hb-woningen .hb-live-fields .search-field{min-width:0}
.hb-woningen .hb-live-fields .search-items{min-width:0}
.hb-woningen .hb-live-fields .search-items label{cursor:pointer}
.hb-woningen .hb-live-fields .search-items input[type="checkbox"]{width:auto;min-height:auto;appearance:auto;margin-right:6px}
.hb-woningen .hb-venum-pagination{display:flex;justify-content:center;gap:1.5rem;margin-top:2rem}
.hb-woningen .hb-venum-pagination .pagination{margin:0}
.hb-woningen .hb-venum-pagination a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:50px;padding:9px 18px;border:1px solid #ded7d0;background:#fff}
.hb-woningen .hb-venum-pagination a:hover{border-color:#F15C30;color:#F15C30}
.hb-woningen .hb-venum-setup-notice{grid-column:1/-1}
@media(max-width:900px){.property-teaser .hb-woningen--home .property-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.property-teaser .hb-woningen--home .property-grid{grid-template-columns:1fr}}

.hb-woningen .hb-floorplan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:14px;margin:22px 0}
.hb-woningen .hb-floorplan-grid img{width:100%;height:auto;border-radius:10px;border:1px solid #ded7d0;background:#fff}
.hb-woningen #entity-results.list .property-grid{grid-template-columns:1fr}
.hb-woningen #entity-results.list .property-card{display:grid;grid-template-columns:minmax(220px,36%) 1fr}
.hb-woningen #entity-results.list .card-image{height:100%;min-height:230px}
@media(max-width:650px){.hb-woningen #entity-results.list .property-card{display:block}.hb-woningen #entity-results.list .card-image{height:230px}}

/* Venum type field uses native radios. Keep the approved HB Housing slide effect. */
.hb-woningen .hb-live-type-switch{min-width:190px}
.hb-woningen .hb-live-type-switch:not(.has-selection)::before{opacity:0}
.hb-woningen .hb-live-type-switch label{cursor:pointer;display:flex;align-items:center;justify-content:center;position:relative;z-index:1}
.hb-woningen .hb-live-type-switch label input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.hb-woningen .hb-live-type-switch label:focus-within{outline:2px solid #F15C30;outline-offset:2px}
@media(max-width:640px){.hb-woningen .hb-live-type-switch{width:100%}}

/* Homepage's Huur/Koop indicators are functional links only when Venum is active. */
.property-teaser__filters a{display:inline-flex;align-items:center;justify-content:center;min-width:5.8rem;padding:.7rem 1.3rem;border-radius:999px;text-align:center;color:#fff;text-decoration:none}
.property-teaser__filters a:first-child{background:#F15C30}
.property-teaser__filters a:last-child{background:#010432}
.property-teaser__filters a:focus-visible{outline:3px solid #F15C30;outline-offset:3px}
@media(min-width:1181px){.home .property-teaser__filters a{width:50%;height:3.4rem;font-family:'Satoshi',Arial,sans-serif;font-size:1.2rem;font-weight:700;text-transform:uppercase;padding:0}}

/* v1.0.22: authoritative Venum visual integration. Override legacy 2-column results. */
.hb-woningen #entity-results.grid #entity-items,.hb-woningen #entity-results.grid .property-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
@media(max-width:1120px){.hb-woningen #entity-results.grid #entity-items,.hb-woningen #entity-results.grid .property-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.hb-woningen #entity-results.grid #entity-items,.hb-woningen #entity-results.grid .property-grid{grid-template-columns:minmax(0,1fr)}}
/* Real cards and specification panels never become illegible while scrolling. */
html.hb-motion-ready .hb-woningen .property-card[data-hb-reveal],
html.hb-motion-ready .hb-woningen .keyfact[data-hb-reveal],
html.hb-motion-ready .hb-woningen .features-panel[data-hb-reveal],
html.hb-motion-ready .hb-woningen .section-intro[data-hb-reveal],
html.hb-motion-ready .hb-woningen .location-panel[data-hb-reveal]{opacity:calc(.85 + .15 * var(--hb-motion-progress,1))}
@media print{html.hb-motion-ready .hb-woningen [data-hb-reveal]{opacity:1!important;translate:none!important;clip-path:none!important}}
.hb-woningen .hb-live-fields{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:16px}
.hb-woningen .hb-live-fields .hb-filter-popover{display:block;min-width:0;position:relative}
.hb-woningen .hb-filter-popover summary{position:relative;display:flex;flex-direction:column;gap:5px;list-style:none;cursor:pointer;border:1px solid #e4dbd3;border-radius:8px;background:var(--cream);padding:8px 33px 8px 12px;min-height:66px}
.hb-woningen .hb-filter-popover summary::-webkit-details-marker{display:none}
.hb-woningen .hb-filter-popover summary:after{content:'';position:absolute;right:14px;bottom:17px;width:8px;height:8px;border-right:1.8px solid var(--navy);border-bottom:1.8px solid var(--navy);transform:rotate(45deg);transition:transform .18s ease}
.hb-woningen .hb-filter-popover[open] summary:after{transform:rotate(225deg)}
.hb-woningen .hb-filter-popover summary:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
.hb-woningen .hb-filter-popover .hb-filter-label{font-size:11px;font-weight:800;margin:0}
.hb-woningen .hb-filter-summary{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted)}
.hb-woningen .hb-filter-popover[open]{z-index:30}
.hb-woningen .hb-filter-popover__panel{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:30;background:#fff;border:1px solid #e4dbd3;border-radius:10px;padding:11px;box-shadow:0 18px 38px rgba(1,4,50,.12)}
.hb-woningen .hb-filter-popover .hb-checklist{max-height:220px;overflow:auto;display:grid;gap:2px;padding:0}
.hb-woningen .hb-filter-popover .hb-checklist label{display:flex;width:100%;padding:7px 4px;border-radius:5px;white-space:normal;font-size:13px;align-items:center}
.hb-woningen .hb-filter-popover .hb-checklist label.hidden{display:flex!important}
.hb-woningen .hb-filter-popover .hb-checklist label:hover{background:var(--cream)}
.hb-woningen .hb-filter-popover .clear-selected{font-size:12px;margin-top:9px}
.hb-woningen .hb-filter-address>label,.hb-woningen .hb-filter-price>.hb-filter-label{font-size:11px;font-weight:800;min-height:18px;display:block}
.hb-woningen .hb-filter-address .search-items input{height:45px}
.hb-woningen .hb-filter-price .search-items{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.hb-woningen .hb-filter-price .search-items select{min-height:45px;font-size:12px}
.hb-woningen .hb-filter-price .slider-container{display:none!important}
.hb-woningen .hb-live-type-switch{display:flex;align-items:stretch;gap:3px;padding:4px;min-width:190px;min-height:44px}
.hb-woningen .hb-live-type-switch label{flex:1;min-height:34px;padding:7px 16px;font-size:13px;font-weight:800}
.hb-woningen .hb-live-type-switch:has(input:checked)::before{opacity:1}
.hb-woningen .hb-live-type-switch:has(input:not(:checked)) label:not(:has(input:checked)){color:var(--navy)}
.hb-woningen .hb-live-search .search-head{flex-wrap:wrap}
.hb-woningen .search-panel{overflow:visible}
@media(max-width:1000px){.hb-woningen .hb-live-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.hb-woningen .hb-live-fields{grid-template-columns:1fr}.hb-woningen .hb-filter-popover__panel{position:relative;top:4px}.hb-woningen .hb-filter-price .search-items{grid-template-columns:1fr 1fr}}
/* Description expansion: keep the full Kolibri text in the HTML, but make the page scannable. */
.hb-woningen .property-description.is-collapsed{max-height:560px;overflow:hidden;mask-image:linear-gradient(#000 80%,transparent 100%)}
.hb-woningen .hb-description-toggle{margin:16px 0 12px;padding:11px 17px;border:1px solid var(--orange);border-radius:999px;background:transparent;color:var(--orange);font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.hb-woningen .hb-description-toggle:hover{background:rgba(241,92,48,.07)}
.hb-woningen .hb-description-toggle[hidden]{display:none}
@media(max-width:760px){.hb-woningen .property-description.is-collapsed{max-height:430px}}
/* Location presentation: load an external map only on explicit visitor request. */
.hb-woningen .location-panel{padding:0;display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,1.5fr);min-height:235px;overflow:hidden}
.hb-woningen .hb-location-copy{padding:27px;min-width:0}
.hb-woningen .hb-location-copy strong{display:block;font-size:19px;margin-bottom:9px}
.hb-woningen .hb-location-copy p{font-size:15px}
.hb-woningen .hb-location-map{position:relative;min-height:235px;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:12px;overflow:hidden;background:repeating-linear-gradient(0deg,transparent 0 38px,rgba(1,4,50,.05) 39px 40px),repeating-linear-gradient(90deg,transparent 0 38px,rgba(1,4,50,.05) 39px 40px),#eee9e3}
.hb-woningen .hb-location-pin{display:grid;place-items:center;background:var(--orange);color:#fff;width:50px;height:50px;border-radius:50%;font-size:28px;box-shadow:0 8px 19px rgba(1,4,50,.18)}
.hb-woningen .hb-map-load{border:0;border-radius:99px;padding:12px 20px;background:var(--navy);color:#fff;cursor:pointer;font:inherit;font-size:13px;font-weight:750}
.hb-woningen .hb-location-map iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
@media(max-width:760px){.hb-woningen .location-panel{grid-template-columns:1fr}.hb-woningen .hb-location-map{min-height:240px}}

/* v1.0.23 — photo and floorplan galleries share the accessible lightbox. */
.hb-woningen .gallery-main .hb-gallery-actions{
  position:absolute;right:14px;bottom:14px;z-index:3;display:flex;
  flex-wrap:wrap;justify-content:flex-end;gap:8px;max-width:calc(100% - 28px)
}
.hb-woningen .gallery-main .hb-gallery-action{
  position:relative;display:inline-flex;align-items:center;justify-content:center;gap:7px;
  padding:10px 14px;min-height:44px;background:#fff;color:#010432;
  border:1px solid rgba(1,4,50,.15);border-radius:100px;font:inherit;
  font-size:12px;font-weight:750;line-height:1.2;cursor:pointer;
  box-shadow:0 5px 16px #0002;transition:background .2s ease,transform .2s ease
}
.hb-woningen .gallery-main .hb-gallery-action:hover{background:#f9f5f1;transform:translateY(-2px)}
.hb-woningen .gallery-main .hb-gallery-action:focus-visible,.hb-woningen .hb-floorplan-open:focus-visible{
  outline:3px solid #f15c30;outline-offset:3px
}
.hb-woningen .gallery-main .hb-gallery-action .icon{width:16px;height:16px}
.hb-woningen .gallery-main .hb-gallery-action span{font-weight:850}
.hb-woningen .hb-floorplan-open{min-width:0;overflow:hidden;display:flex;flex-direction:column;align-items:stretch;text-align:left;
  border:1px solid #ded7d0;background:#fff;border-radius:12px;padding:0;cursor:zoom-in;color:#010432}
.hb-woningen .hb-floorplan-open img{width:100%;height:200px;object-fit:contain;padding:12px;border:0;border-radius:0;background:#fff}
.hb-woningen .hb-floorplan-caption{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 16px;
  border-top:1px solid #eee6e0;font-size:13px;font-weight:750}
.hb-woningen .hb-floorplan-open:hover .hb-floorplan-caption{color:#f15c30}
.hb-woningen .hb-floorplan-document{min-height:200px;display:grid;place-items:center;color:#010432;background:#f9f5f1;font-weight:750}
/* Explicit grid positions preserve gallery arrow alignment with a mode switch. */
.hb-photo-lightbox__tabs{grid-column:1/-1;grid-row:1;display:flex;justify-content:center;gap:8px;margin-bottom:12px}
.hb-photo-lightbox__tabs button{width:auto;height:auto;min-height:42px;padding:10px 18px;border-radius:999px;
  font-size:13px;font-weight:750;line-height:1.2}
.hb-photo-lightbox__tabs button[aria-pressed="true"]{background:#fff;color:#010432}
.hb-photo-lightbox__tabs button[hidden]{display:none}
.hb-photo-lightbox__content{grid-column:2;grid-row:2;min-width:0;min-height:0;display:grid;place-items:center;
  max-height:calc(100dvh - 210px);height:min(75dvh,760px)}
.hb-photo-lightbox__image{grid-column:auto;grid-row:auto;height:100%;max-height:100%;object-fit:contain}
.hb-photo-lightbox__image[hidden],.hb-photo-lightbox__document[hidden],.hb-photo-lightbox__file[hidden],.hb-photo-lightbox__open[hidden]{display:none!important}
.hb-photo-lightbox__document{border:0;background:#fff;width:100%;height:100%;max-height:100%}
.hb-photo-lightbox__file{background:#fff;color:#010432;padding:40px;border-radius:12px;text-align:center}
.hb-photo-lightbox__previous{grid-column:1;grid-row:2}
.hb-photo-lightbox__next{grid-column:3;grid-row:2}
.hb-photo-lightbox__caption{grid-column:1/-1;grid-row:3}
.hb-photo-lightbox__open{grid-column:1/-1;grid-row:4;text-align:center;color:#fff;text-decoration:underline;text-underline-offset:3px;font-size:13px}
.hb-photo-lightbox__open:focus-visible{outline:3px solid #f15c30;outline-offset:4px}
@media(max-width:640px){
  .hb-woningen .gallery-main .hb-gallery-actions{right:8px;bottom:8px;gap:5px;max-width:calc(100% - 16px)}
  .hb-woningen .gallery-main .hb-gallery-action{padding:8px 10px;min-height:42px;font-size:11px}
  .hb-photo-lightbox__content{height:min(70dvh,620px);max-height:calc(100dvh - 210px)}
  .hb-photo-lightbox__tabs{margin-bottom:7px}
}
@media(prefers-reduced-motion:reduce){.hb-woningen .gallery-main .hb-gallery-action{transition:none!important}}

.hb-woningen .hb-gallery-no-photo{height:100%;min-height:245px;display:grid;place-items:center;padding:30px;text-align:center;background:#ece0d4;color:#010432;font-size:16px}
