:root {
  --cumes-ink: #111818;
  --cumes-muted: #5e6865;
  --cumes-paper: #f7f3e8;
  --cumes-line: #d6ded9;
  --cumes-summit: #2f6f5f;
  --cumes-moss: #5f7d3d;
  --cumes-gold: #c9a342;
  --cumes-rock: #686d70;
  --cumes-night: #111516;
  --cumes-white: #fff;
}

.cumes-page {
  background: var(--cumes-paper);
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
}

.cumes-page .site-header.header-primary {
    background: transparent;
}

.cumes-page .navigation ul li a {
  letter-spacing: 0;
}

.cumes-expedition-hero .hero-title {
  text-transform: uppercase;
}

.cumes-expedition-hero {
  background:
    linear-gradient(180deg, rgba(11, 14, 17, .08) 0%, rgba(11, 14, 17, .46) 52%, rgba(11, 14, 17, .9) 100%),
    url("/cumes/imagem/capa.jpg") center/cover no-repeat !important;
}

.cumes-hero-button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cumes-hero-button:hover,
.cumes-hero-button:focus-visible {
  color: #fff;
  text-decoration: none;
  outline: 0;
}

.cumes-section-heading {
  margin-bottom: 34px;
  text-align: center;
}

.cumes-section-heading h2 {
  margin: 0;
  color: var(--cumes-ink);
  font-family: Raleway, Open Sans, sans-serif;
  font-weight: 800;
}

.cumes-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(130deg, rgba(9, 12, 12, .36), rgba(9, 12, 12, .84)),
    url("/2024/assets/images/slider-banner-1.jpg") center/cover no-repeat;
}

.cumes-hero__shade {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(9, 12, 12, 0), rgba(9, 12, 12, .88));
}

.cumes-hero__content {
  position: relative;
  max-width: 820px;
  padding: 160px 0 72px;
}

.cumes-kicker {
  display: block;
  margin-bottom: 12px;
  color: #f1d77c;
  font: 800 13px/1 Open Sans, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0;
}

.cumes-hero h1 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 12vw, 132px);
  font-weight: 900;
  line-height: .86;
  letter-spacing: 0;
  text-shadow: 0 20px 45px rgba(0, 0, 0, .4);
}

.cumes-hero p {
  max-width: 640px;
  margin: 20px 0 24px;
  color: #eef4ef;
  font-size: clamp(18px, 2.1vw, 25px);
  line-height: 1.45;
}

.cumes-hero__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cumes-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 4px;
  background: rgba(255, 255, 255, .13);
  color: #fff;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.cumes-icon-button:hover,
.cumes-icon-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, .75);
  background: rgba(255, 255, 255, .22);
  color: #fff;
}

.cumes-game-shell {
  padding: 62px 0 76px;
  background:
    linear-gradient(180deg, #f8f5eb 0%, #e8efea 100%);
  touch-action: manipulation;
}

.cumes-layout {
  display: grid;
  grid-template-columns: minmax(170px, 240px) minmax(300px, 520px) minmax(180px, 260px);
  gap: 22px;
  align-items: start;
  justify-content: center;
}

.cumes-panel,
.cumes-game {
  border: 1px solid rgba(17, 24, 24, .12);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 44px rgba(31, 46, 41, .1);
}

.cumes-panel {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.cumes-label {
  display: block;
  margin-bottom: 4px;
  color: var(--cumes-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.cumes-panel strong {
  color: var(--cumes-ink);
  font: 800 20px/1.2 Raleway, Open Sans, sans-serif;
}

.cumes-game {
  padding: 24px;
}

.cumes-status {
  display: none;
  margin: 0 auto 14px;
  padding: 8px 12px;
  color: var(--cumes-ink);
  background: #f1f4f1;
  border: 1px solid #dbe3de;
  font: 800 14px/1.35 Open Sans, Arial, sans-serif;
  text-align: center;
}

.cumes-status.is-visible {
  display: block;
}

.cumes-board {
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  gap: 8px;
  width: min(100%, 356px);
  aspect-ratio: 1 / 1;
  margin: 0 auto 24px;
  touch-action: manipulation;
}

.cumes-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.cumes-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #cad2cd;
  background: #fff;
  color: var(--cumes-ink);
  font: 900 clamp(24px, 5vw, 38px)/1 Raleway, Open Sans, sans-serif;
  text-transform: uppercase;
  user-select: none;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, color .22s ease;
}

.cumes-tile.filled {
  border-color: #6b7470;
  transform: scale(1.03);
}

.cumes-tile.reveal {
  animation: tileReveal .42s ease both;
}

.cumes-tile.exact,
.cumes-key.exact,
.cumes-swatch.exact,
.cumes-example .exact {
  border-color: var(--cumes-moss);
  background: var(--cumes-moss);
  color: #fff;
}

.cumes-tile.present,
.cumes-key.present,
.cumes-swatch.present,
.cumes-example .present {
  border-color: var(--cumes-gold);
  background: var(--cumes-gold);
  color: #fff;
}

.cumes-tile.absent,
.cumes-key.absent,
.cumes-swatch.absent,
.cumes-example .absent {
  border-color: var(--cumes-rock);
  background: var(--cumes-rock);
  color: #fff;
}

.cumes-keyboard {
  display: grid;
  gap: 7px;
  max-width: 520px;
  margin: 0 auto;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

.cumes-keyboard-row {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.cumes-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 9%;
  height: 48px;
  border: 0;
  border-radius: 4px;
  background: #d9dfda;
  color: #17201e;
  font: 900 14px/1 Open Sans, Arial, sans-serif;
  cursor: pointer;
  text-transform: uppercase;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform .14s ease, background .14s ease;
}

.cumes-key.wide {
  width: 15%;
  font-size: 12px;
}

.cumes-key:hover,
.cumes-key:focus-visible {
  transform: translateY(-1px);
  background: #c8d2ca;
}

.cumes-text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 4px;
  background: var(--cumes-summit);
  color: #fff;
  font: 800 13px/1 Open Sans, Arial, sans-serif;
  text-transform: uppercase;
  cursor: pointer;
}

.cumes-text-button.secondary {
  background: #242c2b;
}

.cumes-text-button:hover,
.cumes-text-button:focus-visible {
  filter: brightness(1.06);
  color: #fff;
}

.cumes-legend-row {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: center;
  color: var(--cumes-muted);
  font-size: 14px;
  line-height: 1.35;
}

.cumes-swatch {
  width: 24px;
  height: 24px;
  border: 2px solid transparent;
}

.cumes-mini-stats,
.cumes-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.cumes-mini-stats div,
.cumes-results-grid div {
  padding: 12px 8px;
  background: rgba(17, 24, 24, .06);
  text-align: center;
}

.cumes-mini-stats strong,
.cumes-results-grid strong {
  display: block;
  color: var(--cumes-ink);
  font: 900 24px/1 Raleway, Open Sans, sans-serif;
}

.cumes-mini-stats span,
.cumes-results-grid span {
  display: block;
  margin-top: 5px;
  color: var(--cumes-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.cumes-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(11, 14, 15, .72);
}

.cumes-modal[hidden] {
  display: none;
}

.cumes-modal__dialog {
  position: relative;
  width: min(100%, 460px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 30px;
  background: #fff;
  color: var(--cumes-ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .32);
}

.cumes-modal__dialog h2 {
  margin: 0 44px 16px 0;
  font: 900 30px/1.1 Raleway, Open Sans, sans-serif;
}

.cumes-modal__dialog p {
  color: var(--cumes-muted);
  line-height: 1.55;
}

.cumes-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 4px;
  background: #eef2ee;
  color: var(--cumes-ink);
  cursor: pointer;
}

.cumes-example {
  display: grid;
  grid-template-columns: repeat(5, 44px);
  gap: 6px;
  margin: 20px 0;
}

.cumes-example span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid #cad2cd;
  color: var(--cumes-ink);
  font: 900 22px/1 Raleway, Open Sans, sans-serif;
}

.cumes-results-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 22px;
}

.cumes-distribution {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.cumes-dist-row {
  display: grid;
  grid-template-columns: 22px 1fr 34px;
  gap: 8px;
  align-items: center;
  font-weight: 800;
}

.cumes-dist-bar {
  min-width: 18px;
  height: 24px;
  background: var(--cumes-summit);
}

.cumes-result-word {
  margin: 18px 0;
  padding: 13px 14px;
  background: #f2f5f2;
  color: var(--cumes-muted);
  font-weight: 800;
}

.cumes-result-word strong {
  color: var(--cumes-ink);
}

.cumes-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.shake {
  animation: shake .32s ease both;
}

.pop {
  animation: pop .18s ease both;
}

@keyframes tileReveal {
  0% { transform: rotateX(0); }
  50% { transform: rotateX(90deg); }
  100% { transform: rotateX(0); }
}

@keyframes shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}

@keyframes pop {
  0% { transform: scale(.9); }
  100% { transform: scale(1.03); }
}

@media (max-width: 991px) {
  .cumes-layout {
    grid-template-columns: minmax(280px, 560px);
  }

  .cumes-panel {
    grid-template-columns: repeat(3, 1fr);
  }

  .cumes-panel .cumes-text-button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575px) {
  .cumes-hero {
    min-height: 46vh;
  }

  .cumes-hero__content {
    padding: 122px 0 48px;
  }

  .cumes-game-shell {
    padding: 34px 0 48px;
  }

  .cumes-game {
    padding: 16px 12px;
  }

  .cumes-board {
    gap: 6px;
  }

  .cumes-row {
    gap: 6px;
  }

  .cumes-key {
    height: 44px;
    font-size: 12px;
  }

  .cumes-key.wide {
    width: 16%;
    font-size: 10px;
  }

  .cumes-panel {
    grid-template-columns: 1fr;
  }

  .cumes-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cumes-modal-actions {
    grid-template-columns: 1fr;
  }
}
