/* ══════════════════════════════════════════════════════════
   LocalWebsCoder — Design System  |  Dark / Tech Aesthetic
   ══════════════════════════════════════════════════════════ */

/* === CUSTOM PROPERTIES === */
:root {
  --bg:        #060610;
  --bg2:       #0c0c1a;
  --card:      #10101f;
  --border:    #1a1a30;
  --blue:      #5b8ef0;
  --blue-dim:  rgba(91,142,240,.1);
  --blue-glow: rgba(91,142,240,.2);
  --white:     #eaeaff;
  --text:      #7880a0;
  --text2:     #a0aabb;
  --green:     #22c55e;
  --red:       #ef4444;
  --yellow:    #f59e0b;

  --font:      system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-h:    "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "Fira Code", "Cascadia Code", "JetBrains Mono", Consolas, monospace;

  --r:    10px;
  --r-sm: 6px;
  --r-lg: 16px;
  --shadow: 0 4px 32px rgba(0,0,0,.6);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text2);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

button, input, textarea, select { font-family: inherit; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5 {
  font-family: var(--font-h);
  color: var(--white);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -.03em;
}

.lw-h1 { font-size: clamp(30px, 5.5vw, 56px); }
.lw-h2 { font-size: clamp(24px, 3.8vw, 40px); }
.lw-h3 { font-size: clamp(20px, 2.8vw, 30px); }

.lw-lead {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text2);
  line-height: 1.65;
  max-width: 640px;
}

.lw-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
}
.lw-eyebrow:hover { text-decoration: underline; }

/* === LAYOUT === */
.lw-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.lw-section    { padding: 80px 0; }
.lw-section-sm { padding: 52px 0; }

/* === STICKY NAV === */
.lw-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(6, 6, 16, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.lw-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 66px;
}

.lw-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.lw-logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--blue);
  border-radius: 8px;
  flex-shrink: 0;
}

.lw-logo-text {
  font-family: var(--font-h);
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.03em;
}
.lw-logo-text span { color: var(--blue); }

.lw-nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.lw-nav-links a {
  color: var(--text2);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s;
}
.lw-nav-links a:hover  { color: var(--white); }
.lw-nav-links a.active { color: var(--white); font-weight: 600; }

/* Hamburger */
.lw-hamburger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px 10px;
  width: 40px;
  height: 40px;
}
.lw-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: .3s;
}
.lw-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lw-hamburger.open span:nth-child(2) { opacity: 0; }
.lw-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.lw-mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.lw-mobile-nav.open { display: flex; }
.lw-mobile-nav a {
  display: block;
  padding: 13px 0;
  color: var(--text2);
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: color .2s;
}
.lw-mobile-nav a:last-child { border-bottom: none; }
.lw-mobile-nav a:hover { color: var(--white); }

@media (max-width: 768px) {
  .lw-nav-links  { display: none; }
  .lw-hamburger  { display: flex; }
}

/* === BUTTONS === */
.lw-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: var(--r-sm);
  border: 1px solid var(--blue);
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, opacity .15s, transform .1s, box-shadow .2s;
  line-height: 1;
  white-space: nowrap;
}
.lw-btn:hover { background: #4a7ee0; box-shadow: 0 0 20px rgba(91,142,240,.35); text-decoration: none; }
.lw-btn:active { transform: scale(.97); }
.lw-btn-sm { padding: 8px 16px; font-size: 13px; }

.lw-btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--border);
}
.lw-btn-outline:hover { background: rgba(255,255,255,.04); border-color: var(--text); box-shadow: none; }

.lw-btn-ghost {
  background: transparent;
  color: var(--text2);
  border-color: var(--border);
}
.lw-btn-ghost:hover { color: var(--white); border-color: var(--text); background: transparent; box-shadow: none; }

.lw-delete-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: #f87171;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(239,68,68,.2);
  cursor: pointer;
  transition: background .2s, border-color .2s;
  text-decoration: none;
}
.lw-delete-btn:hover { background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.5); }

/* === CARDS === */
.lw-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.lw-card:hover { border-color: var(--blue-glow); }
a.lw-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(91,142,240,.12); text-decoration: none; }

/* === BADGES === */
.lw-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}
.lw-badge-ok   { background: rgba(34,197,94,.12); color: #4ade80; }
.lw-badge-warn { background: rgba(245,158,11,.12); color: #fbbf24; }
.lw-badge-blue { background: var(--blue-dim); color: var(--blue); }
.lw-badge-red  { background: rgba(239,68,68,.12); color: #f87171; }

/* === FORMS === */
.lw-form-group { margin-bottom: 20px; }

.lw-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 8px;
}

.lw-form-input,
.lw-form-textarea,
.lw-form-select {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--white);
  font-size: 14px;
  font-family: var(--font);
  padding: 11px 14px;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.lw-form-input:focus,
.lw-form-textarea:focus,
.lw-form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-dim);
}
.lw-form-textarea { resize: vertical; line-height: 1.6; }
.lw-form-select   { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a0aabb' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.lw-form-input::placeholder,
.lw-form-textarea::placeholder { color: var(--text); }

.lw-form-msg {
  padding: 12px 16px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 500;
}
.lw-form-msg.success { background: rgba(34,197,94,.08); color: #4ade80; border: 1px solid rgba(34,197,94,.2); }
.lw-form-msg.error   { background: rgba(239,68,68,.08); color: #f87171; border: 1px solid rgba(239,68,68,.2); }

/* === HERO === */
.lw-hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 88px;
  background: radial-gradient(ellipse 900px 600px at 50% -100px, rgba(91,142,240,.14) 0%, transparent 65%);
}

.lw-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(91,142,240,.06) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
}

.lw-hero-content { position: relative; max-width: 800px; }

.lw-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-dim);
  border: 1px solid rgba(91,142,240,.2);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 28px;
}
.lw-hero-tag-dot {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  animation: lwPulse 2.2s ease-in-out infinite;
}
@keyframes lwPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.85)} }

.lw-hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .lw-hero { padding: 64px 0 56px; }
}

/* === DIVIDERS / SECTION LABELS === */
.lw-section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
}
.lw-section-label-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}
.lw-section-label-line {
  height: 1px;
  background: var(--border);
  flex: 1;
}

/* === GRIDS === */
.lw-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lw-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

@media (max-width: 900px) { .lw-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .lw-grid-3, .lw-grid-2 { grid-template-columns: 1fr; } }

/* === POST / PROJECT CARDS === */
.lw-post-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  text-decoration: none;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.lw-post-card:hover {
  border-color: var(--blue-glow);
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(91,142,240,.1);
  text-decoration: none;
}
.lw-post-card-img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.lw-post-card-img-placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #10102a 0%, #0c0c20 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.lw-post-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.lw-post-card-cat  { font-size: 11px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .08em; }
.lw-post-card-title { font-size: 16px; font-weight: 700; color: var(--white); margin: 8px 0 10px; line-height: 1.4; }
.lw-post-card-excerpt { font-size: 13px; color: var(--text); line-height: 1.65; flex: 1; }
.lw-post-card-meta { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 12px; color: var(--text); flex-wrap: wrap; }
.lw-post-card-meta-dot { color: var(--border); }

/* === TECH STACK TAGS === */
.lw-tech-tag {
  display: inline-block;
  background: var(--blue-dim);
  color: var(--blue);
  border: 1px solid rgba(91,142,240,.18);
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  margin: 3px 2px;
}

/* === CATEGORY FILTER BAR === */
.lw-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.lw-filter-tag {
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text2);
  text-decoration: none;
  transition: all .18s;
}
.lw-filter-tag:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.lw-filter-tag.active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* === PAGINATION === */
.lw-pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 52px; }
.lw-page-btn {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text2);
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.lw-page-btn:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.lw-page-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* === POST HERO === */
.lw-post-hero {
  padding: 64px 0 52px;
  background: linear-gradient(180deg, rgba(91,142,240,.05) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
}
.lw-post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

/* === POST WRAP + CONTENT === */
.lw-post-wrap { padding-top: 56px; padding-bottom: 88px; }

.lw-post-content {
  max-width: 740px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.82;
  color: var(--text2);
}
.lw-post-content h1,
.lw-post-content h2,
.lw-post-content h3,
.lw-post-content h4 { margin: 2em 0 .8em; color: var(--white); }
.lw-post-content h2 { font-size: 27px; }
.lw-post-content h3 { font-size: 21px; }
.lw-post-content h4 { font-size: 17px; }
.lw-post-content p  { margin: 0 0 1.4em; }
.lw-post-content ul,
.lw-post-content ol { padding-left: 1.6em; margin: 0 0 1.4em; }
.lw-post-content li { margin-bottom: .5em; }
.lw-post-content blockquote {
  border-left: 3px solid var(--blue);
  padding: 14px 22px;
  margin: 1.8em 0;
  background: var(--blue-dim);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--text2);
  font-style: italic;
}
.lw-post-content pre {
  background: #080818;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 22px;
  overflow-x: auto;
  margin: 1.8em 0;
  font-size: 14px;
  line-height: 1.65;
}
.lw-post-content code { font-family: var(--font-mono); }
.lw-post-content p code,
.lw-post-content li code {
  background: rgba(91,142,240,.12);
  color: #a8c4ff;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: .87em;
}
.lw-post-content a { color: var(--blue); }
.lw-post-content a:hover { text-decoration: underline; }
.lw-post-content img { max-width: 100%; border-radius: var(--r-sm); margin: 1.8em auto; }
.lw-post-content hr { border: none; border-top: 1px solid var(--border); margin: 2.5em 0; }

/* === CTA SECTION === */
.lw-cta {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(91,142,240,.04) 100%);
  border-top: 1px solid var(--border);
}

/* === CONTACT GRID === */
.lw-contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 800px) { .lw-contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.lw-contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.lw-contact-info-item:last-child { border-bottom: none; }
.lw-contact-icon {
  width: 44px; height: 44px;
  background: var(--blue-dim);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}

/* === 404 === */
.lw-404 {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
}
.lw-404-code {
  font-size: clamp(80px, 18vw, 160px);
  font-weight: 900;
  font-family: var(--font-h);
  color: transparent;
  -webkit-text-stroke: 2px var(--border);
  line-height: 1;
  user-select: none;
  letter-spacing: -.05em;
}

/* === MAINTENANCE === */
.lw-maintenance {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  background: radial-gradient(ellipse at 50% 30%, rgba(91,142,240,.1) 0%, transparent 60%);
}
.lw-maintenance-inner { max-width: 500px; }
.lw-maintenance-logo { margin-bottom: 32px; }
.lw-maintenance-icon { font-size: 72px; margin-bottom: 28px; line-height: 1; }
.lw-maintenance-progress {
  width: 200px;
  height: 3px;
  background: var(--border);
  border-radius: 3px;
  margin: 32px auto 0;
  overflow: hidden;
}
.lw-maintenance-progress-bar {
  height: 100%;
  width: 60%;
  background: var(--blue);
  border-radius: 3px;
  animation: lwProgress 2.5s ease-in-out infinite alternate;
}
@keyframes lwProgress { from{width:30%} to{width:80%} }

/* === FOOTER === */
.lw-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}
.lw-footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.lw-footer-brand p { font-size: 14px; color: var(--text); margin-top: 14px; line-height: 1.65; max-width: 280px; }
.lw-footer-col h5 { font-size: 11px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.lw-footer-col a { display: block; font-size: 14px; color: var(--text); margin-bottom: 12px; text-decoration: none; transition: color .2s; }
.lw-footer-col a:hover { color: var(--blue); }
.lw-footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.lw-footer-bottom p { font-size: 13px; color: var(--text); }
@media (max-width: 700px) {
  .lw-footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .lw-footer-bottom { flex-direction: column; text-align: center; }
}

/* === ADMIN BODY + NAV === */
.lw-admin-body { background: var(--bg); min-height: 100vh; }

.lw-admin-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 60px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  flex-wrap: wrap;
  gap: 12px;
}
.lw-admin-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-h);
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.03em;
}
.lw-admin-nav-brand span { color: var(--blue); }
.lw-admin-nav a { color: var(--text2); font-size: 13px; font-weight: 500; text-decoration: none; transition: color .2s; }
.lw-admin-nav a:hover { color: var(--white); }

.lw-admin-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.lw-admin-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 22px 24px;
  margin-bottom: 20px;
}
.lw-admin-card h4 {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}

.lw-admin-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.lw-admin-header h1 { font-size: 22px; font-weight: 800; color: var(--white); }

.lw-admin-sidebar { display: flex; flex-direction: column; gap: 16px; }

/* Dashboard stats */
.lw-dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.lw-dash-stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 22px;
  text-align: center;
}
.lw-dash-stat-num   { display: block; font-size: 34px; font-weight: 800; color: var(--blue); font-family: var(--font-h); line-height: 1; }
.lw-dash-stat-label { display: block; font-size: 11px; color: var(--text); margin-top: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; }
@media (max-width: 700px) { .lw-dash-stats { grid-template-columns: repeat(2, 1fr); } }

/* Tabs */
.lw-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.lw-tab {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  font-size: 13px; font-weight: 600;
  color: var(--text);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  text-decoration: none;
  border: 1px solid transparent;
  border-bottom: none;
  margin-bottom: -1px;
  transition: color .2s;
}
.lw-tab:hover { color: var(--white); text-decoration: none; }
.lw-tab.active { color: var(--white); background: var(--card); border-color: var(--border); }
.lw-tab-count { background: rgba(255,255,255,.06); color: var(--text2); border-radius: 50px; padding: 1px 8px; font-size: 11px; }

/* Table */
.lw-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.lw-table thead th {
  text-align: left; padding: 10px 14px;
  font-size: 11px; font-weight: 700; color: var(--text);
  text-transform: uppercase; letter-spacing: .07em;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.lw-table tbody tr { border-bottom: 1px solid var(--border); }
.lw-table tbody tr:last-child { border-bottom: none; }
.lw-table tbody tr:hover { background: rgba(255,255,255,.018); }
.lw-table tbody td { padding: 13px 14px; vertical-align: middle; color: var(--text2); }
.lw-table tbody td a { color: var(--white); font-weight: 600; text-decoration: none; }
.lw-table tbody td a:hover { color: var(--blue); }

/* Status indicators */
.lw-post-status-live  { color: #4ade80; font-size: 12px; font-weight: 600; }
.lw-post-status-draft { color: #fbbf24; font-size: 12px; font-weight: 600; }

/* Empty state */
.lw-empty { text-align: center; padding: 52px 24px; color: var(--text); }
.lw-empty svg { width: 48px; height: 48px; margin: 0 auto 18px; color: var(--text); }
.lw-empty p { font-size: 15px; }

/* Markdown editor */
.lw-editor-toolbar {
  display: flex; gap: 4px; align-items: center;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  padding: 8px 10px;
  flex-wrap: wrap;
}
.lw-editor-btn {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text2);
  font-size: 12px; font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: color .2s, border-color .2s;
  font-family: var(--font);
}
.lw-editor-btn:hover { color: var(--white); border-color: var(--text); }
.lw-editor-textarea {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  color: var(--white);
  font-size: 14px;
  font-family: var(--font-mono);
  line-height: 1.7;
  padding: 16px;
  min-height: 440px;
  resize: vertical;
  outline: none;
  transition: border-color .2s;
}
.lw-editor-textarea:focus { border-color: var(--blue); }

/* === RESPONSIVE UTILITIES === */
@media (max-width: 768px) {
  .lw-section    { padding: 52px 0; }
  .lw-section-sm { padding: 36px 0; }
  .lw-post-hero  { padding: 44px 0 36px; }
  .lw-post-wrap  { padding-top: 40px; padding-bottom: 60px; }
  .lw-cta        { padding: 52px 0; }
}

/* === UTILITY === */
.lw-text-center { text-align: center; }
.lw-mt-0 { margin-top: 0 !important; }
.lw-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
