/* Compact vertical rhythm (2026-11-22, owner instruction: "site-wide minimum top/bottom padding on every content block").
   Loaded last by the layout, so it overrides the section/hero/band padding of app.css, home.css, company.css,
   directory.css, gp-directory.css, blog.css, errors.css and auth.css. Only padding-top/bottom change; horizontal padding,
   the header and the footer are untouched. Change --blk-y to tune every block at once. */
:root { --blk-y: clamp(18px, 2.2vw, 28px); }

/* generic sections and heroes (app.css) */
.section, .section-narrow, .hero, .cta, .page-header { padding-top: var(--blk-y); padding-bottom: var(--blk-y); }

/* editorial pages (home.css) */
.mk-section, .mk-compact .mk-section, .page-packages section.mk-section, .mk-cta .mk-wrap, .mk-compact .mk-lead-band .mk-wrap,
.mk-hero-inner, .mk-hero-lean-inner, .mk-sl-sec { padding-top: var(--blk-y); padding-bottom: var(--blk-y); }

/* company pages: /about, /our-team, /contact (company.css) */
.co-hero, .co-sec, .co-desks, .co-business, .co-cta, .tm-lead { padding-top: var(--blk-y); padding-bottom: var(--blk-y); }

/* directories (directory.css, gp-directory.css) */
.dir-hero, .dir-sec, .gpd-hero, .gpd-markets, .gpd-dir, .gpd-steps, .gpd-side, .gpd-faq { padding-top: var(--blk-y); padding-bottom: var(--blk-y); }
.dir-sec + .dir-sec { padding-top: 0; }

/* articles and error pages (blog.css, errors.css) */
.mk .blog-post-head, .mk .post-hero, .mk .err-hero { padding-top: var(--blk-y); padding-bottom: var(--blk-y); }
.mk .blog-post-body, .mk .err-dest-sec { padding-bottom: var(--blk-y); }

/* keep functional space: the press-release wizard's fixed mobile bar must not cover the last fields (pr.css) */
@media (max-width: 760px) {
    .mk-section:has(.prw-mbar:not([hidden])), .mk-compact .mk-section:has(.prw-mbar:not([hidden])) { padding-bottom: 96px; }
}

/* auth pages (auth.css) */
.au { padding-top: var(--blk-y); padding-bottom: var(--blk-y); }

/* Block titles to the RIGHT of their icon / step number, not under it (2026-11-22, owner instruction, site-wide).
   Grid: icon or number in column 1, title in column 2 of the first row; everything else spans the full width below. */
.ct-card, .mk .err-dest-card { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; row-gap: 4px; align-content: start; }
.ct-card > *, .mk .err-dest-card > * { grid-column: 1 / -1; }
.ct-card > svg, .mk .err-dest-card > svg { grid-column: 1; grid-row: 1; margin: 0; align-self: center; }
.ct-card > svg + .ct-label, .mk .err-dest-card > svg + b { grid-column: 2; grid-row: 1; align-self: center; }

.co-steps li, .gpd-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-content: start; }
.co-steps li > *, .gpd-steps li > * { grid-column: 1 / -1; }
.co-steps li::before, .gpd-steps li::before { grid-column: 1; grid-row: 1; margin: 0; align-self: center; }
.co-steps li > b, .gpd-steps li > b { grid-column: 2; grid-row: 1; align-self: center; margin: 0; }
.co-steps li > b + span, .gpd-steps li > b + span { margin-top: 8px; }

/* Wider article column on blog posts (2026-11-22, owner: "the middle content block is too narrow").
   The article takes all the room left by the sidebar inside the page container (same width as the header). The left share
   rail is dropped (share buttons stay at the top and the end of the article); --post-side sets the sidebar width. */
:root { --post-side: 300px; }
@media (min-width: 961px) {
    .mk .post-layout { grid-template-columns: minmax(0, 1fr) var(--post-side); gap: 36px; justify-content: stretch; }
    .mk .post-rail { display: none; }
}
.mk .blog-post-body { max-width: none; }

/* ONE standard H1 on every page (2026-11-22, owner instruction): the same size on every page type. --h1-desktop from
   about 1200px up, --h1-mobile on phones, a smooth step in between. Change these two values to resize every H1.
   !important + the selectors below beat every older page-specific H1 rule (home, company, shop, blog, auth, errors etc.). */
:root { --h1-desktop: 36px; --h1-mobile: 26px; --h1-size: clamp(var(--h1-mobile), 2.9vw, var(--h1-desktop)); }
.mk h1, .co h1, .co-hero h1, .mk .mk-hero h1, .mk .mk-hero-lean-inner h1, .mk .mk-phero h1,
.mk.page-shop .mk-phero h1, .page-shop .mk .mk-phero h1, .page-packages .mk .mk-phero h1, .gpd-hero h1, .dir-hero h1,
.dir-prof-head h1, .mk .au-head h1, .mk .err-copy h1, .mk .news-title, .mk .post-hero h1, .mk .blog-post-head h1,
.prd-hero h1, .page-header h1, .hero-title, .auth-card h1, .section-title:is(h1) { font-size: var(--h1-size) !important; line-height: 1.12 !important; }