/* ==========================================================================
   Layout primitives & utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (max-width: 1180px) {
  .container { padding-inline: 5%; }
}

/* Page content always sits in a white box on the grey page: centred, capped width, padded (as live).
   CMS blocks render inside it unless the block type is a full-width band (see apps/cms/blocks.py). */
.content-box,
.page-header {
  width: var(--content-share);
  max-width: var(--content-width);
  margin-inline: auto;
}
.content-box {
  background: var(--c-white);
  padding: var(--content-pad);
  margin-bottom: 60px;
}
.page-header { padding-block: 48px 24px; }
.page-hero + .content-box { margin-top: 40px; }
@media (max-width: 768px) {
  .content-box { padding: 25px; }
  .page-header { padding-block: 32px 16px; }
}

/* inline SVG sprite icons ({% icon %}) */
.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex-shrink: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 8px; top: -100px;
  z-index: 2000;
  padding: 8px 16px;
  background: var(--c-white);
  color: var(--c-blue);
  border-radius: 4px;
}
.skip-link:focus { top: 8px; }
