.cactus-abrir-menu {
  display: none;
  width: 40px;
  height: 40px;
  margin-right: 2px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--theme-card-text, #8A9BBF);
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  cursor: pointer;
}

.cactus-abrir-menu:hover,
.cactus-abrir-menu:focus-visible {
  color: var(--theme-text, #fff);
}

.cactus-abrir-menu svg {
  width: 20px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.cactus-menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.55);
}

@media (max-width: 1200px) {
  .cactus-abrir-menu {
    display: inline-flex;
  }

  body.cactus-menu-open {
    overflow: hidden;
  }

  body.cactus-menu-open .cactus-menu-backdrop {
    display: block;
  }

  body.cactus-menu-open aside[aria-label="Menu lateral"] {
    display: flex !important;
    z-index: 90;
    height: 100vh;
    height: 100dvh;
    bottom: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /*
   * Página Esportes usa data-sports-theme=light (--theme-bg claro).
   * Sem isto o drawer mobile fica branco com texto branco (parece vazio).
   */
  html[data-sports-theme="light"] aside[aria-label="Menu lateral"] {
    --theme-bg: #172b39;
    --theme-bg-opacity: #172b3900;
    --theme-card-1: #213545;
    --theme-card-2: #2b3f50;
    --theme-card-3: #374b5c;
    --theme-card-text: #8a9bbf;
    --theme-text: #ffffff;
    --theme-on-primary: #ffffff;
    background-color: #172b39 !important;
    color: #ffffff;
  }

  html[data-sports-theme="light"] aside[aria-label="Menu lateral"] .side-nav-top {
    background: rgba(0, 0, 0, 0.25) !important;
    box-shadow: 0 4px 12px -6px rgba(0, 0, 0, 0.6) !important;
  }

  html[data-sports-theme="light"] aside[aria-label="Menu lateral"] a,
  html[data-sports-theme="light"] aside[aria-label="Menu lateral"] button,
  html[data-sports-theme="light"] aside[aria-label="Menu lateral"] span,
  html[data-sports-theme="light"] aside[aria-label="Menu lateral"] p {
    color: inherit;
  }
}

@media (min-width: 1201px) {
  body.cactus-main-offset main {
    padding-left: 265px;
  }

  /* /esportes: aside legado tinha só 72px; com futebol vira coluna completa. */
  body.cactus-esportes-ft aside[aria-label="Menu lateral"] {
    --theme-bg: #172b39;
    --theme-bg-opacity: #172b3900;
    --theme-card-1: #213545;
    --theme-card-2: #2b3f50;
    --theme-card-3: #374b5c;
    --theme-card-text: #8a9bbf;
    --theme-text: #ffffff;
    --theme-on-primary: #ffffff;
    background-color: #172b39 !important;
    color: #ffffff;
  }

  body.cactus-esportes-ft aside[aria-label="Menu lateral"] a,
  body.cactus-esportes-ft aside[aria-label="Menu lateral"] button,
  body.cactus-esportes-ft aside[aria-label="Menu lateral"] span,
  body.cactus-esportes-ft aside[aria-label="Menu lateral"] p {
    color: inherit;
  }

  body.cactus-menu-collapsed aside[aria-label="Menu lateral"] {
    display: none !important;
  }

  body.cactus-menu-collapsed .cactus-abrir-menu {
    display: inline-flex;
  }

  body.cactus-menu-collapsed nav.fixed.top-0 {
    left: 0 !important;
  }

  body.cactus-menu-collapsed main {
    padding-left: 0 !important;
  }
}
