/* Scope every rule to News navigation; leave article and footer typography alone. */
body.vn-news-header-active > .wrapper { overflow: visible; }
body.vn-news-header-active .vn-news-header-shell {
  position: sticky;
  top: 0;
  z-index: 1000;
  flex: none;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #a1a1a1;
}
body.vn-news-header-active.admin-bar .vn-news-header-shell { top: 32px; }
.vn-news-nav {
  color: #3f3f3f;
  font: 600 16px/1.4 proxima-nova, Arial, sans-serif;
  letter-spacing: normal;
  text-transform: none;
}
.vn-news-nav *, .vn-news-nav *::before, .vn-news-nav *::after { box-sizing: border-box; }
.vn-news-nav a {
  color: #3f3f3f;
  text-decoration: none;
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
}
.vn-news-nav a:hover { color: #111; text-decoration: underline; text-underline-offset: 6px; }
.vn-news-nav a:focus-visible, .vn-news-nav summary:focus-visible {
  outline: 2px solid #333;
  outline-offset: 4px;
}
.vn-news-nav__bar {
  min-height: 64px;
  width: 84%;
  max-width: 1680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.vn-news-nav .vn-news-nav__logo { display: flex; flex: 0 0 105px; align-items: center; }
.vn-news-nav__logo img { display: block; width: 105px; height: 45px; max-width: none; }
.vn-news-nav__desktop { display: flex; align-items: center; gap: clamp(18px, 2vw, 36px); }
.vn-news-nav__desktop a { display: flex; align-items: center; min-height: 44px; white-space: nowrap; }
.vn-news-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.vn-news-nav__actions { display: flex; align-items: center; gap: 16px; }
.vn-news-nav__social { display: flex; align-items: center; gap: 4px; }
.vn-news-nav__social a { display: flex; align-items: center; justify-content: center; width: 32px; height: 44px; }
.vn-news-nav__social svg { width: 25px; height: 25px; fill: currentColor; }
.vn-news-nav .vn-news-nav__login { padding-left: 16px; border-left: 1px solid #777; }
.vn-news-nav__mobile { display: none; }
@media (max-width: 1199px) {
  .vn-news-nav__bar { min-height: 80px; width: 84%; }
  .vn-news-nav__desktop, .vn-news-nav__actions { display: none; }
  .vn-news-nav__mobile { display: block; margin: 0; padding: 0; border: 0; }
  .vn-news-nav__mobile > summary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    list-style: none;
    cursor: pointer;
    background: transparent;
    color: #111;
  }
  .vn-news-nav__mobile > summary::-webkit-details-marker { display: none; }
  .vn-news-nav__burger { position: relative; width: 24px; height: 20px; }
  .vn-news-nav__burger span { position: absolute; left: 0; width: 24px; height: 2px; background: #111; }
  .vn-news-nav__burger span:nth-child(1) { top: 0; }
  .vn-news-nav__burger span:nth-child(2) { top: 9px; }
  .vn-news-nav__burger span:nth-child(3) { top: 18px; }
  .vn-news-nav__mobile[open] .vn-news-nav__burger span:nth-child(1) { top: 9px; transform: rotate(45deg); }
  .vn-news-nav__mobile[open] .vn-news-nav__burger span:nth-child(2) { display: none; }
  .vn-news-nav__mobile[open] .vn-news-nav__burger span:nth-child(3) { top: 9px; transform: rotate(-45deg); }
  .vn-news-nav__panel {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 82px);
    max-height: calc(100dvh - 82px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px 8% 24px;
    background: #fff;
    border-bottom: 1px solid #a1a1a1;
    box-shadow: 0 12px 16px rgb(0 0 0 / 6%);
  }
  .vn-news-nav__panel a { display: block; padding: 14px 0; border-bottom: 1px solid #e8e8e8; font-size: 18px; }
  .vn-news-nav__panel .vn-news-nav__mobile-login { margin-top: 12px; border-bottom: 0; }
  body.admin-bar .vn-news-nav__panel { max-height: calc(100dvh - 114px); }
}
@media (max-width: 782px) {
  body.vn-news-header-active.admin-bar .vn-news-header-shell { top: 46px; }
  body.admin-bar .vn-news-nav__panel { max-height: calc(100dvh - 128px); }
}
/* WordPress's mobile admin toolbar scrolls away below this breakpoint. */
@media (max-width: 600px) {
  body.vn-news-header-active.admin-bar .vn-news-header-shell { top: 0; }
}
