/* =========================================================================
   27 Moments — CMS-bewerkmodus (gedeelde stijlen, kopie per template)
   Alleen actief wanneer <html> de klasse .cms-bewerkmodus draagt.
   ========================================================================= */

.cms-bewerkmodus [data-reveal],
.cms-bewerkmodus .reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

.cms-bewerkbaar {
  outline: 1.5px dashed rgba(30, 120, 220, 0.55);
  outline-offset: 3px;
  cursor: text;
  min-height: 1em;
}

.cms-bewerkbaar:hover,
.cms-bewerkbaar:focus {
  outline-color: rgba(30, 120, 220, 0.95);
  outline-style: solid;
  background: rgba(30, 120, 220, 0.06);
}

.cms-bewerkbaar--foto,
.cms-bewerkbaar--link,
.cms-bewerkbaar--video {
  cursor: pointer;
}

.cms-balk {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #16181d;
  color: #fff;
  padding: 10px 12px 10px 18px;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  font-family: system-ui, sans-serif;
  font-size: 13px;
  max-width: calc(100vw - 24px);
}

.cms-balk__label {
  opacity: 0.85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cms-knop {
  font: inherit;
  font-weight: 600;
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  background: #3b82f6;
  color: #fff;
  cursor: pointer;
}

.cms-knop:disabled {
  background: #2c3e33;
  cursor: default;
}

.cms-knop--klein {
  padding: 4px 10px;
  font-size: 12px;
  background: #16181d;
}

.cms-lijstwerkbalk {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 8px 0;
}

.cms-videoplaceholder {
  border: 1.5px dashed rgba(30, 120, 220, 0.55);
  border-radius: 6px;
  padding: 28px 16px;
  text-align: center;
  font-family: system-ui, sans-serif;
  font-size: 14px;
  color: #3b82f6;
  background: rgba(30, 120, 220, 0.05);
}

/* =========================================================================
   Autosave-status in de opslagbalk + foto-herpositioneermodus (gedeeld)
   ========================================================================= */

.cms-balk__status {
  white-space: nowrap;
  font-weight: 600;
  opacity: 0.9;
}

.cms-balk__status--ok {
  color: #8fe0a6;
}

@media (max-width: 600px) {
  .cms-balk__label {
    display: none;
  }
}

.cms-herpositioneer {
  cursor: grab;
  touch-action: none;
  outline: 2.5px solid rgba(30, 120, 220, 0.95) !important;
  outline-offset: 2px;
  user-select: none;
  -webkit-user-select: none;
}

.cms-herpositioneer:active {
  cursor: grabbing;
}

.cms-fotohulp {
  position: fixed;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #16181d;
  color: #fff;
  font-family: system-ui, sans-serif;
  font-size: 12.5px;
  line-height: 1.35;
  padding: 8px 10px 8px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  max-width: calc(100vw - 16px);
}

.cms-fotohulp span {
  opacity: 0.9;
}

.cms-fotohulp__knop {
  flex: none;
  background: #3b82f6;
}
