/* CD Sonseca page, on the Copa Club América layout in the colours of the
   club's presentation: deep navy, the crest red and a lime accent that reads
   on navy. */
body[data-page="cdsonseca"] {
  --cds-navy: #081a38;
  --cds-card: #112f54;
  --cds-red: #d63338;
  --cds-lime: #b3fa45;
  --accent: var(--cds-lime);
  --accent-border: rgba(179, 250, 69, 0.6);
  /* The organisers' glow, redrawn in the crest red. */
  --halo-sm: url("/assets/images/cd-sonseca/halo-sm.svg");
  --halo-md: url("/assets/images/cd-sonseca/halo-md.svg");
  --halo-lg: url("/assets/images/cd-sonseca/halo-lg.svg");
  background: var(--cds-navy);
}

/* Wame and the club side by side, split by a thin line. */
.cds-brands {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
}
.cds-brands img {
  width: auto;
  height: 28px;
}
.cds-brands img:last-child {
  height: 72px;
}
.cds-brands span {
  width: 1px;
  height: 56px;
  background: rgba(255, 255, 255, 0.4);
}
.cds-badge {
  margin: 28px 0 0;
  padding: 8px 18px;
  border-radius: 300px;
  background: var(--cds-lime);
  color: var(--cds-navy);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
/* Buying is the one thing the page asks for, so its button is bigger than
   the usual landing button. */
.cds-button-lg {
  height: 64px;
  padding: 0 40px;
  font-size: 19px;
}

/* The menu's call to action is the purchase too, in the same lime, and it
   stays in the bar at every width so it follows the scroll. */
body[data-page="cdsonseca"] .site-nav-cta--page {
  display: block;
  margin-left: auto;
  margin-right: 12px;
  padding: 6px 16px;
  border-radius: 300px;
  background: var(--cds-lime);
  color: var(--cds-navy);
  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="cdsonseca"] .site-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    padding: 0 16px 0 20px;
  }
  body[data-page="cdsonseca"] .site-nav-logo {
    width: 26px;
    overflow: hidden;
  }
  body[data-page="cdsonseca"] .site-nav-logo img {
    max-width: none;
  }
  body[data-page="cdsonseca"] .site-nav-cta--page {
    margin: 0;
  }
  body[data-page="cdsonseca"] .site-nav-burger {
    justify-self: end;
  }
}

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

/* What a season gives: three navy cards with a lime icon, as in the deck. */
.cds-features,
.cds-steps,
.cds-prices {
  display: grid;
  gap: 16px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.cds-features li,
.cds-steps li {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: var(--cds-card);
}
.cds-features h3,
.cds-steps h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
}
.cds-features li > p:last-child,
.cds-steps li > p:last-child {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.8);
}
.cds-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 0 20px;
  border-radius: 12px;
  background: var(--cds-lime);
  color: var(--cds-navy);
  font-size: 22px;
  line-height: 1;
}

/* The offer: the early season price in lime, the later prices in navy. */
.cds-price {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: var(--cds-card);
}
.cds-price p {
  margin: 0;
}
.cds-price-when {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cds-price-amount {
  margin-top: 16px !important;
  font:
    400 56px/1 "Bowlby One",
    sans-serif;
}
.cds-price-what {
  margin: 16px 0 28px !important;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}
.cds-price .lp-button {
  align-self: flex-start;
  margin-top: auto;
}
.cds-price--featured .lp-button {
  background: var(--cds-navy);
  color: #fff;
}
.cds-price--featured {
  border-color: var(--cds-lime);
  background: var(--cds-lime);
  color: var(--cds-navy);
}
.cds-note {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
}

/* How it works: three numbered steps, the numbers in a lighter crest red:
   4.35:1 on the navy cards, above the 3:1 large text needs. */
.cds-num {
  margin: 0 0 16px;
  color: #f0656a;
  font:
    400 32px/1 "Bowlby One",
    sans-serif;
}

/* Closing call in the crest red, lime on the second line. */
body[data-page="cdsonseca"] .lp-cta {
  background: linear-gradient(135deg, var(--cds-red) 0%, #a5222a 100%);
  color: #fff;
}
body[data-page="cdsonseca"] .lp-cta h2 span {
  color: var(--cds-lime);
}
body[data-page="cdsonseca"] .lp-cta .lp-button {
  background: var(--cds-lime);
  color: var(--cds-navy);
}

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

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