/* Bold, no-guesswork offer cards. Scoped to the deals section only. */
html body #main-site #prop-firm-deals-content,
html body #main-site #prop-firm-deals-content * {
  text-shadow: none !important;
  box-sizing: border-box;
}

html body #main-site #prop-firm-deals-content {
  --deals-ink: #f0ece3;
  --deals-muted: #d1c9bd;
  --deals-paper: #f5f7fb;
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1rem, 4vw, 2.5rem) !important;
  color: var(--deals-ink);
  border-block: 1px solid rgba(54, 72, 101, .13);
}

html body #main-site .prop-deals-inner {
  width: min(100%, 1060px);
  margin: 0 auto;
}

html body #main-site .prop-deals-heading {
  max-width: 720px;
  margin: 0 auto clamp(2rem, 4vw, 3.1rem);
  text-align: center;
}

html body #main-site .prop-deals-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 .8rem;
  color: var(--deals-muted);
  font: 700 .7rem/1.3 "DM Sans", sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}

html body #main-site .prop-deals-eyebrow::before,
html body #main-site .prop-deals-eyebrow::after {
  width: 18px;
  height: 1px;
  background: currentColor;
  content: "";
}

html body #main-site .prop-deals-title {
  margin: 0;
  color: var(--deals-ink);
  font: 800 clamp(2.5rem, 6vw, 4.8rem)/.96 "DM Sans", sans-serif;
  letter-spacing: -.065em;
}

html body #main-site .prop-deals-intro {
  max-width: 53ch;
  margin: 1rem auto 0;
  color: var(--deals-muted);
  font: 400 clamp(.98rem, 1.4vw, 1.1rem)/1.65 "DM Sans", sans-serif;
}

html body #main-site .prop-deals-intro strong {
  color: var(--deals-ink);
  font-weight: 800;
  letter-spacing: .06em;
}

html body #main-site .prop-deals-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(1rem, 2.2vw, 1.5rem);
}

html body #main-site .prop-deal-card {
  --deal-bg: #5636b8;
  --deal-ink: #fff;
  --deal-subtle: rgba(255, 255, 255, .83);
  --deal-rule: rgba(255, 255, 255, .28);
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(1.15rem, 2.5vw, 1.75rem);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 22px;
  background: var(--deal-bg);
  color: var(--deal-ink);
  box-shadow: 0 17px 38px rgba(38, 39, 68, .18);
  transition: transform .22s ease, box-shadow .22s ease;
}

html body #main-site .prop-deal-card--fundednext {
  --deal-bg: #6445c2;
}

html body #main-site .prop-deal-card--vest {
  --deal-bg: #18794e;
}

/* The bright-sky global headings must not recolor solid offer cards. */
html body #main-site #prop-firm-deals-content .prop-deal-card :is(h3, p, li, span, strong, a) {
  color: var(--deal-ink) !important;
  font-family: "DM Sans", "Inter", Arial, sans-serif !important;
}

html body #main-site .prop-deal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 23px 44px rgba(38, 39, 68, .24);
}

html body #main-site .prop-deal-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .8rem;
  margin-bottom: 1.2rem;
}

html body #main-site .prop-deal-logo {
  display: grid;
  width: min(60%, 220px);
  height: 56px;
  flex: 0 1 220px;
  place-items: center;
  overflow: hidden;
  padding: .45rem .75rem;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 11px;
  background: #fff;
}

html body #main-site .prop-deal-logo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

html body #main-site .prop-deal-kicker {
  margin: .2rem 0 0;
  color: var(--deal-subtle);
  font: 700 .65rem/1.4 "DM Sans", sans-serif;
  letter-spacing: .14em;
  text-align: right;
  text-transform: uppercase;
}

html body #main-site .prop-deal-firm {
  margin: 0 0 .9rem;
  color: var(--deal-ink);
  font: 800 clamp(1.4rem, 2.4vw, 1.8rem)/1.08 "DM Sans", sans-serif;
  letter-spacing: -.04em;
}

html body #main-site .prop-deal-offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

html body #main-site .prop-deal-offers li {
  display: flex;
  min-width: 0;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: .18rem;
  padding: .7rem .75rem .78rem;
  border: 1px solid var(--deal-rule);
  border-radius: 13px;
  background: rgba(15, 19, 42, .14);
  color: var(--deal-subtle);
  font: 600 .78rem/1.35 "DM Sans", sans-serif;
}

html body #main-site .prop-deal-offers strong {
  color: var(--deal-ink);
  font: 800 clamp(2rem, 4.3vw, 3.2rem)/.98 "DM Sans", sans-serif;
  letter-spacing: -.07em;
  white-space: nowrap;
}

html body #main-site .prop-deal-card--vest .prop-deal-offers {
  grid-template-columns: minmax(0, 1fr);
}

html body #main-site .prop-deal-card--vest .prop-deal-offers li {
  min-height: 116px;
}

html body #main-site .prop-deal-card--vest .prop-deal-offers strong {
  font-size: clamp(3rem, 6.2vw, 4.6rem);
}

html body #main-site .prop-deal-highlight {
  margin: 0 0 1rem;
  padding: .72rem .82rem;
  border-left: 2px solid rgba(255, 255, 255, .8);
  background: rgba(15, 19, 42, .13);
  color: var(--deal-subtle);
  font: 400 .78rem/1.55 "DM Sans", sans-serif;
}

html body #main-site .prop-deal-code {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-top: auto;
  padding: .65rem .8rem;
  border: 1px dashed rgba(255, 255, 255, .7);
  border-radius: 11px;
  color: var(--deal-ink);
}

html body #main-site .prop-deal-code-label {
  color: var(--deal-subtle);
  font: 700 .65rem/1.3 "DM Sans", sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

html body #main-site .prop-deal-code strong {
  color: var(--deal-ink);
  font: 800 .95rem/1 "DM Sans", sans-serif;
  letter-spacing: .16em;
}

html body #main-site .prop-deal-cta {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  margin-top: .65rem;
  padding: .78rem .9rem;
  border: 1px solid #17243a;
  border-radius: 11px;
  background: #17243a;
  color: #fff;
  font: 700 .85rem/1.2 "DM Sans", sans-serif;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

html body #main-site .prop-deal-cta::after {
  content: "↗";
  font-size: 1.05rem;
  transition: transform .18s ease;
}

html body #main-site .prop-deal-cta:hover {
  transform: translateY(-2px);
  background: #fff;
  color: #17243a;
}

html body #main-site #prop-firm-deals-content .prop-deal-cta:hover {
  color: #17243a !important;
}

html body #main-site .prop-deal-cta:hover::after {
  transform: translate(2px, -2px);
}

html body #main-site .prop-deal-cta:focus-visible,
html body #main-site .prop-deal-card:focus-within {
  outline: 3px solid #f3cd62;
  outline-offset: 3px;
}

html body #main-site .prop-deals-disclosure {
  max-width: 840px;
  margin: 1.15rem auto 0;
  color: var(--deals-muted);
  font: 400 .73rem/1.55 "DM Sans", sans-serif;
  text-align: center;
}

html body.ascent-bright #main-site #prop-firm-deals-content {
  --deals-ink: #182333;
  --deals-muted: #46566a;
}

html body.ascent-bright #main-site .prop-deals-title,
html body.ascent-bright #main-site .prop-deals-intro strong {
  color: #17243a;
}

html body.ascent-bright #main-site .prop-deal-card--fundednext {
  --deal-bg: #6547c6;
}

html body.ascent-bright #main-site .prop-deal-card--vest {
  --deal-bg: #18794e;
}

html body.ascent-bright #main-site .prop-deals-disclosure {
  color: #58687b;
}

@media (max-width: 720px) {
  html body #main-site .prop-deals-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
    margin-inline: auto;
  }

  html body #main-site .prop-deal-card {
    padding: clamp(1.1rem, 5vw, 1.5rem);
  }

  html body #main-site .prop-deal-offers strong {
    font-size: clamp(2.4rem, 11vw, 3.5rem);
  }
}

@media (max-width: 360px) {
  html body #main-site #prop-firm-deals-content {
    padding-inline: .8rem !important;
  }

  html body #main-site .prop-deal-card {
    padding: 1rem;
    border-radius: 18px;
  }

  html body #main-site .prop-deal-card-top {
    align-items: center;
  }

  html body #main-site .prop-deal-logo {
    height: 48px;
  }

  html body #main-site .prop-deal-offers {
    gap: .45rem;
  }

  html body #main-site .prop-deal-offers li {
    padding: .62rem .55rem;
    font-size: .72rem;
  }
}

@media (max-width: 420px) {
  html body #main-site .prop-deal-offers {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html body #main-site .prop-deal-card,
  html body #main-site .prop-deal-cta,
  html body #main-site .prop-deal-cta::after {
    transition: none;
  }

  html body #main-site .prop-deal-card:hover,
  html body #main-site .prop-deal-cta:hover {
    transform: none;
  }
}
