/* Deterministic runtime rules for WordPress/Elementor static exports. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

img {
  max-width: 100%;
}

iframe.orbit-frame-loading {
  background: #eef0f3;
}

/* Elementor normally reveals these through its removed animation runtime. */
.orbit-static-site .elementor-invisible {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* Royal Elementor Addons normally sets this opacity after Slick initializes. */
.orbit-static-site .wpr-advanced-slider {
  opacity: 1 !important;
}

/* Plugin carousels must not stack every slide when their WordPress runtime is absent. */
.orbit-static-single-slide .elementskit-testimonial-slider .swiper-wrapper {
  display: block !important;
  height: auto !important;
  transform: none !important;
  width: 100% !important;
}

.orbit-static-single-slide .elementskit-testimonial-slider .swiper-slide {
  display: none !important;
  height: auto !important;
  margin: 0 !important;
  opacity: 1 !important;
  position: static !important;
  transform: none !important;
  width: 100% !important;
}

.orbit-static-single-slide .elementskit-testimonial-slider .swiper-slide:first-child {
  display: block !important;
}

.orbit-static-single-slide .elementskit-testimonial-slider .swiper-button-next,
.orbit-static-single-slide .elementskit-testimonial-slider .swiper-button-prev,
.orbit-static-single-slide .elementskit-testimonial-slider .swiper-pagination {
  display: none !important;
}

/* Team widgets are image cards in these exports. A real grid prevents absolute
   plugin layers from producing multi-screen blank areas and overlap. */
.orbit-static-gallery > .elementor-container,
.orbit-static-gallery > .e-con-inner,
.orbit-static-gallery .elementor-widget-wrap {
  align-items: stretch !important;
}

.orbit-static-gallery .elementskit-team-image-card,
.orbit-static-gallery .profile-image-card,
.orbit-static-gallery .profile-card,
.orbit-static-gallery .ekit-wid-con {
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  position: relative !important;
}

.orbit-static-gallery .elementskit-team-image-card img,
.orbit-static-gallery .profile-image-card img,
.orbit-static-gallery .profile-card img {
  aspect-ratio: 1 / 1;
  display: block !important;
  height: auto !important;
  inset: auto !important;
  object-fit: cover;
  position: static !important;
  transform: none !important;
  width: 100% !important;
}

.orbit-static-gallery .hover-area {
  inset: 0 !important;
}

/* Native off-canvas fallback; orbit-static.js owns its state. */
@media (max-width: 1024px) {
  .elementskit-menu-container:not(.active) {
    visibility: hidden;
  }

  .elementskit-menu-container.active {
    visibility: visible;
  }
}

.orbit-form-gate-notice {
  background: #fff4d6;
  border: 1px solid #b8860b;
  color: #2c240f;
  margin: 1rem 0;
  padding: .75rem 1rem;
}

/* Newman Nede's desktop header was authored as a 1,100px Elementor row with
   fixed 170px outer gutters. The export's global overflow guard compressed
   that row at narrower desktop widths, shrinking the logo and pulling the nav
   out of alignment. Preserve the authored row at 1,100px when space permits,
   then reduce only the outer gutters so the page never overflows. The
   structural selector covers the distinct header IDs on every Newman route. */
@media (min-width: 1025px) {
  .newmannede-com .elementor > section[data-wpr-sticky-section="yes"] {
    padding-inline: max(20px, calc((100vw - 1100px) / 2)) !important;
  }

  .newmannede-com .elementor > section[data-wpr-sticky-section="yes"] > .elementor-container,
  .newmannede-com .elementor > section[data-wpr-sticky-section="yes"] .elementor-inner-section > .elementor-container {
    margin-inline: auto !important;
    max-width: 1100px !important;
    width: 100% !important;
  }

  .newmannede-com .elementor > section[data-wpr-sticky-section="yes"] .elementor-widget-image img {
    height: auto !important;
    max-width: 80px !important;
    width: 80px !important;
  }
}

/* This site's declared mobile breakpoint is 767px. Keep its desktop menu
   visible through the tablet range instead of applying the runtime's generic
   1024px off-canvas fallback. */
@media (min-width: 768px) and (max-width: 1024px) {
  .newmannede-com .elementor > section[data-wpr-sticky-section="yes"] .elementskit-menu-container {
    visibility: visible !important;
  }

  .newmannede-com .elementor > section[data-wpr-sticky-section="yes"] .elementskit-navbar-nav > li.current-menu-item > a,
  .newmannede-com .elementor > section[data-wpr-sticky-section="yes"] .elementskit-navbar-nav > li.current_page_item > a,
  .newmannede-com .elementor > section[data-wpr-sticky-section="yes"] .elementskit-navbar-nav > li.active > a {
    color: #c2041a !important;
  }
}

/* Remove the theme page-title spacer that appears only on the Newman home
   export, plus its unrelated trailing legacy credit row. */
.newmannede-com.home .page-header,
.newmannede-com.home .elementor-element-c65f09b {
  display: none !important;
}

/* WordPress originally stored the phone menu item as '#'. Once corrected to a
   tel: URL, some browsers apply their own visited-link colour and underline.
   Keep it visible and identical to the authored navigation on every route. */
.newmannede-com .elementor > section[data-wpr-sticky-section="yes"] a[href^="tel:"],
.newmannede-com .elementor > section[data-wpr-sticky-section="yes"] a[href^="tel:"]:link,
.newmannede-com .elementor > section[data-wpr-sticky-section="yes"] a[href^="tel:"]:visited,
.newmannede-com .elementor > section[data-wpr-sticky-section="yes"] a[href^="tel:"]:hover,
.newmannede-com .elementor > section[data-wpr-sticky-section="yes"] a[href^="tel:"]:focus {
  color: #273272 !important;
  display: flex !important;
  opacity: 1 !important;
  text-decoration: none !important;
  visibility: visible !important;
}

/* The telephone entry is a permanent part of Newman's desktop navigation.
   Keep both its list item and its anchor in the layout so menu-width and
   overflow calculations cannot hide it at any non-mobile breakpoint. */
@media (min-width: 768px) {
  .newmannede-com .elementor > section[data-wpr-sticky-section="yes"] .elementskit-navbar-nav {
    flex-wrap: nowrap !important;
    overflow: visible !important;
  }

  .newmannede-com .elementor > section[data-wpr-sticky-section="yes"] .elementskit-navbar-nav > li:has(> a[href^="tel:"]) {
    display: list-item !important;
    flex: 0 0 auto !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .newmannede-com .elementor > section[data-wpr-sticky-section="yes"] a[href^="tel:"] {
    max-width: none !important;
    white-space: nowrap !important;
    width: auto !important;
  }
}

.newmannede-com .elementor-section:has(#contact-us) a[href^="tel:"],
.newmannede-com .elementor-section:has(#contact-us) .elementor-icon-list-text {
  text-decoration: none !important;
}

.newmannede-com .orbit-credit-text {
  color: #fff !important;
  white-space: nowrap;
}

.newmannede-com .orbit-credit-bolt {
  color: #fff !important;
  font-size: .9em;
}

.newmannede-com a:has(.orbit-credit-text),
.newmannede-com p:has(.orbit-credit-text) {
  align-items: center;
  color: #fff !important;
  display: inline-flex !important;
  text-decoration: none !important;
}

.newmannede-com .orbit-credit-bolt + .orbit-credit-text {
  margin-left: 5px;
}

/* OGAL's exported theme overrides contact links after the header palette. */
.ogalfacilities-com .elementor-element-3eff4d4e a,
.ogalfacilities-com .elementor-element-3eff4d4e .elementor-icon-list-icon,
.ogalfacilities-com .elementor-element-3eff4d4e .elementor-icon-list-text,
.ogalfacilities-com .elementor-element-4d2bf16 a,
.ogalfacilities-com .elementor-element-4d2bf16 .elementor-icon-list-icon,
.ogalfacilities-com .elementor-element-4d2bf16 .elementor-icon-list-text {
  color: #fff !important;
  text-decoration: none !important;
}

.ogalfacilities-com .elementor-element-3e9116e .elementor-button,
.ogalfacilities-com .elementor-element-3e9116e .elementor-button-text {
  color: #fff !important;
}

.ogalfacilities-com .elementor-element-f5d61f3 li:first-child a {
  align-items: center;
  color: #0c0592 !important;
  display: inline-flex;
  gap: .55rem;
  text-decoration: none !important;
}

.ogalfacilities-com .elementor-element-f5d61f3 li:first-child .elementor-icon-list-icon,
.ogalfacilities-com .elementor-element-f5d61f3 li:first-child .elementor-icon-list-icon i,
.ogalfacilities-com .elementor-element-f5d61f3 li:first-child .elementor-icon-list-text {
  align-items: center;
  color: #0c0592 !important;
  display: inline-flex;
  text-decoration: none !important;
}

.ogalfacilities-com .elementor-element-f5d61f3 li:first-child .elementor-icon-list-icon {
  flex: 0 0 auto;
}

.ogalfacilities-com .orbit-footer-bolt {
  font-size: .9em;
  margin-right: 5px;
}

.ogalfacilities-com .elementor-element-70c381ac a {
  text-decoration: none !important;
}

/* Rebuild Elementor's removed background slideshow without its WordPress JS. */
.orbit-static-slideshow {
  overflow: hidden;
  position: relative;
}

.orbit-static-slideshow > .orbit-static-slideshow__layer {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity .5s ease;
  z-index: 0;
}

.orbit-static-slideshow > .orbit-static-slideshow__layer.is-active {
  opacity: 1;
}

.orbit-static-slideshow > .elementor-background-overlay {
  z-index: 1;
}

.orbit-static-slideshow > .elementor-container,
.orbit-static-slideshow > .e-con-inner {
  position: relative;
  z-index: 2;
}

/* OG Farmers Market header/footer parity and usable contact links. */
.ogfarmersmarket-com .elementor-element-3eff4d4e .elementor-icon-list-items,
.ogfarmersmarket-com .elementor-element-07dc4d6 .elementor-icon-list-items {
  align-items: center;
  justify-content: center !important;
}

.ogfarmersmarket-com .elementor-element-3eff4d4e a,
.ogfarmersmarket-com .elementor-element-3eff4d4e .elementor-icon-list-icon,
.ogfarmersmarket-com .elementor-element-3eff4d4e .elementor-icon-list-text,
.ogfarmersmarket-com .elementor-element-3eff4d4e .elementor-icon-list-text a,
.ogfarmersmarket-com .elementor-element-07dc4d6 a,
.ogfarmersmarket-com .elementor-element-07dc4d6 .elementor-icon-list-icon,
.ogfarmersmarket-com .elementor-element-07dc4d6 .elementor-icon-list-text {
  color: #fff !important;
  text-decoration: none !important;
}

.ogfarmersmarket-com .elementor-element-78c6d707 img {
  content: url('/wp-content/uploads/2023/01/OG-Farmers-Market-Logo-White.png');
  height: auto !important;
  width: min(100%, 220px) !important;
}

.ogfarmersmarket-com .elementor-element-08341aa img {
  content: url('/wp-content/uploads/2023/01/OG-Farmers-Market-Logo-White.png');
}

.ogfarmersmarket-com .elementor-element-1c6deee1 a,
.ogfarmersmarket-com .elementor-element-1c6deee1 a:hover,
.ogfarmersmarket-com .elementor-element-1c6deee1 .elementor-icon-list-icon,
.ogfarmersmarket-com .elementor-element-1c6deee1 .elementor-icon-list-text,
.ogfarmersmarket-com .elementor-element-1c6deee1 .ekit_page_list_title_title {
  color: #fff !important;
  text-decoration: none !important;
}

.ogfarmersmarket-com .elementor-element-1c6deee1 a[href^="tel:"] .ekit_page_list_content,
.ogfarmersmarket-com .elementor-element-1c6deee1 a[href^="mailto:"] .ekit_page_list_content {
  align-items: center;
  display: inline-flex;
  gap: .55rem;
}

.ogfarmersmarket-com .elementor-element-6d8e8313 .ekit_social_media a {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

.ogfarmersmarket-com .elementor-element-6d8e8313 .ekit_social_media i,
.ogfarmersmarket-com .elementor-element-6d8e8313 .ekit_social_media i::before {
  color: #cf2a20 !important;
}

.ogfarmersmarket-com .elementor-element-6d8e8313 .ekit_social_media i::before {
  display: block;
  font-family: Arial, sans-serif !important;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}

.ogfarmersmarket-com .elementor-element-6d8e8313 .ekit_social_media li:nth-child(1) i::before {
  content: 'f' !important;
}

.ogfarmersmarket-com .elementor-element-6d8e8313 .ekit_social_media li:nth-child(2) i::before {
  content: 't' !important;
}

.ogfarmersmarket-com .elementor-element-6d8e8313 .ekit_social_media li:nth-child(3) i::before {
  content: '\25CE' !important;
}
