/* v4 interaction layer styles (paired with interact.js) */
.v4-open { display: block !important; visibility: visible !important; opacity: 1 !important; max-height: none !important;
           transform: none !important; height: auto !important; pointer-events: auto !important; }
/* dropdown sub-menus open on hover, keyboard focus or tap (tap gives focus) */
nav li:hover > ul, nav li:focus-within > ul, .menu li:hover > ul, .menu li:focus-within > ul,
li:hover > .sub-menu, li:focus-within > .sub-menu, li:hover > .dropdown-menu, li:focus-within > .dropdown-menu,
li:hover > .submenu, li:focus-within > .submenu, li:hover > ul.children, li:focus-within > ul.children {
  display: block !important; visibility: visible !important; opacity: 1 !important; transform: none !important; }
/* a carousel the visitor can swipe: every slide in a row */
.v4-carousel { overflow-x: auto !important; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.v4-track { display: flex !important; transform: none !important; width: auto !important; transition: none !important; }
.v4-slide { flex: 0 0 auto; scroll-snap-align: start; opacity: 1 !important; visibility: visible !important;
            display: block !important; position: relative !important; left: auto !important; transform: none !important; }
/* a menu opened by the layer on a small screen: a readable stacked list */
.v4-menu-panel { position: relative !important; z-index: 1000; background: inherit; }
@media (max-width: 800px) { .v4-menu-panel ul, .v4-menu-panel { display: block !important; }
  .v4-menu-panel li { display: block !important; float: none !important; width: auto !important; margin: 0 !important; }
  .v4-menu-panel a { display: block !important; padding: 10px 0 !important; text-align: left !important; } }
/* small screens: the opened menu is a full-width panel under the header (sizing here so it outranks the site's CSS) */
@media (max-width: 800px) {
  .v4-menu-mobile { position: fixed !important; top: var(--v4-top, 64px) !important; left: 0 !important; right: 0 !important;
    width: auto !important; max-width: none !important; height: auto !important; max-height: calc(100vh - var(--v4-top, 64px)) !important;
    overflow-y: auto !important; margin: 0 !important; padding: 12px 24px !important; background: var(--v4-bg, #fff) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.18) !important; z-index: 9999 !important; transform: none !important; }
  .v4-menu-mobile ul { margin: 0 !important; padding: 0 !important; width: auto !important; position: static !important; }
  .v4-menu-mobile li { width: auto !important; padding: 0 !important; }
  .v4-menu-mobile a { color: var(--v4-link, inherit) !important; }
}
/* full-width hero slides: one per view, swipe for the next */
.v4-carousel-full .v4-slide { flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; }
/* a restored slideshow: one slide per view, controls over it */
.v4-slider { position: relative; }
.v4-carousel-full .v4-track { overflow: visible !important; }  /* the frame scrolls; an inner frame must not clip */
.v4-carousel-full { scrollbar-width: none; }
.v4-carousel-full::-webkit-scrollbar { display: none; }
.v4-slider-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; font-size: 26px; line-height: 38px;
  cursor: pointer; padding: 0; }
.v4-slider-btn:hover, .v4-slider-btn:focus-visible { background: rgba(0,0,0,.7); }
.v4-slider-prev { left: 10px; } .v4-slider-next { right: 10px; }
.v4-slider-dots { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 5; display: flex; justify-content: center; gap: 6px; }
.v4-slider-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; }
.v4-slider-dots button[aria-current="true"] { background: #fff; }
/* a slider plugin's bare slide list (its script never runs): each slide a full-frame picture */
.v4-plugin-slider { position: relative !important; overflow: hidden !important; }
.v4-plugin-track { position: relative !important; left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important;
  margin: 0 !important; padding: 0 !important; list-style: none !important; visibility: visible !important; }
.v4-plugin-track > li { visibility: visible !important; opacity: 1 !important; list-style: none !important; overflow: hidden !important; }
.v4-plugin-track > li > .rev-slidebg { visibility: visible !important; opacity: 1 !important; position: absolute !important; inset: 0 !important;
  width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; }
.v4-plugin-track .tp-caption, .v4-plugin-track .rs-layer { visibility: visible !important; opacity: 1 !important; z-index: 5; white-space: nowrap; }
.v4-plugin-track .tp-caption img, .v4-plugin-track .rs-layer img { visibility: visible !important; opacity: 1 !important; max-width: none; }
