/* ============================================================
   Modern Gradient Theme — Binance Referral Education Site
   Color: #6366f1 → #8b5cf6 gradient, #1f2937 text, white bg
   ============================================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Nunito", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: #1f2937;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: #6366f1;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #8b5cf6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* --- Utility --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 64px 0;
}

.section--gray {
  background: #f9fafb;
}

.section__title {
  font-size: 1.75rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 40px;
  color: #1f2937;
}

.section__more {
  text-align: center;
  margin-top: 40px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  line-height: 1.4;
}

.btn--gradient {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn--gradient:hover {
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.55);
  transform: translateY(-2px);
}

.btn--white {
  background: #ffffff;
  color: #6366f1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn--white:hover {
  color: #8b5cf6;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: #6366f1;
  border: 2px solid #6366f1;
}

.btn--outline:hover {
  background: #6366f1;
  color: #ffffff;
}

.btn--sm {
  padding: 8px 20px;
  font-size: 0.875rem;
  border-radius: 10px;
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1.125rem;
  border-radius: 14px;
}

/* ============================================================
   Header
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.header--scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header__logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__logo:hover {
  color: #6366f1;
}

.header__logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #6b7280;
  transition: color 0.2s ease;
  position: relative;
}

.header__link:hover,
.header__link--active {
  color: #6366f1;
}

.header__link--active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 1px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header__download {
  border-color: #6366f1;
  color: #6366f1;
}

.header__download:hover {
  background: #6366f1;
  color: #fff;
}

.header__cta {
  flex-shrink: 0;
}

/* Burger menu */
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #1f2937;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.header__burger--open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__burger--open span:nth-child(2) {
  opacity: 0;
}

.header__burger--open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  padding: 80px 24px;
  text-align: center;
}

.hero__inner {
  max-width: 720px;
  margin: 0 auto;
}

.hero__title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero__desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
  line-height: 1.7;
}

/* Hero actions */
.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero__note {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Button white outline variant */
.btn--white-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn--white-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: #ffffff;
}

/* Page-level hero (smaller) */
.page-hero {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  padding: 48px 24px;
  text-align: center;
}

.page-hero__title {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.page-hero__desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto;
}

/* Post hero */
.post-hero {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  padding: 48px 24px 64px;
}

.post-hero .container {
  max-width: 1200px;
}

.post-hero__title {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.35;
}

.post-hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

.post-hero__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ============================================================
   Breadcrumb
   ============================================================ */
.breadcrumb {
  margin-bottom: 20px;
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb__item a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb__item a:hover {
  color: #ffffff;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: '/';
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumb__item--current {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

/* ============================================================
   Features
   ============================================================ */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  color: #6366f1;
  margin-bottom: 20px;
}

.feature-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
}

.feature-card__desc {
  font-size: 0.9375rem;
  color: #6b7280;
  line-height: 1.6;
}

/* ============================================================
   Post Cards
   ============================================================ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.post-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.post-card-link:hover {
  color: inherit;
}

.post-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.post-card__body {
  padding: 24px;
}

.post-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.post-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card__excerpt {
  font-size: 0.9375rem;
  color: #6b7280;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.post-card__date {
  font-size: 0.8125rem;
  color: #9ca3af;
  font-weight: 600;
}

/* ============================================================
   Tag Pill
   ============================================================ */
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #6366f1;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  border-radius: 999px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.tag-pill:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.tag-pill--small {
  padding: 2px 10px;
  font-size: 0.6875rem;
}

.tag-pill--large {
  padding: 8px 20px;
  font-size: 0.9375rem;
}

.tag-pill__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  font-size: 0.6875rem;
  font-weight: 800;
  background: rgba(99, 102, 241, 0.15);
  border-radius: 999px;
}

.tag-pill:hover .tag-pill__count {
  background: rgba(255, 255, 255, 0.25);
}

/* Tags cloud */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ============================================================
   Content Card (post body)
   ============================================================ */
.post-content {
  margin-top: -32px;
  position: relative;
  z-index: 1;
  padding-bottom: 48px;
}

.post-card,
.content-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.post-content > .container > .post-card {
  padding: 40px;
  height: auto;
}

.content-card {
  padding: 40px;
}

/* Article typography */
.post-content .post-card h2,
.content-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1f2937;
  margin: 32px 0 16px;
  line-height: 1.4;
}

.post-content .post-card h3,
.content-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin: 24px 0 12px;
  line-height: 1.4;
}

.post-content .post-card p,
.content-card p {
  margin-bottom: 16px;
  color: #374151;
  line-height: 1.8;
}

.post-content .post-card ul,
.post-content .post-card ol,
.content-card ul,
.content-card ol {
  margin: 0 0 16px 24px;
  color: #374151;
}

.post-content .post-card ul {
  list-style: disc;
}

.post-content .post-card ol,
.content-card ol {
  list-style: decimal;
}

.post-content .post-card li,
.content-card li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.post-content .post-card blockquote,
.content-card blockquote {
  margin: 24px 0;
  padding: 16px 24px;
  border-left: 4px solid #6366f1;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
  border-radius: 0 12px 12px 0;
  color: #4b5563;
  font-style: italic;
}

.post-content .post-card code,
.content-card code {
  background: #f3f4f6;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.875rem;
  color: #6366f1;
}

.post-content .post-card pre,
.content-card pre {
  background: #1f2937;
  color: #e5e7eb;
  padding: 20px 24px;
  border-radius: 12px;
  overflow-x: auto;
  margin: 24px 0;
  font-size: 0.875rem;
  line-height: 1.7;
}

.post-content .post-card pre code,
.content-card pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.post-content .post-card img,
.content-card img {
  border-radius: 12px;
  margin: 24px 0;
}

.post-content .post-card a,
.content-card a {
  color: #6366f1;
  text-decoration: underline;
  text-decoration-color: rgba(99, 102, 241, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.post-content .post-card a:hover,
.content-card a:hover {
  text-decoration-color: #6366f1;
}

.post-content .post-card table,
.content-card table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  border-radius: 12px;
  overflow: hidden;
}

.post-content .post-card th,
.content-card th {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 0.875rem;
}

.post-content .post-card td,
.content-card td {
  padding: 12px 16px;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.9375rem;
}

.post-content .post-card tr:hover td,
.content-card tr:hover td {
  background: #f9fafb;
}

/* ============================================================
   CTA Card
   ============================================================ */
.cta-card {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
  margin: 32px 0;
}

.cta-card__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.cta-card__desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-card__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Post top CTA bar */
.post-top-cta {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  padding: 10px 0;
  text-align: center;
  font-size: 0.875rem;
  color: #4b5563;
}

.post-top-cta a {
  color: #6366f1;
  font-weight: 600;
}

/* Download CTA in post */
.download-cta {
  margin: 32px 0;
  padding: 24px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(139, 92, 246, 0.06));
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.12);
  text-align: center;
}

.download-cta__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 6px;
}

.download-cta__desc {
  font-size: 0.9375rem;
  color: #6b7280;
  margin-bottom: 16px;
}

.download-cta__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer CTA buttons */
.footer__cta {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

/* Override outline btn for dark footer background */
.footer__cta .btn--outline {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.5);
}
.footer__cta .btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff;
}

/* ============================================================
   Related Posts
   ============================================================ */
.related-posts {
  background: #f9fafb;
}

/* ============================================================
   Footer
   ============================================================ */
.footer__main {
  background: linear-gradient(180deg, #1f2937, #111827);
  padding: 48px 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 40px;
}

.footer__brand {
  font-size: 1.125rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.footer__logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  border-radius: 6px;
  font-size: 12px;
}

.footer__desc {
  font-size: 0.875rem;
  color: #9ca3af;
  line-height: 1.7;
}

.footer__heading {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  font-size: 0.875rem;
  color: #9ca3af;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: #8b5cf6;
}

.footer__risk {
  font-size: 0.8125rem;
  color: #9ca3af;
  line-height: 1.7;
}

.footer__bottom {
  background: #0f1218;
  padding: 20px 0;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.8125rem;
  color: #6b7280;
  margin-bottom: 4px;
}

.footer__disclaimer {
  font-size: 0.75rem !important;
  color: #4b5563 !important;
}

/* ============================================================
   404 Error Page
   ============================================================ */
.error-page {
  padding: 80px 24px;
  text-align: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-page__card {
  max-width: 480px;
  margin: 0 auto;
}

.error-page__code {
  font-size: 6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.error-page__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 12px;
}

.error-page__desc {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 32px;
}

.error-page__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   Empty state
   ============================================================ */
.empty-state {
  text-align: center;
  color: #9ca3af;
  font-size: 1rem;
  padding: 48px 0;
  grid-column: 1 / -1;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
  .hero {
    padding: 56px 20px;
  }

  .hero__title {
    font-size: 1.75rem;
  }

  .hero__desc {
    font-size: 1rem;
  }

  .page-hero {
    padding: 36px 20px;
  }

  .page-hero__title {
    font-size: 1.5rem;
  }

  .post-hero {
    padding: 36px 20px 48px;
  }

  .post-hero__title {
    font-size: 1.5rem;
  }

  .section {
    padding: 48px 0;
  }

  .section__title {
    font-size: 1.375rem;
  }

  .features__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .posts-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .post-content > .container > .post-card,
  .content-card {
    padding: 24px 20px;
  }

  .cta-card {
    padding: 32px 24px;
  }

  .cta-card__title {
    font-size: 1.25rem;
  }

  /* Header mobile */
  .header__inner {
    height: 56px;
  }

  .header__nav {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  }

  .header__nav--open {
    display: flex;
  }

  .header__link {
    padding: 10px 0;
  }

  .header__link--active::after {
    display: none;
  }

  .header__actions,
  .header__cta {
    display: none;
  }

  .header__burger {
    display: flex;
  }

  .btn--lg {
    padding: 14px 28px;
    font-size: 1rem;
  }

  .error-page__code {
    font-size: 4rem;
  }

  .post-content .post-card table,
  .content-card table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero__title {
    font-size: 1.5rem;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .post-card__body {
    padding: 20px;
  }

  .footer__main {
    padding: 36px 0;
  }
}

/* ============================================================
   Print styles
   ============================================================ */
@media print {
  .header,
  .footer,
  .cta-card,
  .related-posts {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .post-content > .container > .post-card {
    box-shadow: none;
    padding: 0;
  }
}
/* Author badge in hero */
.post-hero__author{margin-top:12px}
.post-hero__author-badge{display:inline-block;padding:4px 14px;border-radius:20px;background:rgba(255,255,255,.15);backdrop-filter:blur(4px);color:rgba(255,255,255,.9);font-size:.8rem;font-weight:500;border:1px solid rgba(255,255,255,.2)}
/* Reading time & updated in hero */
.post-hero__readtime,.post-hero__updated{font-size:.8rem;opacity:.7;margin-left:12px}
/* Outline box (TOC) */
.outline-box{border:1px solid #e5e7eb;border-radius:10px;margin:0 0 24px;overflow:hidden;background:#fafbfc}
.outline-box__header{display:flex;align-items:center;gap:8px;padding:12px 16px;cursor:pointer;user-select:none}
.outline-box__icon{font-size:.8rem;transition:transform .2s}
.is-open .outline-box__icon{transform:rotate(90deg)}
.outline-box__title{font-weight:600;font-size:.9rem;color:#1f2937}
.outline-box__count{margin-left:auto;font-size:.75rem;color:#9ca3af;background:#f3f4f6;padding:2px 8px;border-radius:10px}
.outline-box__list{display:none;list-style:none;padding:0 16px 14px;margin:0}
.is-open .outline-box__list{display:block}
.outline-box__list li{padding:5px 0;border-bottom:1px solid #f3f4f6}
.outline-box__list li:last-child{border-bottom:none}
.outline-box__list a{color:#6366f1;text-decoration:none;font-size:.9rem}
.outline-box__list a:hover{text-decoration:underline}
/* Language Switcher */
.lang-tabs{display:flex;margin-right:6px;border:1px solid var(--border,rgba(128,128,128,.2));border-radius:6px;overflow:hidden}
.lang-tab{font-size:.72rem;padding:3px 8px;color:var(--text-muted,#999);text-decoration:none;transition:all .2s;border-right:1px solid var(--border,rgba(128,128,128,.1))}
.lang-tab:last-child{border-right:none}
.lang-tab:hover{background:rgba(128,128,128,.12);color:var(--text,#fff)}
.lang-tab.lang-tab--sel{background:var(--primary,#f0b90b);color:#000;font-weight:700}
