/* 
 * Ikhsan Hamid — Clean Editorial Design System
 * Light, crisp, authentic tech journalism aesthetic.
 * Zero AI slop, zero dark mode, zero excessive gradients.
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,600;0,6..72,700;1,6..72,400&display=swap');

:root {
  --bg-body: #ffffff;
  --bg-surface: #f8fafc;
  --bg-surface-raised: #f1f5f9;
  --bg-card: #ffffff;
  
  --text-main: #0f172a;
  --text-sub: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --border-light: #f1f5f9;
  --border-default: #e2e8f0;
  --border-dark: #cbd5e1;
  
  --brand-blue: #1d4ed8;
  --brand-blue-hover: #1e40af;
  --brand-blue-light: #eff6ff;
  
  --cat-tech: #2563eb;
  --cat-tech-bg: #eff6ff;
  --cat-gaming: #be123c;
  --cat-gaming-bg: #fff1f2;
  --cat-gear: #047857;
  --cat-gear-bg: #ecfdf5;
  --cat-opinion: #b45309;
  --cat-opinion-bg: #fffbeb;
  
  --ig-color: #c13584;
  --tiktok-color: #000000;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Newsreader', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --container-max: 1200px;
  --container-article: 760px;
}

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

html {
  overflow-x: clip;
}

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container-article {
  max-width: var(--container-article);
  margin-left: auto;
  margin-right: auto;
}

/* Top Utility Bar */
.top-bar {
  background: #f8fafc;
  border-bottom: 1px solid var(--border-default);
  font-size: 13px;
  color: var(--text-muted);
  padding: 8px 0;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-bar-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #059669;
}

.live-dot {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
}

.top-bar-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-social-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  color: var(--text-sub);
}
.top-social-link:hover {
  color: var(--brand-blue);
}

.top-social-badge-ig {
  color: var(--ig-color);
}
.top-social-badge-tiktok {
  color: var(--text-main);
}

/* Main Header */
.main-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-default);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-avatar-mini {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border-default);
  background: #f1f5f9;
  object-fit: cover;
  flex-shrink: 0;
}

.brand-title-group {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  line-height: 1.15;
  display: flex;
  align-items: center;
  gap: 6px;
}

.verified-icon {
  color: var(--brand-blue);
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
}

.brand-tagline {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Nav Links */
.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-sub);
  position: relative;
  padding: 4px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-blue);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--brand-blue);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-search-trigger {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  color: var(--text-muted);
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.btn-search-trigger:hover {
  background: #ffffff;
  border-color: var(--border-dark);
  color: var(--text-main);
}

/* Category Sub-Navigation */
.category-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--border-default);
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.category-strip-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  background: var(--bg-surface);
  color: var(--text-sub);
  border: 1px solid var(--border-default);
}
.category-chip:hover {
  background: #ffffff;
  border-color: var(--border-dark);
  color: var(--text-main);
}
.category-chip.active {
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  border-color: #bfdbfe;
}

/* Personal Branding Hero Banner */
.creator-hero {
  background: #ffffff;
  border-bottom: 1px solid var(--border-default);
  padding: 36px 0;
}

.creator-hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: center;
}

.creator-statement-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-blue);
  background: var(--brand-blue-light);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.creator-hero-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 12px;
}

.creator-hero-desc {
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.6;
  max-width: 650px;
  margin-bottom: 20px;
}

.creator-social-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.creator-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid var(--border-default);
  background: #ffffff;
  color: var(--text-main);
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.creator-social-btn:hover {
  background: var(--bg-surface);
  border-color: var(--border-dark);
  transform: translateY(-1px);
}
.creator-social-btn.btn-ig {
  color: #9d174d;
  background: #fdf2f8;
  border-color: #fbcfe8;
}
.creator-social-btn.btn-tiktok {
  color: #0f172a;
  background: #f8fafc;
  border-color: #e2e8f0;
}

/* Author Quick Card (in Hero) */
.author-spotlight-card {
  background: #ffffff;
  border: 1px solid var(--border-default);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.author-spotlight-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.author-spotlight-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid #e2e8f0;
  flex-shrink: 0;
}

.author-spotlight-meta h4 {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.author-spotlight-meta p {
  font-size: 12.5px;
  color: var(--text-muted);
}

.author-spotlight-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.stat-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 8px 10px;
  text-align: center;
}

.stat-number {
  font-size: 17px;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1.1;
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Ad Units (AdSense Standard) */
.ad-slot-container {
  margin: 28px 0;
  text-align: center;
}

.ad-unit {
  background: #fbfcfd;
  border: 1px dashed var(--border-dark);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  position: relative;
}

.ad-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}

.ad-placeholder-text {
  font-size: 12px;
  color: var(--text-muted);
}

.ad-leaderboard {
  max-width: 970px;
  margin-left: auto;
  margin-right: auto;
}

.ad-sidebar {
  width: 100%;
  min-height: 250px;
}

.ad-in-article {
  max-width: 728px;
  margin: 32px auto;
  min-height: 120px;
}

/* Editorial Story Grid */
.editorial-section {
  padding: 40px 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--text-main);
}

.section-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--brand-blue);
  border-radius: 2px;
}

.section-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.section-link:hover {
  text-decoration: underline;
}

/* Lead Feature Card */
.lead-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  margin-bottom: 40px;
}

.lead-article-card {
  background: #ffffff;
  border: 1px solid var(--border-default);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.lead-article-card:hover {
  border-color: var(--border-dark);
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.lead-img-wrapper {
  position: relative;
  width: 100%;
  height: 320px;
  background: #f1f5f9;
  overflow: hidden;
}

.lead-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.lead-article-card:hover .lead-img {
  transform: scale(1.02);
}

.lead-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.category-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 10px;
}

.category-tag.tag-tech {
  background: var(--cat-tech-bg);
  color: var(--cat-tech);
}
.category-tag.tag-gaming {
  background: var(--cat-gaming-bg);
  color: var(--cat-gaming);
}
.category-tag.tag-gear {
  background: var(--cat-gear-bg);
  color: var(--cat-gear);
}
.category-tag.tag-opinion {
  background: var(--cat-opinion-bg);
  color: var(--cat-opinion);
}

.lead-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 12px;
}
.lead-title a:hover {
  color: var(--brand-blue);
}

.lead-excerpt {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: auto;
}

.byline-dot {
  width: 3px;
  height: 3px;
  background: var(--border-dark);
  border-radius: 50%;
}

/* Secondary Column Cards */
.sub-lead-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sub-lead-card {
  background: #ffffff;
  border: 1px solid var(--border-default);
  border-radius: 10px;
  padding: 16px;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  align-items: center;
  transition: border-color 0.15s ease;
}
.sub-lead-card:hover {
  border-color: var(--border-dark);
}

.sub-lead-thumb {
  width: 100px;
  height: 85px;
  border-radius: 6px;
  object-fit: cover;
  background: #f1f5f9;
}

.sub-lead-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 6px;
}
.sub-lead-title a:hover {
  color: var(--brand-blue);
}

/* Magazine Grid (3 Columns) */
.article-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card-standard {
  background: #ffffff;
  border: 1px solid var(--border-default);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.article-card-standard:hover {
  border-color: var(--border-dark);
  box-shadow: 0 4px 8px rgba(0,0,0,0.03);
}

.standard-thumb {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: #f1f5f9;
}

.standard-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.standard-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 8px;
}
.standard-title a:hover {
  color: var(--brand-blue);
}

.standard-excerpt {
  font-size: 13.5px;
  color: var(--text-sub);
  line-height: 1.55;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Two Column Layout (Main Feed + Sidebar) */
.layout-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
}

/* Sidebar Widgets */
.sidebar-widget {
  background: #ffffff;
  border: 1px solid var(--border-default);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 24px;
}

.sidebar-title {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--text-main);
}

/* Trending List Item */
.trending-item {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}
.trending-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.trending-rank {
  font-size: 22px;
  font-weight: 800;
  color: var(--border-dark);
  line-height: 1;
  font-family: var(--font-mono);
  width: 24px;
}

.trending-meta h5 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 4px;
}
.trending-meta h5 a:hover {
  color: var(--brand-blue);
}

.trending-meta time {
  font-size: 12px;
  color: var(--text-muted);
}

/* Affiliate Product Box / Callout */
.affiliate-box {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 24px;
  margin: 32px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.affiliate-badge-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-default);
}

.affiliate-tag-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: #047857;
  background: #ecfdf5;
  padding: 4px 10px;
  border-radius: 4px;
}

.affiliate-disclosure-badge {
  font-size: 11px;
  color: var(--text-muted);
  font-style: italic;
}

.affiliate-inner-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: start;
}

.affiliate-product-img {
  width: 140px;
  height: 140px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border-default);
  background: #f8fafc;
}

.affiliate-product-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 6px;
}

.affiliate-price-tag {
  font-size: 16px;
  font-weight: 800;
  color: #047857;
  font-family: var(--font-mono);
  margin-bottom: 10px;
}

.affiliate-description {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.55;
  margin-bottom: 14px;
}

.affiliate-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
  background: var(--bg-surface);
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
}

.pros-list, .cons-list {
  list-style: none;
}
.pros-list li::before {
  content: '✓ ';
  color: #059669;
  font-weight: bold;
}
.cons-list li::before {
  content: '✕ ';
  color: #dc2626;
  font-weight: bold;
}

.affiliate-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-affiliate-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #047857;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.btn-affiliate-cta:hover {
  background: #065f46;
  color: #ffffff;
}

.affiliate-disclaimer-fineprint {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
}

/* Article Detail Page Specifics */
.article-header {
  margin-bottom: 28px;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumb-separator {
  color: var(--border-dark);
}

.article-headline {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 16px;
}

.article-deck {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-sub);
  margin-bottom: 24px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
  gap: 16px;
  flex-wrap: wrap;
}

.author-byline-expanded {
  display: flex;
  align-items: center;
  gap: 12px;
}

.byline-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-default);
}

.byline-author-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 5px;
}

.byline-author-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  flex-wrap: wrap;
}

.byline-social-link {
  color: var(--text-muted);
  font-weight: 600;
}
.byline-social-link:hover {
  color: var(--brand-blue);
}

.share-buttons-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-sub);
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}
.btn-share:hover {
  background: #ffffff;
  border-color: var(--border-dark);
}

/* Article Hero Image */
.article-featured-media {
  margin: 28px 0;
}

.article-featured-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 10px;
}

.article-caption {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 8px;
  text-align: center;
}

/* Article Content Typography (Prose) */
.article-prose {
  font-size: 18px;
  line-height: 1.75;
  color: #1e293b;
}

.article-prose p {
  margin-bottom: 22px;
}

.article-prose p.lead {
  font-size: 21px;
  line-height: 1.6;
  font-weight: 500;
  color: #0f172a;
}

.article-prose h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--text-main);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-light);
}

.article-prose h3 {
  font-size: 21px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--text-main);
}

.article-prose blockquote {
  border-left: 3px solid var(--brand-blue);
  background: #f8fafc;
  padding: 16px 20px;
  margin: 26px 0;
  font-style: italic;
  color: #334155;
  border-radius: 0 8px 8px 0;
}

.article-prose ul, .article-prose ol {
  margin-bottom: 22px;
  padding-left: 24px;
}

.article-prose li {
  margin-bottom: 8px;
}

.article-prose pre {
  background: #0f172a;
  color: #f8fafc;
  padding: 18px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 14.5px;
  overflow-x: auto;
  margin: 24px 0;
}

.article-prose code {
  font-family: var(--font-mono);
  background: #f1f5f9;
  color: #0f172a;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

.article-prose pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

/* Author Box At Article End */
.article-author-bio-box {
  background: #ffffff;
  border: 1px solid var(--border-default);
  border-radius: 12px;
  padding: 24px;
  margin: 40px 0;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  align-items: start;
}

.author-bio-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--border-default);
}

.author-bio-content h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.author-bio-role {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 8px;
}

.author-bio-text {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 12px;
}

.author-bio-socials {
  display: flex;
  gap: 10px;
}

/* Comment Thread Component */
.comments-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid var(--border-default);
}

.comment-card {
  background: #ffffff;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.comment-card.reply {
  margin-left: 32px;
  background: var(--bg-surface);
}

.comment-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.comment-author-name {
  font-weight: 700;
  font-size: 14px;
}

.comment-date {
  font-size: 12px;
  color: var(--text-muted);
}

.comment-body {
  font-size: 14.5px;
  color: var(--text-sub);
  line-height: 1.55;
}

/* Forms */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-default);
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-main);
  background: #ffffff;
  transition: border-color 0.15s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand-blue);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.btn-primary:hover {
  background: var(--brand-blue-hover);
  color: #ffffff;
}

/* Footer */
.main-footer {
  background: #f8fafc;
  border-top: 1px solid var(--border-default);
  padding: 48px 0 24px 0;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-brand-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 12px;
  max-width: 380px;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-sub);
}
.footer-links a:hover {
  color: var(--brand-blue);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* Pagination (Clean Editorial Style & Universal Reset) */
.pagination-wrapper {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin: 32px 0 16px 0;
  width: 100%;
}

.editorial-pagination,
nav[role="navigation"].editorial-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
  padding-top: 16px;
  border-top: 1px solid var(--border-default);
}

.editorial-pagination-single {
  padding-top: 14px;
  border-top: 1px solid var(--border-default);
  text-align: right;
  width: 100%;
}

.pagination-meta-info {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.pagination-meta-info strong {
  color: var(--text-main);
  font-weight: 700;
}

/* Bullet reset for all paginations */
.pagination-items,
ul.pagination-items,
ul.pagination,
.pagination,
nav[role="navigation"] ul {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  flex-wrap: wrap !important;
}

.pagination-items li,
ul.pagination-items li,
ul.pagination li,
.page-item {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
  background: #ffffff;
  border: 1px solid var(--border-default);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.15s ease;
  user-select: none;
}

.page-link:hover:not(.ellipsis) {
  color: var(--brand-blue);
  background: #f8fafc;
  border-color: #cbd5e1;
  text-decoration: none;
}

.page-item.active .page-link,
.page-link.active {
  background: var(--brand-blue);
  color: #ffffff !important;
  border-color: var(--brand-blue);
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.25);
}

.page-item.disabled .page-link,
.page-link:disabled {
  color: #cbd5e1 !important;
  background: #f8fafc;
  border-color: #e2e8f0;
  cursor: not-allowed;
  pointer-events: none;
}

.page-link.ellipsis {
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: default;
  min-width: 24px;
  padding: 0 4px;
}

/* Bootstrap default utility bridge for any fallback views */
.d-none { display: none !important; }
.d-sm-none { display: none !important; }
.d-sm-flex { display: flex !important; }
.flex-sm-fill { flex: 1 1 auto !important; }
.justify-content-sm-between { justify-content: space-between !important; }
.align-items-sm-center { align-items: center !important; }

/* ==========================================================================
   Mobile Navigation & Responsive Component Architecture
   ========================================================================== */

/* Mobile Nav Toggle Button */
.mobile-nav-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.mobile-nav-toggle:hover, .mobile-nav-toggle:focus {
  background: var(--bg-surface);
  border-color: var(--border-dark);
}

.hamburger-box {
  width: 18px;
  height: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hamburger-box span,
.hamburger-inner {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.mobile-nav-toggle.open .hamburger-box span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.mobile-nav-toggle.open .hamburger-box span:nth-child(2) {
  opacity: 0;
}
.mobile-nav-toggle.open .hamburger-box span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 86vw;
  height: 100vh;
  background: #ffffff;
  z-index: 999;
  box-shadow: -6px 0 24px rgba(15, 23, 42, 0.15);
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-default);
}
.mobile-drawer-close {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  width: 38px;
  height: 38px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.mobile-drawer-close:hover {
  background: #f1f5f9;
  color: var(--text-main);
}

.mobile-drawer-search {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-default);
  background: #f8fafc;
}

.mobile-drawer-nav {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-group-title {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 12px;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-sub);
  transition: all 0.15s ease;
}
.mobile-drawer-link:hover {
  background: var(--bg-surface);
  color: var(--brand-blue);
}
.mobile-drawer-link.active {
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  font-weight: 700;
}

.mobile-drawer-footer {
  margin-top: auto;
  padding: 16px 16px 28px 16px;
  border-top: 1px solid var(--border-default);
  background: #f8fafc;
}

/* Feed Article Card Component */
.feed-article-card {
  background: #ffffff;
  border: 1px solid var(--border-default);
  border-radius: 10px;
  padding: 20px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  align-items: center;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.feed-article-card:hover {
  border-color: var(--border-dark);
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.feed-article-thumb {
  width: 180px;
  height: 120px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  background: #f1f5f9;
}

/* Category Article Grid */
.category-article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Editorial Banner Header */
.editorial-banner-header {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 36px;
}

/* About Gear Row */
.about-gear-row {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px;
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 18px;
  align-items: center;
}
.about-gear-thumb {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
}
.about-gear-btn {
  font-size: 12.5px;
  padding: 8px 14px;
  background: #047857;
  white-space: nowrap;
}

/* Contact Layout Grid */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 36px;
}
.contact-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px;
}

/* Gear Showcase Grid */
.gear-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* ==========================================================================
   Comprehensive Media Queries & Breakpoint Management
   ========================================================================== */

@media (max-width: 992px) {
  .header-nav {
    display: none !important;
  }
  .header-actions .btn-search-trigger,
  .header-actions form,
  .header-actions .btn-primary {
    display: none !important;
  }
  .mobile-nav-toggle {
    display: inline-flex !important;
  }
  .creator-hero-grid,
  .lead-grid,
  .layout-with-sidebar {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-layout-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .article-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .top-bar-inner {
    justify-content: center;
    text-align: center;
  }
  .top-bar-socials {
    display: none !important;
  }
  .hide-on-mobile {
    display: none !important;
  }
  .category-article-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-bottom > div:last-child {
    text-align: left !important;
  }
  .editorial-banner-header {
    padding: 24px 20px;
    margin-bottom: 24px;
  }
  .editorial-banner-header h1 {
    font-size: 26px !important;
  }
}

@media (max-width: 640px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .header-inner {
    padding: 12px 0;
  }
  .brand-avatar-mini {
    width: 36px;
    height: 36px;
  }
  .brand-name {
    font-size: 16px;
  }
  .brand-tagline {
    font-size: 10px;
  }
  .section-header {
    margin-bottom: 18px;
    padding-bottom: 10px;
  }
  .section-title {
    font-size: 17px;
  }
  .lead-grid {
    gap: 20px;
    margin-bottom: 28px;
  }
  .lead-img-wrapper {
    height: 210px;
  }
  .lead-content {
    padding: 16px;
  }
  .lead-title {
    font-size: 20px;
    line-height: 1.35;
  }
  .lead-excerpt {
    font-size: 14px;
    margin-bottom: 14px;
  }
  .sub-lead-column {
    gap: 14px;
  }
  .sub-lead-card {
    grid-template-columns: 88px 1fr;
    gap: 12px;
    padding: 12px;
  }
  .sub-lead-thumb {
    width: 88px;
    height: 76px;
  }
  .sub-lead-title {
    font-size: 13.5px;
    line-height: 1.35;
  }
  .feed-article-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }
  .feed-article-thumb {
    width: 100%;
    height: 180px;
  }
  .article-grid-3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .gear-showcase-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .affiliate-box {
    padding: 18px;
    margin: 24px 0;
  }
  .affiliate-inner-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .affiliate-product-img {
    width: 100%;
    height: 190px;
  }
  .affiliate-pros-cons {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
  }
  .btn-affiliate-cta {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .about-gear-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }
  .about-gear-thumb {
    width: 100%;
    height: 160px;
  }
  .about-gear-btn {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .article-headline {
    font-size: 24px;
    line-height: 1.3;
  }
  .article-deck {
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 18px;
  }
  .article-meta-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .share-buttons-group {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .article-prose {
    font-size: 16.5px;
    line-height: 1.7;
  }
  .article-author-bio-box {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
    text-align: center;
  }
  .author-bio-avatar {
    margin: 0 auto;
  }
  .author-bio-socials {
    flex-direction: column;
    gap: 8px;
  }
  .author-bio-socials .creator-social-btn {
    width: 100%;
    justify-content: center;
  }
  .form-grid-2col {
    grid-template-columns: 1fr;
  }
  .replies-branch {
    margin-left: 6px;
    padding-left: 10px;
  }
  .comment-card {
    padding: 14px;
  }
  .comment-form-card {
    padding: 18px;
  }
}

@media (max-width: 440px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .brand-title-group .brand-tagline {
    display: none;
  }
  .sub-lead-card {
    grid-template-columns: 1fr;
  }
  .sub-lead-thumb {
    width: 100%;
    height: 150px;
  }
  .editorial-pagination {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .pagination-meta-info {
    text-align: center;
  }
}

/* ==========================================================================
   Reader Comments Thread Design System
   Clean, modern, crisp editorial discussion architecture.
   ========================================================================== */

.comments-section {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 2px solid var(--border-default);
}

.comments-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.comments-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.comments-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin: 0;
}

.comments-count-pill {
  font-size: 12px;
  font-weight: 700;
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid #bfdbfe;
}

.comments-guidelines-badge {
  font-size: 12.5px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Comment Form Card */
.comment-form-card {
  background: #f8fafc;
  border: 1px solid var(--border-default);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 36px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: border-color 0.15s ease;
}

.comment-form-card:focus-within {
  border-color: var(--border-dark);
}

.comment-form-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Active Reply Notice Bar */
.reply-context-banner {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  padding: 8px 14px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 13px;
}

.reply-context-banner.active {
  display: flex;
}

.reply-cancel-btn {
  background: none;
  border: none;
  color: #dc2626;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
}
.reply-cancel-btn:hover {
  background: #fee2e2;
}

.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.comment-textarea-wrap {
  position: relative;
  margin-bottom: 16px;
}

.comment-textarea {
  min-height: 100px;
  resize: vertical;
}

.comment-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 10px;
}

.comment-privacy-notice {
  font-size: 12px;
  color: var(--text-muted);
}

/* Comment Thread List */
.comments-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comment-card {
  background: #ffffff;
  border: 1px solid var(--border-default);
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: border-color 0.15s ease;
}

.comment-card:hover {
  border-color: var(--border-dark);
}

.comment-main-layout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.comment-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid var(--border-default);
  color: #334155;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-transform: uppercase;
}

.comment-avatar.is-author {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  position: relative;
}

.comment-avatar.is-author::after {
  content: '✓';
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: #2563eb;
  color: #ffffff;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #ffffff;
}

.comment-body-area {
  flex-grow: 1;
  min-width: 0;
}

.comment-meta-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.comment-author-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-main);
}

.author-role-badge {
  font-size: 10.5px;
  font-weight: 700;
  background: #eff6ff;
  color: #1d4ed8;
  padding: 1px 7px;
  border-radius: 4px;
  border: 1px solid #bfdbfe;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.comment-time-text {
  font-size: 12px;
  color: var(--text-muted);
}

.comment-text-content {
  font-size: 14.5px;
  color: var(--text-sub);
  line-height: 1.65;
  margin-bottom: 12px;
  word-break: break-word;
}

.comment-action-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-comment-reply {
  background: #ffffff;
  border: 1px solid var(--border-default);
  color: var(--text-sub);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-comment-reply:hover {
  background: var(--bg-surface);
  color: var(--brand-blue);
  border-color: #cbd5e1;
}

/* Replies Thread Branch */
.replies-branch {
  margin-top: 16px;
  padding-left: 20px;
  margin-left: 21px;
  border-left: 2px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reply-card {
  background: #f8fafc;
  border: 1px solid var(--border-default);
  border-radius: 10px;
  padding: 14px 16px;
}

.reply-card .comment-avatar {
  width: 34px;
  height: 34px;
  font-size: 12px;
}

.reply-card .comment-text-content {
  font-size: 14px;
  margin-bottom: 4px;
}

.reply-mention-pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-blue);
  background: #eff6ff;
  padding: 1px 6px;
  border-radius: 3px;
  margin-right: 4px;
  display: inline-block;
}

@media (max-width: 640px) {
  .form-grid-2col {
    grid-template-columns: 1fr;
  }
  .replies-branch {
    margin-left: 10px;
    padding-left: 12px;
  }
  .comment-card {
    padding: 16px;
  }
}

/* ─── Tutorial Series In-Article Components ────────────────────── */
.tag-tutorial {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.tutorial-series-header {
  transition: all 0.2s ease;
}
.tutorial-series-header:hover {
  border-color: #38bdf8 !important;
}

.tutorial-series-nav a:hover {
  border-color: #0284c7 !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
  transform: translateY(-1px);
}

.tutorial-series-roadmap ol li a:hover {
  color: #0284c7 !important;
  text-decoration: underline !important;
}

@media (max-width: 640px) {
  .tutorial-series-nav {
    flex-direction: column !important;
  }
  .tutorial-series-nav a,
  .tutorial-series-nav div {
    min-width: 100% !important;
    text-align: left !important;
  }
}


