/* WordPress adjustments on top of the design system (assets/css/site.css). */

/* Image blocks: the <figure> wrapper is layout-neutral, the <img> carries the design classes. */
figure.wp-block-image.aaa-figure,
figure.aaa-figure { display: contents; }
figure.wp-block-image { margin: 0; }
figure.wp-block-image img { max-width: 100%; height: auto; }

/* Accessibility helper used by WordPress core output. */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
  overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}

/* Logged-in admin bar should not cover the floating header. */
body.admin-bar .svc-rail { top: calc(var(--svc-rail-top, 24px) + 32px); }

/* Groups imported from the original site keep their own spacing. */
.wp-block-group { box-sizing: border-box; }
