/* Ergänzungen zum bestehenden DRP-Design: drei Bilder wie in der alten Redaktion. */
.editor-grid > *, .editor-upload, .upload-content { min-width: 0; }
.editor-grid .upload-content { width: auto; flex: 1; }
.upload-content input[type="file"] { max-width: 100%; padding: 0; border: 0; border-radius: 0; }
.upload-content input[type="url"] {
  width: 100%; margin-top: 8px; padding: 12px 13px;
  background: #0c1016; color: #fff; border: 1px solid #303844; border-radius: 8px;
}
.upload-content summary { color: var(--muted); font-size: 12px; cursor: pointer; }
.upload-limit { color: var(--muted); font-size: 12px; margin-top: -4px; }
.stored-image { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.stored-image img { display: block; max-width: 100%; max-height: 140px; object-fit: contain; border-radius: 6px; }
.admin-item strong { white-space: normal; overflow-wrap: anywhere; }
.admin-actions { flex-direction: column; align-items: stretch; }
.admin-main .checkbox-field { align-items: flex-start; }
.admin-main .checkbox-field input { flex-shrink: 0; margin-top: 2px; }
.article-gallery figure { margin: 0; }
.article-gallery .gallery-stage { touch-action: pan-y pinch-zoom; }
.article-gallery .gallery-image { object-fit: contain; }
.gallery-caption { margin-top: 10px; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; user-select: text; }
.article-gallery .gallery-counter { font-size: 12px; }
.article-gallery .gallery-dots { gap: 0; margin-top: 4px; }
.article-gallery .gallery-dot,
body.theme-polizei .article-gallery .gallery-dot,
body.theme-katoo-kebab .article-gallery .gallery-dot { width: 40px; height: 32px; display: grid; place-items: center; background: transparent !important; border-radius: 4px; }
.article-gallery .gallery-dot::after { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--muted); }
.article-gallery .gallery-dot.active::after { width: 24px; background: var(--red); }
.article-gallery:focus-visible, .article-gallery button:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.gallery-error { position: absolute; inset: 0; display: grid; place-items: center; padding: 60px; margin: 0; color: #fff; background: #080b0f; text-align: center; }
@media (max-width: 700px) {
  .editor-grid { grid-template-columns: minmax(0, 1fr); }
  .editor-upload { padding: 14px; gap: 12px; }
  .article-gallery .gallery-arrow-left { left: 8px; }
  .article-gallery .gallery-arrow-right { right: 8px; }
}
