.meteor-slides, .meteor-clip { max-width: 100%; }
.meteor-slides { width: 900px; line-height: 0; }
.meteor-clip { position: relative; overflow: hidden; }
.meteor-clip::before { content: ''; display: block; width: 600px; max-width: 100%; aspect-ratio: 3 / 2; }
.meteor-slides .mslide { display: none; position: absolute; top: 0; left: 0; width: 100%; }
.meteor-slides .mslide:first-child, .meteor-slides.is-ready .mslide.is-active { display: block; }
.meteor-slides.is-ready .mslide:first-child:not(.is-active) { display: none; }
.meteor-slides .mslide img { display: block; max-width: 100%; height: auto; margin: auto; border: 0; padding: 0; box-shadow: none; }

#menu-primary .menu-toggle { border: 0; }
@media (min-width: 768px) {
  /* Match the widths and indicators added by Origin's WordPress dropdown script. */
  #menu-primary .menu li > ul { display: none; float: none; width: 12em; }
  #menu-primary .menu li li > ul { width: 17em; }
  #menu-primary .menu li li { width: 100%; white-space: normal; }
  #menu-primary .menu li:hover > ul, #menu-primary .menu li:focus-within > ul { display: block; top: 25px; }
  #menu-primary .menu li li:hover > ul, #menu-primary .menu li li:focus-within > ul { top: -1px; left: 100%; }
  #menu-primary .menu-item-has-children > a { padding-right: 16px; background: url('/wp-content/themes/origin/images/dropdown.png') no-repeat right 10%; }
  #menu-primary li li.menu-item-has-children > a { padding-right: 15px; background-image: url('/wp-content/themes/origin/images/dropright.png'); background-position: right 50%; }
}
.gallery-icon a, .wp-block-gallery img { cursor: zoom-in; }
.site-lightbox { max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; padding: 0; border: 0; background: rgba(0,0,0,.95); color: white; }
.site-lightbox::backdrop { background: rgba(0,0,0,.95); }
.site-lightbox img { display: block; max-width: calc(100vw - 5rem); max-height: calc(100vh - 5rem); width: auto; height: auto; margin: auto; object-fit: contain; }
.site-lightbox button { position: absolute; z-index: 1; border: 0; background: transparent; color: white; font: 2.5rem/1 sans-serif; cursor: pointer; }
.site-lightbox button:focus-visible { outline: 2px solid white; }
.site-lightbox .close { top: 1rem; right: 1rem; }
.site-lightbox .previous, .site-lightbox .next { top: 50%; transform: translateY(-50%); }
.site-lightbox .previous { left: 1rem; }
.site-lightbox .next { right: 1rem; }

body:has(> #container) #container { width: 100%; }
body:has(> #container) picture img { display: block; max-width: 100%; height: auto; margin: 5px auto 0; }
