/* Static-mode overrides: replaces Salient's JS-added "loaded"/"animated-in" states
   so backgrounds and animated elements are visible without the jQuery stack. */

/* Lazy background layers start at opacity:0 until JS adds .loaded — force visible */
.column-image-bg,
.row-bg,
.nectar-recent-post-bg,
.column-image-bg-wrap .inner-wrap,
.row-bg-wrap .inner-wrap {
  opacity: 1 !important;
}

/* Elements awaiting entrance animations: show them in their final state */
[data-animation]:not([data-animation=""]),
.wpb_animate_when_almost_visible,
.img-with-aniamtion-wrap .hover-wrap,
img.img-with-animation,
.col.has-animation,
.wpb_column.has-animation,
.nectar-fancy-box.has-animation,
.nectar_cascading_images .cascading-image .inner-wrap {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* ---------- Mobile menu (static rebuild's own panel) ---------- */
#aucp-mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99990;
  background: #ffffff;
  overflow-y: auto;
  padding: 88px 22px 30px;
  -webkit-overflow-scrolling: touch;
}
body.aucp-mm-open #aucp-mobile-menu { display: block; }
body.aucp-mm-open { overflow: hidden; }
/* keep the header (with its X toggle) above the panel */
body.aucp-mm-open #header-outer { z-index: 99995; }
.aucp-mm-list { list-style: none !important; margin: 0; padding: 0; }
.aucp-mm-list li { border-bottom: 1px solid #e8edf1; list-style: none !important; }
.aucp-mm-list li::marker { content: none; }
.aucp-mm-list li::before { display: none !important; }
.aucp-mm-row { display: flex; align-items: stretch; }
.aucp-mm-row a {
  flex: 1;
  display: block;
  padding: 14px 4px;
  font-size: 17px;
  font-weight: 600;
  color: #1f2933 !important;
  text-decoration: none;
}
.aucp-mm-caret {
  width: 52px;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
}
.aucp-mm-caret span {
  position: absolute; top: 50%; left: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid #0e6ba8; border-bottom: 2px solid #0e6ba8;
  transform: translate(-50%, -70%) rotate(45deg);
  transition: transform .2s ease;
}
.aucp-mm-caret[aria-expanded="true"] span { transform: translate(-50%, -30%) rotate(225deg); }
.aucp-mm-list.depth-1 { padding-left: 16px; }
.aucp-mm-list.depth-1 .aucp-mm-row a { font-size: 15.5px; font-weight: 500; }
.aucp-mm-list.depth-2 { padding-left: 16px; }
.aucp-mm-list.depth-2 .aucp-mm-row a { font-size: 14.5px; font-weight: 400; }
.aucp-mm-list.depth-1 li:last-child, .aucp-mm-list.depth-2 li:last-child { border-bottom: none; }
.aucp-mm-actions { display: grid; gap: 10px; margin-top: 22px; }
.aucp-mm-actions a {
  display: block; text-align: center; padding: 15px 10px;
  border-radius: 8px; font-size: 16px; font-weight: 700; text-decoration: none;
}
.aucp-mm-call { background: #f0f4f8; color: #0e6ba8 !important; }
.aucp-mm-book { background: #3452ff; background: var(--nectar-accent-color, #3452ff); color: #fff !important; }

/* Simple fade slider (nectar-flickity): stack cells, JS in static.js cycles them */
.nectar-simple-slider .flickity-viewport {
  position: relative;
  overflow: hidden;
}
.nectar-simple-slider .flickity-slider {
  position: relative;
  height: 100%;
}
.nectar-simple-slider .cell {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.nectar-simple-slider .cell.is-active {
  opacity: 1;
}
/* aspect-ratio sizing that Salient computed in JS */
.nectar-simple-slider.aspect-1-1 .flickity-viewport {
  aspect-ratio: 1 / 1;
}
.nectar-simple-slider .cell .bg-layer-wrap,
.nectar-simple-slider .cell .bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

/* ---------- city landing pages ---------- */
.aucp-city{font-size:16px;line-height:1.65;color:#33414d;}
.aucp-city-hero{background:#1a83c5;color:#fff;border-radius:0 0 14px 14px;padding:56px 6% 46px;margin-bottom:34px;}
.aucp-city-hero h1{color:#fff;margin:0 0 10px;}
.aucp-city-hero p{color:#eaf3fa;font-size:18px;margin:0;max-width:60ch;}
.aucp-city h2{margin:38px 0 14px;}
.aucp-city .aucp-routes{list-style:none;padding:0;margin:0;}
.aucp-city .aucp-routes li{background:#f5f8fa;border:1px solid #e3eaef;border-radius:12px;padding:16px 20px;margin-bottom:12px;}
.aucp-city .aucp-routes b{display:block;color:#16222d;margin-bottom:4px;}
.aucp-svc-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:6px 0 8px;}
@media(max-width:690px){.aucp-svc-grid{grid-template-columns:1fr;}}
.aucp-svc-grid a.aucp-svc{display:block;border:1px solid #e3eaef;border-radius:12px;padding:16px 18px;text-decoration:none;background:#fff;}
.aucp-svc-grid a.aucp-svc b{color:#1a83c5;display:block;margin-bottom:4px;}
.aucp-svc-grid a.aucp-svc span{color:#55606a;font-size:14.5px;}
.aucp-hours{background:#eaf3fa;border-radius:10px;padding:14px 18px;}
.aucp-cta-row{display:flex;gap:12px;flex-wrap:wrap;margin:26px 0 8px;}
.aucp-btn{display:inline-block;padding:14px 24px;border-radius:8px;font-weight:700;text-decoration:none;font-size:15.5px;}
.aucp-btn-red{background:#c9202b;color:#fff !important;}
.aucp-btn-blue{background:#1a83c5;color:#fff !important;}
.aucp-btn-ghost{border:1.5px solid #c6d3dc;color:#1a83c5 !important;background:#fff;}
.aucp-nearby{font-size:14.5px;color:#55606a;border-top:1px solid #e3eaef;margin-top:34px;padding-top:16px;}
.aucp-city .main-content-pad{padding:0 2%;}
/* ---------- sitewide FAQ ---------- */
.aucp-faq{max-width:880px;margin:0 auto;padding:44px 22px 54px;}
.aucp-faq h2{text-align:center;margin:0 0 22px;}
.aucp-faq details{border:1px solid #e0e6eb;border-radius:10px;margin-bottom:10px;background:#fff;}
.aucp-faq summary{cursor:pointer;font-weight:700;padding:15px 44px 15px 18px;list-style:none;position:relative;color:#16222d;}
.aucp-faq summary::-webkit-details-marker{display:none;}
.aucp-faq summary::after{content:"";position:absolute;right:18px;top:50%;width:9px;height:9px;border-right:2px solid #1a83c5;border-bottom:2px solid #1a83c5;transform:translateY(-70%) rotate(45deg);transition:transform .2s;}
.aucp-faq details[open] summary::after{transform:translateY(-30%) rotate(225deg);}
.aucp-faq details p{margin:0;padding:0 18px 16px;color:#42525f;font-size:15px;line-height:1.6;}

/* ---------- menu hover bridges (keep dropdowns reachable across gaps) ---------- */
#top nav .sf-menu > li > ul::before {
  content: ""; position: absolute; left: -30px; right: -30px; top: -35px; height: 35px;
}
#top nav .sf-menu li li > ul::before {
  content: ""; position: absolute; top: -40px; bottom: -40px; left: -60px; width: 60px;
}
#top nav .sf-menu li li > ul::after {
  content: ""; position: absolute; left: -10px; right: -10px; top: -40px; height: 40px;
}
