.view-mode-footer {
  margin-top: 1.75rem;
  border-top: 1px solid #d8d1c3;
  background: #f4efe3;
}

.view-mode-footer-inner {
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 0.65rem 0.85rem;
  text-align: center;
  box-sizing: border-box;
}

.view-mode-switch {
  border: 1px solid #8d8578;
  border-radius: 999px;
  background: #fff;
  color: #2d2a27;
  font-size: 0.86rem;
  line-height: 1.2;
  padding: 0.35rem 0.8rem;
  cursor: pointer;
}

.view-mode-switch:hover {
  background: #f9f6f0;
}

.view-mode-switch:focus-visible {
  outline: 2px solid #64594b;
  outline-offset: 2px;
}

html.mode-modern [data-nav-replaced="true"] {
  display: none !important;
}

html.mode-classic nav.global-nav[data-generated="ati-modern-nav"] {
  display: none !important;
}

html.mode-classic .mobile-masthead {
  display: none !important;
}

@media (max-width: 760px) {
  .view-mode-footer-inner {
    padding: 0.55rem 0.5rem;
  }

  .view-mode-switch {
    width: 100%;
    max-width: 24rem;
    min-height: 36px;
    font-size: 0.84rem;
  }
}

@media print {
  .view-mode-footer {
    display: none !important;
  }
}
