.zgr-hide-mobile { display: inline; }
.zgr-show-mobile { display: none; }

.zgr-header {
  background: var(--zgr-white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.zgr-header--scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.zgr-header__topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 32px 24px;
  gap: 16px;
  max-width: 1600px;
  margin: 0 auto;
}

.zgr-header__left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.zgr-header__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.zgr-header__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.zgr-header__logo svg {
  height: 40px;
  width: auto;
  display: block;
  margin-bottom: 16px;
}

.zgr-header__tagline {
  font-family: var(--font-urbanist);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #3fcef4;
  text-align: center;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
  transition: color 0.2s;
}

.zgr-header__tagline:hover {
  color: var(--zgr-blue);
}

.zgr-header__tagline-copy {
  font-weight: 700;
}

.zgr-header__tagline-arrow {
  color: var(--zgr-navy);
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  animation: zgr-float-right 1.6s ease-in-out infinite;
  filter: drop-shadow(0 0 2px rgba(18,43,80,0.5));
  transition: color 0.2s;
}

.zgr-header__tagline:hover .zgr-header__tagline-arrow {
  color: var(--zgr-blue);
}

@keyframes zgr-float-right {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(4px); }
}

.zgr-header__date {
  font-family: var(--font-urbanist);
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--zgr-navy);
  text-align: center;
}

.zgr-hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.zgr-hamburger span {
  display: block;
  height: 2px;
  background: var(--zgr-navy);
  border-radius: 2px;
  transition: all 0.25s;
}

.zgr-search-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--zgr-navy);
}

.zgr-search-btn svg {
  display: block;
}

.zgr-header__left .zgr-search-inline {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 0 1 auto;
}

.zgr-header__left .zgr-search-inline__form {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin: 0;
}

.zgr-header__left .zgr-search-inline__input {
  width: 0;
  min-width: 0;
  max-width: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  padding: 0;
  margin: 0;
  border: 0;
  outline: none;
  background: var(--zgr-white);
  box-shadow: none;
  font-family: var(--font-baskerville);
  font-size: 16px;
  line-height: 1.2;
  color: var(--zgr-black);
  transition:
    max-width 0.24s ease,
    opacity 0.18s ease,
    padding 0.24s ease,
    border-color 0.24s ease,
    visibility 0.18s ease;
}

.zgr-header__left .zgr-search-inline__input::placeholder {
  color: var(--zgr-gray);
}

.zgr-header__left .zgr-search-inline.is-open .zgr-search-inline__input {
  width: 260px;
  max-width: min(52vw, 260px);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  font-size: .8em;
  padding: 9px 14px;
  border: 1px solid var(--zgr-navy);
}

.zgr-header__left .zgr-search-inline__toggle {
  flex: 0 0 auto;
}

.zgr-btn-tips {
  background: var(--zgr-navy);
  color: var(--zgr-white);
  font-family: var(--font-urbanist);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  display: inline-block;
  transition: background 0.2s;
}

.zgr-btn-tips:hover {
  background: var(--zgr-blue);
}

.zgr-btn-outline {
  border: 1px solid var(--zgr-navy);
  color: var(--zgr-navy);
  font-family: var(--font-urbanist);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 9px 14px;
  background: none;
  cursor: pointer;
  white-space: nowrap;
  display: inline-block;
}

.zgr-btn-filled {
  background: var(--zgr-navy);
  color: var(--zgr-white);
  font-family: var(--font-urbanist);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 9px 14px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  display: inline-block;
}

.zgr-header__nav {
  margin-top: 16px;
  border-bottom: 1px solid var(--zgr-light-gray);
}

.zgr-header__nav-inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--zgr-light-gray);
}

.zgr-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 12px var(--zgr-page-pad) 16px;
  margin: 0;
  overflow-x: auto;
  white-space: nowrap;
  width: 100%;
}

.zgr-nav__list::-webkit-scrollbar,
.zgr-military-dropdown__list::-webkit-scrollbar {
  display: none;
}

.zgr-nav__list { -ms-overflow-style: none; scrollbar-width: none; }

.zgr-nav__link {
  font-family: var(--font-urbanist);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--zgr-black);
  white-space: nowrap;
  padding: 4px 0;
  transition: color 0.2s;
}

.zgr-nav__link:hover {
  color: var(--zgr-blue);
}

.zgr-nav__link--active {
  color: var(--zgr-blue);
}

/* Military toggle button — same text style as nav links */
.zgr-nav__link--military {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
}

.zgr-nav__link--military[aria-expanded="true"] {
  color: var(--zgr-blue);
}

/* ── Military dropdown (expands below nav using CSS grid trick) ── */

.zgr-military-dropdown {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  pointer-events: none;
  transition: grid-template-rows 0.3s ease-in-out, opacity 0.3s ease-in-out;
  width: 100%;
}

.zgr-military-dropdown.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  pointer-events: auto;
}

.zgr-military-dropdown__inner {
  overflow: hidden;
  width: 100%;
  display: flex;
  justify-content: center;
}

.zgr-military-dropdown__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 4px var(--zgr-page-pad) 12px;
  margin: 0;
}

.zgr-military-dropdown__link {
  font-family: var(--font-urbanist);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: #757575;
  white-space: nowrap;
  transition: color 0.2s;
}

.zgr-military-dropdown__link:hover {
  color: var(--zgr-blue);
}

/* Military — separated item with left border */
.zgr-nav__separator-item {
  display: flex;
  align-items: center;
  margin-left: 8px;
  padding-left: 24px;
  border-left: 1px solid var(--zgr-light-gray);
}

.zgr-nav__link--military {
  font-family: var(--font-urbanist);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--zgr-navy);
  white-space: nowrap;
  padding: 4px 0;
  transition: color 0.2s;
}

.zgr-nav__link--military:hover {
  color: var(--zgr-blue);
}

.zgr-nav__list {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* ============================================================
   MENU MODAL — slide-in panel
   ============================================================ */

.zgr-menu-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  pointer-events: none;
}

.zgr-menu-modal.is-open {
  pointer-events: auto;
}

/* ── Backdrop ── */
.zgr-menu-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 43, 80, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.zgr-menu-modal.is-open .zgr-menu-modal__backdrop {
  opacity: 1;
}

/* ── Panel ── */
.zgr-menu-modal__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: 1400px;
  background: var(--zgr-white);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  overflow: hidden;
}

@media (min-width: 768px) {
  .zgr-menu-modal__panel { width: 85vw; }
}

@media (min-width: 1024px) {
  .zgr-menu-modal__panel { width: 80vw; }
}

.zgr-menu-modal.is-open .zgr-menu-modal__panel {
  transform: translateX(0);
}

/* ── Top bar ── */
.zgr-menu-modal__topbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 32px;
  border-bottom: 1px solid var(--zgr-light-gray);
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .zgr-menu-modal__topbar { padding: 40px 48px; gap: 0; }
}

.zgr-menu-modal__topbar-left {
  display: flex;
  align-items: center;
  order: 1;
}

.zgr-menu-modal__topbar-right {
  order: 2;
  margin-left: auto;
}

@media (min-width: 768px) {
  .zgr-menu-modal__topbar-right { order: 3; margin-left: 0; }
}

/* ── Close button ── */
.zgr-menu-modal__close {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--zgr-navy);
  cursor: pointer;
  transition: opacity 0.2s;
}

.zgr-menu-modal__close:hover { opacity: 0.8; }

.zgr-menu-modal__close-icon {
  transition: transform 0.3s;
  flex-shrink: 0;
}

.zgr-menu-modal__close:hover .zgr-menu-modal__close-icon {
  transform: rotate(90deg);
}

.zgr-menu-modal__close-label {
  font-family: var(--font-urbanist);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: none;
}

@media (min-width: 640px) {
  .zgr-menu-modal__close-label { display: inline; }
}

/* ── Tab switcher (ZENGER / MILITARY pill) ── */
.zgr-menu-modal__tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #F5F5F5;
  padding: 6px;
  border-radius: 9999px;
  order: 3;
  width: 100%;
}

@media (min-width: 768px) {
  .zgr-menu-modal__tabs {
    order: 2;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
  }
}

.zgr-menu-modal__tab {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  border-radius: 9999px;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s, opacity 0.3s;
  opacity: 0.6;
  flex: 1;
}

@media (min-width: 768px) {
  .zgr-menu-modal__tab { flex: none; }
}

.zgr-menu-modal__tab--active {
  background: var(--zgr-white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  opacity: 1;
}

.zgr-menu-modal__tab:hover:not(.zgr-menu-modal__tab--active) {
  opacity: 0.8;
}

.zgr-menu-modal__tab-logo {
  height: 20px;
  width: auto;
  display: block;
}

@media (min-width: 1024px) {
  .zgr-menu-modal__tab-logo { height: 24px; }
}

.zgr-menu-modal__tab-label {
  font-family: var(--font-urbanist);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--zgr-navy);
}

/* ── Got a tip button ── */
.zgr-menu-modal__tip-btn {
  font-family: var(--font-urbanist);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--zgr-navy);
  border: 2px solid var(--zgr-navy);
  padding: 10px 16px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  display: inline-block;
}

@media (min-width: 1024px) {
  .zgr-menu-modal__tip-btn { padding: 10px 24px; }
}

.zgr-menu-modal__tip-btn:hover {
  background: var(--zgr-blue);
  border-color: var(--zgr-blue);
  color: var(--zgr-white);
}

/* ── Scrollable body ── */
.zgr-menu-modal__body {
  flex: 1 1 0;
  overflow-y: auto;
  background: var(--zgr-white);
}

/* Panel content tabs */
.zgr-menu-modal__panel-content {
  padding: 24px 32px;
}

@media (min-width: 1024px) {
  .zgr-menu-modal__panel-content { padding: 32px 48px; }
}

.zgr-menu-modal__panel-content--hidden {
  display: none;
}

/* ── 4-col grid ── */
.zgr-menu-modal__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  transition: opacity 0.3s ease-in-out;
}

@media (min-width: 640px) {
  .zgr-menu-modal__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 40px; }
}

@media (min-width: 1024px) {
  .zgr-menu-modal__grid { grid-template-columns: repeat(4, 1fr); gap: 32px 40px; }
}


.zgr-menu-modal__col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Section */
.zgr-menu-modal__section { }

/* Section headings */
.zgr-menu-modal__heading {
  font-family: var(--font-tinos);
  font-size: 18px;
  font-weight: 700;
  color: var(--zgr-navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--zgr-navy);
}

@media (min-width: 1024px) {
  .zgr-menu-modal__heading { font-size: 20px; }
}

.zgr-menu-modal__heading a {
  color: inherit;
  transition: color 0.2s;
}

.zgr-menu-modal__heading a:hover {
  color: var(--zgr-blue);
}

/* Channel links */
.zgr-menu-modal__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.zgr-menu-modal__channel-link {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 14px;
  color: var(--zgr-black);
  display: inline-block;
  line-height: 1.4;
  transition: color 0.2s, transform 0.2s;
}

@media (min-width: 1024px) {
  .zgr-menu-modal__channel-link { font-size: 15px; }
}

.zgr-menu-modal__channel-link:hover {
  color: var(--zgr-blue);
  transform: translateX(4px);
}

/* ── Footer: follow us + newsletter ── */
.zgr-menu-modal__footer {
  flex-shrink: 0;
  background: #F8F8F8;
  border-top: 1px solid var(--zgr-light-gray);
  padding: 32px;
}

@media (min-width: 1024px) {
  .zgr-menu-modal__footer { padding: 40px 48px; }
}

.zgr-menu-modal__footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

@media (min-width: 1024px) {
  .zgr-menu-modal__footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }
}

.zgr-menu-modal__follow {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.zgr-menu-modal__eyebrow {
  font-family: var(--font-urbanist);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #A0A0A0;
}

.zgr-menu-modal__socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.zgr-menu-modal__social-link {
  color: #122B50;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s;
}

.zgr-menu-modal__social-link:hover {
  opacity: 0.6;
}

.zgr-menu-modal__social-sep {
  color: #A0A0A0;
  font-size: 12px;
}

/* Newsletter */
.zgr-menu-modal__newsletter {
  flex: 1 1 auto;
  max-width: 576px;
  width: 100%;
}

.zgr-menu-modal__newsletter-form {
  display: flex;
  align-items: stretch;
  margin-bottom: 8px;
}

.zgr-menu-modal__newsletter-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 10px 16px;
  border: 1px solid #D0D0D0;
  background: var(--zgr-white);
  color: var(--zgr-black);
  font-family: var(--font-urbanist);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}

.zgr-menu-modal__newsletter-input:focus {
  border-color: var(--zgr-navy);
}

.zgr-menu-modal__newsletter-input::placeholder {
  color: #BDBDBD;
  letter-spacing: 0.05em;
}

.zgr-menu-modal__newsletter-button {
  flex-shrink: 0;
  padding: 0 32px;
  border: 0;
  background: var(--zgr-navy);
  color: var(--zgr-white);
  font-family: var(--font-urbanist);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.zgr-menu-modal__newsletter-button:hover {
  background: var(--zgr-blue);
}

.zgr-menu-modal__newsletter-note {
  margin: 0;
  color: #9e9e9e;
  font-family: var(--font-urbanist);
  font-size: 10px;
  line-height: 1.6;
}

.zgr-menu-modal__newsletter-note a {
  text-decoration: underline;
  color: inherit;
  transition: color 0.2s;
}

.zgr-menu-modal__newsletter-note a:hover {
  color: var(--zgr-blue);
}

/* ── Bottom bar ── */
.zgr-menu-modal__bottom {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 16px 24px;
  border-top: 1px solid var(--zgr-light-gray);
  background: var(--zgr-white);
}

@media (min-width: 1024px) {
  .zgr-menu-modal__bottom { gap: 32px; padding: 16px 32px; }
}

.zgr-menu-modal__bottom a {
  font-family: var(--font-urbanist);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #757575;
  transition: color 0.2s;
}

.zgr-menu-modal__bottom a:hover {
  color: var(--zgr-blue);
}

.zgr-menu-modal__bottom-sep {
  color: var(--zgr-light-gray);
  display: none;
}

@media (min-width: 640px) {
  .zgr-menu-modal__bottom-sep { display: inline; }
}

/* ============================================================
   RESPONSIVE — header + modal
   ============================================================ */

@media (max-width: 720px) {
  .zgr-header__topbar {
    grid-template-columns: auto 1fr auto;
    padding: 1em;
  }

  .zgr-header__right {
    gap: 8px;
  }

  .zgr-btn-filled .zgr-hide-mobile {
    display: none;
  }

  .zgr-btn-filled .zgr-show-mobile {
    display: inline;
  }

  .zgr-nav__list {
    gap: 20px;
  }

  .zgr-menu-modal__topbar {
    padding: 16px 20px;
  }

  .zgr-menu-modal__panel-content {
    padding: 20px;
  }

  .zgr-menu-modal__footer {
    padding: 24px 20px;
  }

  .zgr-menu-modal__newsletter {
    max-width: none;
  }

  .zgr-menu-modal__bottom {
    padding: 14px 20px;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .zgr-header__topbar {
    gap: 8px;
  }

  .zgr-header__left {
    gap: 10px;
  }

  .zgr-btn-tips {
    padding: 6px 10px;
    font-size: 11px;
  }

  .zgr-btn-outline {
    display: none;
  }

  .zgr-header__left .zgr-search-inline.is-open .zgr-search-inline__input {
    width: min(46vw, 180px);
    max-width: min(46vw, 180px);
  }

  .zgr-menu-modal__tip-btn {
    padding: 8px 12px;
    font-size: 11px;
  }

  .zgr-menu-modal__newsletter-form {
    flex-direction: column;
  }

  .zgr-menu-modal__newsletter-button {
    min-height: 44px;
    padding: 0 16px;
  }

  .zgr-menu-modal__bottom {
    gap: 12px;
  }
}
