/* Shared site navigation: home, Field Notes index and articles. */
.top, .blog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px max(20px, 4.5vw);
}
.top .header-brand-row > .brand, .blog-header .header-brand-row > .blog-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  max-width: none;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.6px;
  white-space: nowrap;
  text-decoration: none;
}
.top .header-brand-row > .brand .brand-dot, .blog-header .header-brand-row > .blog-brand span {
  display: inline-block;
  position: static;
  margin: 0;
  color: #6252bc;
  font-size: 1em;
}
.top > nav, .blog-header > nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 20px;
  max-width: none;
  font-size: 14px;
  line-height: 1.2;
}
.top > nav a, .blog-header > nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  white-space: nowrap;
  text-decoration: none;
}
.top > nav a:hover, .blog-header > nav a:hover { text-decoration: underline; }
.top > nav a[aria-current="page"], .blog-header > nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 5px;
}
/* Research opens the site sections (Research, Blog, About) after the four acts; a thin rule sets it apart. */
.top > nav a.nav-section, .blog-header > nav a.nav-section { position: relative; margin-left: 4px; }
.top > nav a.nav-section::before, .blog-header > nav a.nav-section::before {
  content: "";
  position: absolute;
  left: -13px;
  top: 50%;
  height: 16px;
  margin-top: -8px;
  border-left: 1px solid currentColor;
  opacity: .45;
}
@media (max-width: 760px) {
  .top, .blog-header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 20px 20px 12px;
  }
  .top .header-brand-row > .brand, .blog-header .header-brand-row > .blog-brand {
    align-self: flex-start;
    font-size: 18px;
    min-height: 32px;
  }
  .top > nav, .blog-header > nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: 0;
    font-size: 12px;
  }
  .top > nav a.nav-section, .blog-header > nav a.nav-section { margin-left: 0; }
  .top > nav a.nav-section::before, .blog-header > nav a.nav-section::before { display: none; }
}

.header-brand-row { display: flex; align-items: center; gap: 24px; }
.header-subscribe { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; white-space: nowrap; }
@media (max-width: 760px) {
  .header-brand-row { width: 100%; justify-content: space-between; gap: 12px; }
}
@media (max-width: 380px) {
  .top .header-brand-row > .brand, .blog-header .header-brand-row > .blog-brand { font-size: 16px; gap: 6px; }
  .header-subscribe { font-size: 12px; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .header-brand-row { gap: 14px; }
  .top > nav, .blog-header > nav { gap: 12px; font-size: 13px; }
  .top > nav a.nav-section::before, .blog-header > nav a.nav-section::before { left: -9px; }
}
