/* Knowledge articles only. Shared TOP, Header, CTA and Footer styles stay intact. */
.site-main--article { margin-top: -80px; }
.article-guide { color: var(--color-body); background: #fff; }
.article-guide__container { width: min(calc(100% - 40px), 1000px); margin-inline: auto; }
.article-guide__hero { padding: 100px 0 81px; background: #f7faff; }
.article-guide__hero-inner { position: relative; }
.article-guide__title { margin: 0; font-size: 38px; font-weight: 700; line-height: 46px; }
.article-guide__title span { display: inline-block; }
.article-guide__subtitle { margin: 20px 0 0; font-size: 28px; font-weight: 700; line-height: 34px; }
.article-guide__marker { width: 150px; height: 5px; margin-top: 8px; border-radius: 999px; background: #ffec39; }
.article-guide__lead { width: 651px; max-width: 100%; margin-top: 27px; font-size: 16px; line-height: 19px; }
.article-guide__lead p { margin: 0; }
.article-guide__lead p + p { margin-top: 19px; }
.article-guide__hero-image { position: absolute; top: 21px; right: 13px; width: 350px; height: 263px; object-fit: cover; }
.article-guide__toc { padding: 50px 20px; background: #fff; }
.article-guide__toc-box { width: 750px; max-width: 100%; margin-inline: auto; padding: 25px; border-radius: 20px; box-shadow: inset 0 0 0 1px #dce7f4, 0 4px 18px rgb(24 63 114 / 6%); }
.article-guide__toc-heading { display: flex; align-items: center; gap: 12px; height: 24px; color: #15345c; font-size: 20px; font-weight: 700; line-height: 24px; }
.article-guide__toc-heading::before { content: ''; width: 4px; height: 24px; border-radius: 2px; background: linear-gradient(90deg, #2792fd, #034afe); }
.article-guide__toc-caption { color: #677c95; font-size: 11px; font-weight: 400; line-height: 13px; }
.article-guide__toc-list { width: 694px; max-width: 100%; margin: 10px 0 0; padding: 0; list-style: none; }
.article-guide__toc-link { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 4px 12px 0; box-shadow: inset 0 -1px #dce7f4; color: #15345c; text-decoration: none; }
.article-guide__number { display: flex; flex: 0 0 40px; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(90deg, #2792fd, #034afe); color: #fff; font-size: 16px; font-weight: 700; line-height: 24px; }
.article-guide__toc-title { flex: 1; min-width: 0; font-size: 15px; font-weight: 500; line-height: 1.7; }
.article-guide__toc-link img { flex: 0 0 16px; }
.article-guide__toc-link:focus-visible { outline: 2px solid #1262dc; outline-offset: 3px; }
.article-guide__contents { padding-block: 50px 100px; }
.article-guide__section { display: flex; flex-direction: column; }
.article-guide__section + .article-guide__section { margin-top: 50px; }
.article-guide__h2 { display: flex; align-items: center; gap: 16px; margin: 0; padding: 24px 25px; border-radius: 12px; background: #edf5ff; color: #15345c; font-size: 28px; font-weight: 700; line-height: 42px; }
.article-guide__h2 > span:last-child { min-width: 0; }
.article-guide__block { margin-top: var(--article-space, 20px); min-width: 0; }
.article-guide__h3 { position: relative; margin: 0; padding: 8px 25px; color: #15345c; font-size: 22px; font-weight: 700; line-height: 35px; }
.article-guide__h3::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #2792fd, #034afe); }
.article-guide__paragraph { margin: 0; font-size: 16px; font-weight: 400; line-height: 24px; overflow-wrap: anywhere; }
.article-guide__emphasis { color: #1262dc; }
.article-guide__nowrap { white-space: nowrap; }
.article-guide__text-link { color: #1262dc; text-decoration: underline; text-underline-offset: 0.14em; }
.article-guide__list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.article-guide__list-item { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.article-guide__list--ordered { counter-reset: article-item; }
.article-guide__list--ordered > li { counter-increment: article-item; }
.article-guide__list--ordered > li::before { content: counter(article-item) '.'; flex: 0 0 14px; font-size: 16px; line-height: 24px; }
.article-guide__list--bullet > li::before { content: '\2022'; flex: 0 0 14px; font-size: 16px; line-height: 24px; text-align: center; }
.article-guide__list-copy { flex: 1; min-width: 0; }
.article-guide__list-icon { flex: 0 0 24px; }
.article-guide__h4 { margin: 0 0 10px; color: #292929; font-size: 16px; font-weight: 700; line-height: 24px; }
.article-guide__h4--accent { margin-bottom: 0; padding-left: 10px; border-left: 4px solid #fe4e06; }
.article-guide__list--topics { width: 976px; max-width: 100%; gap: 20px; }
.article-guide__list--topics .article-guide__h4 { padding-left: 10px; border-left: 4px solid #fe4e06; }
.article-guide__figure { width: 540px; max-width: 100%; margin: 0 auto; border-radius: 10px; box-shadow: 0 4px 15px rgb(0 0 0 / 15%); }
.article-guide__figure img { display: block; width: 100%; height: auto; }
.article-guide__note { display: flex; flex-direction: column; gap: 20px; width: 644px; max-width: 100%; margin-inline: auto; padding: 24px; border-radius: 12px; background: #edf5ff; box-shadow: inset 0 0 0 1px rgb(18 98 220 / 15%); }
.article-guide__note-heading { display: flex; align-items: center; gap: 10px; color: #1262dc; font-size: 18px; font-weight: 700; line-height: 22px; }
.article-guide__note-icon { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 6px; background: #fff; }
.article-guide__note .article-guide__paragraph { line-height: 30px; }
.register-modal__dialog > .register-modal__article-title { margin: 0; font-size: 27px; font-weight: 700; }

@media (min-width: 1200px) {
  /* The source checklist has a 24px icon, 10px gap and 976px text column. */
  .article-guide__list--checked .article-guide__list-copy { flex: 0 0 976px; }
}

@media (max-width: 1023px) {
  .article-guide__hero { padding-bottom: 50px; }
  .article-guide__hero-image { position: static; height: auto; margin: 30px auto 0; object-fit: contain; }
}

@media (max-width: 899px) {
  .site-main--article { margin-top: -50px; }
}

@media (max-width: 599px) {
  .register-modal__dialog > .register-modal__article-title { font-size: 23px; }
  .article-guide__container { width: min(calc(100% - 28px), 365px); }
  .article-guide__hero { padding-top: 80px; }
  .article-guide__title { font-size: 30px; line-height: 42px; }
  .article-guide__title span:first-child { display: block; }
  .article-guide__subtitle { font-size: 22px; line-height: 33px; }
  .article-guide__subtitle span { display: inline-block; }
  .article-guide__phrase { display: inline-block; max-width: 100%; }
  .article-guide__lead p { text-wrap: balance; }
  .article-guide__paragraph { text-wrap: pretty; }
  .article-guide__lead { line-height: 27.2px; }
  .article-guide__lead p + p { margin-top: 27.2px; }
  .article-guide__hero-image { max-width: 100%; }
  .article-guide__toc { padding: 35px 14px; }
  .article-guide__toc-box { width: 100%; max-width: 365px; padding: 20px 16px; }
  .article-guide__toc-link { gap: 10px; }
  .article-guide__contents { padding-block: 35px 60px; }
  .article-guide__h2 { gap: 12px; padding: 20px 16px; font-size: 22px; line-height: 1.5; }
  .article-guide__h2 > span:last-child { letter-spacing: -0.02em; }
  .article-guide__h3 { padding-inline: 16px 0; font-size: 20px; line-height: 1.6; }
  .article-guide__paragraph { line-height: 1.7; }
  .article-guide__pc-break { display: none; }
  .article-guide__figure { width: 380px; }
  .article-guide__note { padding: 20px; }

  .article-guide--factoring .article-guide__hero { padding: 100px 0 0; }
  .article-guide--factoring .article-guide__title { font-size: 38px; line-height: 46px; }
  .article-guide--factoring .article-guide__title span,
  .article-guide--factoring .article-guide__title span:first-child { display: inline; }
  .article-guide--factoring .article-guide__subtitle { margin-top: 30px; font-size: 28px; line-height: 34px; }
  .article-guide--factoring .article-guide__subtitle span { display: inline; }
  .article-guide--factoring .article-guide__lead { line-height: 19px; }
  .article-guide--factoring .article-guide__lead p { text-wrap: wrap; }
  .article-guide--factoring .article-guide__lead p + p { margin-top: 19px; }
  .article-guide--factoring .article-guide__hero-image {
    display: block;
    width: 212px;
    height: 159px;
    max-width: none;
    margin: 51px auto 0;
    object-fit: contain;
  }
}

@media (max-width: 374px) {
  .article-guide--factoring .article-guide__title {
    font-size: clamp(34px, 10.18vw, 38px);
    line-height: 1.21;
  }
  .article-guide--factoring .article-guide__subtitle {
    font-size: clamp(24px, 7.49vw, 28px);
    line-height: 1.21;
  }
}
