/* Styling v4.60.82 — alleen maatwerkgalerij en de zelfstandige beheerpagina */
.ew-mw-gallery{max-width:1160px;margin:45px auto;padding:36px clamp(15px,3vw,34px);background:#191714;border:1px solid #8a6b41;border-radius:16px;color:#f1e8d9}
.ew-mw-gallery *,.ew-mw-manage *{box-sizing:border-box}
.ew-mw-gallery-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:25px;flex-wrap:wrap}
.ew-mw-eyebrow{font-size:12px!important;letter-spacing:.15em;text-transform:uppercase;font-weight:800;color:#e5bd76!important;margin:0 0 8px!important}
.ew-mw-gallery h2{color:#e6c084!important;font-size:clamp(1.65rem,3vw,2.3rem);line-height:1.2;margin:0 0 12px}
.ew-mw-gallery-head p{color:#e6dfd4;line-height:1.6;max-width:700px;margin:0}
.ew-mw-manage-link,.ew-mw-button-secondary{display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none!important;white-space:normal;background:#2c2924;border:1px solid #99774c;border-radius:7px;padding:10px 16px;color:#f0d29d!important;line-height:1.4;font-weight:650}
.ew-mw-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.ew-mw-card{background:#24201c;border:1px solid #685234;border-radius:13px;overflow:hidden;min-width:0}
.ew-mw-card-photo{aspect-ratio:4/3;overflow:hidden;background:#151515}
.ew-mw-card-photo a,.ew-mw-card-photo img{display:block;width:100%;height:100%}
.ew-mw-card-photo img{object-fit:contain;transition:transform .2s ease}
.ew-mw-card-photo a:hover img{transform:scale(1.025)}
.ew-mw-card-thumbs{display:flex;gap:7px;overflow:auto;padding:11px 14px 2px;scrollbar-width:thin}
.ew-mw-card-thumbs button{height:51px;width:59px;flex:none;padding:2px;border-radius:6px;border:2px solid #645137;background:#111;cursor:pointer}
.ew-mw-card-thumbs button.is-active{border-color:#e7be78}
.ew-mw-card-thumbs img{width:100%;height:100%;object-fit:cover;display:block}
.ew-mw-card-body{padding:18px 19px 21px;overflow-wrap:anywhere}
.ew-mw-card-body h3{color:#e8bf7c!important;font-size:1.16rem;line-height:1.3;margin:0 0 9px}
.ew-mw-card-body p{line-height:1.65;color:#eee8df!important;margin:0 0 10px}
.ew-mw-empty{padding:16px 0;color:#ddd2c0}
.ew-mw-lightbox{position:fixed;max-width:92vw;max-height:91vh;padding:20px;background:#171511;border:1px solid #b28b53;border-radius:13px;color:#ffe6b5}
.ew-mw-lightbox::backdrop{background:rgba(0,0,0,.83)}
.ew-mw-lightbox img{display:block;max-width:85vw;max-height:75vh;object-fit:contain}
.ew-mw-lightbox [data-ew-mw-caption]{margin:12px 0 0;color:#ffe6b5}
.ew-mw-lightbox-close{display:block;margin:0 0 10px auto;background:#332a20;color:#fff;border:1px solid #cca566;border-radius:6px;padding:3px 12px;font-size:24px;cursor:pointer}
.ew-mw-manage{max-width:1120px;margin:25px auto 55px;padding:clamp(19px,3vw,35px);background:#171613;border:1px solid #90714b;border-radius:12px;color:#f4ead8}
.ew-mw-manage h2,.ew-mw-manage h3{color:#e4bb74!important}
.ew-mw-manage p{color:#e6decf;line-height:1.6}
.ew-mw-form{margin:22px 0 36px;border:1px solid #765a37;padding:22px;background:#211e19;border-radius:10px;display:grid;gap:15px}
.ew-mw-form label{display:grid;gap:6px;color:#f1e5d7;font-weight:650}
.ew-mw-form input[type=text],.ew-mw-form textarea,.ew-mw-form select{width:100%;color:#fff;background:#2b2825;border:1px solid #9f7d50;border-radius:7px;padding:11px;font:inherit}
.ew-mw-form input[type=file]{color:#f2d9ad;max-width:100%}
.ew-mw-picker{border:1px solid #786140;padding:15px;border-radius:8px;display:grid;gap:12px}
.ew-mw-selected{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.ew-mw-selected img{height:76px;width:90px;object-fit:contain;border:1px solid #987446;border-radius:6px;background:#111}
.ew-mw-button-primary{padding:12px 19px;border:none;border-radius:7px;background:#cda462;color:#17120b;font-weight:800;cursor:pointer}
.ew-mw-button-secondary{cursor:pointer;font:inherit}
.ew-mw-button-danger{background:#36201d;color:#ffcabd;border:1px solid #bf786d;border-radius:7px;padding:10px 12px;cursor:pointer}
.ew-mw-form-actions{display:flex;flex-wrap:wrap;gap:10px}
.ew-mw-notice{border:1px solid #6c9875;background:#1b3625;color:#dcf4df!important;padding:13px;border-radius:7px}
.ew-mw-manage-list{display:grid;gap:10px}
.ew-mw-manage-item{display:grid;grid-template-columns:66px minmax(140px,1fr) auto;gap:13px;align-items:center;padding:12px;border:1px solid #695236;border-radius:9px;background:#221f1b}
.ew-mw-manage-thumb{width:65px;height:60px;background:#111;border-radius:6px;overflow:hidden}
.ew-mw-manage-thumb img{width:100%;height:100%;object-fit:cover}
.ew-mw-manage-item strong,.ew-mw-manage-item span{display:block}
.ew-mw-manage-item span{font-size:.82rem;color:#d9cab4;margin-top:5px}
.ew-mw-manage-controls{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.ew-mw-manage-controls form{display:inline-flex;margin:0}
.ew-mw-manage-controls button:disabled{opacity:.4;cursor:not-allowed}
@media(max-width:940px){.ew-mw-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.ew-mw-gallery-grid{grid-template-columns:1fr}.ew-mw-gallery{padding:20px 14px}.ew-mw-manage-item{grid-template-columns:53px 1fr}.ew-mw-manage-controls{grid-column:1/-1}.ew-mw-form{padding:14px}.ew-mw-manage{padding:16px 12px}}

/* v4.60.83 — specific manager, button and uploader fixes (no global theme selectors). */
body.ew-mw-site .entry-header,body.ew-mw-site .entry-title{display:none!important}
body.ew-mw-site .ew-mw-manage{margin:20px auto 55px!important;max-width:1100px!important;padding:clamp(24px,3vw,38px)!important;background:#171613!important;color:#f4ead8!important}
.ew-mw-manage .ew-mw-eyebrow{color:#d3a75f!important}
.ew-mw-manage h2{font-size:clamp(1.75rem,3vw,2.4rem)!important;line-height:1.24!important;margin:3px 0 18px!important}
.ew-mw-manage button.ew-mw-button-secondary,.ew-mw-manage a.ew-mw-button-secondary,.ew-mw-manage button[data-ew-mw-select],.ew-mw-manage a.ew-mw-manage-link{background:#2c2924!important;color:#f0d29d!important;border:1px solid #99774c!important;box-shadow:none!important;transition:background-color .15s ease,color .15s ease!important}
.ew-mw-manage button.ew-mw-button-secondary:hover,.ew-mw-manage button.ew-mw-button-secondary:focus-visible,.ew-mw-manage a.ew-mw-button-secondary:hover,.ew-mw-manage a.ew-mw-button-secondary:focus-visible,.ew-mw-manage button[data-ew-mw-select]:hover,.ew-mw-manage button[data-ew-mw-select]:focus-visible,.ew-mw-manage a.ew-mw-manage-link:hover,.ew-mw-manage a.ew-mw-manage-link:focus-visible{background:#3c3224!important;color:#ffe4a9!important;border-color:#dfb776!important}
.ew-mw-manage .ew-mw-button-primary:hover,.ew-mw-manage .ew-mw-button-primary:focus-visible{background:#e4bd79!important;color:#18120a!important}
.ew-mw-manage .ew-mw-button-danger:hover,.ew-mw-manage .ew-mw-button-danger:focus-visible{background:#58302b!important;color:#ffe1d9!important}
.ew-mw-manage .ew-mw-picker input[type=file]{width:100%;background:#26221d!important;color:#f0dfc4!important;border:1px solid #846b49!important;border-radius:7px!important;padding:10px!important}
.ew-mw-manage .ew-mw-picker input[type=file]::file-selector-button{background:#332b22!important;color:#f3d39d!important;border:1px solid #ae8854!important;padding:8px 13px!important;border-radius:5px!important;margin-right:12px!important;font:inherit!important;cursor:pointer}
.ew-mw-manage .ew-mw-picker input[type=file]::file-selector-button:hover{background:#4b3925!important;color:#ffe9c4!important}
.ew-mw-manage .ew-mw-picker input[type=file]:focus-visible{outline:2px solid #d6b078!important;outline-offset:3px}
.ew-mw-manage .ew-mw-selected{min-height:12px}
.ew-mw-manage .ew-mw-preview{position:relative;flex:none;width:90px;height:86px;border:1px solid #a28255;border-radius:7px;background:#111;overflow:hidden}
.ew-mw-manage .ew-mw-preview img{width:100%;height:100%;display:block;object-fit:contain;background:#111}
.ew-mw-manage .ew-mw-preview button{position:absolute;right:2px;top:2px;width:25px;height:25px;border-radius:5px;background:#3b2724!important;border:1px solid #e0a77a!important;color:#ffe8df!important;font-size:19px;line-height:1;cursor:pointer;padding:0!important}
.ew-mw-manage .ew-mw-preview button:hover,.ew-mw-manage .ew-mw-preview button:focus-visible{background:#7a4031!important;color:#fff!important}
.ew-mw-manage .ew-mw-upload-feedback{margin:0!important;color:#efc993!important;font-size:13px}
@media(max-width:650px){body.ew-mw-site .ew-mw-manage{padding:19px 13px!important;margin:12px auto 40px!important}.ew-mw-manage .ew-mw-picker input[type=file]::file-selector-button{margin-bottom:6px!important}}
