/* Static homepage repairs: always-visible announcement and lightweight slider */
.static-announcement {
  background: #fff;
  border-top: 4px solid #d71920;
  border-bottom: 1px solid #e7e7e7;
  padding: 28px 20px;
}
.static-announcement__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  text-align: center;
}
.static-announcement h1 {
  color: #d71920;
  font-family: "Exo", Arial, sans-serif;
  font-size: clamp(22px, 3vw, 38px);
  line-height: 1.15;
  margin: 0 0 14px;
  font-weight: 500;
}
.static-announcement h2 {
  color: #d71920;
  font-family: "Exo", Arial, sans-serif;
  font-size: clamp(17px, 2vw, 25px);
  line-height: 1.25;
  margin: 0 0 18px;
  font-weight: 500;
}
.static-announcement p {
  color: #333;
  font-size: 16px;
  line-height: 1.65;
  margin: 8px auto;
  max-width: 1050px;
}
.static-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #e8e8e8;
  aspect-ratio: 1400 / 583;
  min-height: 260px;
}
.static-slider__track,
.static-slider__slide {
  position: absolute;
  inset: 0;
}
.static-slider__slide {
  opacity: 0;
  transition: opacity .8s ease;
  pointer-events: none;
}
.static-slider__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.static-slider__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.static-slider__button {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.48);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.static-slider__button:hover,
.static-slider__button:focus { background: rgba(0,0,0,.72); }
.static-slider__button--prev { left: 18px; }
.static-slider__button--next { right: 18px; }
.static-slider__dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 16px;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}
.static-slider__dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(0,0,0,.35);
  cursor: pointer;
}
.static-slider__dot.is-active { background: #fff; }
/* Prevent the broken Revolution Slider placeholder from occupying space. */
#rev_slider_1_1_wrapper,
.rs-p-wp-fix { display: none !important; }
/* The announcement formerly embedded in the desktop header is duplicated above. */
.mcb-item-xxb407l2g { display: none !important; }
@media (max-width: 767px) {
  .static-announcement { padding: 22px 16px; }
  .static-announcement p { font-size: 15px; line-height: 1.55; text-align: left; }
  .static-slider { aspect-ratio: 4 / 3; min-height: 250px; }
  .static-slider__button { width: 38px; height: 38px; font-size: 25px; }
  .static-slider__button--prev { left: 8px; }
  .static-slider__button--next { right: 8px; }
  .static-slider__dots { bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .static-slider__slide { transition: none; }
}

/* v4 mobile header: reserve a clean row for the hamburger and keep it above content. */
@media (max-width: 767px) {
  #Header, .mfn-header-tmpl, .mfn-header-tmpl-builder { position: relative !important; z-index: 1000 !important; }
  .mfn-header-menu-burger,
  .mfn-header-menu-toggle {
    position: relative !important;
    z-index: 1005 !important;
  }
  .mfn-header-menu-burger {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    margin: 8px 12px 8px auto !important;
    border-radius: 5px !important;
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.25) !important;
  }
  .mfn-header-menu-burger i,
  .mfn-header-menu-burger .icon-menu-fine,
  .mfn-header-menu-toggle i {
    color: #071041 !important;
    font-size: 30px !important;
    line-height: 1 !important;
    opacity: 1 !important;
  }
  .mcb-item-fnq9jrfl,
  .mcb-column-inner-fnq9jrfl {
    position: relative !important;
    z-index: 1005 !important;
    min-height: 64px !important;
  }
  .static-announcement { position: relative !important; z-index: 1 !important; clear: both !important; }
  .static-slider { clear: both !important; }
  img { max-width: 100%; height: auto; }
}


/* v5: reliable static mobile navigation and image rendering */
html.menu-open, body.menu-open { overflow: hidden !important; }
img, picture img, .image_wrapper img, .photo_box img, .gallery img {
  opacity: 1 !important;
  visibility: visible !important;
}
@media (max-width: 767px) {
  .mfn-header-tmpl-menu-sidebar {
    display: block !important;
    position: fixed !important;
    z-index: 20000 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: min(86vw, 360px) !important;
    height: 100dvh !important;
    padding: 76px 22px 28px !important;
    background: #222c60 !important;
    box-shadow: -8px 0 30px rgba(0,0,0,.35) !important;
    overflow-y: auto !important;
    transform: translateX(110%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: transform .25s ease, opacity .25s ease, visibility .25s ease !important;
  }
  .mfn-header-tmpl-menu-sidebar.is-open {
    transform: translateX(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .mfn-header-tmpl-menu-sidebar .mfn-header-menu {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .mfn-header-tmpl-menu-sidebar .mfn-menu-li { display: block !important; width: 100% !important; }
  .mfn-header-tmpl-menu-sidebar .mfn-menu-link {
    display: block !important;
    padding: 13px 4px !important;
    color: #fff !important;
    border-bottom: 1px solid rgba(255,255,255,.18) !important;
    text-decoration: none !important;
  }
  .mfn-header-tmpl-menu-sidebar .mfn-close-icon {
    display: flex !important;
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    width: 44px !important;
    height: 44px !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    font-size: 28px !important;
    cursor: pointer !important;
  }
  .static-menu-backdrop {
    position: fixed; inset: 0; z-index: 19990;
    background: rgba(0,0,0,.5); opacity: 0; visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
  }
  .static-menu-backdrop.is-open { opacity: 1; visibility: visible; }
  img { max-width: 100% !important; height: auto; }
  .static-slider__slide img { width:100%!important; height:100%!important; object-fit:cover!important; }
}
/* 1. Show the backdrop above the page ONLY when open */
.static-menu-backdrop.is-open {
    z-index: 999998 !important; 
}

/* 2. Pull the sidebar completely above the backdrop ONLY when open */
.mfn-header-tmpl-menu-sidebar.is-open {
    z-index: 999999 !important;
}

/* 3. Keep the inner wrapper on top */
.mfn-header-tmpl-menu-sidebar.is-open .mfn-header-tmpl-menu-sidebar-wrapper {
    z-index: 999999 !important;
}

/* 4. Ensure the parent container allows the menu to break out */
.mcb-item-header_burger-inner {
    position: relative;
    z-index: 999999; 
}