@media (max-width: 767px) {
  :root {
    --wh-touch-min: 56px;
  }

  .wh-site-title {
    font-size: var(--wh-font-h3);
  }

  .wh-nav {
    display: none;
  }

  .wh-layout-3col {
    grid-template-columns: 1fr;
  }

  .wh-sidebar--right {
    order: 3;
  }

  .wh-toolbar__inner {
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
    padding: var(--wh-space-2) var(--wh-space-4);
  }

  .wh-toolbar {
    height: auto;
  }

  .wh-game-grid {
    grid-template-columns: 1fr;
  }

  .wh-mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--wh-surface);
    border-top: 1px solid var(--wh-border);
    z-index: 100;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .wh-mobile-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    color: var(--wh-text-muted);
    font-size: var(--wh-font-small);
    gap: 2px;
    transition: color var(--wh-duration-fast) var(--wh-ease);
  }

  .wh-mobile-nav__item.is-active {
    color: var(--wh-blue);
  }

  .wh-mobile-nav__icon {
    width: 24px;
    height: 24px;
  }

  .wh-main {
    padding-bottom: 72px;
  }

  .wh-hamburger {
    display: flex;
    margin-left: auto;
    min-width: var(--wh-touch-min);
    min-height: var(--wh-touch-min);
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #fff;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .wh-layout-3col {
    grid-template-columns: 1fr 1fr;
  }

  .wh-sidebar--right {
    grid-column: 1 / -1;
  }

  .wh-game-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) {
  .wh-hamburger {
    display: none;
  }
}

.wh-hamburger {
  display: none;
}

@media (max-width: 767px) {
  .wh-hamburger {
    display: flex;
  }
}
