/* Label: Rounded section */
/*
 * The rounded section (prototype cmc.css §3 "section surfaces", plan §16 "Corner cut-outs").
 *
 * Every prototype section is a BACKING filled with the NEXT section's colour, with a SURFACE on top whose bottom
 * corners are rounded 30px: the backing shows in the two corners. Two core Groups, this style on the outer one:
 *
 *   OUTER = the backing. Carries section-<name> (the compare test pairs it with the prototype element after
 *   <!-- BLOCK: name -->, which is the backing <div> when the prototype has one, else the <section>: same box).
 *     core/group {"align":"full","className":"section-<name> is-style-section",
 *                 "backgroundColor":"<next section's colour>","layout":{"type":"default"}}
 *
 *   INNER = the surface. Constrained layout = the prototype's .container-cmc (1296 content, clamp(20px,5vw,72px) gutter).
 *     core/group {"tagName":"section","backgroundColor":"<this section's colour>",
 *                 "style":{"spacing":{"padding":{"top":"40px","bottom":"40px"}}},"layout":{"type":"constrained"}}
 *     A mesh ground instead of a flat colour: "className":"is-style-mesh-light" (mesh-warm, mesh-dark) on the inner
 *     Group in place of backgroundColor. The hero: "className":"is-style-hero" (patterns/hero.php).
 *
 *       … the section's blocks
 *
 * No backing colour = the page (white) shows in the corners, which is what the prototype does where a section has
 * no wrapper (the hero). The style only rounds the surface: colours and padding stay core settings editors can change.
 */
.wp-block-group.is-style-section > * {
	border-bottom-left-radius: var(--wp--custom--radius--section);
	border-bottom-right-radius: var(--wp--custom--radius--section);
}
