/* Shared carousel geometry. Content remains native Gutenberg blocks. */
.serein-carousel-track { height: 100%; position: relative; }
.serein-carousel .wp-block-serein-slide { height: 100%; margin: 0; }
.serein-carousel .campaign-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.serein-carousel .campaign-copy > * { margin-block-start: 0; }
.serein-carousel .campaign-copy .wp-block-button__link { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 14px; min-height: 52px; padding: 15px 22px; }
.serein-carousel .campaign-copy .is-style-link .wp-block-button__link { padding: 7px 0; min-height: 0; }
.serein-carousel .campaign-dots { max-width: min(320px,35vw); overflow-x: auto; }
.serein-carousel .campaign-dots button { flex: 0 0 32px; }
.serein-carousel .campaign-copy .actions { flex-wrap: wrap; }
@media(min-width:701px) and (max-width:1200px) { .serein-carousel .campaign-photo img { object-position: 66% center; } }
@media(min-width:701px) and (max-width:900px) { .serein-carousel .campaign-photo img { object-position: 70% center; } }
@media(max-width:700px) {
 .serein-carousel .campaign-photo img { object-position: 89% center; }
 .serein-carousel .campaign-copy .wp-block-button__link { font-size: 12px; padding: 12px 14px; min-height: 46px; gap: 12px; }
 .serein-carousel .campaign-copy .is-style-link .wp-block-button__link { font-size: 12px; padding: 7px 0; min-height: 0; }
 .serein-carousel .campaign-dots { max-width: 96px; }
}
/* Editor-only controls sit outside the slide viewport. */
.editor-styles-wrapper.home-page .editor-visual-editor__post-title-wrapper,
.editor-styles-wrapper.home-page .editor-post-title { display: none; }
.editor-styles-wrapper .serein-carousel-editor { margin: 0; max-width: none; }
body.editor-styles-wrapper .is-root-container > .serein-carousel-editor:not(.alignwide) { width: 100%; max-width: none; margin-inline: 0; }
.editor-styles-wrapper .serein-carousel-editbar,
.editor-styles-wrapper .serein-carousel-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 16px; background: #fff; color: #1e1e1e; font: 13px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.editor-styles-wrapper .serein-carousel-editbar { border-bottom: 1px solid #ddd; }
.editor-styles-wrapper .serein-carousel-tabs [aria-pressed=true] { box-shadow: inset 0 -2px var(--wp-admin-theme-color,#3858e9); }
.editor-styles-wrapper .serein-carousel-tabs .components-button { height: auto; min-height: 36px; white-space: normal; text-align: left; }
.editor-styles-wrapper .serein-carousel-empty { padding: 24px; font: 14px/1.5 sans-serif; }
.editor-styles-wrapper .serein-carousel.is-empty { display: none; }
.editor-styles-wrapper .serein-carousel .wp-block-serein-slide[data-serein-active=false] { display: none; }
.editor-styles-wrapper .serein-carousel .wp-block-serein-slide[data-serein-active=true] { display: block; }
.editor-styles-wrapper .serein-carousel .campaign-slide { position: relative; height: 100%; }
.editor-styles-wrapper .serein-carousel .campaign-photo { margin: 0; }
.editor-styles-wrapper .serein-carousel .campaign-photo img { height: 100%; }
.editor-styles-wrapper .serein-carousel .campaign-photo .components-resizable-box__container { height: 100%; width: 100%; }
.editor-styles-wrapper .serein-carousel .wp-block-serein-slide > .block-list-appender { position: absolute; right: 12px; bottom: 12px; width: auto; }
.editor-styles-wrapper .serein-carousel .campaign-copy > .block-list-appender { position: relative; }
