/* Shared by the frontend and the editor canvas. */
:where(.wp-site-blocks) { overflow-wrap: anywhere; }
:where(a, button, input, textarea, select):focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
:where(.wp-block-post-featured-image img) { width: 100%; object-fit: cover; }
:where(.wp-block-navigation a, .wp-block-post-title a) { text-decoration: none; }
:where(.wp-block-navigation a, .wp-block-post-title a):hover { text-decoration: underline; text-underline-offset: .2em; }
.is-style-olivia-panel { padding: var(--wp--preset--spacing--50); border: 1px solid var(--wp--preset--color--border); }
.is-style-olivia-editorial { font-style: italic; }
:where(.wp-block-post-content) :where(img, video, iframe) { max-width: 100%; }
:where(.wp-block-post-content) pre { overflow-x: auto; }
:where(.wp-block-post-content) :where(th, td) { overflow-wrap: normal; }
@media (max-width: 600px) {
  .wp-block-post-template.is-layout-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Equal side tracks anchor both menus to the centered wordmark. */
.wp-block-group.olivia-header-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(1.5rem, 4vw, 4rem);
  row-gap: 0;
}
.wp-block-group.olivia-header-grid > * {
  min-width: 0;
  margin-block: 0;
}
.olivia-header-grid > .olivia-header-title {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  text-align: center;
  max-width: 24ch;
}
.olivia-header-grid > .olivia-header-menu-left {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  justify-content: flex-end;
  --navigation-layout-justify: flex-end;
}
.olivia-header-grid > .olivia-header-menu-right {
  grid-column: 3;
  grid-row: 1;
  justify-self: start;
  justify-content: flex-start;
  --navigation-layout-justify: flex-start;
}
@media (max-width: 599px) {
  .wp-block-group.olivia-header-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr) minmax(0, 1fr);
    column-gap: var(--wp--preset--spacing--20);
  }
  .olivia-header-grid > .olivia-header-title {
    font-size: var(--wp--preset--font-size--x-large);
  }
}
