/* v4.8 public Chip Designer promotion and Poker Cash Chips lead placement */

.chip-designer-home {
  padding-block: clamp(78px, 9vw, 132px);
  background:
    radial-gradient(circle at 24% 45%, rgba(28, 91, 154, .16), transparent 38%),
    linear-gradient(135deg, #0a0f16, #111923);
  border-block: 1px solid var(--line-soft);
}

.chip-designer-home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: clamp(42px, 6vw, 82px);
  align-items: center;
}

.chip-designer-home-image {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(214, 170, 85, .28);
  box-shadow: 0 32px 85px rgba(0, 0, 0, .34);
}

.chip-designer-home-image img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .55s ease;
}

.chip-designer-home-image picture,
.poker-cash-chips-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.chip-designer-home-image:hover img,
.chip-designer-home-image:focus-visible img {
  transform: scale(1.018);
}

.chip-designer-home-copy h2 {
  max-width: 650px;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 4vw, 4.3rem);
}

.chip-designer-home-copy p {
  max-width: 610px;
  margin-bottom: 30px;
  font-size: 1.02rem;
}

.chip-designer-home-copy .button-row {
  align-items: center;
}

.poker-cash-chips-feature {
  margin-bottom: clamp(34px, 5vw, 58px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr);
  background: var(--graphite);
  border: 1px solid var(--line);
}

.poker-cash-chips-media {
  min-height: 100%;
  display: block;
  overflow: hidden;
  background: #071323;
}

.poker-cash-chips-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .55s ease;
}

.poker-cash-chips-media:hover img,
.poker-cash-chips-media:focus-visible img {
  transform: scale(1.018);
}

.poker-cash-chips-copy {
  padding: clamp(32px, 4.5vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.poker-cash-chips-copy h2 {
  margin: 16px 0 18px;
  font-size: clamp(2rem, 3.4vw, 3.5rem);
}

.poker-cash-chips-copy h2 a {
  color: inherit;
}

.poker-cash-chips-copy p {
  margin: 0 0 28px;
}

.poker-cash-chips-copy .button {
  align-self: flex-start;
}

html[data-theme='light'] .chip-designer-home {
  background: #edf3f8;
}

html[data-theme='light'] .poker-cash-chips-feature {
  background: #fff;
  box-shadow: 0 20px 52px rgba(0, 49, 91, .07);
}

@media (max-width: 980px) {
  .chip-designer-home-layout,
  .poker-cash-chips-feature {
    grid-template-columns: 1fr;
  }

  .chip-designer-home-copy {
    max-width: 760px;
  }

  .poker-cash-chips-media img {
    height: auto;
  }
}

@media (max-width: 580px) {
  .chip-designer-home {
    padding-block: 62px;
  }

  .chip-designer-home-layout {
    gap: 34px;
  }

  .chip-designer-home-copy .button-row {
    align-items: stretch;
  }

  .chip-designer-home-copy .button,
  .poker-cash-chips-copy .button {
    width: 100%;
    justify-content: center;
  }

  .poker-cash-chips-copy {
    padding: 30px 24px 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chip-designer-home-image img,
  .poker-cash-chips-media img {
    transition: none;
  }
}
