/* Base container */
.wp-block-query.cyon-query-slider { position: relative; }

/* Make the post template horizontal */
.wp-block-query.cyon-query-slider .wp-block-post-template {
  list-style: none; margin: 0; padding: 0;
}

/* Slides should stretch nicely */
.wp-block-query.cyon-query-slider .wp-block-post { height: auto; }

/* Controls stack bottom-right */
.cyon-qs-controls {
  position: absolute; right: 12px; bottom: 12px;
  display: flex; align-items: center; gap: 10px;
  z-index: 5; pointer-events: none;
}
.cyon-qs-controls > * { pointer-events: auto; }

/* Arrows */
.cyon-qs-prev, .cyon-qs-next {
  width: 32px; height: 32px; padding: 6px; border-radius: 999px;
  background: rgba(0,0,0,.45); color: white; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.cyon-qs-prev:hover, .cyon-qs-next:hover {
  transform: scale(1.06); background: rgba(0,0,0,.65);
}

/* Segmented pagination bar between arrows */
.cyon-qs-pagination {
  display: grid; grid-auto-flow: column; gap: 6px; align-items: center;
  min-width: 120px; padding: 4px 6px;
  background: rgba(0,0,0,.35); border-radius: 999px;
  backdrop-filter: saturate(1.2) blur(2px);
}
.cyon-qs-bullet {
  width: 22px; height: 6px; border-radius: 4px;
  background: rgba(255,255,255,.35); display: inline-block;
  transition: background .2s ease, transform .2s ease;
}
.cyon-qs-bullet.is-active { background: #fff; transform: translateY(-1px); }

/* Editor canvas: ensure controls visible */
.block-editor-block-list__layout .wp-block-query.cyon-query-slider {
  min-height: 120px; outline: 1px dashed rgba(125,125,125,.2);
}
