/* Sale notice under the Tube / SFW header. Flat solid colors, mobile-first. */
.sale-banner {
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 10px;
  padding: 10px 12px;
  background: #1b1b1b;
  border: 1px solid #2c2c2c;
  border-radius: 2px;
  color: #fff;
  font-family: Arial, sans-serif;
  text-align: center;
}

.sale-banner-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.sale-text,
.sale-percent {
  margin: 0;
  color: #fff;
  line-height: 1.25;
}

.sale-text {
  font-size: 15px;
  font-weight: 700;
}

.sale-percent {
  font-size: 17px;
  font-weight: 700;
}

.sale-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 160px;
  min-height: 44px;
  margin-top: 4px;
  padding: 0 20px;
  background: #7b0eba;
  border: 3px solid #7b0eba;
  border-radius: 2px;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.sale-cta:hover,
.sale-cta:focus {
  background: #7b0eba;
  border-color: #52077d;
  color: #fff;
}

@media (min-width: 768px) {
  .sale-banner {
    margin: 0 0 14px;
    padding: 12px 18px;
  }

  .sale-banner-inner {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .sale-text {
    font-size: 16px;
  }

  .sale-percent {
    font-size: 18px;
  }

  .sale-cta {
    margin-top: 0;
  }
}

@media (min-width: 1024px) {
  .sale-banner-inner {
    gap: 10px 22px;
  }
}

/* SFW homepage uses the same banner with the local Join button color. */
.sfw-page .sale-banner {
  background: #191919;
  border-color: #333;
  margin: 0 0 12px;
  font-family: Helvetica, Arial, sans-serif;
}

.sfw-page .sale-cta {
  background: #1bb112;
  border: 0;
  border-radius: 5px;
  min-width: 140px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.sfw-page .sale-cta:hover,
.sfw-page .sale-cta:focus {
  background: #16820f;
  border: 0;
  color: #fff;
}
