/*
 * norisma.no only (norisma-no#676). Loaded after WordPress's global-styles, which on NO gives
 * every Group block 40px padding (norisma.se has none). The rules below have the same
 * specificity as the global ones, so they only win because they load after them.
 */

/* Cancel the 40px Group padding from Global Styles... */
:root :where(.wp-block-group) {
	padding: 0;
}

/* ...then restore WordPress's edge gutter, which the reset above also wipes out */
:root :where(.wp-block-group.has-global-padding) {
	padding-right: var(--wp--style--root--padding-right);
	padding-left: var(--wp--style--root--padding-left);
}

/* ...and WordPress's rule that removes the gutter again on nested groups */
.has-global-padding :where(:not(.alignfull.is-layout-flow) > .has-global-padding:not(.wp-block-block, .alignfull)) {
	padding-right: 0;
	padding-left: 0;
}
