/* Mobile first. Content and FAQ remain usable without JavaScript. */
.payment-guide {
  --payment-guide-border: #e7e4df;
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 0 32px;
  color: var(--webglobe-ink, #1b1b1b);
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.payment-guide__header {
  position: relative;
  isolation: isolate;
  padding: 28px 24px;
  border: 1px solid #f0e4dd;
  border-radius: 20px;
  background: radial-gradient(ellipse at top right, #ffe1d5, transparent 65%), #faf7f2;
  margin-bottom: 20px;
}

.page-content--cms .payment-guide h1,
.page-content--cms .payment-guide h2,
.page-content--cms .payment-guide p {
  margin: 0;
}

.page-content--cms .payment-guide .payment-guide__eyebrow {
  margin-bottom: 12px;
  color: #b82d32;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.page-content--cms .payment-guide h1 {
  margin-bottom: 16px;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.035em;
}

.payment-guide__header > p:last-child {
  max-width: 600px;
  color: #606060;
}

.payment-guide__methods {
  display: grid;
  gap: 12px;
}

.payment-guide__method {
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--payment-guide-border);
  border-radius: 16px;
  background: #fff;
}

.payment-guide__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: #f7f5f1;
  color: #36332f;
}

.payment-guide__icon img {
  display: block;
  width: 26px;
  height: 26px;
}

.page-content--cms .payment-guide h2 {
  font-size: 20px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -.02em;
}

.page-content--cms .payment-guide .payment-guide__label {
  margin: 6px 0 14px;
  color: #b82d32;
  font-size: 13px;
  font-weight: 600;
}

.payment-guide__method > p:last-child,
.payment-guide__help p {
  color: #606060;
  font-size: 15px;
}

.payment-guide__help {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: 20px;
  padding: 24px;
  border-radius: 16px;
  background: #f7f5f1;
}

.page-content--cms .payment-guide__help h2 {
  margin-bottom: 8px;
  font-size: 18px;
}

.payment-guide__help > div {
  max-width: 660px;
}

.page-content--cms .payment-guide__help a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid #36332f;
  border-radius: 8px;
  color: #1b1b1b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.payment-guide__help a:hover {
  background: #eae6df;
}

.payment-guide a:focus-visible,
.payment-guide summary:focus-visible {
  outline: 2px solid #b82d32;
  outline-offset: 4px;
}

.page-content--cms .payment-guide__features {
  display: grid;
  gap: 20px;
  padding: 4px 8px;
  margin: 0 0 28px;
  list-style: none;
}

.payment-guide__features li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-guide__features li > span {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  height: 32px;
  color: #b82d32;
  background: #fff0ea;
  border-radius: 50%;
  font-size: 20px;
}

.payment-guide__features strong,
.payment-guide__features div > span {
  display: block;
  font-size: 13px;
}

.payment-guide__features div > span {
  color: #606060;
  font-size: 12px;
}

.payment-guide__faq {
  display: grid;
  gap: 20px;
  margin: 40px 0 28px;
}

.page-content--cms .payment-guide__faq-heading h2 {
  margin-bottom: 12px;
  font-size: 26px;
}

.payment-guide__faq-heading > p:last-child,
.payment-guide__questions p {
  color: #606060;
  font-size: 15px;
}

.payment-guide__questions {
  min-width: 0;
  border-top: 1px solid var(--payment-guide-border);
}

.payment-guide__questions details,
.payment-guide__question {
  border-bottom: 1px solid var(--payment-guide-border);
}

.payment-guide__questions summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 18px 4px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

/* Readable FAQ in the CMS editor and when JavaScript is unavailable. */
.page-content--cms .payment-guide__question-title {
  margin: 0;
  padding: 18px 4px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.payment-guide__questions summary::-webkit-details-marker {
  display: none;
}

.payment-guide__questions summary::after {
  content: '';
  flex: 0 0 10px;
  height: 10px;
  margin: 0 6px 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.payment-guide__questions details[open] summary {
  color: #b82d32;
}

.payment-guide__questions details[open] summary::after {
  transform: translateY(5px) rotate(225deg);
}

.payment-guide__questions details > div,
.payment-guide__question > div {
  padding: 0 4px 20px;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .payment-guide__method {
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  }

  .payment-guide__method::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: radial-gradient(260px circle at var(--pointer-x, 50%) var(--pointer-y, 50%), #fff0e8, transparent 100%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
  }

  .payment-guide__method:hover {
    transform: translateY(-4px);
    border-color: #e7c7bb;
    box-shadow: 0 14px 30px -20px #80645266;
  }

  .payment-guide__method:hover::before {
    opacity: 1;
  }
}

@media (min-width: 768px) {
  .payment-guide {
    padding: 28px 0 56px;
  }

  .payment-guide__header {
    padding: 44px;
    margin-bottom: 28px;
  }

  .page-content--cms .payment-guide__features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 32px;
  }

  .payment-guide__faq {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 40px;
    margin-top: 48px;
  }

  .payment-guide__methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .payment-guide__method {
    padding: 28px;
  }
}

@media (min-width: 1024px) {
  .payment-guide__help {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 28px;
  }

  .payment-guide__help a {
    flex-shrink: 0;
  }
}
