/* Houd het eerste deel van de hero-titel in de oorspronkelijke kleur/opmaak. */
    .hero h1 .dg-title-main { color: inherit !important; display: inline !important; }

    /* =========================================================
       BEHEERSTAND — alleen zichtbaar met ?beheer=1
       ========================================================= */
    #dg-editor-root, #dg-editor-root * { box-sizing: border-box; }
    #dg-editor-root { position: relative; z-index: 2147483000; font-family: Arial, Helvetica, sans-serif; }
    .dg-admin-pill {
      position: fixed; left: 16px; bottom: 16px; z-index: 2147483000;
      display: flex; align-items: center; gap: 8px; padding: 9px 12px;
      border-radius: 999px; color: #fff; background: #0A1018;
      border: 1px solid rgba(200,163,106,.55); box-shadow: 0 10px 28px rgba(0,0,0,.35);
      font-size: 13px; font-weight: 800; letter-spacing: .02em;
    }
    .dg-admin-pill button { all: unset; cursor: pointer; color: #C8A36A; padding: 2px 4px; }
    .dg-editor-panel {
      position: fixed; z-index: 2147483001; top: 0; right: 0; width: min(430px, 96vw); height: 100vh;
      display: flex; flex-direction: column; color: #eef3f7; background: #0A1018;
      border-left: 1px solid rgba(200,163,106,.28); box-shadow: -20px 0 50px rgba(0,0,0,.32);
      transform: translateX(102%); transition: transform .22s ease;
    }
    .dg-editor-panel.dg-open { transform: translateX(0); }
    .dg-editor-head { padding: 18px 18px 14px; border-bottom: 1px solid rgba(255,255,255,.09); }
    .dg-editor-head-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
    .dg-editor-title { margin: 0; font-size: 20px; color: #fff; }
    .dg-editor-sub { margin: 6px 0 0; font-size: 12px; line-height: 1.5; color: #b9c2cb; }
    .dg-icon-btn { border: 0; background: transparent; color: #fff; cursor: pointer; font-size: 24px; line-height: 1; }
    .dg-editor-search { width: 100%; margin-top: 12px; padding: 11px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: #111B29; color: #fff; outline: none; }
    .dg-editor-body { overflow: auto; padding: 14px 14px 130px; }
    .dg-group { margin: 0 0 18px; }
    .dg-group-title { position: sticky; top: -1px; z-index: 2; margin: 0 0 8px; padding: 8px 4px; background: #0A1018; color: #C8A36A; font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
    .dg-field { margin: 0 0 10px; padding: 10px; border: 1px solid rgba(255,255,255,.09); border-radius: 12px; background: #111B29; }
    .dg-field[hidden] { display: none !important; }
    .dg-field label { display: block; margin-bottom: 7px; color: #dce3ea; font-size: 12px; font-weight: 800; }
    .dg-field textarea { width: 100%; min-height: 70px; resize: vertical; padding: 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 9px; background: #08111d; color: #fff; font: 14px/1.45 Arial, Helvetica, sans-serif; outline: none; }
    .dg-field textarea:focus { border-color: rgba(200,163,106,.78); box-shadow: 0 0 0 3px rgba(200,163,106,.12); }
    .dg-jump { margin-top: 7px; border: 0; background: transparent; color: #C8A36A; cursor: pointer; padding: 0; font-size: 12px; font-weight: 800; }
    .dg-editor-actions { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; border-top: 1px solid rgba(255,255,255,.1); background: rgba(10,16,24,.98); backdrop-filter: blur(12px); }
    .dg-action { min-height: 42px; border-radius: 10px; border: 1px solid rgba(255,255,255,.13); background: #172333; color: #fff; cursor: pointer; font-weight: 800; }
    .dg-action:hover { filter: brightness(1.08); }
    .dg-action.dg-primary { grid-column: 1 / -1; border-color: #C8A36A; background: #B28A52; color: #08111d; }
    .dg-action.dg-danger { color: #ffb3b3; }
    .dg-highlight { outline: 3px solid rgba(200,163,106,.9) !important; outline-offset: 5px !important; border-radius: 4px; }
    .dg-toast { position: fixed; z-index: 2147483003; left: 50%; bottom: 22px; transform: translateX(-50%) translateY(16px); max-width: min(620px, 92vw); padding: 12px 16px; border-radius: 12px; background: #07101a; color: #fff; border: 1px solid rgba(200,163,106,.55); box-shadow: 0 12px 36px rgba(0,0,0,.35); opacity: 0; pointer-events: none; transition: .2s ease; font-size: 14px; text-align: center; }
    .dg-toast.dg-show { opacity: 1; transform: translateX(-50%) translateY(0); }
    .dg-settings-backdrop { position: fixed; z-index: 2147483002; inset: 0; display: none; place-items: center; padding: 18px; background: rgba(0,0,0,.68); }
    .dg-settings-backdrop.dg-open { display: grid; }
    .dg-settings { width: min(560px, 96vw); max-height: 92vh; overflow: auto; border-radius: 18px; padding: 20px; background: #0A1018; color: #fff; border: 1px solid rgba(200,163,106,.4); box-shadow: 0 25px 70px rgba(0,0,0,.48); }
    .dg-settings h2 { margin: 0 0 8px; font-size: 22px; }
    .dg-settings p { color: #bec8d1; line-height: 1.55; font-size: 13px; }
    .dg-settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .dg-settings label { display: block; color: #dfe6ec; font-size: 12px; font-weight: 800; }
    .dg-settings input { width: 100%; margin-top: 6px; padding: 11px 12px; border-radius: 9px; border: 1px solid rgba(255,255,255,.14); background: #111B29; color: #fff; outline: none; }
    .dg-settings .dg-full { grid-column: 1 / -1; }
    .dg-settings-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 16px; }
    .dg-small-note { padding: 10px 12px; border-radius: 10px; background: rgba(200,163,106,.08); border: 1px solid rgba(200,163,106,.18); }
    @media (max-width: 700px) {
      .dg-editor-panel { width: 100vw; }
      .dg-settings-grid { grid-template-columns: 1fr; }
      .dg-settings .dg-full { grid-column: auto; }
      .dg-admin-pill { left: 10px; bottom: 10px; }
    }
