/* Simple GDPR cookie consent banner and modal */
.ck-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: rgba(24,24,24,0.95);
  color: #fff;
  padding: 16px 20px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 14px;
}
.ck-banner .ck-text { max-width: 70%; }
.ck-banner .ck-actions { display: flex; gap: 8px; align-items: center; }
.ck-btn { background: #f4f4f4; color: #111; border: none; padding: 8px 12px; border-radius: 4px; cursor: pointer; }
.ck-btn.secondary { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.ck-link { color: #ffd700; text-decoration: underline; }

/* Modal */
.ck-modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: none; align-items: center; justify-content: center; z-index: 10000; }
.ck-modal { background: #fff; color: #222; width: 92%; max-width: 720px; border-radius: 6px; padding: 18px; box-shadow: 0 8px 30px rgba(0,0,0,0.3); }
.ck-modal h3 { margin-top: 0; }
.ck-toggle { display:flex; align-items:center; justify-content:space-between; padding:10px 0; border-bottom:1px solid #eee; }
.ck-toggle:last-child { border-bottom: none; }
.ck-switch { width:44px; height:24px; background:#ddd; border-radius:20px; position:relative; cursor:pointer; }
.ck-switch .dot { position:absolute; top:3px; left:3px; width:18px; height:18px; background:#fff; border-radius:50%; transition:all .2s; }
.ck-switch.on { background:#28a745; }
.ck-switch.on .dot { left:23px; }
.ck-footer { text-align:right; margin-top:14px; }

@media (max-width:600px){ .ck-banner .ck-text{ max-width:100%; margin-bottom:8px } }

/* Placeholder card for third-party embeds */
.ck-embed > div { padding: 14px; box-sizing: border-box; }
.ck-placeholder { background: linear-gradient(180deg,#ffffff,#f2f2f2); border: 1px solid #e6e6e6; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,0.06); color: #222; }
.ck-placeholder .small { color: #666; font-size: 13px; margin-top: 6px; }
.ck-accept-inline { background:#28a745; color:#fff; border:none; padding:8px 12px; border-radius:6px; cursor:pointer; box-shadow:0 4px 10px rgba(40,167,69,0.15); }
.ck-accept-inline.secondary { background:#007bff; }
.ck-embed .ck-actions-inline { display:flex; gap:8px; align-items:center; }

/* center embed placeholders horizontally */
.ck-embed { display:flex; justify-content:center; }
.ck-embed .ck-placeholder { margin: 0 auto; }

