/* Values live in theme.json; these rules apply the same responsive scale in both canvases. */
:root, .editor-styles-wrapper { --minsos-gutter: var(--wp--custom--gutter); }
:where(.wp-site-blocks, .editor-styles-wrapper) :where(h1,h2,h3,h4,h5,h6) { text-transform: uppercase; letter-spacing: 0; text-wrap: balance; }
.is-style-section-label { font-size: var(--wp--preset--font-size--label); font-weight: 700; text-transform: uppercase; line-height: var(--wp--custom--leading--control); color: var(--wp--preset--color--red); }
.is-style-section { padding: var(--wp--preset--spacing--64) var(--minsos-gutter); }
.is-style-card { background: var(--wp--preset--color--white); border-radius: var(--wp--custom--radius--card); padding: var(--wp--preset--spacing--24); }
.is-style-lead { font-size: var(--wp--preset--font-size--lead); }
@media(min-width:641px) and (max-width:1280px) {
  :root, .editor-styles-wrapper { --wp--preset--font-size--hero: var(--wp--custom--type--tablet--hero); --wp--preset--font-size--section: var(--wp--custom--type--tablet--section); }
}
/* Keep optional contact blocks selectable in Gutenberg, but gap-free publicly. */
body:not(.editor-styles-wrapper) :is(.minsos-contact-value,.minsos-menu-contacts) > p:empty { display:none; }
@media(max-width:640px) {
  :root, .editor-styles-wrapper { --wp--preset--font-size--hero: var(--wp--custom--type--mobile--hero); --wp--preset--font-size--section: var(--wp--custom--type--mobile--section); --wp--preset--font-size--story: var(--wp--custom--type--mobile--story); }
  .is-style-section { padding-block: var(--wp--preset--spacing--48); }
}
