/* Shared Brand Header, Navigation, Sponsor Slots & Trust UI */
.stb-topbar {
  background: #0f172a;
  color: #e2e8f0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(8px);
}
.stb-topbar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.stb-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  font-weight: 900;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.stb-brand svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.stb-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 100%;
  padding-bottom: 2px;
}
.stb-nav::-webkit-scrollbar { display: none; }
.stb-nav-link {
  text-decoration: none;
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color 0.15s, color 0.15s;
}
.stb-nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.stb-nav-link.is-active {
  background: #38bdf8;
  color: #0f172a;
  font-weight: 900;
}
.stb-pr-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fde68a;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 999px;
  padding: 2px 9px;
  white-space: nowrap;
}

/* Ninja AdMax Cleanly Separated Sponsor Containers */
.stb-ad-slot {
  text-align: center;
  margin: 26px auto;
  padding: 12px 14px 14px;
  max-width: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  clear: both;
}
.stb-ad-slot--bottom {
  background: transparent;
  border-style: dashed;
  border-color: #cbd5e1;
  margin-top: 28px;
  margin-bottom: 20px;
}
.stb-ad-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  color: #64748b;
  background: #e2e8f0;
  padding: 1px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  letter-spacing: 0.08em;
}

/* Contextual Next-Step Recommendation Cards */
.stb-next-step {
  margin-top: 20px;
  background: linear-gradient(180deg, #fffdf5 0%, #ffffff 100%);
  border: 2px solid #fcd34d;
  border-radius: 16px;
  padding: 16px 18px;
  text-align: left;
}
.stb-next-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.stb-next-title {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 900;
  color: #0f172a;
}
.stb-next-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
}
.stb-next-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
.stb-next-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  text-decoration: none;
  color: #0f172a;
  transition: transform 0.14s, border-color 0.14s, box-shadow 0.14s;
}
.stb-next-card:hover {
  transform: translateY(-2px);
  border-color: #f59e0b;
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.12);
}
.stb-next-card strong {
  font-size: 0.9rem;
  line-height: 1.4;
}
.stb-next-card span.stb-desc {
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.5;
  flex: 1;
}
.stb-next-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #059669;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  padding: 8px 12px;
  border-radius: 9px;
  margin-top: 4px;
}
.stb-next-cta.is-blue {
  background: #2563eb;
}
.stb-next-cta.is-purple {
  background: #6d28d9;
}

.stb-check-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 10px;
  padding: 0;
  list-style: none;
}
.stb-check-pills li {
  font-size: 0.74rem;
  font-weight: 700;
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 2px 9px;
  border-radius: 999px;
}

.stb-site-footer {
  margin-top: 24px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.78rem;
  padding: 22px 16px 36px;
  text-align: center;
}
.stb-site-footer a {
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
}
@media (max-width: 720px) {
  .stb-topbar-inner {
    padding: 8px 12px;
    gap: 8px;
  }
  .stb-pr-chip {
    display: none;
  }
}

.stb-policy-links {
  margin: 8px 0 6px;
  font-size: 0.8rem;
  line-height: 1.6;
}
.stb-policy-links a {
  color: inherit;
  opacity: 0.92;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.stb-policy-links a:hover {
  opacity: 1;
}
