/* Public-homepage navigation relocation.
   The existing forest-green banner surround contains the navigation;
   the circular logo moves to the existing footer brand area. */
.nav-footer-move .brand-hero .banner-nav-shell {
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:56px;
  padding:0 0 18px;
  background:transparent;
  line-height:1.4;
}
.nav-footer-move .brand-hero .banner-nav-shell nav {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:clamp(11px,1.5vw,25px);
  width:100%;
}
.nav-footer-move .brand-hero .banner-nav-shell nav a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  margin:0;
  padding:7px 3px;
  border-bottom:2px solid transparent;
  color:#f7f3e8;
  text-decoration:none;
  font-size:13px;
  font-weight:800;
  line-height:1.25;
  white-space:nowrap;
}
.nav-footer-move .brand-hero .banner-nav-shell nav a:hover,
.nav-footer-move .brand-hero .banner-nav-shell nav a:focus-visible {
  color:#e8bd3f;
  border-bottom-color:#e8bd3f;
}
.nav-footer-move .brand-hero .banner-nav-shell .mobile-menu-toggle { display:none; }
.nav-footer-move .site-footer {
  padding-left:6%;
  padding-right:6%;
}
.nav-footer-move .site-footer .footer-brand {
  display:flex;
  align-items:center;
  gap:17px;
  min-width:0;
}
.nav-footer-move .site-footer .footer-logo {
  display:block;
  width:118px;
  height:118px;
  flex:0 0 118px;
  object-fit:contain;
}
.nav-footer-move .site-footer .footer-brand-copy { min-width:0; }
.nav-footer-move .site-footer .footer-brand-copy strong { display:block; }
.nav-footer-move .site-footer .footer-brand-copy span { display:block; }
@media(max-width:800px) {
  .nav-footer-move .brand-hero .banner-nav-shell {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    padding:0 0 14px;
  }
  .nav-footer-move .brand-hero .banner-nav-shell .mobile-menu-toggle {
    display:inline-flex;
    align-self:flex-end;
    align-items:center;
    gap:7px;
    margin:0 0 4px;
    padding:9px 13px;
    border:1px solid #e8bd3f;
    border-radius:7px;
    background:#1f3023;
    color:#f7f3e8;
    line-height:1.1;
    font-size:13px;
    font-weight:800;
  }
  .nav-footer-move .brand-hero .banner-nav-shell nav {
    display:none;
    margin-top:5px;
    padding:8px 0;
    border-top:1px solid #526455;
  }
  .nav-footer-move .brand-hero .banner-nav-shell nav.mobile-open {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:0 10px;
  }
  .nav-footer-move .brand-hero .banner-nav-shell nav a {
    justify-content:flex-start;
    min-height:43px;
    white-space:normal;
    border-bottom:1px solid #526455;
  }
  .nav-footer-move .site-footer .footer-logo {
    width:95px;
    height:95px;
    flex-basis:95px;
  }
}
@media(max-width:430px) {
  .nav-footer-move .brand-hero .banner-nav-shell nav.mobile-open {
    grid-template-columns:1fr;
  }
  .nav-footer-move .site-footer .footer-brand { gap:12px; }
  .nav-footer-move .site-footer .footer-logo {
    width:84px;
    height:84px;
    flex-basis:84px;
  }
}
@media(prefers-reduced-motion:reduce) {
  .nav-footer-move .banner-nav-shell nav a { scroll-behavior:auto; }
}
/* Keep the site's existing centered footer copy and links, but anchor
   the circular logo at the left edge, matching its old header position. */
.nav-footer-move .site-footer {
  position:relative;
  min-height:205px;
  padding:30px 6%;
}
.nav-footer-move .site-footer .footer-brand {
  display:block;
  text-align:center;
}
.nav-footer-move .site-footer .footer-brand-copy { text-align:center; }
.nav-footer-move .site-footer .footer-logo {
  position:absolute;
  left:6%;
  top:50%;
  width:145px;
  height:145px;
  transform:translateY(-50%);
}
@media(max-width:700px) {
  .nav-footer-move .site-footer {
    min-height:0;
    padding:26px 6%;
  }
  .nav-footer-move .site-footer .footer-brand {
    display:flex;
    flex-direction:column;
    gap:10px;
  }
  .nav-footer-move .site-footer .footer-logo {
    position:static;
    width:108px;
    height:108px;
    transform:none;
    flex:0 0 auto;
  }
}

/* Crop the green margins embedded in the WebP at display time.
   The original file remains intact, and the artwork fills the banner window. */
.nav-footer-move .brand-hero .banner-image-window {
  position:relative;
  display:block;
  width:100%;
  max-width:1800px;
  aspect-ratio:1882 / 538;
  overflow:hidden;
  margin:0 auto;
}
.nav-footer-move .brand-hero .banner-image-window > img {
  position:absolute;
  display:block;
  top:0;
  left:0;
  width:108.82% !important;
  max-width:none !important;
  max-height:none !important;
  min-height:0 !important;
  height:auto !important;
  object-fit:contain !important;
  transform:translate(-4.2%,-14.83%);
}

/* Keep a uniform 40px vertical frame above and below the introduction. */
.nav-footer-move .hero {
  padding-top:40px;
  padding-bottom:40px;
}
/* Match the 40px vertical frame of every main content section. */
.nav-footer-move #live.live-cameras {
  padding-top:40px;
  padding-bottom:40px;
}

/* Remove the heading's default margin so the visible edge-to-text gap
   matches the other sections. */
.nav-footer-move #live.live-cameras > h2 { margin-top:0; }

/* The intro text inherited an 18px bottom margin, so its visible bottom
   gap looked larger even with equal 40px section padding. */
.nav-footer-move .hero p { margin-bottom:0; }

/* Match the approved compact introduction's roughly 40px visible framing
   on the remaining informational sections, without touching internal cards. */
.nav-footer-move main > #dashboard,
.nav-footer-move main > #inside-our-honey,
.nav-footer-move main > #now,
.nav-footer-move main > #apiary-now,
.nav-footer-move main > #varroa {
  padding-top:40px;
  padding-bottom:40px;
}
/* Hive Data ends with a toolbar that otherwise adds 20px of extra green/cream
   space below it despite symmetrical section padding. */
.nav-footer-move #dashboard > .toolbar:last-child { margin-bottom:0; }
