/* ==========================================================================
   HAMYARWEB MODERN RTL DESIGN SYSTEM & UI ENHANCEMENTS
   ========================================================================== */

@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

:root {
  --font-main: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --color-primary: #2563EB;
  --color-primary-light: #EFF6FF;
  --color-primary-dark: #1D4ED8;
  --color-red: #EF4444;
  --color-red-light: #FEF2F2;
  --color-yellow: #F59E0B;
  --color-yellow-light: #FFFBEB;
  --color-green: #10B981;
  --color-green-light: #ECFDF5;
  --color-slate-900: #0F172A;
  --color-slate-800: #1E293B;
  --color-slate-700: #334155;
  --color-slate-600: #475569;
  --color-slate-500: #64748B;
  --color-slate-200: #E2E8F0;
  --color-slate-100: #F1F5F9;
  --color-slate-50: #F8FAFC;
}

html, body {
  direction: rtl !important;
  text-align: right;
  font-family: var(--font-main) !important;
  background-color: #FFFFFF;
  color: var(--color-slate-800);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.8;
}

/* Force Vazirmatn & Brand Color on all elements & Links */
.elementor, 
.elementor *, 
.elementor-heading-title, 
.elementor-button, 
.elementor-widget-text-editor, 
h1, h2, h3, h4, h5, h6, p, span, a, input, select, textarea, button {
  font-family: var(--font-main) !important;
  direction: rtl !important;
}

/* Global Base Links */
a {
  color: #2563EB;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}

a:hover {
  color: #1D4ED8;
}

/* Article Body Links ONLY - Professional SaaS Underline & Hover */
.article-body-content p a,
.article-body-content li a,
.entry-content p a,
.entry-content li a {
  color: #2563EB !important;
  font-weight: 700 !important;
  border-bottom: 1.5px solid rgba(37, 99, 235, 0.35) !important;
  text-decoration: none !important;
  padding-bottom: 1px;
  transition: all 0.2s ease;
}

.article-body-content p a:hover,
.article-body-content li a:hover,
.entry-content p a:hover,
.entry-content li a:hover {
  color: #1D4ED8 !important;
  border-bottom-color: #1D4ED8 !important;
  background-color: #EFF6FF !important;
  border-radius: 4px;
}

/* Clean Horizontal Nav Menu (Zero Icons) */
.hamyarweb-nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hamyarweb-header-nav {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 26px !important;
  flex-wrap: nowrap !important;
}

.hamyarweb-header-nav li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-block !important;
}

.hamyarweb-header-nav a {
  color: #334155 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border-bottom: none !important;
  padding: 8px 4px !important;
  white-space: nowrap !important;
  transition: color 0.2s ease !important;
}

.hamyarweb-header-nav a:hover {
  color: #2563EB !important;
  background: transparent !important;
}

/* Site Header Navbar Component */
.site-header-navbar {

  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  padding: 14px 36px !important;
  background: #FFFFFF !important;
  border-bottom: 1px solid #E2E8F0 !important;
  box-sizing: border-box !important;
}

.site-header-navbar a {
  border-bottom: none !important;
  text-decoration: none !important;
}

.site-header-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

.site-header-brand img {
  width: 40px !important;
  height: 40px !important;
  object-fit: contain !important;
}

.site-header-brand span {
  font-size: 20px !important;
  font-weight: 900 !important;
  color: #0F172A !important;
}

.site-header-menu {
  display: inline-flex !important;
  align-items: center !important;
  gap: 28px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.site-header-menu a {
  color: #334155 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border-bottom: none !important;
  padding: 6px 4px !important;
  transition: color 0.2s ease !important;
}

.site-header-menu a:hover {
  color: #2563EB !important;
  background: transparent !important;
}

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

.site-header-btn-login {
  color: #475569 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 9px 18px !important;
  border-radius: 9px !important;
  border: 1px solid #CBD5E1 !important;
  background: #FFFFFF !important;
  border-bottom: 1px solid #CBD5E1 !important;
  transition: all 0.2s ease !important;
}

.site-header-btn-login:hover {
  background: #F8FAFC !important;
  color: #0F172A !important;
  border-color: #94A3B8 !important;
}

.site-header-btn-cta {
  background: #2563EB !important;
  color: #FFFFFF !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  padding: 9px 22px !important;
  border-radius: 9px !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28) !important;
  border-bottom: none !important;
  transition: all 0.2s ease !important;
}

.site-header-btn-cta:hover {
  background: #1D4ED8 !important;
  color: #FFFFFF !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35) !important;
}

/* Modern Brand 4-Color Top Bar */
.brand-top-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 5px;
  width: 100%;
}
.brand-top-bar .bar-blue { background: #3B82F6; }
.brand-top-bar .bar-red { background: #EF4444; }
.brand-top-bar .bar-yellow { background: #F59E0B; }
.brand-top-bar .bar-green { background: #10B981; }

/* Navbar */
.site-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-slate-200);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.brand-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.06));
}

.brand-name {
  font-size: 20px;
  font-weight: 900;
  color: var(--color-slate-900);
  letter-spacing: -0.02em;
}

/* Hero Section */
.hero-wrapper {
  background: radial-gradient(100% 100% at 50% 0%, #F0F7FF 0%, #FFFFFF 100%);
  padding: 80px 24px 70px 24px;
  text-align: center;
  border-bottom: 1px solid var(--color-slate-100);
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--color-primary-light);
  border: 1px solid #BFDBFE;
  border-radius: 999px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.05);
}

.hero-title {
  font-size: 42px;
  font-weight: 900;
  color: var(--color-slate-900);
  line-height: 1.35;
  margin: 0 0 20px 0;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 700;
  color: #334155;
  line-height: 1.6;
  margin: 0 0 18px 0;
}

.hero-description {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-slate-500);
  max-width: 740px;
  margin: 0 auto 36px auto;
  line-height: 1.9;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 34px;
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  color: #FFFFFF !important;
  font-size: 16px;
  font-weight: 800;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 10px 20px -3px rgba(37, 99, 235, 0.35);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -4px rgba(37, 99, 235, 0.45);
}

/* 4 Pillar Cards Section */
.section-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: 30px;
  font-weight: 900;
  color: var(--color-slate-900);
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 16px;
  color: var(--color-slate-500);
  margin: 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 32px; }
}

@media (max-width: 640px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 26px; }
}

.pillar-card {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

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

.pillar-card.card-blue {
  border: 1.5px solid #BFDBFE;
  background: linear-gradient(180deg, #F8FAFF 0%, #FFFFFF 100%);
}
.pillar-card.card-blue:hover { border-color: #3B82F6; }

.pillar-card.card-red {
  border: 1.5px solid #FECACA;
  background: linear-gradient(180deg, #FFFBFB 0%, #FFFFFF 100%);
}
.pillar-card.card-red:hover { border-color: #EF4444; }

.pillar-card.card-yellow {
  border: 1.5px solid #FDE68A;
  background: linear-gradient(180deg, #FFFDF5 0%, #FFFFFF 100%);
}
.pillar-card.card-yellow:hover { border-color: #F59E0B; }

.pillar-card.card-green {
  border: 1.5px solid #A7F3D0;
  background: linear-gradient(180deg, #F6FDF9 0%, #FFFFFF 100%);
}
.pillar-card.card-green:hover { border-color: #10B981; }

.card-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 16px;
  align-self: flex-start;
}

.card-blue .card-tag { background: #DBEAFE; color: #1D4ED8; }
.card-red .card-tag { background: #FEE2E2; color: #B91C1C; }
.card-yellow .card-tag { background: #FEF3C7; color: #B45309; }
.card-green .card-tag { background: #D1FAE5; color: #047857; }

.card-heading {
  font-size: 19px;
  font-weight: 800;
  color: var(--color-slate-900);
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.card-text {
  font-size: 14px;
  color: var(--color-slate-600);
  line-height: 1.75;
  margin: 0 0 24px 0;
}

.card-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  color: #FFFFFF !important;
  transition: all 0.2s ease;
  text-align: center;
}

.card-blue .card-action-btn { background: #3B82F6; box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25); }
.card-red .card-action-btn { background: #EF4444; box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25); }
.card-yellow .card-action-btn { background: #F59E0B; box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25); }
.card-green .card-action-btn { background: #10B981; box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25); }

.card-action-btn:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

/* Interactive Tools Modern Container */
.tool-box-card {
  background: #FFFFFF;
  border: 1px solid var(--color-slate-200);
  border-radius: 20px;
  padding: 36px;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.04);
}

.tool-header-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-slate-900);
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 30px;
}

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

.price-card {
  background: #FFFFFF;
  border: 1px solid var(--color-slate-200);
  border-radius: 20px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.price-card.featured {
  border: 2px solid var(--color-primary);
  box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.15);
  position: relative;
}

.price-card:hover {
  transform: translateY(-4px);
}

/* ==========================================================================
   SINGLE ARTICLE / BLOG POST RICH 2-COLUMN MODERN LAYOUT
   ========================================================================== */

/* Reading Progress Indicator */
#reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #3B82F6 0%, #EF4444 33%, #F59E0B 66%, #10B981 100%);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s ease-out;
}

.single-article-wrapper {
  background: #FAFAFA;
  min-height: 100vh;
  padding-bottom: 70px;
}

.article-hero-section {
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-slate-200);
  padding: 44px 24px 36px 24px;
}

.article-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.article-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--color-slate-500);
  margin-bottom: 16px;
}

.article-breadcrumbs a {
  color: var(--color-slate-600);
  text-decoration: none;
  transition: color 0.2s;
}

.article-breadcrumbs a:hover {
  color: var(--color-primary);
}

.bc-sep {
  color: #CBD5E1;
}

.article-categories {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.article-cat-badge {
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 12.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid #BFDBFE;
}

.article-main-title {
  font-size: 36px;
  font-weight: 900;
  color: var(--color-slate-900);
  line-height: 1.4;
  margin: 0 0 22px 0;
  letter-spacing: -0.025em;
}

@media (max-width: 768px) {
  .article-main-title { font-size: 26px; }
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: var(--color-slate-600);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 2-Column Content Layout */
.article-layout-grid {
  max-width: 1200px;
  margin: 36px auto 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: start;
}

@media (max-width: 1024px) {
  .article-layout-grid {
    grid-template-columns: 1fr;
  }
}

/* Main Article Column */
.article-main-card {
  background: #FFFFFF;
  border: 1px solid var(--color-slate-200);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

@media (max-width: 640px) {
  .article-main-card { padding: 24px 20px; }
}

/* Key Takeaways Box */
.key-takeaway-box {
  background: linear-gradient(135deg, #EFF6FF 0%, #F8FAFC 100%);
  border: 1.5px solid #BFDBFE;
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 36px;
}

.takeaway-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 16px;
  color: #1E40AF;
  margin-bottom: 8px;
}

.takeaway-text {
  font-size: 14.5px;
  line-height: 1.8;
  color: #334155;
  margin: 0;
}

/* Article Body Typography */
.article-body-content {
  font-size: 17.5px;
  line-height: 2.15;
  color: #1E293B;
}

.article-body-content p {
  margin: 0 0 24px 0;
}

.article-body-content h2 {
  font-size: 25px;
  font-weight: 900;
  color: var(--color-slate-900);
  margin: 48px 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-slate-100);
  line-height: 1.4;
  scroll-margin-top: 100px;
}

.article-body-content h3 {
  font-size: 20px;
  font-weight: 800;
  color: #1E3A8A;
  margin: 36px 0 16px 0;
  line-height: 1.45;
  scroll-margin-top: 100px;
}

.article-body-content blockquote {
  background: #F0F9FF;
  border-right: 4px solid #0284C7;
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 32px 0;
  font-style: normal;
  color: #0369A1;
  font-weight: 600;
  font-size: 16px;
}

.article-body-content ul, 
.article-body-content ol {
  padding-right: 24px;
  margin: 0 0 28px 0;
}

.article-body-content li {
  margin-bottom: 10px;
}

.article-body-content img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 24px 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/* Sidebar Sticky Layout */
.sidebar-wrapper {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 90px !important;
  align-self: start !important;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  padding-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 transparent;
}

.sidebar-wrapper::-webkit-scrollbar {
  width: 5px;
}

.sidebar-wrapper::-webkit-scrollbar-thumb {
  background-color: #CBD5E1;
  border-radius: 999px;
}

.sidebar-sticky-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.sidebar-widget {
  background: #FFFFFF;
  border: 1px solid var(--color-slate-200);
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

.widget-heading {
  font-size: 17px;
  font-weight: 900;
  color: var(--color-slate-900);
  margin: 0 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-slate-100);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Elementor Multi-Column Gap & Separation */
.elementor-section.elementor-section-boxed > .elementor-container {
  gap: 32px !important;
}

@media (min-width: 1025px) {
  .elementor-column[data-col="68"],
  .elementor-column[data-col="66"],
  .elementor-col-68,
  .elementor-col-66 {
    margin-left: 16px !important;
  }
  .elementor-column[data-col="32"],
  .elementor-column[data-col="33"],
  .elementor-col-32,
  .elementor-col-33 {
    margin-right: 16px !important;
  }
}

/* Table of Contents (TOC) */
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.toc-item {
  margin: 0;
}

.toc-item.level-h3 {
  padding-right: 18px;
}

.toc-link {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-slate-600);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
  line-height: 1.6;
  white-space: normal;
  word-break: break-word;
}

.toc-link:hover, .toc-link.active {
  background: #EFF6FF;
  color: #2563EB;
  font-weight: 800;
}

/* Category Widget */
.cat-widget-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cat-widget-item {
  margin-bottom: 8px;
}

.cat-widget-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 10px;
  background: #F8FAFC;
  color: var(--color-slate-700);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.cat-widget-link:hover {
  background: #EFF6FF;
  color: #2563EB;
  border-color: #BFDBFE;
  transform: translateX(-3px);
}

.cat-count-badge {
  background: #E2E8F0;
  color: #475569;
  font-size: 11.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
}

.cat-widget-link:hover .cat-count-badge {
  background: #2563EB;
  color: white;
}

/* Sidebar AI Banner CTA */
.sidebar-ai-cta {
  background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
  border-radius: 18px;
  padding: 26px 22px;
  color: white;
  text-align: center;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.35);
}

.sidebar-ai-cta h4 {
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 10px 0;
  color: #FFFFFF;
}

.sidebar-ai-cta p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #DBEAFE;
  margin: 0 0 18px 0;
}

.sidebar-ai-cta-btn {
  display: block;
  background: #FFFFFF;
  color: #1E40AF !important;
  font-weight: 800;
  font-size: 13.5px;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
}

.sidebar-ai-cta-btn:hover {
  background: #F8FAFC;
  transform: translateY(-2px);
}

/* Article Reactions / Sharing */
.article-footer-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 24px;
  background: #F8FAFC;
  border: 1px solid var(--color-slate-200);
  border-radius: 14px;
  margin: 40px 0 20px 0;
}

.reaction-buttons {
  display: flex;
  gap: 10px;
}

.reaction-btn {
  background: white;
  border: 1px solid #CBD5E1;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  transition: all 0.2s;
}

.reaction-btn:hover {
  background: #EFF6FF;
  border-color: #3B82F6;
  color: #2563EB;
}

/* Author Box */
.author-bio-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #F8FAFC;
  border: 1px solid var(--color-slate-200);
  border-radius: 16px;
  padding: 24px;
  margin: 30px 0;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #FFFFFF;
  padding: 4px;
  border: 2px solid var(--color-primary);
}

.author-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--color-slate-900);
  margin: 0 0 6px 0;
}

.author-desc {
  font-size: 14px;
  color: var(--color-slate-600);
  margin: 0;
  line-height: 1.6;
}

/* Post Navigation */
.post-navigation-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}

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

.nav-box {
  background: #FFFFFF;
  border: 1px solid var(--color-slate-200);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: border-color 0.2s;
}

.nav-box:hover {
  border-color: var(--color-primary);
}

.nav-label {
  font-size: 12px;
  color: var(--color-slate-500);
  font-weight: 700;
  margin-bottom: 6px;
}

.nav-box a {
  color: var(--color-slate-900);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  line-height: 1.4;
}

.nav-box a:hover {
  color: var(--color-primary);
}

/* Related Posts */
.related-posts-section {
  max-width: 1200px;
  margin: 50px auto 0 auto;
  padding: 0 24px;
}

.related-header h3 {
  font-size: 24px;
  font-weight: 900;
  color: var(--color-slate-900);
  margin: 0 0 24px 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.related-card {
  background: #FFFFFF;
  border: 1px solid var(--color-slate-200);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
  transition: all 0.2s;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 20px -4px rgba(0, 0, 0, 0.08);
  border-color: var(--color-primary);
}

.related-card-date {
  font-size: 12px;
  color: #94A3B8;
  margin-bottom: 8px;
}

.related-card-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--color-slate-900);
  margin: 0 0 10px 0;
}

.related-card-title a {
  color: inherit;
  text-decoration: none;
}

.related-card-excerpt {
  font-size: 13.5px;
  color: var(--color-slate-600);
  line-height: 1.6;
  margin: 0 0 16px 0;
}

.related-card-link {
  color: var(--color-primary);
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
}
