/* Selectable structural styles only. Colors, padding, typography live in native block attributes. */
:is(.sitekit-site,.editor-styles-wrapper) .wp-block-columns.is-style-image-edge{overflow:hidden;align-items:stretch!important}
:is(.sitekit-site,.editor-styles-wrapper) .is-style-image-edge>.wp-block-column{min-width:0;margin:0!important;align-self:stretch!important}
:is(.sitekit-site,.editor-styles-wrapper) .is-style-image-edge>.wp-block-column:has(>figure:only-child){display:flex}
:is(.sitekit-site,.editor-styles-wrapper) .is-style-image-edge>.wp-block-column>figure:only-child{display:flex;flex:1;width:100%;height:100%;margin:0!important;min-height:300px;border-radius:0}
:is(.sitekit-site,.editor-styles-wrapper) .is-style-image-edge>.wp-block-column>figure:only-child img{width:100%;height:100%;min-height:300px;object-fit:cover;object-position:center;aspect-ratio:auto}
:is(.sitekit-site,.editor-styles-wrapper) .is-style-equal-cards{align-items:stretch;grid-auto-rows:1fr;grid-template-columns:repeat(auto-fit,minmax(min(var(--ui-grid-min,15rem),100%),1fr))!important}
:is(.sitekit-site,.editor-styles-wrapper) .is-style-equal-cards>*{min-width:0;margin-block:0!important}
:is(.sitekit-site,.editor-styles-wrapper) .is-style-equal-cards>.wp-block-group{height:100%;box-sizing:border-box}
/* Shared rows align labels, titles, values and outputs, even when copy wraps. */
@supports(grid-template-rows:subgrid){
 .sitekit-site .is-style-equal-cards{grid-auto-rows:auto}
 .sitekit-site .is-style-equal-cards>.wp-block-group:has(>:nth-child(2)):not(:has(>:nth-child(6))){display:grid;grid-template-rows:subgrid;align-content:stretch}
 .sitekit-site .is-style-equal-cards>.wp-block-group:has(>:nth-child(2):last-child){grid-row:span 2}
 .sitekit-site .is-style-equal-cards>.wp-block-group:has(>:nth-child(3):last-child){grid-row:span 3}
 .sitekit-site .is-style-equal-cards>.wp-block-group:has(>:nth-child(4):last-child){grid-row:span 4}
 .sitekit-site .is-style-equal-cards>.wp-block-group:has(>:nth-child(5):last-child){grid-row:span 5}
 .sitekit-site .is-style-equal-cards>.wp-block-group>*{margin-block:0}
}
:is(.sitekit-site,.editor-styles-wrapper) .wp-block-details> :not(summary){max-width:none!important;width:auto;box-sizing:border-box;margin-inline:0!important}
:is(.sitekit-site,.editor-styles-wrapper) .wp-block-details>summary{font-weight:700;line-height:1.45}
:is(.sitekit-site,.editor-styles-wrapper) .wp-block-details[open]>summary{margin-bottom:1rem}
:is(.sitekit-site,.editor-styles-wrapper) .wp-block-group.has-background p{max-width:none}
@media(max-width:781px){:is(.sitekit-site,.editor-styles-wrapper) .is-style-image-edge>.wp-block-column>figure:only-child img{height:auto;aspect-ratio:16/10;min-height:0}:is(.sitekit-site,.editor-styles-wrapper) .is-style-image-edge>.wp-block-column>figure:only-child{height:auto;min-height:0}}

/* Equal rows: WordPress flow margins must not offset the second/third card. */
:is(.sitekit-site,.editor-styles-wrapper) :is(.ui-orientation,.ui-evidence-grid,.ui-about-principles)>:not(.wp-block-group__inner-container),
:is(.sitekit-site,.editor-styles-wrapper) :is(.ui-orientation,.ui-evidence-grid,.ui-about-principles)>.wp-block-group__inner-container>*{margin-block:0!important;min-width:0;height:100%;box-sizing:border-box}
:is(.sitekit-site,.editor-styles-wrapper) .ui-reading-path{row-gap:16px}
:is(.sitekit-site,.editor-styles-wrapper) .ui-reading-path :is(h2,p):not(.ui-path-step *){margin-block:0!important}
:is(.sitekit-site,.editor-styles-wrapper) .ui-reading-path .ui-path-step{margin-top:12px!important}
:is(.sitekit-site,.editor-styles-wrapper) .article-case-grid{border-top:0;padding-top:0}
:is(.sitekit-site,.editor-styles-wrapper) .ui-policy-step p{max-width:none!important;width:100%}
