/* DEC150: scoped to the quiz and its confirmation page. */
.promo-badge,
.promo-card {
  --promo-gradient: linear-gradient(90deg, #ed5257 0%, #a22d24 100%);
  --promo-ink: #14264b;
  --promo-berry: #a22d24;
  display: grid;
  align-items: center;
  border-radius: 12px;
}

.promo-badge {
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 12px;
  width: min(530px, 100%);
  min-height: 80px;
  padding: 12px 16px 12px 12px;
  color: #fff;
  background: var(--promo-gradient);
}
.promo-badge__icon,
.promo-card__icon > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #fff;
}
.promo-badge__icon img,
.promo-card__icon img { display: block; width: 24px; height: 24px; }
.promo-badge__copy { min-width: 0; margin: 0; font-size: 20px; line-height: 26px; }
.promo-badge__copy > span,
.promo-card__copy > span,
.promo-card__copy > strong { display: block; }
.promo-badge__code,
.promo-card__code {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 500;
  line-height: 26px;
  white-space: nowrap;
}
.promo-badge__code { background: #fff; color: var(--promo-berry); }

/* Keep the hero in normal flow as its content grows between breakpoints. */
.quiz-page .hero {
  display: grid;
  grid-template-columns: minmax(0, 760px) 570px;
  align-items: start;
  gap: 10px;
  height: auto;
  min-height: 952px;
  padding: 150px 260px 167px 120px;
}
.quiz-page .hero-copy { position: relative; top: auto; left: auto; width: auto; padding-top: 102px; }
.quiz-page .hero-copy > .promo-badge { margin-top: 24px; }
.quiz-page .promo-badge--compact { width: max-content; max-width: 100%; min-height: 60px; padding-top: 9px; padding-bottom: 9px; }
.quiz-page .button--hero { width: 360px; max-width: calc(100% - 40px); height: 60px; margin-top: 36px; }
.quiz-page .quiz-card { position: relative; top: auto; left: auto; width: auto; }

.promo-reminder { width: calc(100% - 200px); max-width: 1720px; margin: 210px auto 0; }
.promo-card {
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 16px;
  width: min(800px, 100%);
  min-height: 96px;
  padding: 15px;
  border: 1px solid #e2cfc4;
  background: #fff;
}
.promo-card__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 12px; background: var(--promo-gradient); }
.promo-card__copy { min-width: 0; margin: 0; color: var(--promo-ink); font-size: 18px; line-height: 24px; }
.promo-card__copy > strong { margin-bottom: 4px; color: var(--promo-berry); font-size: 20px; font-weight: 500; line-height: 26px; }
.promo-card__code { color: #fff; background: var(--promo-gradient); }
.quiz-page .site-footer { margin-top: 32px; }

.quiz-thank-you .ty-hero { min-height: 1020px; }
.ty-action { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.ty-action > .promo-badge { width: 100%; }

@media (max-width: 1599px) and (min-width: 901px) {
  .quiz-page .hero {
    grid-template-columns: minmax(0, 1.295fr) minmax(0, 1fr);
    gap: clamp(16px, 1.2vw, 24px);
    min-height: clamp(700px, 59vw, 952px);
    padding: clamp(80px, 7vw, 150px) 15.1% clamp(80px, 8vw, 167px) 7%;
  }
  .quiz-page .hero-copy { padding-top: clamp(44px, 5.4vw, 102px); }
  .quiz-page .quiz-card {
    height: auto;
    min-height: clamp(500px, 39vw, 635px);
    padding: clamp(24px, 2.4vw, 41px) clamp(24px, 2.3vw, 39px) clamp(28px, 2.6vw, 45px);
  }
  .quiz-page .quiz-card .button--card { max-width: 100%; }
  .promo-reminder { width: calc(100% - 80px); margin-top: 12vw; }
  .quiz-thank-you .ty-hero { min-height: 0; }
}

@media (max-width: 1199px) {
  .promo-badge { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 8px; min-height: 90px; padding: 12px; }
  .promo-badge__icon { width: 28px; height: 28px; }
  .promo-badge__copy { font-size: 16px; line-height: 22px; }
  .promo-badge__code { padding: 8px; font-size: 14px; line-height: 20px; }
  .quiz-page .promo-badge--compact { min-height: 64px; }
}

@media (max-width: 900px) {
  .quiz-page .hero { display: block; min-height: 0; padding: 65px 24px 50px; }
  .quiz-page .hero-copy { padding-top: 0; }
  .quiz-page .button--hero { width: 270px; height: 56px; margin-top: 28px; }
  .quiz-page .quiz-card { width: calc(100% + 16px); }
  .promo-reminder { width: calc(100% - 40px); max-width: 600px; margin-top: 28px; }
  .promo-card { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; min-height: 136px; padding: 15px; }
  .promo-card__icon { width: 48px; height: 48px; }
  .promo-card__copy { font-size: 16px; line-height: 22px; }
  .promo-card__code { grid-column: 1 / -1; justify-self: end; padding: 8px; font-size: 16px; line-height: 22px; }
  .quiz-page .site-footer { margin-top: 24px; padding-top: 0; }
  .quiz-thank-you .ty-hero { min-height: 0; }
}

@media (max-width: 370px) {
  .quiz-page .hero { padding: 55px 20px 40px; }
  .quiz-page .quiz-card { width: calc(100% + 8px); }
  .promo-badge__copy { font-size: 14px; line-height: 20px; }
  .promo-badge__code { font-size: 12px; line-height: 18px; }
  .promo-card__copy > strong { font-size: 18px; line-height: 24px; }
  .quiz-thank-you .ticket__head { flex-wrap: wrap; }
}

.landing.wire7-landing .hero {height:auto;min-height:952px}
.landing.wire7-landing .hero-copy {position:relative;top:auto;left:auto;margin-left:120px;padding:150px 0 120px}
.landing--03.wire7-landing .hero-copy {padding-top:180px}
.landing--05.wire7-landing .hero-copy {padding-top:120px}
.landing.wire7-landing .hero-copy > .promo-badge {margin-top:24px;width:max-content;max-width:100%;min-height:60px;padding-top:9px;padding-bottom:9px}
.landing.wire7-landing .hero .button--hero {min-width:0;width:360px;max-width:calc(100% - 40px);height:60px;margin-top:36px}
.landing.wire7-landing .promo-reminder {margin-top:80px}
.landing.wire7-landing .site-footer {margin-top:32px}
@media(min-width:901px) and (max-width:1599px) {
 .landing.wire7-landing .hero {min-height:650px}
 .landing.wire7-landing .hero-copy {margin-left:7%;padding:clamp(96px,10vw,150px) 0 96px}
 .landing.wire7-landing .promo-reminder {margin-top:48px}
}
@media(max-width:1199px) {
 .landing.wire7-landing .hero-copy > .promo-badge {min-height:64px}
}
@media(max-width:900px) {
 .landing.wire7-landing .hero {min-height:0;height:auto}
 .landing.wire7-landing .hero-copy {position:relative;width:100%;max-width:none;top:auto;left:auto;margin:0;padding:48px 24px 0}
 .landing.wire7-landing .hero .button--hero {width:270px;height:56px;margin-top:28px}
 .landing--04.wire7-landing .hero-art {position:relative;top:auto;right:auto;bottom:auto;display:block;width:110%;height:auto;margin:0 -5% -100px}
 .landing.wire7-landing .promo-reminder {margin-top:28px}
 .landing.wire7-landing .site-footer {margin-top:24px}
}
@media(max-width:370px) {
 .landing.wire7-landing .hero-copy {padding:42px 20px 0}
}

/* DEC150: keep the longer USDT offer in two lines on desktop. */
.promo-badge {width:min(570px,100%) !important}
.quiz-page .hero-copy > .promo-badge,
.landing .hero-copy > .promo-badge {width:570px !important;max-width:100% !important}
@media(min-width:1000px) and (max-width:1199px) {
 .quiz-page .hero {grid-template-columns:minmax(0,2fr) minmax(0,1fr) !important;padding-right:10% !important}
 .landing--05 .hero-copy {max-width:43.5% !important}
}
@media(min-width:1200px) and (max-width:1699px) {
 .quiz-page .hero {grid-template-columns:minmax(0,1.62fr) minmax(0,1fr) !important}
}
@media(min-width:1200px) and (max-width:1599px) {
 .quiz-thank-you .ty-hero {grid-template-columns:minmax(0,1fr) minmax(440px,560px) !important}
 .promo-badge__copy,.promo-badge__code {font-size:clamp(16px,calc(1.666667vw - 4px),20px) !important;line-height:1.3 !important}
}
@media(max-width:900px) {
 .quiz-page .button--hero,.landing .hero .button--hero {
  width:220px !important;max-width:calc(100% - 24px) !important;min-width:0 !important;height:46px !important;
  display:flex !important;margin-left:auto !important;margin-right:auto !important;
 }
 .quiz-page .promo-badge,.quiz-thank-you .promo-badge,.landing .promo-badge {
  grid-template-columns:32px minmax(0,1fr) !important;
  grid-template-areas:"icon copy" ". code" !important;
  gap:10px 12px !important;padding:12px !important;min-height:0 !important;
 }
 .promo-badge__icon {grid-area:icon !important;width:32px !important;height:32px !important;align-self:center !important}
 .promo-badge__copy {grid-area:copy !important}
 .promo-badge__code {grid-area:code !important;justify-self:start !important;padding:8px 10px !important;font-size:14px !important;line-height:20px !important}
}
@media(max-width:370px) {
 .quiz-page .button--hero,.landing .hero .button--hero {max-width:calc(100% - 32px) !important}
 .quiz-page .promo-badge,.quiz-thank-you .promo-badge,.landing .promo-badge {
  grid-template-columns:24px minmax(0,1fr) !important;gap:8px !important;padding:8px !important;
 }
 .promo-badge__icon {width:24px !important;height:24px !important}
 .promo-badge__icon img {width:20px !important;height:20px !important}
 .promo-badge__code {padding:6px 8px !important}
}
