/* Static-site additions to the original theme. */
a { color: #000; }
a:hover, a:focus-visible { color: #000; }
img { max-width: 100%; height: auto; }
.hero-video { position: relative; isolation: isolate; background: #000; height: 100vh; height: 100svh; min-height: 420px; }
.page-hero { isolation: isolate; height: clamp(180px, 25vh, 360px); }
.hero-poster, .hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.hero-poster { z-index: -2; }
.page-hero::before, .hero-video::before { content: ''; position: absolute; inset: 0 0 auto; height: 100px; background: linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,.35) 65%, transparent); pointer-events: none; }
.hero-video > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.hero-video > .position-absolute:last-child { z-index: 1; }
.hero-video { overflow: visible; }
.hero-video > video { clip-path: inset(0); }
.hero-video > .video-toggle { position: absolute; right: 1rem; bottom: 1rem; z-index: 2; padding: .5rem .8rem; color: #fff; background: rgba(0,0,0,.7); border: 1px solid #fff; border-radius: .25rem; font: inherit; font-size: .8rem; cursor: pointer; }
.site-footer { background-color: #343a40; background-image: linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.3)), url('../images/cover-footer.webp'); background-position: center; background-size: cover; background-repeat: no-repeat; }
.site-footer .group-list > a { display: block; padding: .25rem; color: #f8f9fa; text-decoration: none; }
.skip-link { position: fixed; top: .5rem; left: .5rem; padding: .75rem 1rem; background: #fff; color: #212529; z-index: 1100; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; font-size: .8rem; }
.site-breadcrumb li + li::before { content: '/'; margin-right: .5rem; color: #6c757d; }
.site-breadcrumb a { color: #000; }
.typography .wp-block-columns { display: flex; gap: 2rem; margin-bottom: 1.5rem; }
.typography .wp-block-column { flex: 1 1 0; min-width: 0; }
.typography .is-vertically-aligned-center { align-self: center; }
/* Gutenberg layout rules required by the exported content. */
.typography .wp-block-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-block: 1.5rem; }
.typography .wp-block-buttons.aligncenter,
.typography .wp-block-buttons.is-content-justification-center { justify-content: center; }
.typography .wp-block-button { flex: 0 1 auto; max-width: 100%; }
.typography .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; max-width: 100%; text-align: center; overflow-wrap: anywhere; }
.typography .wp-block-button.is-style-outline > .wp-block-button__link { color: #212529; background: transparent; border: 2px solid currentColor; padding: .667em 1.333em; }
.typography .wp-block-button__link:hover { text-decoration: underline; text-underline-offset: .2em; }
.typography .wp-block-table { max-width: 100%; overflow-x: auto; }
.typography .source-note { font-size: .8rem; line-height: 1.8; color: #495057; }
.typography .source-note a { color: #000; }
.navbar-collapse { max-height: calc(100dvh - 60px); overflow-y: auto; }
.navbar-brand { flex-shrink: 0; }
a:focus-visible, button:focus-visible { outline: 3px solid #a77a32; outline-offset: 4px; }
.typography img { max-width: 100%; height: auto; }
.blocks-gallery-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 0 0 1rem; width: 100%; }
.blocks-gallery-item figure { margin: 0; height: 100%; }
.blocks-gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.wp-block-image.aligncenter { text-align: center; }
@media (prefers-reduced-motion: reduce) {
  #navbar { transition: none !important; }
}
@media (max-width: 575px) {
  .blocks-gallery-grid { grid-template-columns: 1fr; }
}
@media (max-width: 781px) {
  .typography .wp-block-columns { flex-direction: column; }
}
