/* minyan.biz v2.3.3: prevent public header brand text from shrinking underneath logo. */
.site-v2 .topbar .brand.brand-v212 {
  flex: 0 0 auto;
  width: max-content;
  max-width: none;
  min-width: 0;
}
.site-v2 .topbar .brand-v212 .brand-emblem,
.site-v2 .topbar .brand-v212 .brand-identity {
  flex: 0 0 auto;
}
.site-v2 .topbar .brand-v212 .brand-identity strong {
  white-space: nowrap;
  overflow: visible;
  unicode-bidi: isolate;
}
/* Desktop: leave room for city, nearby, and gabai controls. The two extra
   links remain accessible from the page footer. */
@media (min-width: 1281px) {
  .site-v2.home-v2 .topbar .nav-links .nav-link:nth-child(n+5) {
    display: none;
  }
  .site-v2.home-v2 .topbar .nav-links {
    gap: 12px;
    flex-shrink: 1;
  }
  .site-v2.home-v2 .topbar .header-actions {
    flex-shrink: 0;
  }
}
/* Narrow screen: keep the brand and main action in a single accessible row. */
@media (max-width: 800px) {
  .site-v2:not(.home-v2) .topbar .nav-links {
    display: none;
  }
  .site-v2:not(.home-v2) .topbar .topbar-inner {
    gap: 8px;
  }
}
@media (max-width: 390px) {
  .site-v2 .topbar .brand-v212 .brand-identity small { display: none; }
}
