/* Copa Telmex Telcel page, a copy of the Torneo de la Amistad one in the
   colours of copatelmextelcel.com.mx: its navy and blue, the cyan of its
   heading rules and the red of its badges. Cyan is the accent because it reads
   on navy; buttons are white with blue text, like the tournament's own. */
body[data-page="copatelmextelcel"] {
  --ctt-navy: #001a66;
  --ctt-blue: #002699;
  --ctt-cyan: #0096d1;
  --ctt-red: #ec1313;
  --accent: var(--ctt-cyan);
  --accent-border: rgba(0, 150, 209, 0.6);
  /* The organisers' glow, redrawn in the tournament cyan. */
  --halo-sm: url("/assets/images/copa-telmex-telcel/halo-sm.svg");
  --halo-md: url("/assets/images/copa-telmex-telcel/halo-md.svg");
  --halo-lg: url("/assets/images/copa-telmex-telcel/halo-lg.svg");
  background: var(--ctt-navy);
}
body[data-page="copatelmextelcel"] .lp-button {
  background: #fff;
  color: var(--ctt-blue);
}

/* Wame and the tournament side by side, split by a thin line. */
.ctt-brands {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
}
.ctt-brands img {
  width: auto;
  height: 28px;
}
.ctt-brands img:last-child {
  height: 72px;
}
.ctt-brands span {
  width: 1px;
  height: 56px;
  background: rgba(255, 255, 255, 0.4);
}
/* Getting into the profile is the one thing the page asks for, so its button is
   bigger than the usual landing button. */
.ctt-button-lg {
  height: 64px;
  padding: 0 40px;
  font-size: 19px;
}

/* The menu's call to action is the profile too, in the same white, and it
   stays in the bar at every width so it follows the scroll. */
body[data-page="copatelmextelcel"] .site-nav-cta--page {
  display: block;
  margin-left: auto;
  margin-right: 12px;
  padding: 6px 16px;
  border-radius: 300px;
  background: #fff;
  color: var(--ctt-blue);
  font:
    800 14px/20px "Manrope",
    sans-serif;
  white-space: nowrap;
}
/* Below the desktop bar there is only room for Wame's symbol (the left 26px
   of the logo, the wordmark clipped off), the button in the middle and the
   burger. */
@media (max-width: 1279px) {
  body[data-page="copatelmextelcel"] .site-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    padding: 0 16px 0 20px;
  }
  body[data-page="copatelmextelcel"] .site-nav-logo {
    width: 26px;
    overflow: hidden;
  }
  body[data-page="copatelmextelcel"] .site-nav-logo img {
    max-width: none;
  }
  body[data-page="copatelmextelcel"] .site-nav-cta--page {
    margin: 0;
  }
  body[data-page="copatelmextelcel"] .site-nav-burger {
    justify-self: end;
  }
}

.ctt-phones {
  width: 100%;
  margin-top: 56px;
}

/* How it works: three numbered steps, in the tournament blue, cyan and red. */
.ctt-steps {
  display: grid;
  gap: 16px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.ctt-steps li {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
}
.ctt-steps h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
}
.ctt-steps li > p:last-child {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.8);
}
.ctt-num {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 0 20px;
  border-radius: 16px;
  background: var(--ctt-blue);
  color: #fff;
  font:
    400 26px/1 "Bowlby One",
    sans-serif;
}
.ctt-steps li:nth-child(2) .ctt-num {
  background: var(--ctt-cyan);
}
.ctt-steps li:nth-child(3) .ctt-num {
  background: var(--ctt-red);
}

/* Closing call in the tournament blue, cyan on the second line. */
body[data-page="copatelmextelcel"] .lp-cta {
  background: linear-gradient(135deg, var(--ctt-blue) 0%, var(--ctt-navy) 100%);
  color: #fff;
}
body[data-page="copatelmextelcel"] .lp-cta h2 span {
  color: var(--ctt-cyan);
}
/* The block ends on the profile button, in white like the others; the store
   links stay off the page. */
body[data-page="copatelmextelcel"] .lp-cta .lp-button {
  background: #fff;
  color: var(--ctt-blue);
}

@media (min-width: 1280px) {
  body[data-page="copatelmextelcel"] .site-nav--full .site-nav-cta--page {
    margin: 0;
    padding: 5px 20px;
    border: 1px solid #fff;
    background: #fff;
    color: var(--ctt-blue);
    font-size: 16px;
    line-height: 24px;
  }
  body[data-page="copatelmextelcel"]
    .site-nav--full
    .site-nav-cta--page:hover {
    border-color: #fff;
    background: #fff;
  }
}

@media (min-width: 800px) {
  .ctt-brands {
    gap: 32px;
  }
  .ctt-brands img {
    height: 36px;
  }
  .ctt-brands img:last-child {
    height: 100px;
  }
  .ctt-brands span {
    height: 80px;
  }
  .ctt-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
