/*
Theme Name: Simpel Docs
Theme URI: https://example.com/simpel-docs
Author: Anda
Description: Tema WordPress bergaya GitBook — untuk dokumentasi, panduan, dan knowledge base. Cepat, bersih, dan mudah digunakan.
Version: 1.0.0
Requires at least: 5.5
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: simpel-docs
Tags: documentation, gitbook, sidebar, clean, fast, knowledge-base
*/

/* ================================================
   CSS VARIABLES
================================================ */
:root {
  --sidebar-width: 280px;
  --header-height: 56px;

  /* Colors - Light Mode */
  --bg-main:        #ffffff;
  --bg-sidebar:     #f7f8fa;
  --bg-hover:       #eef0f3;
  --bg-active:      #e3e8f0;
  --bg-code:        #f3f4f6;
  --bg-tip:         #f0f9ff;

  --text-primary:   #1c1e21;
  --text-secondary: #4b5563;
  --text-muted:     #9ca3af;
  --text-sidebar:   #374151;

  --accent:         #2563eb;
  --accent-hover:   #1d4ed8;
  --accent-light:   #dbeafe;

  --border:         #e5e7eb;
  --border-strong:  #d1d5db;

  --font-sans:  'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-mono:  'Fira Code', 'Cascadia Code', 'Consolas', monospace;
  --font-body-size: 15px;
  --line-height: 1.75;

  --radius-sm: 4px;
  --radius:    6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow:    0 2px 12px rgba(0,0,0,0.08);
  --transition: 0.18s ease;
}

/* Dark Mode */
[data-theme="dark"] {
  --bg-main:        #1a1b1e;
  --bg-sidebar:     #141517;
  --bg-hover:       #25262b;
  --bg-active:      #2c2d32;
  --bg-code:        #25262b;
  --bg-tip:         #1a2744;

  --text-primary:   #e8eaed;
  --text-secondary: #9aa0ac;
  --text-muted:     #6b7280;
  --text-sidebar:   #c9cdd4;

  --accent:         #60a5fa;
  --accent-hover:   #93c5fd;
  --accent-light:   #1e3a5f;

  --border:         #2e3035;
  --border-strong:  #3f4147;
}

/* ================================================
   RESET & BASE
================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: var(--font-body-size); scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg-main);
  color: var(--text-primary);
  line-height: var(--line-height);
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition), color var(--transition);
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }
ul, ol { padding-left: 0; list-style: none; }

/* ================================================
   LAYOUT
================================================ */
.docs-layout {
  display: flex;
  min-height: 100vh;
}
.docs-main {
  flex: 1;
  margin-left: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.docs-content-area {
  flex: 1;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 48px 40px 80px;
}

/* ================================================
   TOP HEADER BAR
================================================ */
.docs-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: var(--bg-sidebar);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  z-index: 200;
  padding: 0 20px 0 0;
}
.topbar-logo {
  width: var(--sidebar-width);
  min-width: var(--sidebar-width);
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-right: 1px solid var(--border);
  height: 100%;
}
.topbar-logo a {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar-logo a:hover { color: var(--accent); }
.logo-icon {
  width: 28px; height: 28px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
}
.topbar-center {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 24px;
}
.topbar-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 12px;
  max-width: 360px;
  width: 100%;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.topbar-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.topbar-search input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.875rem;
  color: var(--text-primary);
  width: 100%;
  font-family: inherit;
}
.topbar-search input::placeholder { color: var(--text-muted); }
.search-icon { color: var(--text-muted); font-size: 0.875rem; flex-shrink: 0; }
.search-hint {
  margin-left: auto;
  background: var(--bg-hover);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 1px 6px;
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.topbar-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 5px 8px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: all var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.topbar-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

/* ================================================
   SIDEBAR
================================================ */
.docs-sidebar {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: var(--sidebar-width);
  height: calc(100vh - var(--header-height));
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 100;
  padding: 16px 0 32px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  transition: transform var(--transition);
}
.docs-sidebar::-webkit-scrollbar { width: 4px; }
.docs-sidebar::-webkit-scrollbar-track { background: transparent; }
.docs-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* Sidebar version badge */
.sidebar-version {
  padding: 4px 16px 12px;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 600;
}

/* Sidebar Section Headers */
.sidebar-section {
  margin-bottom: 4px;
}
.sidebar-section-title {
  padding: 8px 16px 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sidebar-section-toggle {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.7rem;
  padding: 2px 4px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  line-height: 1;
}
.sidebar-section-toggle:hover { color: var(--text-primary); background: var(--bg-hover); }

/* Sidebar Nav Items */
.sidebar-nav { padding: 0 8px; }
.sidebar-nav li { margin-bottom: 1px; }
.sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-sidebar);
  text-decoration: none;
  transition: all var(--transition);
  line-height: 1.4;
  position: relative;
}
.sidebar-nav li a:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
  text-decoration: none;
}
.sidebar-nav li.current-menu-item > a,
.sidebar-nav li.current-page-ancestor > a {
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 600;
}
.sidebar-nav li.current-menu-item > a::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 16px;
  background: var(--accent);
  border-radius: 0 2px 2px 0;
}
/* Sub menu indent */
.sidebar-nav .sub-menu {
  margin-left: 16px;
  margin-top: 1px;
  border-left: 1px solid var(--border);
  padding-left: 8px;
}
.sidebar-nav .sub-menu li a {
  font-size: 0.84rem;
  padding: 4px 10px;
  color: var(--text-secondary);
}

/* Sidebar divider */
.sidebar-divider {
  height: 1px;
  background: var(--border);
  margin: 10px 16px;
}

/* ================================================
   CONTENT HEADER (per page)
================================================ */
.docs-main { padding-top: var(--header-height); }

.page-header { margin-bottom: 32px; }
.page-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}
.page-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.page-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 600px;
}
.page-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.page-meta span { display: flex; align-items: center; gap: 4px; }

.page-header-divider {
  height: 1px;
  background: var(--border);
  margin-top: 24px;
}

/* ================================================
   ARTICLE / CONTENT BODY
================================================ */
.entry-content {
  font-size: var(--font-body-size);
  color: var(--text-primary);
  line-height: var(--line-height);
}
.entry-content > * + * { margin-top: 1.2em; }

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  scroll-margin-top: calc(var(--header-height) + 16px);
}
.entry-content h1 { font-size: 1.75rem; margin-top: 2em; }
.entry-content h2 {
  font-size: 1.35rem;
  margin-top: 2.2em;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.entry-content h3 { font-size: 1.1rem; margin-top: 1.8em; }
.entry-content h4 { font-size: 0.95rem; margin-top: 1.6em; }

/* Heading anchor link */
.entry-content h2 .anchor,
.entry-content h3 .anchor,
.entry-content h4 .anchor {
  opacity: 0;
  margin-left: 6px;
  font-size: 0.8em;
  color: var(--text-muted);
  transition: opacity var(--transition);
  text-decoration: none;
}
.entry-content h2:hover .anchor,
.entry-content h3:hover .anchor { opacity: 1; }

/* Paragraph */
.entry-content p { color: var(--text-secondary); }

/* Links */
.entry-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.entry-content a:hover { color: var(--accent-hover); }

/* Lists */
.entry-content ul, .entry-content ol {
  padding-left: 1.5em;
}
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 0.3em; color: var(--text-secondary); }
.entry-content li > ul, .entry-content li > ol { margin-top: 0.3em; }

/* Blockquote */
.entry-content blockquote {
  border-left: 3px solid var(--accent);
  background: var(--bg-tip);
  margin: 1.5em 0;
  padding: 14px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-secondary);
}
.entry-content blockquote p { margin: 0; }

/* Inline Code */
.entry-content code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--bg-code);
  border: 1px solid var(--border);
  padding: 1px 5px;
  border-radius: var(--radius-sm);
  color: #c0392b;
}
[data-theme="dark"] .entry-content code { color: #ff7675; }

/* Code Block */
.entry-content pre {
  background: #1e2433;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1.5em 0;
  box-shadow: var(--shadow);
}
.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.75rem;
  color: #7f8c9a;
  font-family: var(--font-mono);
}
.code-copy-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  color: #9aa0ac;
  font-size: 0.72rem;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-sans);
}
.code-copy-btn:hover { background: rgba(255,255,255,0.15); color: #fff; }
.entry-content pre code {
  display: block;
  padding: 16px 20px;
  background: transparent;
  border: none;
  color: #abb2bf;
  font-size: 0.875rem;
  line-height: 1.6;
  overflow-x: auto;
}

/* Table */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1.5em 0;
}
.entry-content th {
  background: var(--bg-sidebar);
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.entry-content td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: top;
}
.entry-content tr:hover td { background: var(--bg-hover); }

/* Images */
.entry-content img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin: 1.5em auto;
}

/* HR */
.entry-content hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 2em 0;
}

/* ================================================
   CALLOUT / HINT BOXES
================================================ */
.callout {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius);
  margin: 1.5em 0;
  font-size: 0.9rem;
}
.callout-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.callout-info    { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }
.callout-tip     { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.callout-warning { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.callout-danger  { background: #fff1f2; border: 1px solid #fecdd3; color: #9f1239; }
[data-theme="dark"] .callout-info    { background: #1e3a5f; border-color: #2563eb; color: #93c5fd; }
[data-theme="dark"] .callout-tip     { background: #14532d; border-color: #16a34a; color: #86efac; }
[data-theme="dark"] .callout-warning { background: #451a03; border-color: #d97706; color: #fcd34d; }
[data-theme="dark"] .callout-danger  { background: #4c0519; border-color: #e11d48; color: #fda4af; }

/* ================================================
   TABLE OF CONTENTS (Right sidebar / inline)
================================================ */
.toc-wrapper {
  position: fixed;
  top: calc(var(--header-height) + 40px);
  right: 0;
  width: 220px;
  max-height: calc(100vh - var(--header-height) - 60px);
  overflow-y: auto;
  padding: 0 24px 0 0;
  font-size: 0.8rem;
}
.toc-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.toc-list { list-style: none; }
.toc-list li { margin-bottom: 2px; }
.toc-list a {
  color: var(--text-muted);
  text-decoration: none;
  display: block;
  padding: 3px 6px;
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  transition: all var(--transition);
  line-height: 1.4;
}
.toc-list a:hover,
.toc-list a.active {
  color: var(--accent);
  border-left-color: var(--accent);
  background: var(--accent-light);
  text-decoration: none;
}
.toc-list .toc-h3 { padding-left: 16px; font-size: 0.78rem; }

/* ================================================
   PREV / NEXT NAVIGATION
================================================ */
.docs-pagination {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.docs-pagination a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  background: var(--bg-sidebar);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--transition);
  min-height: 70px;
}
.docs-pagination a:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}
.pagination-direction {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
}
.pagination-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}
.docs-pagination .nav-next { text-align: right; }
.docs-pagination .nav-prev .pagination-direction::before { content: '← '; }
.docs-pagination .nav-next .pagination-direction::after { content: ' →'; }
.docs-pagination .nav-prev:only-child,
.docs-pagination .nav-next:only-child { grid-column: 1 / -1; }

/* ================================================
   BREADCRUMB
================================================ */
.docs-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.docs-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.docs-breadcrumb a:hover { color: var(--accent); text-decoration: none; }
.docs-breadcrumb .sep { color: var(--border-strong); }
.docs-breadcrumb .current { color: var(--text-secondary); }

/* ================================================
   SEARCH MODAL
================================================ */
.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 500;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
}
.search-overlay.is-open { display: flex; }
.search-modal {
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  overflow: hidden;
}
.search-modal-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.search-modal-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  font-family: inherit;
  background: transparent;
  color: var(--text-primary);
}
.search-modal-input-wrap input::placeholder { color: var(--text-muted); }
.search-modal-close {
  background: var(--bg-hover);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px 8px;
  font-size: 0.72rem;
  color: var(--text-muted);
  cursor: pointer;
}
.search-modal-results { padding: 8px; max-height: 400px; overflow-y: auto; }
.search-result-item {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition);
}
.search-result-item:hover { background: var(--bg-hover); }
.search-result-title { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); }
.search-result-excerpt { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }
.search-no-results { padding: 32px; text-align: center; color: var(--text-muted); font-size: 0.9rem; }

/* ================================================
   FOOTER
================================================ */
.docs-footer {
  padding: 24px 40px;
  border-top: 1px solid var(--border);
  margin-left: var(--sidebar-width);
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.docs-footer a { color: var(--text-muted); }
.docs-footer a:hover { color: var(--accent); text-decoration: none; }
.footer-links { display: flex; gap: 16px; }

/* ================================================
   HOMEPAGE / DOCS CARDS
================================================ */
.docs-home-hero {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.docs-home-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}
.docs-home-hero p { font-size: 1.05rem; color: var(--text-secondary); max-width: 500px; }

.docs-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin: 32px 0;
}
.docs-card {
  background: var(--bg-sidebar);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: all var(--transition);
  text-decoration: none;
  display: block;
}
.docs-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  text-decoration: none;
}
.docs-card-icon { font-size: 1.5rem; margin-bottom: 10px; }
.docs-card-title { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.docs-card-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

/* ================================================
   BADGE / TAG
================================================ */
.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.badge-new     { background: #dcfce7; color: #166534; }
.badge-updated { background: #dbeafe; color: #1e40af; }
.badge-beta    { background: #fef3c7; color: #92400e; }
[data-theme="dark"] .badge-new     { background: #14532d; color: #86efac; }
[data-theme="dark"] .badge-updated { background: #1e3a5f; color: #93c5fd; }
[data-theme="dark"] .badge-beta    { background: #451a03; color: #fcd34d; }

/* ================================================
   MOBILE HAMBURGER
================================================ */
.sidebar-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px 8px;
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-right: 8px;
}

/* ================================================
   RESPONSIVE
================================================ */
@media (max-width: 1200px) {
  .toc-wrapper { display: none; }
  .docs-content-area { max-width: 100%; padding: 40px 32px 60px; }
}
@media (max-width: 768px) {
  .docs-sidebar {
    transform: translateX(-100%);
    box-shadow: none;
    z-index: 150;
  }
  .docs-sidebar.is-open {
    transform: translateX(0);
    box-shadow: 4px 0 24px rgba(0,0,0,0.15);
  }
  .docs-main, .docs-footer { margin-left: 0; }
  .topbar-logo { width: auto; min-width: auto; border-right: none; }
  .sidebar-toggle { display: flex; }
  .topbar-center { display: none; }
  .docs-content-area { padding: 28px 20px 56px; }
  .page-title { font-size: 1.5rem; }
  .docs-pagination { grid-template-columns: 1fr; }
  .docs-cards { grid-template-columns: 1fr; }
  .docs-footer { margin-left: 0; }
}
