/* ================================================================
   Guides & Articles pages — guides.css
   Used by: articles,
            best-affiliate-programs-for-beginners,
            highest-paying-affiliate-programs-2026,
            how-to-earn-money-with-affiliate-programs
   ================================================================ */

/* ── Articles page — Hero ───────────────────────────────────────────────────── */
.art-hero {
  border-radius: 24px;
  background: linear-gradient(135deg, #06060f 0%, #0d1a3a 40%, #120524 75%, #051630 100%);
  padding: 60px 52px 52px;
  margin-bottom: 48px;
  overflow: hidden;
  position: relative;
}

/* Glow orbs */
.art-hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: 60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, .28) 0%, transparent 70%);
  pointer-events: none;
}

.art-hero::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: 180px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, .2) 0%, transparent 70%);
  pointer-events: none;
}

.art-hero__left {
  position: relative;
  z-index: 1;
}

.art-hero__visual {
  display: none;
}

.art-hero__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #60a5ff;
  margin-bottom: 14px;
}

.art-hero__title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.3;
  padding-bottom: .1em;
  margin: 0 0 18px;
  background: linear-gradient(135deg, #ffffff 20%, #93c5fd 60%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.art-hero__sub {
  font-size: .95rem;
  color: rgba(255, 255, 255, .6);
  line-height: 1.65;
  margin: 0 0 32px;
  max-width: 100%;
}

.art-hero__stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.art-hero__stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 28px;
}

.art-hero__stat:first-child {
  padding-left: 0;
}

.art-hero__stat-num {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #60a5ff, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.art-hero__stat-lbl {
  font-size: 11px;
  color: rgba(255, 255, 255, .4);
  margin-top: 5px;
  white-space: nowrap;
}

.art-hero__stat-div {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, .12);
  align-self: center;
}

/* Decorative right side */
.art-hero__visual {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.art-hero__vis-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(4px);
}

.art-hero__vis-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.art-hero__vis-dot--blue {
  background: #60a5ff;
  box-shadow: 0 0 8px #60a5ff;
}

.art-hero__vis-dot--purple {
  background: #a78bfa;
  box-shadow: 0 0 8px #a78bfa;
}

.art-hero__vis-dot--green {
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
}

.art-hero__vis-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, .75);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.art-hero__vis-tag {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, .35);
  text-transform: uppercase;
  letter-spacing: .06em;
  flex-shrink: 0;
}

/* ── Articles section ───────────────────────────────────────────────────────── */
.art-section {
  margin-bottom: 48px;
}

.art-section__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 20px;
}

/* ── Article cards ──────────────────────────────────────────────────────────── */
.art-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

.art-card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
  padding: 28px 28px 28px 24px;
  border-radius: 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--art-accent, var(--blue));
  text-decoration: none;
  transition: background .15s, transform .15s, box-shadow .15s;
}

.art-card:hover {
  background: var(--glass-bg-strong);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .08);
}

.art-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--art-accent, var(--blue)) 12%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--art-accent, var(--blue));
  flex-shrink: 0;
}

.art-card__body {
  min-width: 0;
}

.art-card__tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--art-accent, var(--blue));
  margin-bottom: 6px;
}

.art-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.3;
}

.art-card__desc {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 0 12px;
}

.art-card__pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.art-card__pill {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--glass-bg-strong);
  color: var(--ink-mute);
  border: 1px solid var(--glass-border);
}

.art-card__cta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--art-accent, var(--blue));
  white-space: nowrap;
  flex-shrink: 0;
}

.art-card__arrow {
  transition: transform .15s;
}

.art-card:hover .art-card__arrow {
  transform: translateX(4px);
}

/* ── Topics grid ────────────────────────────────────────────────────────────── */
.art-topics {
  border-radius: 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 36px 40px;
  margin-bottom: 48px;
}

.art-topics__head {
  margin-bottom: 24px;
}

.art-topics__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}

.art-topics__sub {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0;
}

.art-topics__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.art-topic {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
}

.art-topic__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .art-topics__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .art-card {
    grid-template-columns: 48px 1fr;
  }

  .art-card__cta {
    display: none;
  }
}

@media (max-width: 560px) {
  .art-hero {
    padding: 28px 20px;
  }

  .art-hero__stats {
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }

  .art-hero__stat {
    padding: 0;
    flex-direction: row;
    gap: 8px;
    align-items: center;
  }

  .art-hero__stat-div {
    display: none;
  }

  .art-topics {
    padding: 24px 18px;
  }

  .art-topics__grid {
    grid-template-columns: 1fr;
  }

  .art-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 18px;
  }

  .art-card__icon {
    display: none;
  }
}


/* ── Section ───────────────────────────────────────────────────────────────── */
.bfb-section {
  margin-bottom: 48px;
}

.bfb-section__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 24px;
}

/* ── Program cards grid ─────────────────────────────────────────────────────── */
.bfb-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (max-width: 640px) {
  .bfb-grid {
    grid-template-columns: 1fr;
  }
}

.bfb-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  text-decoration: none;
  transition: background .15s, border-color .15s;
}

.bfb-card:hover {
  background: var(--glass-bg-strong);
  border-color: var(--blue);
}

.bfb-card__rank {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-mute);
  min-width: 22px;
  text-align: center;
}

.bfb-card__logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--glass-bg-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bfb-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bfb-card__body {
  flex: 1;
  min-width: 0;
}

.bfb-card__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.bfb-card__cat {
  font-size: 11px;
  color: var(--ink-mute);
  margin-top: 2px;
}

.bfb-card__pills {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.bfb-card__highlight {
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  margin-top: 4px;
}

.bfb-card__highlight--rate {
  color: var(--orange);
}

.bfb-card__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.bfb-card__payout {
  text-align: right;
}

.bfb-card__payout-val {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}

.bfb-card__payout-lbl {
  font-size: 10px;
  color: var(--ink-mute);
}

.bfb-card__cta {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  white-space: nowrap;
}

/* ── FAQ list (article pages) ───────────────────────────────────────────────── */
.fq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fq-list .fq-card,
.fq-list .fq-card:last-child:nth-child(odd) {
  width: 100%;
}

/* ── Criteria grid ──────────────────────────────────────────────────────────── */
.bfb-criteria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.bfb-criteria-grid--2col {
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
}

@media (max-width: 860px) {
  .bfb-criteria-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .bfb-criteria-grid {
    grid-template-columns: 1fr;
  }
}

.bfb-criterion {
  padding: 20px;
  border-radius: 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

.bfb-criterion__icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.bfb-criterion__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}

.bfb-criterion__text {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

/* ── Steps ──────────────────────────────────────────────────────────────────── */
.bfb-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bfb-step {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line, rgba(12, 13, 16, .08));
}

.bfb-step:last-child {
  border-bottom: none;
}

.bfb-step__num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blue);
  min-width: 36px;
  line-height: 1.2;
  flex-shrink: 0;
}

.bfb-step__body {
  flex: 1;
}

.bfb-step__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}

.bfb-step__text {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

/* ── HowTo steps (how-to-earn page) ─────────────────────────────────────────── */
.hte-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hte-step {
  display: flex;
  gap: 24px;
  padding: 28px 24px;
  border-radius: 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  margin-bottom: 10px;
}

.hte-step__num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--blue);
  opacity: .25;
  min-width: 44px;
  line-height: 1;
  flex-shrink: 0;
}

.hte-step__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
}

.hte-step__text {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0 0 10px;
}

.hte-step__link {
  margin-top: 8px;
}

/* ── Vertical payout grid (highest-paying page) ──────────────────────────────── */
.hpa-vert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 8px;
}

@media (max-width: 860px) {
  .hpa-vert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .hpa-vert-grid {
    grid-template-columns: 1fr;
  }
}

.hpa-vert {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  text-decoration: none;
  transition: background .15s, border-color .15s;
}

.hpa-vert:hover {
  background: var(--glass-bg-strong);
}

.hpa-vert__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-mute);
}

.hpa-vert__payout {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
}

.hpa-vert__model {
  font-size: 12px;
  color: var(--ink-mute);
}

.hpa-vert--purple .hpa-vert__payout {
  color: var(--purple);
}

.hpa-vert--orange .hpa-vert__payout {
  color: var(--orange);
}

.hpa-vert--cyan .hpa-vert__payout {
  color: var(--teal);
}

.hpa-vert--blue .hpa-vert__payout {
  color: var(--blue);
}

.hpa-vert--green .hpa-vert__payout {
  color: var(--green);
}

.hpa-vert--teal .hpa-vert__payout {
  color: var(--teal);
}

/* ── CTA block ───────────────────────────────────────────────────────────────── */
.bfb-cta {
  text-align: center;
  padding: 44px 32px;
  border-radius: 20px;
  background: linear-gradient(135deg, #06060f 0%, #120524 60%, #051630 100%);
  margin-bottom: 40px;
}

.bfb-cta__title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
}

.bfb-cta__text {
  font-size: .95rem;
  color: rgba(255, 255, 255, .65);
  margin: 0 0 24px;
}

.bfb-cta__btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.bfb-cta__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 100px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .15s;
}

.bfb-cta__btn:hover {
  opacity: .85;
}

.bfb-cta__btn--outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .3);
  color: rgba(255, 255, 255, .8);
}

.bfb-cta__btn--outline:hover {
  background: rgba(255, 255, 255, .08);
  opacity: 1;
}

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .bfb-card__meta {
    display: none;
  }

  .hte-step {
    flex-direction: column;
    gap: 10px;
  }

  .hte-step__num {
    font-size: 1.3rem;
  }
}

/* ── Stats strip (article pages) ────────────────────────────────────────────── */
.sk-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 24px 0 32px;
}

.sk-stat {
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

.sk-stat__num {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 6px;
}

.sk-stat__label {
  font-size: 11.5px;
  color: var(--ink-mute);
  line-height: 1.4;
}

@media (max-width: 640px) {
  .sk-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Risk callout ────────────────────────────────────────────────────────────── */
.sk-risk {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  border-radius: 14px;
  background: color-mix(in srgb, #f59e0b 7%, var(--glass-bg));
  border: 1px solid color-mix(in srgb, #f59e0b 28%, transparent);
  border-left: 4px solid #f59e0b;
  margin: 8px 0 32px;
}

.sk-risk__badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #421d07;
  background: color-mix(in srgb, #f59e0b 18%, transparent);
  border: 1px solid color-mix(in srgb, #f59e0b 35%, transparent);
  border-radius: 100px;
  padding: 5px 13px;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: center;
}

.sk-risk__text {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 560px) {
  .sk-risk {
    flex-direction: column;
    gap: 10px;
  }
}

/* ── Implication cards ───────────────────────────────────────────────────────── */
.sk-impl-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 16px 0 32px;
}

.sk-impl-card {
  padding: 22px 22px 22px 20px;
  border-radius: 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.sk-impl-card__num {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--blue);
  opacity: .1;
  position: absolute;
  top: 8px;
  right: 14px;
  line-height: 1;
  pointer-events: none;
}

.sk-impl-card__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.35;
  padding-right: 32px;
}

.sk-impl-card__text {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 640px) {
  .sk-impl-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Article hero image ──────────────────────────────────────────────────────── */
.na-hero-img {
  margin-top: 24px;
  border-radius: 16px;
  overflow: hidden;
  max-height: 420px;
}

.na-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Editorial disclaimer ────────────────────────────────────────────────────── */
.sk-disclaimer {
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--ink-mute);
  margin: 0 0 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.sk-disclaimer p {
  font-size: 12.5px;
  color: var(--ink-mute);
  line-height: 1.6;
  margin: 0;
}

.sk-disclaimer--prominent {
  background: color-mix(in srgb, var(--blue) 6%, var(--glass-bg));
  border-color: color-mix(in srgb, var(--blue) 25%, transparent);
  border-left: 4px solid var(--blue);
  padding: 16px 20px;
}

.sk-disclaimer--prominent p {
  font-size: 13.5px;
  color: var(--ink-soft);
  font-weight: 500;
}

.sk-disclaimer__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  background: color-mix(in srgb, var(--blue) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--blue) 25%, transparent);
  border-radius: 100px;
  padding: 4px 12px;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: center;
}

/* ── Postback / S2S guide components (pb-) ──────────────────────────────────── */

/* Hero float */
.pb-hero {
  margin: 0 0 8px;
}

.pb-hero__img {
  float: right;
  width: 42%;
  max-width: 400px;
  margin: 4px 0 20px 28px;
  border-radius: 18px;
  object-fit: cover;
  display: block;
}

.pb-hero__intro {
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--ink);
}

.pb-hero::after {
  content: '';
  display: table;
  clear: both;
}

@media (max-width: 640px) {
  .pb-hero__img {
    float: none;
    width: 100%;
    margin: 0 0 18px;
  }
}

.pb-glossary-hint {
  font-size: 13.5px;
  opacity: .6;
  margin-top: 12px !important;
}

/* S2S flow diagram */
.pb-flow {
  background: rgba(14, 165, 233, .06);
  border: 1px solid rgba(14, 165, 233, .18);
  border-radius: 20px;
  padding: 32px 24px 24px;
  margin: 32px 0;
  overflow-x: auto;
}

.pb-flow__top {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 480px;
}

.pb-flow__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  flex-shrink: 0;
}

.pb-flow__icon {
  width: 54px;
  height: 54px;
  background: rgba(14, 165, 233, .12);
  border: 1.5px solid rgba(14, 165, 233, .3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #0ea5e9;
}

.pb-flow__label {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--ink);
  opacity: .7;
  max-width: 88px;
  font-weight: 500;
}

.pb-flow__label small {
  opacity: .7;
  font-size: 10.5px;
  display: block;
}

.pb-flow__arrow {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(14, 165, 233, .3), rgba(14, 165, 233, .7), rgba(14, 165, 233, .3));
  position: relative;
  margin-top: -34px;
  min-width: 32px;
  transform-origin: left center;
}

.pb-flow__arrow::after {
  content: '';
  position: absolute;
  right: -5px;
  top: -4px;
  border: 5px solid transparent;
  border-left-color: rgba(14, 165, 233, .7);
}

.pb-flow__arrow--1 {
  animation: pb-arrow-grow .4s ease .2s both;
}

.pb-flow__arrow--2 {
  animation: pb-arrow-grow .4s ease .55s both;
}

.pb-flow__arrow--3 {
  animation: pb-arrow-grow .4s ease .9s both;
}

.pb-flow__bottom {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed rgba(14, 165, 233, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 480px;
}

.pb-flow__return-line {
  height: 2px;
  background: linear-gradient(270deg, rgba(14, 165, 233, .3), rgba(14, 165, 233, .7), rgba(14, 165, 233, .3));
  flex: 1;
  max-width: 340px;
  position: relative;
  transform-origin: right center;
  animation: pb-arrow-grow-rev .5s ease 1.3s both;
}

.pb-flow__return-line::before {
  content: '';
  position: absolute;
  left: -5px;
  top: -4px;
  border: 5px solid transparent;
  border-right-color: rgba(14, 165, 233, .7);
}

.pb-flow__return-text {
  font-size: 12px;
  color: #0ea5e9;
  font-weight: 600;
  white-space: nowrap;
  animation: pb-fade-in .4s ease 1.7s both;
}

@keyframes pb-arrow-grow {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes pb-arrow-grow-rev {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes pb-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Callout blocks */
.pb-callout {
  padding: 18px 20px;
  border-radius: 14px;
  border-left: 4px solid;
  margin: 24px 0;
}

.pb-callout--info {
  background: rgba(14, 165, 233, .06);
  border-color: #0ea5e9;
}

.pb-callout--tip {
  background: rgba(34, 197, 94, .06);
  border-color: #22c55e;
}

.pb-callout--warn {
  background: rgba(245, 158, 11, .06);
  border-color: #f59e0b;
}

.pb-callout__body {
  min-width: 0;
}

.pb-callout__title {
  font-weight: 700;
  font-size: 14.5px;
  margin: 0 0 6px;
  color: var(--ink);
}

.pb-callout__text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink);
  opacity: .82;
  margin: 0;
}

.pb-callout__text p {
  margin: 0 0 8px;
}

.pb-callout__text p:last-child {
  margin: 0;
}

/* Code blocks */
.pb-code-wrap {
  margin: 20px 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .07);
}

.pb-code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 16px;
  background: rgba(0, 0, 0, .28);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  font-size: 11.5px;
  color: rgba(255, 255, 255, .4);
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
}

.pb-code-header span {
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.pb-code-copy {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 6px;
  color: rgba(255, 255, 255, .55);
  font-size: 11.5px;
  padding: 3px 10px;
  cursor: pointer;
  transition: all .18s;
  font-family: inherit;
  min-width: fit-content;
}

.pb-code-copy:hover {
  background: rgba(255, 255, 255, .13);
  color: #fff;
}

.pb-code-block {
  margin: 0;
  padding: 18px 20px;
  background: rgba(0, 0, 0, .38);
  font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.65;
  color: #7dd3fc;
  white-space: pre-wrap;
  word-break: break-all;
  border: none;
  display: block;
}

/* Step blocks with vertical connecting line */
.pb-steps {
  margin: 24px 0;
}

.pb-step {
  display: flex;
  gap: 18px;
  padding-bottom: 24px;
  position: relative;
}

.pb-step:last-child {
  padding-bottom: 0;
}

.pb-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 42px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(14, 165, 233, .35), rgba(14, 165, 233, .06));
}

.pb-step__num {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: rgba(14, 165, 233, .1);
  border: 1.5px solid rgba(14, 165, 233, .35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #0ea5e9;
  z-index: 1;
  position: relative;
}

.pb-step__body {
  padding-top: 6px;
  flex: 1;
  min-width: 0;
}

.pb-step__title {
  font-size: 15.5px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink);
}

.pb-step__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
  opacity: .82;
}

.pb-step__text p {
  margin: 0 0 10px;
}

.pb-step__text p:last-child {
  margin: 0;
}

/* Checklist */
.pb-checklist {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pb-checklist__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 13px 16px;
  background: rgba(34, 197, 94, .04);
  border: 1px solid rgba(34, 197, 94, .12);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink);
}

.pb-checklist__num {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background: rgba(34, 197, 94, .14);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #22c55e;
  margin-top: 1px;
}

/* Glossary */
.pb-glossary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

.pb-glossary__item {
  padding: 14px 18px;
  background: rgba(255, 255, 255, .025);
  border: 1px solid rgba(255, 255, 255, .05);
  border-left: 3px solid #0ea5e9;
  border-radius: 0 12px 12px 0;
}

.pb-glossary__term {
  font-weight: 700;
  font-size: 14px;
  color: #0ea5e9;
  margin: 0 0 4px;
}

.pb-glossary__def {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink);
  opacity: .78;
  margin: 0;
}

/* Closing CTA */
.pb-cta {
  background: linear-gradient(135deg, rgba(14, 165, 233, .08), rgba(14, 165, 233, .03));
  border: 1px solid rgba(14, 165, 233, .2);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  margin: 40px 0 24px;
}

.pb-cta__title {
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--ink);
}

.pb-cta__text {
  font-size: 15px;
  opacity: .7;
  line-height: 1.6;
  color: var(--ink);
  max-width: 520px;
  margin: 0 auto 24px;
}

.pb-cta__btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.pb-cta__btn {
  display: inline-block;
  padding: 12px 24px;
  background: #0ea5e9;
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background .18s, transform .18s;
}

.pb-cta__btn:hover {
  background: #0284c7;
  transform: translateY(-1px);
}

.pb-cta__btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(255, 255, 255, .14);
}

.pb-cta__btn--outline:hover {
  background: rgba(255, 255, 255, .06);
  transform: translateY(-1px);
}

/* Light theme overrides for code blocks */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .pb-code-wrap {
    border-color: rgba(0, 0, 0, .1);
  }

  :root:not([data-theme="dark"]) .pb-code-header {
    background: rgba(0, 0, 0, .06);
    color: rgba(0, 0, 0, .4);
  }

  :root:not([data-theme="dark"]) .pb-code-copy {
    background: rgba(0, 0, 0, .05);
    border-color: rgba(0, 0, 0, .1);
    color: rgba(0, 0, 0, .55);
  }

  :root:not([data-theme="dark"]) .pb-code-copy:hover {
    background: rgba(0, 0, 0, .1);
    color: #000;
  }

  :root:not([data-theme="dark"]) .pb-code-block {
    background: #f1f5f9;
    color: #0369a1;
  }

  :root:not([data-theme="dark"]) .pb-glossary__item {
    background: rgba(0, 0, 0, .015);
    border-color: rgba(0, 0, 0, .05);
  }

  :root:not([data-theme="dark"]) .pb-cta {
    background: linear-gradient(135deg, rgba(14, 165, 233, .06), rgba(14, 165, 233, .02));
  }

  :root:not([data-theme="dark"]) .pb-cta__btn--outline {
    border-color: rgba(0, 0, 0, .14);
  }

  :root:not([data-theme="dark"]) .pb-flow {
    background: rgba(14, 165, 233, .04);
  }
}

:root[data-theme="dark"] .pb-code-wrap {
  border-color: rgba(255, 255, 255, .07);
}

:root[data-theme="dark"] .pb-code-header {
  background: rgba(0, 0, 0, .28);
  color: rgba(255, 255, 255, .4);
}

:root[data-theme="dark"] .pb-code-block {
  background: rgba(0, 0, 0, .38);
  color: #7dd3fc;
}

/* ── PROS / CONS (matches cc-proscons-grid on company pages) ──────── */
.cc-proscons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.cc-pros-box {
  border: 1px solid rgba(48, 209, 88, .25);
  border-radius: var(--r-md);
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(48, 209, 88, .06) 0%, var(--card-bg) 60%);
}

.cc-cons-box {
  border: 1px solid rgba(255, 69, 58, .22);
  border-radius: var(--r-md);
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(255, 69, 58, .06) 0%, var(--card-bg) 60%);
}

.cc-proscons-title {
  font-family: var(--display);
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cc-pros-title {
  color: #1c7a3a;
}

.cc-cons-title {
  color: #c8331f;
}

.cc-pros-icon {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: linear-gradient(135deg, #30d158, #64d2ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .75rem;
  flex-shrink: 0;
}

.cc-cons-icon {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: linear-gradient(135deg, #ff453a, #ff9f0a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .75rem;
  flex-shrink: 0;
}

.cc-proscons-items {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.cc-pros-item,
.cc-cons-item {
  display: flex;
  gap: 7px;
  font-size: .82rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.cc-pros-check {
  color: #30d158;
  font-weight: 700;
  flex-shrink: 0;
}

.cc-cons-cross {
  color: #ff453a;
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .cc-proscons-grid {
    grid-template-columns: 1fr;
  }
}
/* ── Fee stack — stacked deductions (used on crypto-payouts article) ─────────── */
.na-feestack {
  margin: 22px 0 30px;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  background: var(--glass-bg);
  overflow: hidden;
}
.na-feestack__row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "label val" "note note";
  column-gap: 16px;
  row-gap: 3px;
  padding: 15px 20px;
  border-bottom: 1px dashed var(--glass-border);
}
.na-feestack__row:last-child { border-bottom: none; }
.na-feestack__label {
  grid-area: label;
  font-weight: 700;
  color: var(--ink);
  font-size: 14px;
}
.na-feestack__val {
  grid-area: val;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.na-feestack__note {
  grid-area: note;
  font-size: 12.5px;
  color: var(--ink-mute);
  line-height: 1.45;
}
.na-feestack__row--total {
  background: color-mix(in srgb, var(--blue) 8%, var(--glass-bg));
}
.na-feestack__row--total .na-feestack__label {
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 12px;
  color: var(--ink-mute);
}
.na-feestack__row--total .na-feestack__val {
  color: var(--ink);
  font-size: 1.3rem;
}

/* numbered step list (visual alt to na-checklist) */
.na-steplist {
  margin: 6px 0 8px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.na-steplist li {
  color: var(--ink-soft);
  line-height: 1.55;
}
