/* AlignsDot SaaS Sidebar Theme */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
body{font-family:'Pretendard','Inter',-apple-system,sans-serif;color:#333;background:#f8f9fa;line-height:1.7;-webkit-font-smoothing:antialiased;word-break:keep-all;font-size:14px}

/* APP LAYOUT */
.app{display:flex;min-height:100vh}

/* SIDEBAR */
.sidebar-nav{width:240px;flex-shrink:0;background:#fff;border-right:1px solid #eef0f2;display:flex;flex-direction:column;position:fixed;top:0;left:0;bottom:0;z-index:100;padding:24px 16px;overflow-y:auto}
.site-logo{margin-bottom:24px}
.site-logo a{font-size:15px;font-weight:700;color:#1a1a1a;text-decoration:none;display:flex;align-items:center;gap:8px}
.logo-mark{display:inline-flex;width:22px;height:22px;background:#2563eb;border-radius:4px;align-items:center;justify-content:center;color:#fff;font-size:11px;font-weight:700}
.nav-section{margin-bottom:20px}
.nav-label{font-size:10px;font-weight:600;color:#9ca3af;padding:6px 8px;letter-spacing:.5px;text-transform:uppercase}
.nav-list{list-style:none;padding:0;margin:0}
.nav-item{margin:0}
.nav-item a{display:flex;align-items:center;gap:8px;padding:8px 10px;text-decoration:none;color:#6b7280;font-size:13px;font-weight:500;border-radius:6px;transition:all .15s}
.nav-item a:hover{background:#f3f4f6;color:#374151}
.nav-divider{height:1px;background:#eef0f2;margin:12px 0}
.nav-footer{border-top:1px solid #eef0f2;padding-top:12px;margin-top:auto}
.user-box{display:flex;align-items:center;gap:10px;padding:6px 8px;border-radius:6px}
.user-avatar{width:26px;height:26px;border-radius:4px;background:linear-gradient(135deg,#2563eb,#60a5fa);display:flex;align-items:center;justify-content:center;color:#fff;font-size:11px;font-weight:700}
.user-name{font-size:12px;font-weight:500;color:#555}

/* MAIN */
.main-content{margin-left:240px;flex:1;min-height:100vh;display:flex;flex-direction:column}
.top-bar{background:#fff;border-bottom:1px solid #f0f0f0;padding:12px 32px;display:flex;justify-content:flex-end;align-items:center;position:sticky;top:0;z-index:50}
.search-input{width:200px;padding:5px 14px;border:1px solid #e5e7eb;border-radius:16px;font-size:12px;outline:none;background:#f9fafb;font-family:inherit;color:#333;transition:all .2s}
.search-input:focus{width:240px;border-color:#2563eb;background:#fff}

/* HERO */
.hero{padding:48px 32px 28px}
.hero-inner{max-width:720px}
.hero h1{font-size:26px;font-weight:700;color:#1a1a1a;line-height:1.3;margin-bottom:8px;letter-spacing:-.5px}
.hero .highlight{color:#2563eb}
.hero p{font-size:13px;color:#6b7280;line-height:1.6;max-width:520px}
.hero-stats{display:flex;gap:24px;margin-top:16px;flex-wrap:wrap}
.stat{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:12px 16px;min-width:100px}
.stat .num{font-size:20px;font-weight:700;color:#2563eb}
.stat .label{font-size:10px;color:#9ca3af;margin-top:2px}

/* CONTENT */
.content-inner{max-width:720px;margin:0 auto;padding:0 32px 40px;width:100%}
.post-section-label{font-size:11px;font-weight:600;color:#9ca3af;letter-spacing:1px;margin-bottom:16px;padding-bottom:10px;border-bottom:1px solid #eef0f2}

/* POST CARDS */
.post-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:18px 20px;margin-bottom:10px;transition:all .15s}
.post-card:hover{border-color:#2563eb30;box-shadow:0 2px 8px rgba(37,99,235,.06)}
.post-top{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.post-category{font-size:10px;font-weight:600;color:#2563eb;background:#eff6ff;padding:2px 8px;border-radius:3px;letter-spacing:.3px}
.dot{font-size:10px;color:#d1d5db}
.reading-time{font-size:11px;color:#9ca3af}
.post-title{margin:0 0 6px}
.post-title a{font-size:15px;font-weight:600;color:#1a1a1a;text-decoration:none;line-height:1.4}
.post-title a:hover{color:#2563eb}
.post-excerpt{font-size:12px;color:#6b7280;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:8px}
.post-meta{font-size:11px;color:#9ca3af}

/* SINGLE POST */
.single-post-content{max-width:720px;margin:0 auto;padding:40px 32px;width:100%}
.post-full-title{font-size:26px;font-weight:700;color:#1a1a1a;line-height:1.3;margin-bottom:12px}
.post-full-meta{display:flex;align-items:center;gap:12px;font-size:12px;color:#9ca3af;margin-bottom:24px}
.post-full-content{font-size:14px;line-height:1.8;color:#333}
.post-full-content h2{font-size:20px;font-weight:700;margin:32px 0 12px;color:#1a1a1a}
.post-full-content h3{font-size:16px;font-weight:600;margin:24px 0 8px;color:#1a1a1a}
.post-full-content p{margin-bottom:12px}
.post-full-content ul,.post-full-content ol{margin:8px 0 16px 20px}
.post-full-content li{margin-bottom:4px}
.post-full-content table{width:100%;border-collapse:collapse;margin:16px 0}
.post-full-content th,.post-full-content td{border:1px solid #e5e7eb;padding:8px 12px;text-align:left;font-size:13px}
.post-full-content th{background:#f9fafb;font-weight:600}
.post-full-content blockquote{border-left:3px solid #2563eb;padding:8px 16px;margin:16px 0;color:#6b7280;font-style:italic}
.post-nav{display:flex;justify-content:space-between;margin-top:32px;padding-top:16px;border-top:1px solid #eef0f2}
.post-nav a{font-size:13px;color:#2563eb;text-decoration:none}

/* PAGINATION */
.pagination{display:flex;justify-content:center;gap:12px;margin-top:24px}
.pagination a,.pagination span{padding:8px 14px;border:1px solid #e5e7eb;border-radius:6px;font-size:13px;color:#6b7280;text-decoration:none}
.pagination a:hover{background:#eff6ff;color:#2563eb}

/* FOOTER */
.mis-footer{padding:24px 0;text-align:center;color:#9ca3af;font-size:11px;border-top:1px solid #eef0f2;margin-top:auto}

/* Ghost Portal + Member styles */
.gh-portal-trigger-btn,.gh-head-members{display:none!important}

@media (max-width:768px){
  .nav-toggle-hidden{display:none}
  .hamburger-btn{display:flex!important;position:fixed;top:14px;right:16px;z-index:200;width:26px;height:20px;flex-direction:column;justify-content:space-between;cursor:pointer}
  .hamburger-btn span{display:block;width:100%;height:2px;background:#1a1a1a;border-radius:2px;transition:all .2s ease}
  .nav-toggle-hidden:checked~.hamburger-btn span:nth-child(1){transform:translateY(9px) rotate(45deg)}
  .nav-toggle-hidden:checked~.hamburger-btn span:nth-child(2){opacity:0}
  .nav-toggle-hidden:checked~.hamburger-btn span:nth-child(3){transform:translateY(-9px) rotate(-45deg)}
  .nav-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.35);z-index:140}
  .nav-toggle-hidden:checked~.nav-overlay{display:block}
  .sidebar-nav{width:260px;padding:60px 16px 24px;transform:translateX(-100%);box-shadow:none;transition:transform .25s ease;z-index:150}
  .nav-toggle-hidden:checked~.sidebar-nav{transform:translateX(0);box-shadow:4px 0 20px rgba(0,0,0,.12)}
  .main-content{margin-left:0!important}
  .content-inner{padding:0 16px 24px}
  .hero{padding:28px 16px 20px}
  .hero h1{font-size:20px}
  .hero-stats{gap:10px}
  .hero-stats .stat{min-width:80px;padding:10px 12px}
  .hero-stats .stat .num{font-size:17px}
  .single-post-content{padding:24px 16px}
  .post-title a{font-size:18px}
  .post-card{padding:14px 16px}
  .top-bar{padding:10px 16px}
  .search-input{width:100%}
  .search-input:focus{width:100%}
}