/* De Sutter Projects - cookie consent */
.cc-banner, .cc-modal, .cc-embed-placeholder {
    --cc-brand: #2D3D59;
    --cc-brand-hover: #1f2b40;
    --cc-text: #272727;
    --cc-muted: #5a5a5a;
    --cc-bg: #ffffff;
    --cc-line: #e3e3e3;
    font-family: "Raleway", sans-serif;
    color: var(--cc-text);
    line-height: 1.55;
    box-sizing: border-box;
}
.cc-banner *, .cc-modal *, .cc-embed-placeholder * { box-sizing: border-box; }
[hidden].cc-banner, [hidden].cc-modal { display: none !important; }
html.cc-noscroll { overflow: hidden; }

.cc-title { font-size: 18px; font-weight: 700; margin: 0 0 8px; color: var(--cc-text); letter-spacing: 0; text-transform: none; line-height: 1.3; }
.cc-banner p, .cc-modal p, .cc-embed-placeholder p { font-size: 14px; margin: 0 0 10px; color: var(--cc-muted); }
.cc-banner a, .cc-modal a, .cc-embed-placeholder a { color: var(--cc-brand); text-decoration: underline; }

/* Banner */
.cc-banner {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2147483000;
    background: var(--cc-bg); border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
    max-width: 1100px; margin: 0 auto; padding: 22px 24px;
}
.cc-banner-inner { display: flex; gap: 24px; align-items: center; }
.cc-banner-text { flex: 1 1 auto; }
.cc-banner-text p { margin: 0; }

/* Knoppen: weigeren en accepteren bewust even prominent */
.cc-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cc-banner .cc-actions { flex: 0 0 auto; max-width: 360px; justify-content: flex-end; }
.cc-btn {
    font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
    padding: 11px 18px; border-radius: 4px; border: 2px solid var(--cc-brand);
    line-height: 1.2; text-transform: none; letter-spacing: 0; transition: background .15s, color .15s;
}
.cc-btn-primary { background: var(--cc-brand); color: #fff; min-width: 150px; }
.cc-btn-primary:hover { background: var(--cc-brand-hover); border-color: var(--cc-brand-hover); }
.cc-btn-secondary { background: #fff; color: var(--cc-brand); }
.cc-btn-secondary:hover { background: #f1f3f7; }
.cc-btn-link { background: none; border-color: transparent; color: var(--cc-brand); text-decoration: underline; padding-left: 6px; padding-right: 6px; }
.cc-btn:focus-visible, .cc-close:focus-visible, .cc-switch input:focus-visible + .cc-slider, .cc-details summary:focus-visible {
    outline: 3px solid #81ACEA; outline-offset: 2px;
}

/* Modal */
.cc-modal {
    position: fixed; inset: 0; z-index: 2147483001; background: rgba(20, 25, 35, .6);
    display: flex; align-items: center; justify-content: center; padding: 16px;
}
.cc-modal-box {
    position: relative; background: var(--cc-bg); border-radius: 6px; width: 100%; max-width: 720px;
    max-height: calc(100vh - 32px); overflow-y: auto; padding: 28px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .3);
}
.cc-prompt-box { max-width: 480px; }
.cc-close {
    position: absolute; top: 10px; right: 12px; background: none; border: 0; font-size: 28px;
    line-height: 1; cursor: pointer; color: var(--cc-muted); padding: 4px 8px;
}
.cc-cats { margin: 16px 0 20px; }
.cc-cat { border-top: 1px solid var(--cc-line); padding: 14px 0; }
.cc-cat:last-child { border-bottom: 1px solid var(--cc-line); }
.cc-cat-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cc-cat-title { font-weight: 700; font-size: 15px; margin: 0; color: var(--cc-text); cursor: pointer; }
.cc-cat-desc { margin: 6px 0 6px !important; }
.cc-always { font-size: 13px; font-weight: 600; color: var(--cc-brand); }

/* Schakelaar */
.cc-switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: 0 0 auto; margin: 0; }
.cc-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.cc-slider { position: absolute; inset: 0; background: #b9bec7; border-radius: 26px; transition: background .2s; }
.cc-slider::before {
    content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px;
    background: #fff; border-radius: 50%; transition: transform .2s;
}
.cc-switch input:checked + .cc-slider { background: var(--cc-brand); }
.cc-switch input:checked + .cc-slider::before { transform: translateX(20px); }
.cc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Cookietabel */
.cc-details summary { cursor: pointer; font-size: 13px; color: var(--cc-brand); font-weight: 600; }
.cc-table-wrap { overflow-x: auto; margin-top: 8px; }
.cc-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cc-table th, .cc-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--cc-line); vertical-align: top; color: var(--cc-text); }
.cc-table th { background: #f4f4f4; font-weight: 700; }

/* Placeholder voor geblokkeerde kaarten/video's */
.cc-embed-placeholder {
    display: flex; align-items: center; justify-content: center; text-align: center;
    background: #f4f4f4; border: 1px solid var(--cc-line); min-height: 260px; padding: 24px; width: 100%;
}
.cc-embed-inner { max-width: 440px; }
.cc-embed-title { font-weight: 700; color: var(--cc-text) !important; font-size: 16px !important; }
.cc-embed-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 12px 0 6px; }
.cc-embed-actions .cc-btn-primary { min-width: 0; }
.cc-embed-more { font-size: 12px !important; margin: 0 !important; }

/* Cookie-overzicht op de privacypagina */
[data-cookie-overview] .cc-table { margin-bottom: 24px; }

@media (max-width: 767px) {
    .cc-banner { left: 8px; right: 8px; bottom: 8px; padding: 18px; }
    .cc-banner-inner { flex-direction: column; align-items: stretch; gap: 14px; }
    .cc-banner .cc-actions { max-width: none; }
    .cc-banner .cc-btn-primary { flex: 1 1 140px; }
    .cc-banner .cc-btn-link { flex: 1 1 100%; }
    .cc-modal-box { padding: 22px 18px; }
    .cc-modal .cc-actions .cc-btn { flex: 1 1 100%; }
}
