/* 10-base: document defaults. Notes: docs/CSS-NOTES.md */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--ov-header-h) + var(--ov-admin-bar) + 16px); }
body {
  margin: 0;
  background: var(--ov-bg);
  color: var(--ov-fg);
  font: 400 var(--fs-body) / 1.6 var(--ov-font-body);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: anywhere;
}
figure, .wp-block-image, .wp-block-table { margin: 0; }
img, video, svg { max-width: 100%; height: auto; display: block; }
svg { fill: currentColor; }
hr { border: 0; }
p { margin: 0; text-wrap: pretty; }
p, li { max-width: var(--measure); }
.has-text-align-center { margin-inline: auto; }
strong, b { font-weight: 600; }
::selection { background: var(--ov-clay); color: var(--ov-cream); }

h1, h2, h3, h4, h5, h6, .wp-block-post-title {
  margin: 0;
  color: var(--ov-heading);
  font-family: var(--ov-font-display);
  font-weight: 300;
  font-optical-sizing: auto;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1, h1.wp-block-post-title { font-family: var(--ov-font-display-xl); font-variation-settings: "opsz" 144; }
h1 em, h2 em, h3 em, .ov-statement em { font-style: italic; font-weight: inherit; color: var(--ov-accent); }

a { color: var(--ov-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em; text-decoration-color: color-mix(in srgb, var(--ov-accent) 55%, transparent); transition: color var(--t-fast), text-decoration-color var(--t-fast); }
a:hover { color: var(--ov-accent); text-decoration-color: currentColor; }
h1 a, h2 a, h3 a, h4 a { color: inherit; text-decoration: none; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--ov-focus); outline-offset: 3px; border-radius: 2px; }
:target, h1, h2, h3, [id] { scroll-margin-top: calc(var(--ov-header-h) + var(--ov-admin-bar) + 20px); }

.ov-skip { position: absolute; top: 8px; left: 8px; z-index: var(--z-skip); padding: 12px 18px; background: var(--ov-cream); color: var(--ov-navy); font: 500 var(--fs-body) / 1.2 var(--ov-font-body); border-radius: var(--r-sm); box-shadow: var(--shadow-card); text-decoration: none; transform: translateY(-200%); }
.ov-skip:focus-visible { transform: none; outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.screen-reader-text:focus { clip: auto; clip-path: none; width: auto; height: auto; }

ul, ol { margin: 0; padding-left: 1.25em; }
:where(.wp-block-list) li + li { margin-top: .35em; }
li::marker { color: var(--ov-fg-2); }

table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
th, td { padding: .6em 0; text-align: left; vertical-align: top; border-bottom: var(--hairline); }
th { font-weight: 500; color: var(--ov-fg-2); }

time, .ov-hours, .ov-facts__value, .ov-meta, .ov-visit__phone, .ov-header__phone { font-variant-numeric: tabular-nums; }

.ov-photo img, .is-style-ov-plate img, .is-style-ov-plate-duotone img, .is-style-ov-arch img, .is-style-ov-arch-keyline img, .is-style-ov-hex img, .is-style-ov-extend-dark img, .ov-slot img, .ov-slot video, .wp-block-post-featured-image img { filter: saturate(.88) contrast(1.03); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  .ov-header, .ov-footer, .ov-cta, .ov-skip, .wp-block-buttons, .ov-pause { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .ov-section { padding-block: 1.5rem !important; background: none !important; color: #000 !important; }
}
