/* KVATYRKA — layout: content container (max 1280), grid UI12, sections UI14, anchor offsets UI25 / UI26. */

/* Page container: side margins 16 · 32 · 32 · 80, content never wider than 1280 */
.container {
  width: 100%;
  max-width: calc(var(--content-max) + 2 * var(--page-margin));
  margin-inline: auto;
  padding-inline: var(--page-margin);
}

/* Column grid: 4 · 8 · 12 · 12 columns, gutter 16 · 24 · 24 · 24 */
.grid {
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
  column-gap: var(--grid-gutter);
}

/* Sections: standard top and bottom padding (UI14). Hero has its own composition (ART3). */
.section {
  padding-block: var(--space-section);
}

/* Anchor targets land below the fixed header (UI26) */
section[id] {
  scroll-margin-top: var(--header-height);
}
