@charset "UTF-8";
/* ================================
          PREMIUM DOCUMENTATION CSS
          ================================ */
:root {
  /* Premium Color Palette */
  --primary-50: #f0f9ff;
  --primary-100: #e0f2fe;
  --primary-200: #bae6fd;
  --primary-300: #7dd3fc;
  --primary-400: #38bdf8;
  --primary-500: #0ea5e9;
  --primary-600: #0284c7;
  --primary-700: #0369a1;
  --primary-800: #075985;
  --primary-900: #0c4a6e;
  /* Neutral Palette */
  --neutral-0: #ffffff;
  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-400: #94a3b8;
  --neutral-500: #64748b;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a;
  /* Accent Colors */
  --success-500: #10b981;
  --warning-500: #f59e0b;
  --error-500: #ef4444;
  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", monospace;
  /* Spacing */
  --space-px: 1px;
  --space-0: 0;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

/* ================================
   RESET & BASE STYLES
   ================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--neutral-700);
  background-color: var(--neutral-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ================================
   TYPOGRAPHY
   ================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--neutral-900);
  line-height: 1.25;
  margin-bottom: var(--space-4);
}

h1 {
  font-size: 3rem;
  font-weight: 800;
}

h2 {
  font-size: 2.25rem;
  font-weight: 700;
}

h3 {
  font-size: 1.875rem;
  font-weight: 600;
}

h4 {
  font-size: 1.5rem;
  font-weight: 600;
}

h5 {
  font-size: 1.25rem;
  font-weight: 500;
}

h6 {
  font-size: 1.125rem;
  font-weight: 500;
}

p {
  margin-bottom: var(--space-4);
}

a {
  color: var(--primary-600);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary-700);
}

/* ================================
   HEADER
   ================================ */
header {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--neutral-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: var(--space-4) 0;
  transition: all 0.3s ease;
}

.doc-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.doc-container img {
  width: 100%;
}

header .doc-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo a {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--neutral-900);
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: all 0.3s ease;
}

.logo a:hover {
  transform: scale(1.05);
}

/* ================================
   DESKTOP NAVIGATION
   ================================ */
nav {
  display: flex;
  align-items: center;
}

.menu {
  display: flex;
  align-items: center;
}

.menu ul {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li {
  position: relative;
  list-style: none;
}

.menu a {
  display: block;
  padding: var(--space-3) var(--space-5);
  color: var(--neutral-700);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.menu a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.1), transparent);
  transition: left 0.5s ease;
}

.menu a:hover {
  background: var(--primary-50);
  color: var(--primary-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.menu a:hover::before {
  left: 100%;
}

/* Active/Current Page */
.menu .current_page_item a,
.menu .current-menu-item a {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: var(--neutral-0);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.menu .current_page_item a:hover,
.menu .current-menu-item a:hover {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  transform: translateY(-1px);
}

/* ================================
   MOBILE MENU TOGGLE
   ================================ */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--neutral-0);
  border: 2px solid var(--neutral-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  position: relative;
  z-index: 1001;
}

.mobile-menu-toggle:hover {
  border-color: var(--primary-300);
  background: var(--primary-50);
}

.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--neutral-700);
  margin: 0 auto;
  transition: all 0.3s ease;
  border-radius: 1px;
}

.mobile-menu-toggle span:nth-child(1) {
  transform: translateY(-3px);
}

.mobile-menu-toggle span:nth-child(3) {
  transform: translateY(3px);
}

/* Toggle Animation */
.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(3px, 3px);
  background: var(--primary-600);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(3px, -3px);
  background: var(--primary-600);
}

.mobile-menu-toggle.active {
  border-color: var(--primary-500);
  background: var(--primary-100);
}

/* ================================
   MOBILE MENU
   ================================ */
@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: flex;
  }
  .menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.95);
    -webkit-backdrop-filter: blur(20px);
            backdrop-filter: blur(20px);
    transform: translateX(-100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    padding-top: 80px;
    overflow-y: auto;
  }
  .menu.active {
    transform: translateX(0);
  }
  .menu ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: var(--space-6);
  }
  .menu li {
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    animation: none;
  }
  .menu.active li {
    animation: slideInUp 0.6s ease forwards;
  }
  .menu li:nth-child(1) {
    animation-delay: 0.1s;
  }
  .menu li:nth-child(2) {
    animation-delay: 0.2s;
  }
  .menu li:nth-child(3) {
    animation-delay: 0.3s;
  }
  .menu li:nth-child(4) {
    animation-delay: 0.4s;
  }
  .menu li:nth-child(5) {
    animation-delay: 0.5s;
  }
  .menu a {
    display: block;
    width: 100%;
    padding: var(--space-4) var(--space-6);
    color: var(--neutral-0);
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-2);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
  }
  .menu a:hover {
    background: rgba(14, 165, 233, 0.2);
    border-color: var(--primary-400);
    color: var(--primary-100);
    transform: translateX(10px);
  }
  .menu .current_page_item a,
  .menu .current-menu-item a {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    border-color: var(--primary-400);
    color: var(--neutral-0);
  }
  /* Mobile Menu Overlay */
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
  }
  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}
/* ================================
   MOBILE MENU ANIMATIONS
   ================================ */
@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ================================
   RESPONSIVE HEADER ADJUSTMENTS
   ================================ */
@media (max-width: 768px) {
  header {
    padding: var(--space-3) 0;
  }
  .doc-container {
    padding: 0 var(--space-4);
  }
  .logo a {
    font-size: 1.25rem;
  }
}
@media (max-width: 480px) {
  .logo a {
    font-size: 1.125rem;
  }
  .mobile-menu-toggle {
    width: 36px;
    height: 36px;
  }
  .mobile-menu-toggle span {
    width: 18px;
  }
}
/* ================================
   HERO SECTION
   ================================ */
.doc-hero {
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--neutral-0) 100%);
  padding: var(--space-20) 0 var(--space-16);
  position: relative;
}

.doc-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.doc-title {
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--neutral-900), var(--neutral-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-6);
  text-align: center;
}

.doc-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  font-size: 0.875rem;
  color: var(--neutral-500);
}

.doc-breadcrumb a {
  color: var(--primary-600);
  font-weight: 500;
}

.doc-breadcrumb span {
  color: var(--neutral-400);
}

/* ================================
   SEARCH
   ================================ */
.ecomdoc-search {
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

#ecomdoc-search-input {
  width: 100%;
  padding: var(--space-4) var(--space-6);
  font-size: 1.125rem;
  border: 2px solid var(--neutral-200);
  border-radius: var(--radius-xl);
  background: var(--neutral-0);
  color: var(--neutral-900);
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  outline: none;
}

#ecomdoc-search-input:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1), var(--shadow-lg);
}

#ecomdoc-search-input::-moz-placeholder {
  color: var(--neutral-400);
}

#ecomdoc-search-input::placeholder {
  color: var(--neutral-400);
}

.ecomdoc-results-list {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  right: 0;
  background: var(--neutral-0);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-height: 400px;
  overflow-y: auto;
  z-index: 50;
  margin-top: var(--space-2);
}

.result-item {
  display: block;
  padding: var(--space-4);
  border-bottom: 1px solid var(--neutral-100);
  color: var(--neutral-700);
  transition: all 0.2s ease;
}

.result-item:hover {
  background: var(--primary-50);
  color: var(--primary-700);
}

/* ================================
   CATEGORY GRID
   ================================ */
.doc-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-16);
  padding: 0 var(--space-6);
}

.doc-cat-card {
  background: var(--neutral-0);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  display: block;
  color: inherit;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.doc-cat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-500), var(--primary-600));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.doc-cat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
  border-color: var(--primary-200);
}

.doc-cat-card:hover::before {
  transform: scaleX(1);
}

.doc-cat-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: var(--space-4);
  text-align: center;
}

.doc-cat-meta {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.doc-cat-count {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: var(--neutral-0);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.875rem;
}

.doc-cat-description {
  color: var(--neutral-600);
  text-align: center;
  line-height: 1.6;
  font-size: 0.9375rem;
}

/* ================================
   SIDEBAR LAYOUT
   ================================ */
.doc-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--space-10);
  margin-top: var(--space-12);
  align-items: start;
}

.doc-sidebar {
  background: var(--neutral-0);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: sticky;
  top: calc(var(--space-20) + 60px);
  box-shadow: var(--shadow-sm);
}

.doc-sidebar-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--primary-100);
}

.doc-category-list {
  list-style: none;
}

.doc-category-item {
  margin-bottom: var(--space-2);
}

.doc-category-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) var(--space-4);
  color: var(--neutral-600);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  font-weight: 500;
}

.doc-category-link:hover {
  background: var(--primary-50);
  color: var(--primary-700);
  transform: translateX(4px);
}

.doc-category-link.current {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: var(--neutral-0);
  font-weight: 600;
}

.doc-cat-count {
  font-size: 0.75rem;
  background: var(--neutral-100);
  color: var(--neutral-600);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
}

.doc-category-link.current .doc-cat-count {
  background: rgba(255, 255, 255, 0.2);
  color: var(--neutral-0);
}

/* ================================
   SUBCATEGORIES
   ================================ */
.doc-subcategory-list {
  list-style: none;
  margin-top: var(--space-2);
  padding-left: var(--space-4);
  border-left: 2px solid var(--neutral-100);
}

.doc-subcategory-item {
  margin-bottom: var(--space-1);
}

.doc-subcategory-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-2) var(--space-3);
  color: var(--neutral-500);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.doc-subcategory-link:hover {
  background: var(--neutral-50);
  color: var(--neutral-700);
}

.doc-subcategory-link.current {
  background: var(--primary-50);
  color: var(--primary-700);
  font-weight: 600;
}

/* ================================
   CONTENT AREA
   ================================ */
.doc-content {
  background: var(--neutral-0);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-sm);
}

.doc-content-header {
  margin-bottom: var(--space-10);
  padding-bottom: var(--space-8);
  border-bottom: 2px solid var(--neutral-100);
}

.doc-content-title {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--neutral-900);
  margin-bottom: var(--space-4);
}

.doc-content-count {
  background: var(--primary-100);
  color: var(--primary-700);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 600;
}

.doc-content-description {
  color: var(--neutral-600);
  font-size: 1.125rem;
  line-height: 1.7;
}

/* ================================
   POST CARDS
   ================================ */
.doc-posts-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.doc-post-card {
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.doc-post-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}

.doc-post-card:hover {
  background: var(--neutral-0);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.doc-post-card:hover::before {
  transform: scaleY(1);
}

.doc-post-title {
  margin-bottom: var(--space-4);
}

.doc-post-link {
  color: var(--neutral-900);
  font-weight: 600;
  font-size: 1.25rem;
  transition: color 0.2s ease;
}

.doc-post-link:hover {
  color: var(--primary-600);
}

.doc-post-excerpt {
  color: var(--neutral-600);
  line-height: 1.6;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media (max-width: 1024px) {
  .doc-layout {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .doc-sidebar {
    position: static;
    order: 2;
  }
  .doc-content {
    order: 1;
  }
}
@media (max-width: 768px) {
  .doc-container {
    padding: 0 var(--space-4);
  }
  .doc-title {
    font-size: 2.5rem;
  }
  .doc-category-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .doc-cat-card {
    padding: var(--space-6);
  }
  .doc-content {
    padding: var(--space-6);
  }
  .doc-content-title {
    font-size: 2rem;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  .doc-hero {
    padding: var(--space-16) 0 var(--space-12);
  }
  .doc-title {
    font-size: 2rem;
  }
  header .doc-container {
    flex-direction: column;
    gap: var(--space-4);
  }
}
/* ================================
   ANIMATIONS
   ================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.doc-cat-card {
  animation: fadeInUp 0.6s ease forwards;
}

.doc-cat-card:nth-child(1) {
  animation-delay: 0.1s;
}

.doc-cat-card:nth-child(2) {
  animation-delay: 0.2s;
}

.doc-cat-card:nth-child(3) {
  animation-delay: 0.3s;
}

.doc-cat-card:nth-child(4) {
  animation-delay: 0.4s;
}

.doc-cat-card:nth-child(5) {
  animation-delay: 0.5s;
}

.doc-cat-card:nth-child(6) {
  animation-delay: 0.6s;
}

/* ================================
   FORM STYLING
   ================================ */
input[type=text],
input[type=email],
input[type=search],
textarea,
select {
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: var(--space-3) var(--space-4);
  border: 2px solid var(--neutral-200);
  border-radius: var(--radius-md);
  background: var(--neutral-0);
  color: var(--neutral-900);
  transition: all 0.2s ease;
  outline: none;
}

input[type=text]:focus,
input[type=email]:focus,
input[type=search]:focus,
textarea:focus,
select:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

/* ================================
   SINGLE POST LAYOUT
   ================================ */
.single-post-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-12);
  margin-top: var(--space-12);
  align-items: start;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--space-6);
}

/* ================================
   SINGLE POST SIDEBAR
   ================================ */
.single-post-layout .doc-sidebar {
  background: var(--neutral-0);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: sticky;
  top: calc(var(--space-20) + 80px);
  box-shadow: var(--shadow-sm);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.doc-sidebar-nav {
  width: 100%;
}

.doc-sidebar-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--primary-100);
}

.doc-sidebar-title a {
  color: var(--neutral-900);
  text-decoration: none;
  transition: color 0.2s ease;
}

.doc-sidebar-title a:hover {
  color: var(--primary-600);
}

.doc-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.doc-sidebar-list li {
  margin-bottom: var(--space-2);
}

.doc-sidebar-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) var(--space-4);
  color: var(--neutral-600);
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.doc-sidebar-list a:hover {
  background: var(--primary-50);
  color: var(--primary-700);
  transform: translateX(4px);
  border-color: var(--primary-200);
}

.doc-sidebar-list li.active a {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: var(--neutral-0);
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.doc-sidebar-list .count {
  font-size: 0.75rem;
  background: var(--neutral-100);
  color: var(--neutral-600);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.doc-sidebar-list li.active .count {
  background: rgba(255, 255, 255, 0.2);
  color: var(--neutral-0);
}

.no-category {
  color: var(--neutral-500);
  font-style: italic;
  font-size: 0.9375rem;
  margin: 0;
  padding: var(--space-4);
  background: var(--neutral-50);
  border-radius: var(--radius-md);
  text-align: center;
}

/* ================================
   SINGLE POST MAIN CONTENT
   ================================ */
.doc-main-content {
  background: var(--neutral-0);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

/* ================================
   POST HEADER
   ================================ */
.doc-post-header {
  padding: var(--space-10) var(--space-10) var(--space-8);
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--neutral-0) 100%);
  border-bottom: 1px solid var(--neutral-200);
  position: relative;
}

.doc-post-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-500), var(--primary-600));
}

.doc-post-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--neutral-900);
  line-height: 1.2;
  margin-bottom: var(--space-4);
  background: linear-gradient(135deg, var(--neutral-900), var(--neutral-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.doc-post-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  color: var(--neutral-600);
  font-size: 0.9375rem;
}

.doc-post-category a {
  color: var(--primary-600);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.doc-post-category a:hover {
  color: var(--primary-700);
}

/* ================================
   POST CONTENT
   ================================ */
.doc-post-content {
  padding: var(--space-10);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--neutral-700);
}

.doc-post-content h1,
.doc-post-content h2,
.doc-post-content h3,
.doc-post-content h4,
.doc-post-content h5,
.doc-post-content h6 {
  color: var(--neutral-900);
  margin-top: var(--space-10);
  margin-bottom: var(--space-6);
  font-weight: 700;
}

.doc-post-content h1 {
  font-size: 2.25rem;
}

.doc-post-content h2 {
  font-size: 1.875rem;
  border-bottom: 2px solid var(--neutral-100);
  padding-bottom: var(--space-4);
}

.doc-post-content h3 {
  font-size: 1.5rem;
}

.doc-post-content h4 {
  font-size: 1.25rem;
}

.doc-post-content h5 {
  font-size: 1.125rem;
}

.doc-post-content h6 {
  font-size: 1rem;
}

.doc-post-content p {
  margin-bottom: var(--space-6);
  color: var(--neutral-700);
}

.doc-post-content ul,
.doc-post-content ol {
  margin-bottom: var(--space-6);
  padding-left: var(--space-8);
}

.doc-post-content li {
  margin-bottom: var(--space-2);
  color: var(--neutral-700);
}

.doc-post-content blockquote {
  background: var(--primary-50);
  border-left: 4px solid var(--primary-500);
  margin: var(--space-8) 0;
  padding: var(--space-6) var(--space-8);
  font-style: italic;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--neutral-800);
}

.doc-post-content code {
  background: var(--neutral-100);
  color: var(--primary-700);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
}

.doc-post-content pre {
  background: var(--neutral-900);
  color: var(--neutral-100);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  overflow-x: auto;
  margin: var(--space-8) 0;
  box-shadow: var(--shadow-lg);
}

.doc-post-content pre code {
  background: none;
  color: inherit;
  padding: 0;
  font-size: 0.9375rem;
}

.doc-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  margin: var(--space-2) 0;
  box-shadow: var(--shadow-md);
}

.doc-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-8) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.doc-post-content th,
.doc-post-content td {
  border: 1px solid var(--neutral-200);
  padding: var(--space-4);
  text-align: left;
}

.doc-post-content th {
  background: var(--neutral-50);
  font-weight: 600;
  color: var(--neutral-900);
}

.doc-post-content a {
  color: var(--primary-600);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--primary-300);
  text-underline-offset: 2px;
  transition: all 0.2s ease;
}

.doc-post-content a:hover {
  color: var(--primary-700);
  text-decoration-color: var(--primary-500);
}

/* Page Links */
.page-links {
  margin: var(--space-8) 0;
  padding: var(--space-6);
  background: var(--neutral-50);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--neutral-200);
}

.page-links a {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  margin: 0 var(--space-1);
  background: var(--neutral-0);
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-md);
  color: var(--neutral-700);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.page-links a:hover {
  background: var(--primary-500);
  color: var(--neutral-0);
  border-color: var(--primary-500);
}

/* ================================
   POST NAVIGATION
   ================================ */
.doc-post-nav {
  margin: 0;
  padding: var(--space-8) var(--space-10);
  border-top: 1px solid var(--neutral-200);
  background: var(--neutral-50);
}

.doc-nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.doc-nav-prev,
.doc-nav-next {
  padding: var(--space-6);
  background: var(--neutral-0);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.doc-nav-prev::before,
.doc-nav-next::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-500), var(--primary-600));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.doc-nav-prev:hover,
.doc-nav-next:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-200);
}

.doc-nav-prev:hover::before,
.doc-nav-next:hover::before {
  transform: scaleX(1);
}

.doc-nav-next {
  text-align: right;
}

.nav-label {
  display: block;
  font-size: 0.875rem;
  color: var(--neutral-500);
  margin-bottom: var(--space-2);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-title {
  display: block;
  color: var(--neutral-900);
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.nav-title:hover {
  color: var(--primary-600);
}

/* ================================
   COMMENTS SECTION
   ================================ */
.comments-area {
  padding: var(--space-10);
  border-top: 1px solid var(--neutral-200);
  background: var(--neutral-50);
}

.comments-title,
#comments {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--primary-100);
}

/* ================================
   COMMENT LIST
   ================================ */
.commentlist {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-8) 0;
}

.commentlist li {
  margin-bottom: var(--space-6);
}

.comment-body {
  background: var(--neutral-0);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
}

.comment-body:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--primary-200);
}

.comment-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-500), var(--primary-600));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.comment-body:hover::before {
  opacity: 1;
}

/* ================================
   COMMENT AUTHOR
   ================================ */
.comment-author {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-4);
  gap: var(--space-3);
}

.comment-author .avatar {
  border-radius: 50%;
  border: 3px solid var(--primary-100);
  transition: all 0.3s ease;
}

.comment-body:hover .comment-author .avatar {
  border-color: var(--primary-300);
  transform: scale(1.05);
}

.comment-author .fn {
  font-weight: 600;
  color: var(--neutral-900);
  text-decoration: none;
  font-size: 1.125rem;
}

.comment-author .fn:hover {
  color: var(--primary-600);
}

.comment-author .says {
  color: var(--neutral-500);
  font-size: 0.875rem;
  margin-left: var(--space-2);
}

/* ================================
   COMMENT META
   ================================ */
.comment-meta {
  margin-bottom: var(--space-4);
  font-size: 0.875rem;
  color: var(--neutral-500);
}

.comment-meta a {
  color: var(--neutral-500);
  text-decoration: none;
  transition: color 0.2s ease;
}

.comment-meta a:hover {
  color: var(--primary-600);
}

.comment-edit-link {
  background: var(--neutral-100);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  font-weight: 500;
  margin-left: var(--space-2);
}

.comment-edit-link:hover {
  background: var(--primary-100);
  color: var(--primary-700);
}

/* ================================
   COMMENT CONTENT
   ================================ */
.comment-body p {
  color: var(--neutral-700);
  line-height: 1.6;
  margin-bottom: var(--space-4);
  font-size: 1rem;
}

/* ================================
   COMMENT REPLY
   ================================ */
.reply {
  margin-top: var(--space-4);
}

.comment-reply-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--primary-50);
  color: var(--primary-700);
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  border: 1px solid var(--primary-200);
}

.comment-reply-link:hover {
  background: var(--primary-500);
  color: var(--neutral-0);
  border-color: var(--primary-500);
  transform: translateY(-1px);
}

.comment-reply-link::before {
  content: "↩";
  font-size: 0.75rem;
}

/* ================================
   NESTED COMMENTS
   ================================ */
.commentlist .children {
  list-style: none;
  margin-top: var(--space-6);
  margin-left: var(--space-8);
  padding-left: var(--space-6);
  border-left: 3px solid var(--primary-100);
}

.commentlist .children .comment-body {
  background: var(--primary-25);
  border-color: var(--primary-100);
}

/* ================================
   COMMENT FORM
   ================================ */
.comment-respond {
  background: var(--neutral-0);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin-top: var(--space-8);
  box-shadow: var(--shadow-sm);
  margin: 20px auto;
  width: 96%;
}

.comment-reply-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--primary-100);
}

.comment-reply-title small {
  font-size: 0.875rem;
  font-weight: 400;
  margin-left: var(--space-4);
}

#cancel-comment-reply-link {
  color: var(--error-500);
  text-decoration: none;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

#cancel-comment-reply-link:hover {
  background: var(--error-500);
  color: var(--neutral-0);
}

/* ================================
   FORM ELEMENTS
   ================================ */
.comment-form p {
  margin-bottom: var(--space-6);
}

.comment-form label {
  display: block;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: var(--space-2);
  font-size: 0.9375rem;
}

.required {
  color: var(--error-500);
  font-weight: 700;
}

.logged-in-as {
  background: var(--primary-50);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--primary-200);
  color: var(--neutral-700);
  font-size: 0.9375rem;
}

.logged-in-as a {
  color: var(--primary-600);
  font-weight: 500;
  text-decoration: none;
}

.logged-in-as a:hover {
  color: var(--primary-700);
  text-decoration: underline;
}

.required-field-message {
  display: block;
  margin-top: var(--space-2);
  font-size: 0.875rem;
  color: var(--neutral-500);
}

/* ================================
   FORM INPUTS
   ================================ */
.comment-form input[type=text],
.comment-form input[type=email],
.comment-form input[type=url],
.comment-form textarea {
  width: 100%;
  padding: var(--space-4);
  border: 2px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  background: var(--neutral-0);
  color: var(--neutral-900);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  transition: all 0.3s ease;
  outline: none;
}

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

.comment-form input[type=text]:focus,
.comment-form input[type=email]:focus,
.comment-form input[type=url]:focus,
.comment-form textarea:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
  background: var(--neutral-0);
}

/* ================================
   SUBMIT BUTTON
   ================================ */
.form-submit {
  margin-top: var(--space-6);
}

.comment-form input[type=submit],
.submit {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: var(--neutral-0);
  border: none;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.comment-form input[type=submit]::before,
.submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.comment-form input[type=submit]:hover,
.submit:hover {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.comment-form input[type=submit]:hover::before,
.submit:hover::before {
  left: 100%;
}

.comment-form input[type=submit]:active,
.submit:active {
  transform: translateY(0);
}

/* ================================
   NAVIGATION
   ================================ */
.navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: var(--space-8) 0;
  padding: var(--space-4) 0;
}

.navigation .alignleft,
.navigation .alignright {
  flex: 1;
}

.navigation .alignright {
  text-align: right;
}

.navigation a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  background: var(--neutral-0);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  color: var(--neutral-700);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.navigation a:hover {
  background: var(--primary-50);
  border-color: var(--primary-200);
  color: var(--primary-700);
  transform: translateY(-1px);
}

/* ================================
   RESPONSIVE COMMENTS
   ================================ */
@media (max-width: 768px) {
  .comments-area {
    padding: var(--space-8) var(--space-6);
  }
  .comment-respond {
    padding: var(--space-6);
  }
  .commentlist .children {
    margin-left: var(--space-4);
    padding-left: var(--space-4);
  }
  .comment-author {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }
  .comment-author .avatar {
    align-self: center;
  }
  .comment-form input[type=submit],
  .submit {
    width: 100%;
    padding: var(--space-4);
  }
}
@media (max-width: 480px) {
  .comment-body {
    padding: var(--space-4);
  }
  .comment-reply-title {
    font-size: 1.25rem;
  }
  .commentlist .children {
    margin-left: 0;
    padding-left: var(--space-4);
    border-left-width: 2px;
  }
}
/* ================================
   RESPONSIVE DESIGN - SINGLE POST
   ================================ */
@media (max-width: 1024px) {
  .single-post-layout {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .single-post-layout .doc-sidebar {
    position: static;
    order: 2;
    max-height: none;
  }
  .doc-main-content {
    order: 1;
  }
}
@media (max-width: 768px) {
  .single-post-layout {
    padding: 0 var(--space-4);
  }
  .doc-post-header {
    padding: var(--space-8) var(--space-6);
  }
  .doc-post-title {
    font-size: 2rem;
  }
  .doc-post-content {
    padding: var(--space-8) var(--space-6);
    font-size: 1rem;
  }
  .doc-post-nav {
    padding: var(--space-6);
  }
  .doc-nav-links {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .doc-nav-next {
    text-align: left;
  }
  .single-post-layout .doc-sidebar {
    padding: var(--space-6);
  }
  .comments-area {
    padding: var(--space-8) var(--space-6);
  }
}
@media (max-width: 480px) {
  .doc-post-title {
    font-size: 1.75rem;
  }
  .doc-post-content h2 {
    font-size: 1.5rem;
  }
  .doc-post-content h3 {
    font-size: 1.25rem;
  }
  .doc-nav-prev,
  .doc-nav-next {
    padding: var(--space-4);
  }
  .nav-title {
    font-size: 1rem;
  }
}
/* ================================
   UTILITY CLASSES
   ================================ */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-2 {
  margin-bottom: var(--space-2);
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.mb-6 {
  margin-bottom: var(--space-6);
}

.mb-8 {
  margin-bottom: var(--space-8);
}

.mt-0 {
  margin-top: 0;
}

.mt-2 {
  margin-top: var(--space-2);
}

.mt-4 {
  margin-top: var(--space-4);
}

.mt-6 {
  margin-top: var(--space-6);
}

.mt-8 {
  margin-top: var(--space-8);
}

.particles-cover {
  position: relative;
  z-index: 1;
}

.particles-cover .particles-js-canvas-el {
  position: absolute;
  z-index: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.menu {
  gap: 1rem;
}

.single-post .single-post-layout {
  max-width: 1660px;
}/*# sourceMappingURL=style.css.map */