@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&family=Cabin:wght@400;500;600;700&display=swap');

/* ============================================================
   CSS 变量 & 重置
   ============================================================ */
:root {
  --blue: #3bb1ff;
  --red: #ff5252;
  --black: #000000;
  --white: #ffffff;
  --offwhite: #f5f5f0;
  --shadow-sm: 3px 3px 0 var(--black);
  --shadow-md: 5px 5px 0 var(--black);
  --shadow-lg: 8px 8px 0 var(--black);
  --border: 3px solid var(--black);
  --radius: 0px;
  --radius-pill: 999px;
  --font-head: 'Amatic SC', cursive;
  --font-body: 'Cabin', 'Helvetica Neue', Arial, sans-serif;
  --max-w: 1200px;
  --content-max: 780px;
  --transition: 0.15s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--black);
  background: var(--offwhite);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* ============================================================
   导航 aside > nav > ul > li > a
   ============================================================ */
.site-nav-aside {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 3px solid var(--black);
}

.topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
  gap: 8px;
  min-height: 60px;
}

.topnav ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  white-space: nowrap;
}

.brand-logo {
  border: 2px solid var(--white);
  border-radius: 4px;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  min-height: 40px;
  background: var(--offwhite);
  color: var(--black);
  border: 2px solid var(--white);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

.pill-btn:hover,
.pill-btn:focus {
  background: var(--blue);
  color: var(--black);
  box-shadow: var(--shadow-sm);
  outline: none;
}

.pill-btn.active {
  background: var(--blue);
  color: var(--black);
  border-color: var(--black);
}

.cta-pill {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.cta-pill:hover,
.cta-pill:focus {
  background: var(--blue);
  color: var(--black);
}

/* ============================================================
   英雄区 — 首页双图错位拼贴
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 70vh;
  background: var(--black);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-collage {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.collage-frame {
  position: absolute;
  border: var(--border);
  overflow: hidden;
}

.frame-1 {
  width: 42%;
  height: 75%;
  top: 5%;
  left: 3%;
  transform: rotate(-3deg);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.frame-2 {
  width: 40%;
  height: 65%;
  bottom: 3%;
  right: 4%;
  transform: rotate(2.5deg);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.frame-placeholder {
  background: var(--blue);
  opacity: 0.25;
}

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

.hero-slash {
  position: absolute;
  top: -10%;
  left: 35%;
  width: 30%;
  height: 120%;
  background: var(--red);
  opacity: 0.18;
  transform: rotate(45deg);
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 40px 20px;
  max-width: 620px;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 14px;
  border: 2px solid var(--black);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(42px, 8vw, 80px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  text-shadow: 4px 4px 0 var(--black);
  margin-bottom: 16px;
}

.hero-lead {
  color: var(--offwhite);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   通用页面 Banner
   ============================================================ */
.page-banner,
.review-header-block,
.page-hero {
  background: var(--black);
  color: var(--white);
  padding: 60px 20px 40px;
  border-bottom: var(--border);
  position: relative;
  overflow: hidden;
}

.page-banner::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 180px;
  height: 180px;
  background: var(--blue);
  opacity: 0.15;
  transform: rotate(45deg);
}

.page-banner-inner,
.page-hero-text {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-eyebrow {
  display: inline-block;
  background: var(--blue);
  color: var(--black);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 3px 12px;
  border: 2px solid var(--black);
  margin-bottom: 12px;
}

.page-banner h1,
.page-hero h1,
.review-header-block h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 12px;
  text-shadow: 3px 3px 0 var(--red);
}

.page-hero-desc {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
  max-width: 620px;
}

.page-meta {
  margin-top: 12px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.pub-date,
.mod-date {
  font-size: 13px;
  opacity: 0.75;
  border-left: 3px solid var(--blue);
  padding-left: 8px;
}

/* ranking / compare / review banner variants */
.ranking-hero,
.compare-hero {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.page-hero-img-wrap {
  flex-shrink: 0;
  width: 220px;
  border: var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.review-header-block {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 50px 20px 36px;
}

.review-header-inner {
  flex: 1;
  min-width: 260px;
}

.review-hero-imgs {
  position: relative;
  width: 280px;
  height: 200px;
  flex-shrink: 0;
}

.review-hero-imgs .frame-1 {
  width: 75%;
  height: 80%;
  top: 0;
  left: 0;
}

.review-hero-imgs .frame-2 {
  width: 60%;
  height: 65%;
  bottom: 0;
  right: 0;
}

/* FAQ banner deco */
.faq-banner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.faq-deco {
  flex-shrink: 0;
  margin-left: auto;
}

.faq-deco-q {
  font-family: var(--font-head);
  font-size: 100px;
  font-weight: 700;
  color: var(--blue);
  opacity: 0.25;
  line-height: 1;
}

/* About banner */
.about-banner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.about-logo-wrap {
  flex-shrink: 0;
}

/* ============================================================
   主内容布局
   ============================================================ */
.main-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.layout-with-aside {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}

.content-col {
  min-width: 0;
}

/* ============================================================
   div > figure/aside 契约
   ============================================================ */
.content-section {
  position: relative;
}

.nb-figure {
  float: right;
  margin: 0 0 20px 24px;
  clear: right;
}

.nb-rank-badge,
.review-score-badge,
.compare-badge,
.faq-tag-badge,
.about-brand-badge,
.privacy-badge,
.data-badge,
.default-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  min-height: 70px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  border: var(--border);
  box-shadow: var(--shadow-md);
  padding: 8px;
  transform: rotate(-4deg);
}

.compare-badge {
  background: var(--blue);
  color: var(--black);
  transform: rotate(3deg);
}

.faq-tag-badge {
  background: var(--black);
  color: var(--blue);
}

.about-brand-badge {
  background: var(--blue);
  color: var(--black);
  font-size: 14px;
  min-width: auto;
  padding: 8px 14px;
  transform: rotate(-2deg);
}

.privacy-badge,
.data-badge,
.default-badge {
  background: var(--offwhite);
  color: var(--black);
  border-color: var(--black);
}

/* inline aside — inside div, direct child */
.inline-aside {
  margin-top: 40px;
  padding: 20px 24px;
  background: var(--white);
  border: var(--border);
  box-shadow: var(--shadow-md);
}

.inline-aside h2 {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
}

/* ============================================================
   prose 正文
   ============================================================ */
.prose-content {
  max-width: var(--content-max);
}

.prose-content h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin: 36px 0 8px;
  position: relative;
}

.prose-content h2::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--red);
  border: 2px solid var(--black);
  margin-right: 10px;
  transform: rotate(45deg);
  vertical-align: middle;
}

.prose-content h3 {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  margin: 28px 0 8px;
}

.prose-content p {
  margin-bottom: 16px;
  font-size: 17px;
  line-height: 1.7;
}

.prose-content ul,
.prose-content ol {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.prose-content li {
  margin-bottom: 6px;
  font-size: 17px;
  line-height: 1.65;
}

.prose-content a {
  color: var(--black);
  border-bottom: 2px solid var(--blue);
  transition: border-color var(--transition), background var(--transition);
  padding-bottom: 1px;
}

.prose-content a:hover {
  background: var(--blue);
}

.prose-content blockquote {
  border-left: 5px solid var(--red);
  padding: 12px 20px;
  margin: 24px 0;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-style: italic;
}

.prose-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 15px;
}

.prose-content th,
.prose-content td {
  border: 2px solid var(--black);
  padding: 10px 14px;
  text-align: left;
}

.prose-content th {
  background: var(--black);
  color: var(--white);
  font-weight: 700;
}

.prose-content tr:nth-child(even) td {
  background: var(--offwhite);
}

.prose-content time {
  display: inline-block;
  font-size: 13px;
  background: var(--blue);
  color: var(--black);
  padding: 2px 8px;
  border: 2px solid var(--black);
  margin-bottom: 12px;
  font-weight: 600;
}

/* ============================================================
   h2 + p.subtitle 装饰
   ============================================================ */
h2 + .subtitle,
h2 + p.subtitle,
h2 + p.subhead,
h2 + p.desc,
h2 + p.lead {
  font-size: 15px;
  color: #555;
  margin-top: -4px;
  margin-bottom: 20px;
  font-style: italic;
}

/* ============================================================
   按钮
   ============================================================ */
.nb-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  min-height: 48px;
  background: var(--red);
  color: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
}

.nb-btn-primary:hover,
.nb-btn-primary:focus {
  box-shadow: var(--shadow-lg);
  transform: translate(-2px, -2px);
  outline: none;
}

.nb-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  min-height: 48px;
  background: transparent;
  color: var(--white);
  border: 3px solid var(--white);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
}

.nb-btn-outline:hover,
.nb-btn-outline:focus {
  background: var(--white);
  color: var(--black);
  outline: none;
}

.btn-sm {
  padding: 8px 18px;
  min-height: 40px;
  font-size: 14px;
}

/* ============================================================
   카드 그리드 (glass-card 계열)
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.nb-card {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.nb-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translate(-3px, -3px);
}

.card-img-wrap {
  overflow: hidden;
  height: 180px;
  border-bottom: var(--border);
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.nb-card:hover .card-img {
  transform: scale(1.04);
}

.card-body {
  padding: 16px 18px 20px;
}

.card-type-tag {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 2px 8px;
  margin-bottom: 8px;
}

.card-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
}

.card-title a:hover {
  color: var(--red);
}

.card-desc {
  font-size: 14px;
  line-height: 1.55;
  color: #444;
  margin-bottom: 10px;
}

.card-date {
  font-size: 12px;
  color: #777;
  border-left: 3px solid var(--blue);
  padding-left: 6px;
}

/* ============================================================
   DL 子页列表 (dl > dt > a + dd)
   ============================================================ */
.page-dl {
  margin-top: 16px;
}

.page-dl dt {
  margin-top: 16px;
}

.page-dl dt a {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--black);
  border-bottom: 3px solid var(--red);
  padding-bottom: 2px;
  transition: color var(--transition);
}

.page-dl dt a:hover {
  color: var(--red);
}

.page-dl dd {
  font-size: 15px;
  color: #555;
  padding-left: 14px;
  border-left: 4px solid var(--blue);
  margin-top: 6px;
  margin-bottom: 4px;
}

/* ============================================================
   Related list / link cards
   ============================================================ */
.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.nb-link-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  background: var(--white);
  border: var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.nb-link-card:hover {
  box-shadow: var(--shadow-md);
  transform: translate(-2px, -2px);
}

.link-card-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
}

.link-card-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

/* ============================================================
   Pills nav div
   ============================================================ */
.nav-pills-section {
  margin-top: 48px;
}

.nav-pills-section h2 {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 4px;
}

.pills-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.pills-nav .pill-btn {
  background: var(--white);
  color: var(--black);
  border-color: var(--black);
}

/* ============================================================
   Featured div
   ============================================================ */
.featured-section {
  margin-top: 56px;
}

.featured-section h2 {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 4px;
}

/* ============================================================
   Sidebar aside
   ============================================================ */
.sidebar-aside {
  position: sticky;
  top: 80px;
  background: var(--white);
  border: var(--border);
  box-shadow: var(--shadow-md);
  padding: 24px 20px;
}

.sidebar-aside h2 {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 4px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--black);
}

.aside-links {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aside-links li a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  background: var(--offwhite);
  border: 2px solid var(--black);
  box-shadow: 2px 2px 0 var(--black);
  transition: background var(--transition), box-shadow var(--transition);
  line-height: 1.4;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.aside-links li a:hover {
  background: var(--blue);
  box-shadow: 3px 3px 0 var(--black);
}

.aside-cta {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 2px solid var(--black);
}

.aside-cta p {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* div deco */
.section-deco {
  margin-bottom: 24px;
}

.deco-block {
  width: 60px;
  height: 8px;
  border: 2px solid var(--black);
}

.deco-blue {
  background: var(--blue);
}

/* ============================================================
   FAQ prose
   ============================================================ */
.faq-prose h2,
.faq-prose h3 {
  margin-top: 32px;
}

.faq-prose h3 {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  padding: 10px 14px;
  background: var(--offwhite);
  border-left: 5px solid var(--blue);
  margin-bottom: 10px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--black);
  color: var(--white);
  border-top: var(--border);
}

.footer-cta-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 32px 20px;
  background: var(--red);
  border-bottom: var(--border);
}

.footer-cta-text {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
}

.footer-cta-block .nb-btn-primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--white);
}

.footer-cta-block .nb-btn-primary:hover {
  background: var(--blue);
  color: var(--black);
  border-color: var(--black);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 20px;
}

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

.footer-brand-name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.footer-nav ul li a {
  font-size: 13px;
  color: var(--offwhite);
  padding: 6px 10px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.2);
  transition: background var(--transition), color var(--transition);
}

.footer-nav ul li a:hover {
  background: var(--blue);
  color: var(--black);
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  width: 100%;
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 8px;
}

/* ============================================================
   Scroll Reveal 动效
   ============================================================ */
.nb-card,
.nb-link-card,
.inline-aside,
.related-section,
.featured-section,
.children-section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.nb-card.revealed,
.nb-link-card.revealed,
.inline-aside.revealed,
.related-section.revealed,
.featured-section.revealed,
.children-section.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .nb-card,
  .nb-link-card,
  .inline-aside,
  .related-section,
  .featured-section,
  .children-section {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }

  .nb-card:hover,
  .nb-link-card:hover,
  .nb-btn-primary:hover {
    transform: none;
  }
}

/* ============================================================
   Parallax hero (JS-driven, CSS fallback)
   ============================================================ */
.hero-collage {
  will-change: transform;
}

/* ============================================================
   移动端
   ============================================================ */
@media (max-width: 900px) {
  .layout-with-aside {
    grid-template-columns: 1fr;
  }

  .sidebar-aside {
    position: static;
  }
}

@media (max-width: 720px) {
  .topnav {
    flex-wrap: wrap;
    padding: 8px 12px;
    gap: 6px;
    min-height: auto;
  }

  .nav-left,
  .nav-right {
    display: none;
  }

  .nav-brand {
    margin: 0 auto;
  }

  .hero-section {
    min-height: 70vh;
  }

  .frame-1,
  .frame-2 {
    opacity: 0.4;
  }

  .hero-text {
    padding: 32px 16px;
  }

  .ranking-hero,
  .compare-hero {
    flex-direction: column;
  }

  .page-hero-img-wrap {
    width: 100%;
    max-width: 360px;
  }

  .review-header-block {
    flex-direction: column;
  }

  .review-hero-imgs {
    width: 100%;
    height: 160px;
  }

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

  .related-list {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-cta-block {
    flex-direction: column;
    text-align: center;
  }

  .faq-deco {
    display: none;
  }

  .nb-figure {
    float: none;
    margin: 0 0 16px 0;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .main-wrap {
    padding: 28px 14px 48px;
  }

  .pill-btn {
    font-size: 12px;
    padding: 6px 10px;
  }

  .nb-btn-primary,
  .nb-btn-outline {
    padding: 12px 20px;
    font-size: 15px;
  }

  .prose-content table {
    font-size: 13px;
  }

  .prose-content th,
  .prose-content td {
    padding: 8px 10px;
  }
}

/* ============================================================
   Mobile nav drawer toggle (hamburger visible on small)
   ============================================================ */
@media (max-width: 720px) {
  .topnav {
    position: relative;
  }

  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--blue);
    border: 2px solid var(--white);
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
  }

  .mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 3px;
    background: var(--black);
  }

  .mobile-nav-drawer {
    display: none;
    flex-direction: column;
    background: var(--black);
    border-top: 2px solid var(--white);
    padding: 12px;
    gap: 8px;
    width: 100%;
  }

  .mobile-nav-drawer.open {
    display: flex;
  }

  .mobile-nav-drawer a {
    display: block;
    padding: 10px 14px;
    min-height: 44px;
    color: var(--white);
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.2);
    font-size: 15px;
  }

  .mobile-nav-drawer a:hover {
    background: var(--blue);
    color: var(--black);
  }
}

@media (min-width: 721px) {
  .mobile-menu-toggle,
  .mobile-nav-drawer {
    display: none !important;
  }
}
