
/* Project Weert: aanvulling zonder bestaande projecten of desktop-layout te wijzigen */
#projecten .weert-project{margin-top:36px;padding:24px;border:1px solid #dce7e2;border-radius:16px;background:#f8faf9}
#projecten .weert-project-intro{margin-bottom:20px}
#projecten .weert-project-label{font-size:.85rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#2e9351}
#projecten .weert-project-intro h3{margin:8px 0 10px;color:#0b2f55;font-size:clamp(1.4rem,2.4vw,2rem)}
#projecten .weert-project-intro p{margin:0;max-width:750px;line-height:1.6}
#projecten .weert-project-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
#projecten .weert-project-photos figure{margin:0;min-width:0;overflow:hidden;border-radius:12px;background:white;box-shadow:0 2px 10px rgba(0,0,0,.06)}
#projecten .weert-project-photos .weert-project-wide{grid-column:span 2;grid-row:span 2}
#projecten .weert-project-photos img{display:block;width:100%;height:190px;object-fit:cover}
#projecten .weert-project-photos .weert-project-wide img{height:100%;min-height:426px}
#projecten .weert-project-photos figcaption{padding:10px 12px;font-size:.88rem;color:#33463f}
@media(max-width:767px){#projecten .weert-project{padding:16px;margin-top:24px}#projecten .weert-project-photos{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#projecten .weert-project-photos .weert-project-wide{grid-column:1/-1;grid-row:auto}#projecten .weert-project-photos img{height:150px}#projecten .weert-project-photos .weert-project-wide img{height:245px;min-height:0}#projecten .weert-project-photos figcaption{font-size:.78rem;padding:8px}}
@media(max-width:380px){#projecten .weert-project-photos{grid-template-columns:1fr}#projecten .weert-project-photos .weert-project-wide{grid-column:auto}#projecten .weert-project-photos img{height:200px}}

/* Interactieve voor/na vergelijking Weert; bestaande website niet gewijzigd */
#projecten .weert-comparison{margin:0 0 18px}
#projecten .weert-compare-frame{position:relative;overflow:hidden;width:100%;max-width:760px;margin:auto;aspect-ratio:1.25;background:#e9efeb;border-radius:12px;isolation:isolate}
#projecten .weert-compare-frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center;display:block}
#projecten .weert-compare-after{clip-path:inset(0 0 0 var(--reveal))}
#projecten .weert-compare-label{position:absolute;top:14px;z-index:3;padding:7px 12px;border-radius:7px;background:rgba(9,35,55,.84);color:#fff;font-size:.8rem;font-weight:800;letter-spacing:.05em;pointer-events:none}
#projecten .weert-compare-label.before{left:14px}
#projecten .weert-compare-label.after{right:14px}
#projecten .weert-compare-divider{position:absolute;top:0;bottom:0;left:var(--reveal);width:3px;background:#fff;transform:translateX(-50%);z-index:2;pointer-events:none;box-shadow:0 0 5px #333}
#projecten .weert-compare-divider span{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:46px;height:46px;border:3px solid white;border-radius:50%;background:#0b2f55;color:#fff;font-size:24px;box-shadow:0 3px 12px #0004}
#projecten .weert-compare-range{position:absolute;inset:0;z-index:4;width:100%;height:100%;opacity:0;cursor:ew-resize;touch-action:pan-y;margin:0}
#projecten .weert-compare-range:focus-visible{opacity:.2;outline:3px solid #55b868;outline-offset:-4px}
#projecten .weert-compare-help{text-align:center;margin:9px 0 0;font-size:.85rem;color:#53645e}
#projecten .weert-project-photos{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:767px){#projecten .weert-compare-frame{aspect-ratio:3/4}#projecten .weert-compare-label{top:10px;padding:6px 9px;font-size:.72rem}#projecten .weert-project-photos{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:380px){#projecten .weert-project-photos{grid-template-columns:repeat(2,minmax(0,1fr))}}

#projecten .weert-comparison-title{font-size:clamp(1.1rem,2vw,1.4rem);color:#0b2f55;margin:22px 0 14px;text-align:center}
#projecten .weert-comparison-detail .weert-compare-frame{aspect-ratio:1.15}
@media(max-width:767px){#projecten .weert-comparison-detail .weert-compare-frame{aspect-ratio:3/4}}

/* Compacte projectpresentatie Weert: twee gelijkwaardige vergelijkingen */
#projecten .weert-project{max-width:1050px;margin:32px auto 0;padding:clamp(16px,2.5vw,28px)}
#projecten .weert-project-intro{max-width:800px;margin:0 auto 24px;text-align:center}
#projecten .weert-comparison-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start;margin:0 auto 22px;max-width:920px}
#projecten .weert-comparison{margin:0;min-width:0;padding:14px;background:#fff;border:1px solid #dce7e2;border-radius:16px;box-shadow:0 5px 18px rgba(8,38,64,.055)}
#projecten .weert-comparison-title{font-size:clamp(1.03rem,1.55vw,1.22rem);margin:2px 0 12px;text-align:left;line-height:1.35}
#projecten .weert-compare-frame,#projecten .weert-comparison-detail .weert-compare-frame{max-width:none;aspect-ratio:4/3;border-radius:10px}
#projecten .weert-compare-help{font-size:.79rem;margin:10px 0 2px;line-height:1.4}
#projecten .weert-compare-divider span{width:38px;height:38px;font-size:20px}
#projecten .weert-project-photos{max-width:920px;margin:0 auto}
@media(max-width:767px){
 #projecten .weert-project{padding:16px;margin-top:24px}
 #projecten .weert-project-intro{text-align:left;margin-bottom:18px}
 #projecten .weert-comparison-grid{grid-template-columns:1fr;gap:16px;max-width:480px;margin-bottom:18px}
 #projecten .weert-comparison{padding:12px}
 #projecten .weert-compare-frame,#projecten .weert-comparison-detail .weert-compare-frame{aspect-ratio:5/4}
 #projecten .weert-comparison-title{font-size:1.05rem;margin:2px 0 10px}
 #projecten .weert-compare-label{font-size:.7rem}
}

/* Extra projectgalerij: alleen nieuwe projectsectie */
#projecten .rood-project{margin-top:26px;padding:24px;border:1px solid #dce7e2;border-radius:16px;background:#f8faf9}
#projecten .rood-project-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
#projecten .rood-project-gallery figure{min-width:0;margin:0;background:white;border-radius:12px;overflow:hidden;box-shadow:0 2px 10px #0001}
#projecten .rood-project-gallery img{display:block;width:100%;height:245px;object-fit:cover}
#projecten .rood-project-gallery figcaption{padding:12px;font-size:.88rem;color:#33463f}
@media(max-width:767px){#projecten .rood-project{padding:16px}#projecten .rood-project-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#projecten .rood-project-gallery figure:first-child{grid-column:1/-1}#projecten .rood-project-gallery figure:first-child img{height:240px}#projecten .rood-project-gallery img{height:170px}#projecten .rood-project-gallery figcaption{padding:9px;font-size:.78rem}}
