/* Transport-only fallback for the archived Enfold masonry gallery.
   The original WordPress runtime is unavailable in the static restoration,
   so render the preserved affiliation images as a responsive grid. */
.page-id-621 .av-masonry-container {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 18px !important;
  height: auto !important;
}
.page-id-621 .av-masonry-entry {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  width: calc(16.666% - 15px) !important;
}
.page-id-621 .av-masonry-item-no-image { display: none !important; }
.page-id-621 .av-masonry-image-container img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}
@media (max-width: 989px) {
  .page-id-621 .av-masonry-entry { width: calc(33.333% - 12px) !important; }
}
@media (max-width: 520px) {
  .page-id-621 .av-masonry-entry {
    box-sizing: border-box !important;
    min-width: 0 !important;
    width: calc(50% - 9px) !important;
  }
}

/* Static fallback for the archived Partners & Affiliates Owl carousel. */
.carousel-slider-outer-images .carousel-slider.owl-carousel {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.carousel-slider-outer-images .carousel-slider__item {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: calc(14.285% - 9px) !important;
  min-height: 70px !important;
}
.carousel-slider-outer-images .carousel-slider__item img {
  display: block !important;
  max-width: 160px !important;
  width: 100% !important;
  height: auto !important;
}
@media (max-width: 989px) {
  .carousel-slider-outer-images .carousel-slider__item { width: calc(25% - 8px) !important; }
}
@media (max-width: 520px) {
  .carousel-slider-outer-images .carousel-slider__item {
    box-sizing: border-box !important;
    min-width: 0 !important;
    width: calc(50% - 5px) !important;
  }
}

/* The archived theme relied on runtime-calculated widths. Keep the preserved
   content inside a narrow viewport when that JavaScript is unavailable. */
@media (max-width: 767px) {
  html,
  body,
  #wrap_all,
  #main,
  .main_color,
  .alternate_color {
    box-sizing: border-box !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  #top .container,
  #top .content,
  #top .entry-content-wrapper,
  #top .avia_textblock,
  #top .flex_column,
  #top .slide-entry-wrap,
  #top .slide-entry,
  #top .avia-image-container,
  #top .avia-image-container-inner {
    box-sizing: border-box !important;
    max-width: 100% !important;
  }

  #top .slide-entry-wrap,
  #top .slide-entry,
  #top .flex_column {
    clear: both !important;
    float: none !important;
    margin-left: 0 !important;
    width: 100% !important;
  }

  #top img,
  #top iframe,
  #top video {
    height: auto !important;
    max-width: 100% !important;
  }

  #top h1,
  #top h2,
  #top h3,
  #top h4,
  #top p,
  #top a {
    overflow-wrap: anywhere;
    white-space: normal;
  }

  #top h1 { font-size: 32px !important; line-height: 1.18 !important; }
  #top h2 { font-size: 29px !important; line-height: 1.2 !important; }
  #top h3 { font-size: 25px !important; line-height: 1.25 !important; }

  #top .av-special-heading,
  #top .av-special-heading-tag,
  #top .av-subheading,
  #top .avia-builder-el-0,
  #top .avia-builder-el-first {
    box-sizing: border-box !important;
    max-width: 100% !important;
  }

  #header_meta .phone-info,
  #header_meta .phone-info span {
    box-sizing: border-box !important;
    display: block !important;
    line-height: 1.45 !important;
    max-width: 100% !important;
    text-align: center !important;
    white-space: normal !important;
  }
}
