/**
 * theme-nav.css — Theme-specific header/nav fixes (override LazyLoad plugin etc.).
 * Goes after shared.css → wins on specificity for these targeted selectors.
 */

/* Logo: keep it 32px tall regardless of lazyload placeholder. Vertical-align fix for text. */
.nav__logo {
  line-height: 1;
}
.nav__logo img {
  height: 32px !important;
  width: auto !important;
  vertical-align: middle;
}
.nav__logo span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

/* Reset default <ul> margins — fixes vertical misalignment of menu links vs. logo + login */
.nav__links {
  margin: 0;
  padding: 0;
}

/* Footer: same — <ul> default margins shift the left column 12px up */
.footer__links {
  margin: 0;
  padding: 0;
}

/* Blog pagination: .blog-card has display:flex from blog.css which overrides
   the [hidden] attribute's default display:none. Force-hide cards that should
   start collapsed until the load-more button is clicked. */
.blog-card[hidden],
.blog-card.is-hidden {
  display: none !important;
}

.mobile-nav {
  display: none;
}
.mobile-nav.open {
  display: flex;
  position: fixed;
  inset: 0;
  background: #f7f7f7;
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  padding: 2rem;
}
.mobile-nav .close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.75rem;
  background: none;
  border: none;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  color: #1f2937;
  padding: 0.25rem 0.5rem;
}
.mobile-nav a {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #1f2937;
  text-decoration: none;
  transition: color 0.2s ease;
}
.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  color: #ea580c;
}
