/* Tutorials reuse storefront header markup/runtime and the homepage boundaries. */
.guide-shell {
  color: #0c1626;
  background: var(--brand-soft);
  min-height: 100vh;
}
.guide-shell * {
  box-sizing: border-box;
}
.guide-shell .container {
  box-sizing: content-box;
}
.guide-shell .page {
  min-width: 0;
}
.guide-main {
  padding-top: 44px;
  padding-bottom: 80px;
  min-height: 62vh;
}
.guide-crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #7a8699;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.guide-crumb a {
  color: #69778b;
}
.guide-crumb a:hover {
  color: var(--brand-text);
}
.guide-kicker {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--brand-text);
  margin-bottom: 12px;
}
.guide-home-head h1 {
  font-size: 38px;
  letter-spacing: -1px;
  line-height: 1.4;
  margin: 0 0 12px;
  font-weight: 700;
}
.guide-home-head > p {
  font-size: 16px;
  color: #6a778a;
  line-height: 1.8;
  max-width: 780px;
  margin: 0 0 26px;
  white-space: pre-line;
}
.guide-search {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #d5deec;
  border-radius: 10px;
  background: white;
  padding: 7px 8px 7px 18px;
  max-width: 800px;
  color: #8290a4;
}
.guide-search:focus-within {
  border-color: var(--brand-primary);
  outline: 3px solid var(--brand-soft);
}
.guide-search input {
  border: 0;
  outline: 0;
  min-width: 0;
  flex: 1;
  font-size: 15px;
  background: transparent;
  height: 36px;
  color: #14253f;
}
.guide-search button {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 6px;
  background: var(--brand-gradient);
  color: white;
  padding: 12px 18px;
  font-size: 14px;
  cursor: pointer;
}
.guide-topics {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  border-bottom: 1px solid #dce3ee;
  margin-top: 28px;
  margin-bottom: 30px;
}
.guide-topics a {
  padding: 15px 1px;
  font-size: 15px;
  white-space: nowrap;
  color: #66768b;
  border-bottom: 2px solid transparent;
}
.guide-topics a.is-on {
  color: var(--brand-text);
  border-bottom-color: var(--brand-primary);
}
.guide-featured {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 36px;
  align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid #dce3ee;
  margin-bottom: 32px;
  color: #0c1626;
}
.guide-featured:hover {
  color: #142a4c;
}
.guide-featured > img {
  width: 100%;
  aspect-ratio: 1.75;
  object-fit: cover;
  border-radius: 12px;
}
.guide-featured h2 {
  font-size: 27px;
  line-height: 1.5;
  letter-spacing: -0.4px;
  margin: 15px 0 14px;
}
.guide-featured p {
  line-height: 1.85;
  color: #6b788b;
  font-size: 16px;
  margin: 0 0 20px;
}
.guide-featured-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 230px;
  background: #e9f0fc;
  border-radius: 12px;
  color: #5b84c9;
}
.guide-tag {
  font-size: 12px;
  background: var(--brand-soft);
  color: var(--brand-text);
  border-radius: 4px;
  padding: 6px 10px;
  display: inline-block;
  white-space: nowrap;
}
.guide-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--brand-text);
}
.guide-paths {
  margin-bottom: 36px;
}
.guide-paths h2,
.guide-section-head h2 {
  font-size: 21px;
  letter-spacing: -0.4px;
  margin: 0 0 18px;
}
.guide-paths > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.guide-paths a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid #dce3ee;
  border-radius: 8px;
  color: #2a3d58;
  background: white;
}
.guide-paths a > span {
  font-size: 23px;
  letter-spacing: -1px;
  color: var(--brand-text);
}
.guide-paths a > strong {
  font-size: 15px;
  font-weight: 600;
  flex: 1;
}
.guide-paths a > svg {
  color: var(--brand-text);
}
.guide-paths a:hover,
.guide-paths a.is-on {
  border-color: var(--brand-border-active);
  background: var(--brand-soft);
}
.guide-section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 4px;
}
.guide-section-head > a {
  font-size: 13px;
}
.guide-row {
  border-bottom: 1px solid #e0e6ef;
}
.guide-row:first-of-type {
  border-top: 1px solid #e0e6ef;
}
.guide-row-main {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 24px 16px;
  color: #152239;
}
.guide-row-main:hover {
  background: #edf3fe;
  border-radius: 8px;
  color: var(--brand-text);
}
.guide-row-main > div {
  flex: 1;
  min-width: 0;
}
.guide-row h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.55;
  margin: 0 0 7px;
}
.guide-row p {
  font-size: 14px;
  color: #748095;
  line-height: 1.7;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.guide-row-main > svg {
  color: #7890b1;
  flex: none;
}
.guide-empty {
  text-align: center;
  padding: 50px 24px;
  background: white;
  border: 1px solid #e4eaf3;
  border-radius: 10px;
  color: #8b9ab0;
}
.guide-empty h3 {
  font-size: 20px;
  color: #223551;
  margin: 16px 0 10px;
}
.guide-empty p {
  line-height: 1.8;
  font-size: 14px;
  margin: 0 auto 20px;
  max-width: 480px;
}
.guide-empty a,
.guide-pagination a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.guide-pagination {
  text-align: center;
  margin-top: 30px;
}
.guide-article-head {
  max-width: 1010px;
  margin: 0 auto 40px;
}
.guide-article-head h1 {
  font-size: 36px;
  line-height: 1.5;
  letter-spacing: -0.8px;
  margin: 0 0 14px;
}
.guide-subtitle {
  color: #65758a;
  font-size: 16px;
  line-height: 1.8;
  white-space: pre-line;
}
.guide-byline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 22px;
  font-size: 12px;
  color: #7a879a;
  line-height: 1.6;
  margin: 18px 0 24px;
}
.guide-byline > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.guide-answer {
  border: 1px solid #c3d6fc;
  border-left: 3px solid var(--brand-primary);
  border-radius: 6px;
  background: var(--brand-soft);
  padding: 22px 26px;
}
.guide-answer h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  margin: 0 0 12px;
}
.guide-answer svg {
  color: var(--brand-text);
}
.guide-answer p {
  font-size: 16px;
  line-height: 1.9;
  white-space: pre-line;
  margin: 0;
  color: #334863;
}
.guide-reading {
  display: grid;
  grid-template-columns: 190px minmax(0, 760px) 230px;
  gap: 38px;
  justify-content: center;
  align-items: start;
}
.guide-toc {
  position: sticky;
  top: 30px;
  padding: 8px 18px 8px 0;
  border-right: 1px solid #dee5ef;
}
.guide-toc h2,
.guide-related h2 {
  font-size: 15px;
  margin: 0 0 20px;
}
.guide-toc nav,
.guide-mobile-toc nav {
  display: grid;
  gap: 15px;
}
.guide-toc a,
.guide-mobile-toc a {
  font-size: 13px;
  line-height: 1.6;
  color: #687b96;
  overflow-wrap: anywhere;
}
.guide-toc a:hover {
  color: var(--brand-text);
}
.guide-toc a.is-sub,
.guide-mobile-toc a.is-sub {
  padding-left: 14px;
  font-size: 12px;
}
.guide-article-main {
  min-width: 0;
  padding: 28px 32px;
  background: white;
  border: 1px solid #e4eaf2;
  border-radius: 8px;
}
.guide-prose {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.85;
  overflow-wrap: anywhere;
  color: #34435b;
}
.guide-prose :first-child {
  margin-top: 0;
}
.guide-prose h2 {
  font-size: 24px;
  line-height: 1.5;
  color: #0c1626;
  margin: 36px 0 16px;
  font-weight: 600;
}
.guide-prose h3 {
  font-size: 20px;
  color: #172a47;
  line-height: 1.6;
  margin: 26px 0 12px;
}
.guide-prose h4 {
  font-size: 18px;
}
.guide-prose p {
  margin: 14px 0 20px;
}
.guide-prose ul,
.guide-prose ol {
  padding-left: 26px;
}
.guide-prose li {
  margin: 8px 0;
}
.guide-prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.guide-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 24px auto;
}
.guide-prose iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  height: auto;
  border-radius: 8px;
}
.guide-prose figure {
  margin: 24px 0;
}
.guide-prose figcaption {
  font-size: 13px;
  color: #8290a3;
  text-align: center;
}
.guide-prose pre {
  overflow: auto;
  background: var(--brand-soft);
  padding: 18px;
  border-radius: 6px;
}
.guide-prose blockquote {
  margin: 22px 0;
  border-left: 3px solid #a9c5f4;
  background: #f5f8fd;
  padding: 12px 22px;
}
.guide-table-scroll {
  overflow: auto;
  max-width: 100%;
  margin: 24px 0;
}
.guide-prose table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
.guide-prose td,
.guide-prose th {
  border: 1px solid #dfe6ef;
  padding: 12px;
  min-width: 100px;
  text-align: left;
}
.guide-prose th {
  background: var(--brand-soft);
}
.guide-faq h2,
.guide-sources h2 {
  font-size: 23px;
  margin: 36px 0 18px;
}
.guide-faq details {
  border-bottom: 1px solid #dfe6ef;
  padding: 17px 0;
}
.guide-faq summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
}
.guide-faq p {
  font-size: 15px;
  line-height: 1.9;
  white-space: pre-line;
  color: #5d6e85;
}
.guide-sources {
  font-size: 14px;
  line-height: 1.9;
}
.guide-sources ul {
  padding-left: 20px;
}
.guide-update {
  border-top: 1px solid #dfe6ef;
  margin-top: 30px;
  padding-top: 20px;
  font-size: 13px;
  line-height: 1.8;
  color: #7a879a;
}
.guide-update h2 {
  font-size: 14px;
  color: #394e6c;
}
.guide-update small {
  font-size: 12px;
}
.guide-back {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  font-size: 14px;
}
.guide-related {
  position: sticky;
  top: 30px;
  padding: 8px 0 8px 18px;
  border-left: 1px solid #dee5ef;
}
.guide-related > a {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  line-height: 1.8;
  padding: 15px 0;
  border-bottom: 1px solid #dfe6ef;
}
.guide-related > a > svg {
  flex: none;
}
.guide-related > p {
  font-size: 13px;
  color: #7788a2;
  line-height: 1.8;
}
.guide-related .guide-product {
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 28px;
  background: #fff;
  padding: 15px;
  border: 1px solid #bfd1f4;
  border-radius: 6px;
}
.guide-product small {
  display: block;
  width: 100%;
  color: #7a879a;
  font-size: 12px;
}
.guide-related .guide-help {
  font-size: 12px;
  color: #7a879a;
  border: 0;
}
.guide-mobile-toc {
  display: none;
}
.guide-footer .footer {
  margin-top: 0;
}
.guide-shell [id^="guide-section-"],
.guide-faq,
.guide-sources {
  scroll-margin-top: 30px;
}
@media (max-width: 1200px) {
  .guide-reading {
    grid-template-columns: 170px minmax(0, 760px);
    gap: 28px;
  }
  .guide-related {
    position: static;
    grid-column: 2;
    border-left: 0;
    border-top: 1px solid #dfe6ef;
    padding: 25px 0;
  }
  .guide-article-head {
    max-width: none;
  }
  .guide-shell .head-row {
    grid-template-columns: 220px minmax(180px, 1fr) auto;
    gap: 20px;
  }
  .guide-shell .head-actions {
    gap: 6px;
  }
  .guide-shell .head-actions .btn-aff {
    display: none;
  }
}
@media (max-width: 760px) {
  .guide-shell {
    --storefront-gutter: 18px;
  }
  .guide-shell .topbar {
    height: auto;
    min-height: 32px;
  }
  .guide-shell .topbar-inner {
    height: auto;
    min-height: 32px;
  }
  .guide-shell .topbar-text {
    display: none;
  }
  .guide-shell .topbar-links {
    gap: 14px;
    flex-wrap: wrap;
    padding: 8px 0;
  }
  .guide-shell .topbar-links > a:not(:last-child) {
    display: none;
  }
  .guide-shell .head-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding-block: 16px;
    height: auto;
    justify-content: space-between;
  }
  .guide-shell .brand {
    gap: 8px;
  }
  .guide-shell .brand-mark {
    height: 30px;
  }
  .guide-shell .brand-word {
    height: 20px;
  }
  .guide-shell .search {
    order: 3;
    flex-basis: 100%;
    height: 40px;
  }
  .guide-shell .search-kbd {
    display: none;
  }
  .guide-shell .head-actions {
    gap: 6px;
  }
  .guide-shell .head-actions > a[href="/affiliate"],
  .guide-shell .head-actions > a[href="/orders"],
  .guide-shell .head-actions > a[href="/topup"] {
    display: none;
  }
  .guide-shell .nav-home {
    width: auto;
    padding-inline: 3.5px 0;
  }
  .guide-shell .nav-row {
    gap: 28px;
  }
  .guide-shell .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .guide-shell .footer-brand {
    gap: 8px;
  }
  .guide-shell .footer-desc {
    max-width: 100%;
    font-size: 12px;
  }
  .guide-shell .footer {
    padding-top: 32px;
  }
  .guide-main {
    padding-top: 26px;
    padding-bottom: 48px;
  }
  .guide-crumb {
    margin-bottom: 22px;
    font-size: 12px;
  }
  .guide-home-head h1 {
    font-size: 28px;
    letter-spacing: -0.7px;
  }
  .guide-home-head > p {
    font-size: 14px;
  }
  .guide-search {
    padding-left: 12px;
  }
  .guide-search button {
    font-size: 12px;
    padding: 11px;
  }
  .guide-search button svg {
    display: none;
  }
  .guide-search input {
    font-size: 13px;
  }
  .guide-topics {
    gap: 24px;
    margin-top: 18px;
    margin-bottom: 24px;
  }
  .guide-topics a {
    font-size: 14px;
  }
  .guide-featured {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .guide-featured h2 {
    font-size: 23px;
    margin-top: 12px;
  }
  .guide-featured p {
    font-size: 14px;
  }
  .guide-featured-icon {
    min-height: 140px;
  }
  .guide-paths > div {
    gap: 10px;
    grid-template-columns: 1fr;
  }
  .guide-paths a {
    padding: 13px 16px;
  }
  .guide-paths a > span {
    font-size: 20px;
  }
  .guide-paths h2,
  .guide-section-head h2 {
    font-size: 19px;
  }
  .guide-row-main {
    gap: 12px;
    flex-wrap: wrap;
    padding: 20px 0;
    position: relative;
  }
  .guide-row-main > .guide-tag {
    font-size: 11px;
  }
  .guide-row-main > div {
    flex-basis: 100%;
    padding-right: 20px;
  }
  .guide-row-main > svg {
    position: absolute;
    right: 0;
    top: 50%;
  }
  .guide-row h3 {
    font-size: 17px;
  }
  .guide-row p {
    font-size: 13px;
  }
  .guide-article-head h1 {
    font-size: 27px;
    line-height: 1.5;
  }
  .guide-subtitle {
    font-size: 14px;
  }
  .guide-byline {
    gap: 10px 14px;
    font-size: 11px;
  }
  .guide-answer {
    padding: 18px;
  }
  .guide-answer p {
    font-size: 14px;
  }
  .guide-reading {
    display: block;
  }
  .guide-toc {
    display: none;
  }
  .guide-mobile-toc {
    display: block;
    margin: 0 0 24px;
    border-bottom: 1px solid #dfe6ef;
    padding-bottom: 16px;
    font-size: 14px;
  }
  .guide-mobile-toc nav {
    padding-top: 18px;
  }
  .guide-article-main {
    padding: 22px 18px;
    margin: 0 -4px;
  }
  .guide-prose {
    font-size: 16px;
  }
  .guide-prose h2 {
    font-size: 22px;
  }
  .guide-prose h3 {
    font-size: 19px;
  }
  .guide-related {
    margin-top: 24px;
  }
  .guide-related .guide-product {
    margin-top: 20px;
  }
  .guide-article-head {
    margin-bottom: 26px;
  }
}
