/* Scrolling behavior only; card content, dimensions and spacing stay in blocks. */
.wp-block-columns.is-style-category-slider {
 flex-wrap: nowrap !important;
 overflow-x: auto;
 scroll-snap-type: x mandatory;
 scrollbar-width: thin;
 overscroll-behavior-x: contain;
}
.wp-block-columns.is-style-category-slider > .wp-block-column {
 flex: 0 0 calc((100% - var(--wp--preset--spacing--50)) / 2) !important;
 min-width: 0;
 scroll-snap-align: start;
}
.category-slider-controls {display:flex;justify-content:flex-start;align-items:center;gap:var(--wp--preset--spacing--30);margin-top:var(--wp--preset--spacing--30);margin-bottom:var(--wp--preset--spacing--30);}
.category-slider-controls button {background:transparent;color:inherit;border:1px solid var(--wp--preset--color--muted);border-radius:0;min-width:44px;min-height:44px;font-size:1.25rem;cursor:pointer;}
.category-slider-controls button:disabled {opacity:.3;cursor:default;}
.category-slider-controls button:focus-visible,.is-style-category-slider:focus-visible {outline:2px solid var(--wp--preset--color--paper);outline-offset:4px;}
.category-slider-controls span {font-size:var(--wp--preset--font-size--small);}
@media(max-width:781px){.wp-block-columns.is-style-category-slider > .wp-block-column {flex-basis:100% !important;}}
/* Show every native card for editing instead of hiding cards outside the canvas. */
.editor-styles-wrapper .wp-block-columns.is-style-category-slider {flex-wrap:wrap !important;overflow:visible;}
/* Quiet controls retain the full accessible touch target. */
.wp-site-blocks .category-slider-controls button {
 background:transparent;
 color:var(--wp--preset--color--paper);
 border-color:transparent;
 font-weight:400;
}
.wp-site-blocks .category-slider-controls button:hover:not(:disabled) {
 border-color:var(--wp--preset--color--muted);
}
