/* Static adaptations. The original site's locally stored styles load first. */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
:focus-visible { outline: 3px solid #d91404; outline-offset: 4px; }
.wpb_animate_when_almost_visible { opacity: 1 !important; transform: none !important; }
.static-menu-toggle { display: none; }
.static-hero { position: relative; height: calc(100vh - 120px); min-height: 580px; background-position: center top; background-size: cover; }
.static-hero > .container { position: relative; height: 100%; }
.static-hero-title { position: absolute; right: 16%; bottom: 16.5%; width: 445px; margin: 0; padding: 15px; background: rgba(255,255,255,.8); color: #d91404; font: 900 30px/1.25 Roboto, sans-serif; text-transform: uppercase; }
.header-overlay-scroller .un-post-scroller { padding-top: 15%; }
.post-scroller-carousel { height: 396px; overflow-y: auto; scrollbar-width: none; }
.post-scroller-carousel::-webkit-scrollbar { display: none; }
.post-scroller-item { margin-bottom: 0; }
.post-scroller-item:last-child { margin-bottom: 0; }
.post-scroller-control { margin-bottom: 0 !important; }
.static-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; margin: 24px auto; }
.gallery-photo { display: block; overflow: hidden; background: #eee; }
.gallery-photo img { display: block; width: 100%; height: 180px; object-fit: cover; transition: transform .2s; }
.gallery-photo:hover img { transform: scale(1.025); }
.photo-dialog { width: min(1200px, 96vw); max-width: 96vw; max-height: 96vh; padding: 48px 52px 20px; border: 0; color: white; background: #171717; }
.photo-dialog::backdrop { background: rgba(0,0,0,.87); }
.photo-dialog figure { margin: 0; text-align: center; }
.photo-dialog figure img { display: block; width: 100%; height: 75vh; object-fit: contain; }
.photo-dialog figcaption { padding-top: 10px; }
.photo-dialog button { position: absolute; border: 0; background: transparent; color: white; font-size: 38px; min-width: 44px; min-height: 44px; line-height: 1; }
.photo-close { right: 6px; top: 4px; }
.photo-prev { left: 3px; top: 47%; }
.photo-next { right: 3px; top: 47%; }
.static-contact { padding: 30px; background: #f5f5f5; border-top: 3px solid #d91404; }
.static-contact h3 { margin-top: 0; }
.static-email-button { white-space: normal; }
.static-email-address { overflow-wrap: anywhere; }
iframe { max-width: 100%; }
iframe[src*="youtube.com"] { aspect-ratio: 16 / 9; height: auto; }
.static-not-found { padding: 65px 15px; }
@media (max-width: 1199px) and (min-width: 992px) {
  .static-hero-title { right: 4%; width: 430px; }
}
@media (max-width: 991px) {
  .static-hero { min-height: 440px; height: 52vh; }
  .static-hero-title { right: 30px; bottom: 40px; width: min(480px, calc(100% - 60px)); }
  .header-content-scroller { max-height: none; }
  .header-overlay-content.header-overlay-scroller { position: relative !important; height: auto; }
  .header-content-scroller .header-overlay-content .un-post-scroller { position: relative; margin: 0; padding: 24px 0 !important; }
  .header-content-scroller .header-overlay-content > .container,
  .header-content-scroller .header-overlay-content > .container > .row,
  .header-content-scroller .header-overlay-content > .container > .row > .col-md-5,
  .header-content-scroller .header-overlay-content .un-post-scroller,
  .header-content-scroller .header-overlay-content .section-inner-no-padding,
  .header-content-scroller .header-overlay-content .post-scroller-wrap { height: auto; }
  .header-content-scroller .header-overlay-content .post-scroller-carousel { height: auto; max-height: 390px; }
  .post-scroller-wrap { background: #f4f4f4; }
}
@media (max-width: 767px) {
  #main-nav .navbar-header { display: flex; align-items: center; justify-content: space-between; }
  #main-nav .logo { padding: 12px 0; }
  #main-nav .logo img { width: 150px; height: auto; }
  .static-menu-toggle { display: inline-flex; gap: 8px; align-items: center; background: none; border: 1px solid #555; color: #fff; padding: 8px 12px; font-size: 15px; }
  #site-navigation.hidden-xs.is-open { display: block !important; }
  #site-navigation .navbar-nav { margin: 0; float: none !important; }
  #site-navigation .navbar-nav > li { float: none; }
  #main-nav #site-navigation .navbar-nav > li > a { padding: 16px; border-bottom: 1px solid #383838; }
  .static-hero { min-height: 345px; height: 48vh; }
  .static-hero-title { font-size: 25px; right: 22px; bottom: 32px; width: calc(100% - 44px); }
  .post-scroller-wrap { padding: 24px 20px !important; }
  .static-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-photo img { height: 135px; }
  .photo-dialog { padding: 45px 36px 15px; }
  .photo-dialog figure img { height: 65vh; }
  .photo-dialog button { min-width: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
