/* Shared by canvas and website: content determines height, never clipping. */
.aiz-editorial-section {
    box-sizing: border-box;
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    padding-block: clamp(40px, 6vw, 80px);
    min-width: 0;
}
.aiz-editorial-section :is(h2,h3,p,ul,ol,figure) { margin-block: 0 24px; }
.aiz-editorial-section :is(h2,h3) { line-height: 1.2; color: var(--aiz-purple, #648fe5); }
.aiz-editorial-section p { line-height: 1.65; }
.aiz-editorial-section .wp-block-buttons { margin-top: 32px; }
.aiz-editorial-section .wp-block-button__link { display: inline-flex; align-items: center; min-height: 44px; box-sizing: border-box; padding: 11px 16px; border-radius: 2px 2px 16px 2px; background: var(--aiz-purple, #648fe5); color: #fff; font-size: 16px; line-height: 1.4; }
.aiz-editorial-section .wp-block-button__link:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.aiz-editorial-section .wp-block-columns { gap: 40px; align-items: center !important; }
.aiz-editorial-section img { max-width: 100%; height: auto; border-radius: 2px 2px 48px 2px; }
.aiz-editorial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 32px; align-items: stretch; }
.aiz-editorial-grid > *,
.editor-styles-wrapper .aiz-editorial-grid > .block-editor-inner-blocks > .block-editor-block-list__layout > * { margin-block: 0 !important; }
.aiz-editorial-card { box-sizing: border-box; min-width: 0; height: auto; padding: clamp(24px, 3vw, 40px); background: #1d2c40; border-radius: 2px 2px 48px 2px; }
.aiz-editorial-card > :last-child { margin-bottom: 0; }
/* Existing catalog cards retain colours and carousel, with content-led heights. */
.aiz-product-approach .aiz-solution-detail__approach-card,
.aiz-product-result.aiz-solution-detail__result-card { height: auto; min-height: 0; }
.aiz-product-result.aiz-solution-detail__result-card { justify-content: flex-start; gap: 32px; }
/* Gutenberg may place a native wrapper between a Group and its children. */
.editor-styles-wrapper .aiz-editorial-grid > .block-editor-inner-blocks { display: contents; }
.editor-styles-wrapper .aiz-editorial-grid > .block-editor-inner-blocks > .block-editor-block-list__layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 32px; }
.editor-styles-wrapper .aiz-solution-detail__results-layout { display: block !important; }
.editor-styles-wrapper .aiz-solution-detail__results-carousel { margin-top: 40px; }
.editor-styles-wrapper .aiz-solution-detail__results-viewport { overflow: visible !important; }
.editor-styles-wrapper .aiz-product-results,
.editor-styles-wrapper .aiz-product-results > .block-editor-inner-blocks > .block-editor-block-list__layout { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; transform: none !important; }
.editor-styles-wrapper .aiz-product-results > .block-editor-inner-blocks { display: contents; }
.editor-styles-wrapper .aiz-product-result { width: auto !important; min-width: 0 !important; flex-basis: auto !important; }
.editor-styles-wrapper .aiz-product-results > *,
.editor-styles-wrapper .aiz-product-results > .block-editor-inner-blocks > .block-editor-block-list__layout > * { margin-block: 0 !important; }
.editor-styles-wrapper .aiz-solution-detail__results-controls { display: none !important; }
@media(max-width:600px) {
    .aiz-editorial-section { width: calc(100% - 32px); }
    .aiz-editorial-grid { gap: 24px; }
}
