/**
 * CM Action Bar - the layout and the looks. Every colour and space is a --cm-acb-* variable: defaults from config.php
 * (build_global_css_properties), a site's own values from its site-specific.css. Sizes are the cm-fse classes. Two-selector rule.
 * The section spans the page; the inner wrapper carries the width classes (the sibling blocks' width) and is the container the band
 * measures: under 808 px of it the words sit over the buttons, which take the full width; from 808 the words sit at the left and the
 * buttons at the right. The inner wrapper's own padding is set on the inner wrapper, and a container cannot query itself: that rule
 * measures the torso (the page's width), so it uses 851.
 */
.editor-styles-wrapper .wp-block-w4ya-cm-action-bar,
.wp-block-w4ya-cm-action-bar { box-sizing: border-box; display: block; clear: both; position: relative; overflow: clip; background: var(--cm-acb-bg); color: var(--cm-acb-text); }
.editor-styles-wrapper .wp-block-w4ya-cm-action-bar *,
.wp-block-w4ya-cm-action-bar * { box-sizing: border-box; }

.editor-styles-wrapper .wp-block-w4ya-cm-action-bar .cm-acb__inner,
.wp-block-w4ya-cm-action-bar .cm-acb__inner { padding: var(--cm-acb-pad) 0; }
.editor-styles-wrapper .wp-block-w4ya-cm-action-bar .cm-acb__inner,
.wp-block-w4ya-cm-action-bar .cm-acb__inner,
.editor-styles-wrapper .wp-block-w4ya-cm-action-bar .cm-acb__inner p,
.wp-block-w4ya-cm-action-bar .cm-acb__inner p { letter-spacing: normal; } /* the z width classes set a tracking on the wrapper AND on every p inside it (.zt95 p) */
.editor-styles-wrapper .wp-block-w4ya-cm-action-bar .cm-acb__inner :where(p, h2, h3, ul, ol, li, blockquote),
.wp-block-w4ya-cm-action-bar .cm-acb__inner :where(p, h2, h3, ul, ol, li, blockquote) { margin: 0; } /* the size classes and the theme carry margins */
.editor-styles-wrapper .wp-block-w4ya-cm-action-bar .cm-acb__inner :where(ul, ol),
.wp-block-w4ya-cm-action-bar .cm-acb__inner :where(ul, ol) { padding: 0; list-style: none; }
@container (min-width: 851px) { /* measured on the torso, not the inner wrapper (see the head comment) */
    .editor-styles-wrapper .wp-block-w4ya-cm-action-bar .cm-acb__inner,
    .wp-block-w4ya-cm-action-bar .cm-acb__inner { padding: var(--cm-acb-pad-wide) 0; }
}

.editor-styles-wrapper .wp-block-w4ya-cm-action-bar p.cm-acb__kicker,
.wp-block-w4ya-cm-action-bar p.cm-acb__kicker { margin-bottom: 0.5em; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cm-acb-kicker); } /* p: outranks the tracking reset above */
.editor-styles-wrapper .wp-block-w4ya-cm-action-bar .cm-acb__title,
.wp-block-w4ya-cm-action-bar .cm-acb__title { color: var(--cm-acb-text); font-weight: 500; line-height: 1.2; text-wrap: balance; }
.editor-styles-wrapper .wp-block-w4ya-cm-action-bar .cm-acb__placeholder,
.wp-block-w4ya-cm-action-bar .cm-acb__placeholder { opacity: 0.7; border: 1px dashed currentColor; border-radius: 4px; padding: 0.3em 0.5em; } /* the canvas stand-ins (the page prints none) */
.editor-styles-wrapper .wp-block-w4ya-cm-action-bar,
.wp-block-w4ya-cm-action-bar { margin-top: var(--cm-acb-lift); }
.editor-styles-wrapper .wp-block-w4ya-cm-action-bar .cm-acb__inner,
.wp-block-w4ya-cm-action-bar .cm-acb__inner { padding-top: var(--cm-acb-pad-top); }
.editor-styles-wrapper .wp-block-w4ya-cm-action-bar .cm-acb__bar,
.wp-block-w4ya-cm-action-bar .cm-acb__bar { display: flex; flex-direction: column; align-items: stretch; gap: 1em; padding: 1.25em 1.25em; background: var(--cm-acb-bar-bg); border-radius: var(--cm-acb-radius); }
.editor-styles-wrapper .wp-block-w4ya-cm-action-bar .cm-acb__words,
.wp-block-w4ya-cm-action-bar .cm-acb__words { min-width: 0; }
.editor-styles-wrapper .wp-block-w4ya-cm-action-bar .cm-acb__title,
.wp-block-w4ya-cm-action-bar .cm-acb__title { line-height: 1.3; }
.editor-styles-wrapper .wp-block-w4ya-cm-action-bar .cm-acb__text,
.wp-block-w4ya-cm-action-bar .cm-acb__text { margin-top: 0.15em; line-height: 1.5; }
.editor-styles-wrapper .wp-block-w4ya-cm-action-bar .cm-acb__text:first-child,
.wp-block-w4ya-cm-action-bar .cm-acb__text:first-child { margin-top: 0; }
.editor-styles-wrapper .wp-block-w4ya-cm-action-bar .cm-acb__buttons,
.wp-block-w4ya-cm-action-bar .cm-acb__buttons { display: flex; flex-direction: column; gap: 0.6em; }
.editor-styles-wrapper .wp-block-w4ya-cm-action-bar .cm-acb__button,
.wp-block-w4ya-cm-action-bar .cm-acb__button { display: block; padding: 0.85em 1.4em; background: var(--cm-acb-button-bg); border-radius: var(--cm-acb-button-radius); color: var(--cm-acb-button-text); font-weight: 500; line-height: 1.25; text-align: center; text-decoration: none; }
.editor-styles-wrapper .wp-block-w4ya-cm-action-bar .cm-acb__button.cm-acb__placeholder,
.wp-block-w4ya-cm-action-bar .cm-acb__button.cm-acb__placeholder { background: none; color: inherit; font-weight: 400; }

@container (min-width: 808px) { /* the inner wrapper's own width */
    .editor-styles-wrapper .wp-block-w4ya-cm-action-bar .cm-acb__bar,
    .wp-block-w4ya-cm-action-bar .cm-acb__bar { flex-direction: row; align-items: center; justify-content: space-between; gap: 1.3em; padding: 1.05em 1.5em; }
    .editor-styles-wrapper .wp-block-w4ya-cm-action-bar .cm-acb__buttons,
    .wp-block-w4ya-cm-action-bar .cm-acb__buttons { flex: none; flex-direction: row; }
    .editor-styles-wrapper .wp-block-w4ya-cm-action-bar .cm-acb__button,
    .wp-block-w4ya-cm-action-bar .cm-acb__button { white-space: nowrap; }
}
@container (min-width: 851px) { /* measured on the torso, not the inner wrapper (see the head comment) */
    .editor-styles-wrapper .wp-block-w4ya-cm-action-bar .cm-acb__inner,
    .wp-block-w4ya-cm-action-bar .cm-acb__inner { padding-top: var(--cm-acb-pad-top-wide); }
}
