/* v22: left-aligned method names, compact lists, and concise FAQ guidance. */

/* Keep every black method name on the same left edge; center the note vertically beside it. */
.gg-article.deposit-methods-article .method-summary-heading {
  display: grid;
  width: 100%;
  grid-template-columns: 106px minmax(0, 1fr);
  align-items: center;
  justify-content: stretch;
  gap: 8px;
  white-space: nowrap;
}

.gg-article.deposit-methods-article .method-summary-card h3 {
  justify-self: start;
  align-self: center;
  text-align: left;
}

.gg-article.deposit-methods-article .method-summary-link {
  min-height: 28px;
  margin-top: 0;
  padding-top: 0;
  justify-self: start;
  align-self: center;
  line-height: 1.3;
}

/* Bring list numbers closer to their text and remove surplus vertical height. */
.gg-article .article-check-list {
  padding-inline: 12px;
}

.gg-article .article-check-list > li {
  min-height: 0;
  padding: 8px 4px 8px 34px;
  font-size: 15px;
  line-height: 1.58;
}

.gg-article .article-check-list > li::before {
  left: 2px;
  width: 20px;
  font-size: 15px;
}

/* Compact the withdrawal comparison without losing its reading order. */
.gg-article .withdrawal-choice-grid {
  margin-block: 14px 16px;
}

.gg-article .withdrawal-choice-card,
.gg-article .swipe-card-rail .withdrawal-choice-card,
.gg-article .withdrawal-choice-card:last-child {
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 0 8px;
  padding: 10px 0;
}

.gg-article .withdrawal-choice-card::before {
  width: 22px;
  font-size: 15px;
}

.gg-article .withdrawal-choice-card h3 {
  margin: 0 0 3px;
  align-items: center;
  gap: 3px 7px;
  font-size: clamp(17px, 1.45vw, 19px);
  line-height: 1.35;
}

.gg-article .withdrawal-choice-label {
  margin: 0;
  color: var(--ink);
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.gg-article .withdrawal-choice-card p {
  margin: 0 0 5px;
  line-height: 1.58;
}

.gg-article .withdrawal-choice-card > .article-text-link {
  line-height: 1.35;
}

/* An article link inside an open FAQ stays compact and easy to notice. */
.gg-article .faq-answer .faq-inline-cta {
  margin: 7px 0 0 !important;
}

.gg-article .faq-article-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--article-link);
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
}

.gg-article .faq-article-cta .article-marker {
  color: inherit;
  background: linear-gradient(
    transparent 58%,
    var(--article-marker) 58%,
    var(--article-marker) 92%,
    transparent 92%
  );
}

@media (max-width: 700px) {
  .gg-article .withdrawal-choice-grid {
    gap: 0;
  }

  .gg-article .withdrawal-choice-card,
  .gg-article .swipe-card-rail .withdrawal-choice-card,
  .gg-article .withdrawal-choice-card:last-child {
    padding-block: 10px;
    border-bottom: 1px solid var(--article-border);
  }

  .gg-article .withdrawal-choice-card:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .gg-article.deposit-methods-article .method-summary-heading {
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 7px;
  }

  .gg-article.deposit-methods-article .method-summary-link {
    min-height: 26px;
  }

  .gg-article .article-check-list > li {
    padding: 7px 2px 7px 30px;
    font-size: 14.5px;
    line-height: 1.56;
  }

  .gg-article .article-check-list > li::before {
    left: 1px;
    width: 18px;
    font-size: 14px;
  }

  .gg-article .withdrawal-choice-card,
  .gg-article .swipe-card-rail .withdrawal-choice-card,
  .gg-article .withdrawal-choice-card:last-child {
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 0 7px;
    padding-block: 9px;
  }

  .gg-article .withdrawal-choice-card::before {
    width: 20px;
    font-size: 14px;
  }
}

@media (max-width: 340px) {
  .gg-article.deposit-methods-article .method-summary-heading {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 5px;
  }

  .gg-article.deposit-methods-article .method-summary-link {
    min-height: 24px;
  }
}
