/*! Shared header/footer/related/IG chrome for static mirror */
#header[data-site-chrome="header"]:empty,
#footer[data-site-chrome="footer"]:empty,
[data-site-chrome="related"]:empty {
  min-height: 1px;
}

/* Related posts (replaces empty Jetpack block) */
.static-related {
  margin: 1.5rem 0 2rem;
  clear: both;
}
.static-related h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
}
.static-related-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.static-related-list a {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 6px;
  padding: 0.75rem 0.9rem;
  background: #fafafa;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.static-related-list a:hover {
  background: #f0f0f0;
  border-color: rgba(0,0,0,0.18);
}
.static-related-list .sr-title {
  font-size: 0.95rem;
  line-height: 1.35;
}

/* Instagram grid + show more */
.static-ig {
  background: #eaeaea;
  width: 90%;
  margin: 0 auto;
  padding: 10px 10px 16px;
  box-sizing: border-box;
}
.static-ig-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.25rem 0 0.75rem;
  text-decoration: none;
  color: #222;
  font-weight: 600;
}
.static-ig-header svg {
  width: 1.35rem;
  height: 1.35rem;
}
.static-ig-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.static-ig-grid a {
  display: block;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
}
.static-ig-grid a.is-hidden {
  display: none;
}
.static-ig-more {
  display: block;
  margin: 12px auto 4px;
  padding: 0.45rem 1.1rem;
  border: 1px solid #bbb;
  background: #fff;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
}
.static-ig-more:hover {
  background: #f7f7f7;
}
.static-ig-more[hidden] {
  display: none !important;
}
@media all and (max-width: 800px) {
  .static-ig-grid { grid-template-columns: repeat(2, 1fr); }
}
@media all and (max-width: 480px) {
  .static-ig { width: 100%; }
  .static-ig-grid { grid-template-columns: repeat(1, 1fr); }
}

/* topbar-toggle (Hueman mirror) */
#header.topbar-expanded #nav-topbar.desktop-sticky {
  overflow: visible;
}

/* mobile hamburger menu (Hueman mirror) */
@media only screen and (max-width: 719px) {
  #header #nav-mobile .nav-wrap {
    position: relative;
    float: left;
    width: 100%;
    overflow: hidden;
  }
  #header #nav-mobile .nav {
    display: none;
    float: left;
    width: 100%;
  }
  #header #nav-mobile .nav.expanded {
    display: block;
  }
  #header #nav-mobile .ham__navbar-toggler-two {
    display: block;
  }
}
html.is-mobile-menu-open {
  /* keep page from jumping oddly while menu open; overflow ok */
}
