/* Lottopark promotion, scoped to the Learn pages. */
.wl-learn .lp-banner,
.wl-learn .lp-banner *,
.wl-learn .lp-banner *::before,
.wl-learn .lp-banner *::after {
  box-sizing: border-box;
}

.wl-learn .lp-banner-frame {
  container: lottopark / inline-size;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 36px;
}

.wl-learn .lp-banner-frame-bottom {
  margin: 44px auto 0;
}

.wl-learn .lp-banner-link,
.wl-learn .lp-banner-link:hover,
.wl-learn .lp-banner-link:visited {
  display: block;
  border-radius: 18px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.wl-learn .lp-banner-link:focus-visible {
  outline: 3px solid #172841;
  outline-offset: 4px;
}

.wl-learn .lp-banner {
  --lp-ink: #172841;
  --lp-paper: #f9f5ec;
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid #eee7db;
  border-radius: 18px;
  background: var(--lp-paper);
  color: var(--lp-ink);
  box-shadow: 0 14px 44px rgb(40 45 52 / 5%);
  font-family: Arial, Helvetica, sans-serif;
}

.wl-learn .lp-banner-main {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 336px;
  background: radial-gradient(ellipse at 82% 72%, #eee4cf 0, #f8f4ea 39%, #fbf8f1 73%);
}

.wl-learn .lp-banner-copy {
  position: relative;
  z-index: 2;
  width: 57%;
  padding: 34px 0 36px 44px;
}

.wl-learn .lp-preference {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin: 0 0 18px;
  color: #5a626f;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .025em;
}

.wl-learn .lp-preference strong {
  order: 0;
  border-left: 0;
  padding-left: 0;
  color: #172841;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.06em;
}

.wl-learn .lp-banner .lp-headline {
  margin: 0 0 22px;
  color: var(--lp-ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.45rem, 5.4cqw, 3.6rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.055em;
}

.wl-learn .lp-headline span {
  display: block;
}

.wl-learn .lp-banner .lp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 23px;
  min-width: 0;
  max-width: 100%;
  min-height: 54px;
  margin: 0;
  padding: 14px 21px;
  border: 1px solid #ff5a00;
  border-radius: 6px;
  background: #ff5a00;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .005em;
  text-decoration: none;
  box-shadow: 0 5px 13px rgb(255 90 0 / 16%);
  transition: background-color .15s, border-color .15s;
}

.wl-learn .lp-banner-link:hover .lp-cta,
.wl-learn .lp-banner-link:focus-visible .lp-cta {
  background: #ff5a00;
  border-color: #ff5a00;
  color: #fff;
}

.wl-learn .lp-cta-label {
  min-width: 0;
  overflow-wrap: anywhere;
}

.wl-learn .lp-cta svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}

.wl-learn .lp-art {
  position: absolute;
  z-index: 1;
  top: 7px;
  right: -12px;
  width: 54%;
  height: calc(100% - 10px);
  margin: 0;
  pointer-events: none;
  user-select: none;
}

.wl-learn .lp-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wl-learn .lp-banner-bottom {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 72px;
  padding: 17px 44px;
  border-top: 1px solid #e9e2d5;
  background: #fdfbf7;
}

.wl-learn .lp-game-names {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: #2d3a4c;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.005em;
}

.wl-learn .lp-game-names li {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.wl-learn .lp-game-names li + li::before {
  content: '';
  width: 3px;
  height: 3px;
  margin-right: 18px;
  border-radius: 50%;
  background: #b9ad95;
}

.wl-learn .lp-keno {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid #e2dac9;
  border-radius: 4px;
  color: #695e49;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  letter-spacing: .015em;
}

.wl-learn .lp-keno strong {
  color: #172841;
  font-size: 14px;
  font-weight: 700;
}

@container lottopark (max-width: 880px) {
  .wl-learn .lp-banner-copy {
    width: 59%;
    padding-left: 32px;
  }

  .wl-learn .lp-banner-main {
    min-height: 316px;
  }

  .wl-learn .lp-art {
    width: 52%;
  }

  .wl-learn .lp-banner-bottom {
    padding: 16px 32px;
    gap: 16px;
  }

  .wl-learn .lp-game-names {
    font-size: 12px;
    gap: 9px 12px;
  }

  .wl-learn .lp-game-names li + li::before {
    margin-right: 12px;
  }

  .wl-learn .lp-keno {
    font-size: 10px;
    padding: 7px 8px;
  }

  .wl-learn .lp-keno strong {
    font-size: 12px;
  }
}

@container lottopark (max-width: 720px) {
  .wl-learn .lp-banner {
    border-radius: 15px;
  }

  .wl-learn .lp-banner-main {
    display: block;
    min-height: 0;
  }

  .wl-learn .lp-banner-copy {
    width: 100%;
    padding: 25px 24px 0;
  }

  .wl-learn .lp-preference {
    gap: 7px;
    font-size: 11px;
  }

  .wl-learn .lp-preference strong {
    font-size: 26px;
  }

  .wl-learn .lp-banner .lp-headline {
    margin-bottom: 20px;
    font-size: clamp(1.94rem, 10.6cqw, 2.55rem);
    line-height: 1.055;
  }

  .wl-learn .lp-banner .lp-cta {
    width: 100%;
    justify-content: center;
    gap: 10px;
    padding: 12px;
  }

  .wl-learn .lp-art {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: 174px;
    margin: 3px 0 0;
  }

  .wl-learn .lp-art img {
    object-position: 64% center;
  }

  .wl-learn .lp-banner-bottom {
    flex-direction: column;
    gap: 13px;
    min-height: 0;
    padding: 16px 20px 17px;
  }

  .wl-learn .lp-game-names {
    justify-content: center;
    gap: 7px 14px;
    width: 100%;
    max-width: 360px;
  }

  .wl-learn .lp-game-names li {
    justify-content: center;
    flex-basis: calc(50% - 7px);
  }

  .wl-learn .lp-game-names li + li::before {
    display: none;
  }

  .wl-learn .lp-keno {
    padding: 5px 9px;
  }
}

@container lottopark (max-width: 310px) {
  .wl-learn .lp-banner-copy {
    padding: 24px 20px 0;
  }

  .wl-learn .lp-preference {
    font-size: 10px;
  }

  .wl-learn .lp-preference strong {
    font-size: 24px;
  }

  .wl-learn .lp-banner .lp-cta {
    gap: 7px;
    padding: 12px 10px;
  }

  .wl-learn .lp-banner .lp-cta svg {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
  }

  .wl-learn .lp-art {
    height: 148px;
  }

  .wl-learn .lp-banner-bottom {
    padding: 15px 15px 16px;
  }

  .wl-learn .lp-game-names {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wl-learn .lp-banner .lp-cta {
    transition: none;
  }
}
