/* v58 shared article polish. Load after page-specific styles.
   The title and lead artwork share the article column; only the pitch is centered.
   Image frames belong to one wrapper, never to both the wrapper and its image. */
.gg-article .article-intro {
  position: static;
  inset: auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin-inline: 0;
  transform: none;
  text-align: left;
}
.gg-article .article-intro > h1,
.gg-article.article-compact .article-intro > h1,
.gg-article[data-article-id="download"] .article-intro > h1 {
  position: static;
  inset: auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0 0 10px;
  padding: 0;
  transform: none;
  text-align: left;
  white-space: normal;
  text-wrap: wrap;
}
.gg-article .article-intro > h1 > :is(.heading-kicker, .heading-main, .heading-subtitle),
.gg-article[data-article-id="download"] .article-intro > h1 > .heading-main.download-heading-line {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  text-align: left;
  contain: none;
}
.gg-article .article-intro > h1 > .heading-kicker { text-indent: 0; }
.gg-article .article-intro > p.article-intro-pitch {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  padding-inline: 0;
  text-align: center;
}
.gg-article .article-intro > p.article-intro-pitch > .article-marker {
  white-space: normal;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* The top image stays on the same column at every breakpoint. */
.gg-article .article-intro + :is(.article-hero-figure, .image-cta),
.gg-article.casino-bonus-article .casino-source-hero,
.gg-article.welcome-visual-article .welcome-source-hero,
.gg-article.freeroll-event-article .freeroll-hero.article-hero-figure {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  padding-inline: 0;
  transform: none;
}

/* Consistent, quiet blue edge for editorial artwork and related article covers.
   Device screenshots, brand marks, app UI and the LP hero are intentionally excluded. */
.gg-article .article-hero-figure,
.gg-article.safety-article .article-hero-figure.safety-guide-figure,
.gg-article.welcome-visual-article .welcome-source-hero {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.gg-article .article-hero-figure > picture,
.gg-article .article-hero-figure > img,
.gg-article .image-cta,
.gg-article.welcome-visual-article .welcome-source-hero > .article-screenshot-frame,
.gg-article.events-index-article .events-list-image-link,
.home-page .home-guide-eyecatch {
  box-sizing: border-box;
  display: block;
  border: 1px solid #bdd6e9;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}
.gg-article .article-hero-figure > picture > img,
.gg-article .image-cta :is(img, picture),
.gg-article.welcome-visual-article .welcome-source-hero > .article-screenshot-frame > img,
.gg-article.events-index-article .events-list-image-link :is(img, picture),
.home-page .home-guide-eyecatch > img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  border: 0;
  border-radius: 7px;
  object-fit: contain;
  box-shadow: none;
}
.gg-article .image-cta > picture { border-radius: 7px; }
.gg-article .article-hero-figure > img,
.gg-article.safety-article .article-hero-figure.safety-guide-figure > img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}
.home-page .home-guide-card {
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}
.home-page .home-guide-eyecatch {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
}

/* Compact support panel: one statement and one clear action. */
.home-page .home-line { padding-bottom: 24px; background: #fff; }
.home-page .home-line-inner {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) minmax(230px, 300px);
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid #dce6e4;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}
.home-page .home-line-icon {
  grid-column: 1;
  grid-row: 1;
  width: 44px;
  height: 44px;
  border-radius: 10px;
}
.home-page .home-line-copy { display: block; grid-column: 2; grid-row: 1; min-width: 0; }
.home-page .home-line-copy > p:first-child {
  margin: 0 0 3px;
  color: #173c50;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.home-page .home-line-copy h2 {
  margin: 0;
  padding: 0;
  color: #183d32;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  white-space: normal;
}
.home-page .home-line-copy h2 > span { display: inline; }
.home-page .home-line-copy > p:last-child {
  max-width: none;
  margin: 4px 0 0;
  color: #53666c;
  font-size: 13px;
  line-height: 1.6;
}
.home-page .home-line-points { display: none; }
.home-page .home-line-action { grid-column: 3; grid-row: 1; margin: 0; }
.home-page .home-line-action > p { display: none; }
.home-page .home-line-cta,
.gg-article .article-line-cta,
.gg-article.freeroll-visual-article .fr-actions .article-line-cta {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  width: min(100%, 400px);
  min-height: 50px;
  height: auto;
  margin: 10px auto 0;
  padding: 10px 16px;
  border: 1px solid #008436;
  border-radius: 8px;
  background: #008436;
  color: #fff;
  box-shadow: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
}
.home-page .home-line-cta { margin: 0 auto; }
.home-page .home-line-cta .line-brand-wrap,
.gg-article .article-line-cta .line-brand-wrap {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
  margin: 0;
  padding: 0;
  border: 0;
}
.home-page .home-line-cta .line-brand-wrap img,
.gg-article .article-line-cta .line-brand-wrap img { width: 24px; height: 24px; }
.gg-article .article-line-cta > span:nth-child(2),
.home-page .home-line-cta > span:nth-child(2) { min-width: 0; white-space: normal; }
.home-page .home-line-cta:hover,
.gg-article .article-line-cta:hover { background: #006f2e; border-color: #006f2e; box-shadow: none; }
.home-page .home-line-cta:is(:focus-visible),
.gg-article .article-line-cta:is(:focus-visible) { outline: 3px solid #075da5; outline-offset: 3px; }
.home-page .home-line-cta::before,
.home-page .home-line-cta::after,
.gg-article .article-line-cta::before,
.gg-article .article-line-cta::after { content: none; animation: none; }
.gg-article .line-cta-lead + .article-line-cta { margin-top: 10px; }

@media (max-width: 760px) {
  .home-page .home-line-inner { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .home-page .home-line-icon { width: 40px; height: 40px; border-radius: 9px; }
  .home-page .home-line-copy h2 { font-size: 18px; }
  .home-page .home-line-action { grid-column: 1 / -1; grid-row: 2; }
  .home-page .home-line-cta { width: min(100%, 400px); }
}
