/* ============================================
   Layout — Containers and spacing
   ============================================ */

/* --- Container: same edges as the header and the hero --- */
.container { width: 100%; max-width: var(--container-max); margin-inline: auto; padding-inline: var(--gutter); }
ul.container, ol.container { padding-inline: var(--gutter); }

/* On large laptops and monitors everything scales up together */
@media (min-width: 1700px) and (min-height: 850px) { html { font-size: 106.25%; } }
@media (min-width: 2300px) and (min-height: 1200px) { html { font-size: 118.75%; } }

/* --- Section spacing --- */
.section {
  padding-block: var(--space-7);
}

@media (min-width: 768px) {
  .section {
    padding-block: var(--space-8);
  }
}

/* --- Screen reader only --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* --- Text utilities --- */
.text-muted   { color: var(--color-text-muted); }
.text-accent  { color: var(--color-accent); }
.text-error   { color: var(--color-error); }
.text-success { color: var(--color-success); }
.text-sm      { font-size: var(--text-sm); }
.text-xs      { font-size: var(--text-xs); }
.text-center  { text-align: center; }
.font-heading { font-family: var(--font-heading); }
