/* v29: swipeable registration cards, button-style event CTA, and readable step imagery. */

.gg-article.freeroll-event-article .event-download-cta {
  margin: 24px auto 0;
  text-align: center;
}

.gg-article.freeroll-event-article .event-download-cta-lead {
  margin: 0 0 9px;
  color: #4f5e65;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.gg-article.freeroll-event-article .event-download-cta-button {
  display: grid;
  width: min(100%, 620px);
  min-height: 62px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 0 auto;
  padding: 13px 24px 13px 30px;
  border: 1px solid #087dcc;
  border-radius: 999px;
  background: linear-gradient(100deg, #20a5db 0%, #087dcc 55%, #0755a8 100%);
  box-shadow: 0 10px 24px rgba(7, 86, 154, .16);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  transition: box-shadow .18s ease, filter .18s ease, transform .18s ease;
}

.gg-article.freeroll-event-article .event-download-cta-button > span:first-child {
  text-align: center;
}

.gg-article.freeroll-event-article .event-download-cta-button > span:last-child {
  font-size: 21px;
  font-weight: 600;
  line-height: 1;
}

.gg-article.freeroll-event-article .event-download-cta-button:hover {
  box-shadow: 0 13px 28px rgba(7, 86, 154, .22);
  filter: brightness(1.03);
  transform: translateY(-1px);
}

.gg-article.freeroll-event-article .event-download-cta-button:active {
  box-shadow: 0 6px 16px rgba(7, 86, 154, .17);
  transform: translateY(0);
}

.gg-article.freeroll-event-article .event-image-swipe-hint {
  display: none;
}

.gg-article.freeroll-event-article .event-step-image-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-color: #8bbbd7 transparent;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.gg-article.freeroll-event-article .event-step-image-scroll:focus-visible {
  border-radius: 7px;
  outline: 3px solid #78bdec;
  outline-offset: 4px;
}

@media (max-width: 959px) {
  .gg-article[data-article-id="download"] #registration > .registration-swipe-hint {
    display: block;
    margin: 19px 0 6px;
    color: #667278;
    font-size: 13px;
    line-height: 1.6;
    text-align: right;
  }

  .gg-article[data-article-id="download"] #registration > .registration-rail {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 0;
    scroll-snap-type: x mandatory;
    padding: 4px 14px 14px 0;
    -webkit-overflow-scrolling: touch;
  }

  .gg-article[data-article-id="download"] #registration > .registration-rail > .step-card {
    width: auto;
    max-width: none;
    flex: 0 0 min(84vw, 320px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

@media (max-width: 560px) {
  .gg-article.freeroll-event-article .event-download-cta {
    margin-top: 20px;
  }

  .gg-article.freeroll-event-article .event-download-cta-lead {
    margin-bottom: 7px;
    font-size: 13px;
  }

  .gg-article.freeroll-event-article .event-download-cta-button {
    min-height: 58px;
    gap: 10px;
    padding: 12px 18px 12px 23px;
    font-size: 15px;
  }

  .gg-article.freeroll-event-article .event-image-swipe-hint {
    display: block;
    margin: 15px 0 6px;
    color: #667278;
    font-size: 12px;
    line-height: 1.6;
    text-align: right;
  }

  .gg-article.freeroll-event-article .event-step-figure {
    width: 100%;
    max-width: none;
  }

  .gg-article.freeroll-event-article .event-step-image-scroll {
    width: calc(100% + 32px);
    margin-inline: -16px;
    padding: 0 16px 8px;
  }

  .gg-article.freeroll-event-article .event-step-figure--mobile .event-step-image-scroll picture {
    display: block;
    width: 720px;
    max-width: none;
  }

  .gg-article.freeroll-event-article .event-step-figure--pc .event-step-image-scroll picture {
    display: block;
    width: 560px;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gg-article.freeroll-event-article .event-download-cta-button {
    transition: none;
  }
}
