/* ============================================================
   LWCL THEME — screen.css
   Lead With Clarity Lab · Brand System v1.0
   ============================================================ */

/* ── 1. DESIGN TOKENS ──────────────────────────────────────── */
:root {
  --navy-950:   #081D39;
  --navy-900:   #0B1F35;
  --navy-800:   #0E2A4A;
  --navy-700:   #143256;
  --teal-700:   #00547A;
  --teal-600:   #006E95;
  --cyan-500:   #00B6E4;
  --cyan-200:   #BFE7F5;
  --cyan-100:   #E3F3FA;
  --clay-700:   #B65A1A;
  --clay-500:   #BD5B1A;
  --clay-400:   #EC934A;
  --clay-100:   #FBEED7;
  --slate-500:  #5A6678;
  --slate-300:  #DDE3EB;
  --slate-150:  #F0F3F7;
  --paper:      #EDF2F6;
  --canvas:     #FBFAF6;
  --ink:        #0B1F35;

  --font-display: 'Epilogue', Georgia, serif;
  --font-body:    'Inter', Helvetica, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  14px;
  --r-xl:  20px;

  --nav-height: 56px;
  --sidebar-toc-width: 220px;
  --sidebar-tool-width: 240px;
  --content-max: 680px;
}

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

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--cyan-500); text-decoration: none; }
a:hover { text-decoration: underline; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }

/* ── 3. VIEWPORT WRAPPER ────────────────────────────────────── */
.lwcl-viewport { display: flex; flex-direction: column; min-height: 100vh; }
#lwcl-main { flex: 1; }

/* ── 4. READING PROGRESS BAR ────────────────────────────────── */
.lwcl-progress-bar {
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  height: 2px;
  background: rgba(0,182,228,0.15);
  z-index: 200;
  transform-origin: left;
}
.lwcl-progress-bar::after {
  content: '';
  display: block;
  height: 100%;
  background: var(--cyan-500);
  width: var(--progress, 0%);
  transition: width 0.1s linear;
}

/* ── 5. NAVIGATION ──────────────────────────────────────────── */
.lwcl-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-900);
}
.lwcl-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  gap: 32px;
}
.lwcl-nav-logo {
  display: flex;
  align-items: baseline;
  gap: 2px;
  text-decoration: none;
  flex-shrink: 0;
}
.lwcl-logo-clrt {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.lwcl-logo-lab {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
  color: var(--cyan-500);
}
.lwcl-nav-links {
  display: flex;
  gap: 24px;
  flex: 1;
}
.lwcl-nav-link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.15s;
}
.lwcl-nav-link:hover,
.lwcl-nav-link--active { color: #fff; text-decoration: none; }
.lwcl-nav-link--active { color: var(--cyan-500); }

.lwcl-nav-actions { display: flex; align-items: center; gap: 12px; }
.lwcl-nav-signin {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
}
.lwcl-nav-member-link {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
}
.lwcl-nav-cta {
  font-size: 0.8125rem;
  font-weight: 700;
  background: var(--cyan-500);
  color: var(--navy-900);
  padding: 6px 14px;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: opacity 0.15s;
}
.lwcl-nav-cta:hover { opacity: 0.9; text-decoration: none; }

.lwcl-nav-burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  margin-left: auto;
}
.lwcl-nav-burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
}

.lwcl-mobile-menu {
  background: var(--navy-950);
  padding: 12px 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Critical: override display:flex when hidden attribute is set */
.lwcl-mobile-menu[hidden] {
  display: none;
}
.lwcl-mobile-link {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
  padding: 10px 0;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
  text-decoration: none;
}
.lwcl-mobile-link--active { color: var(--cyan-500); }
.lwcl-mobile-cta {
  margin-top: 12px;
  font-size: 0.875rem;
  font-weight: 700;
  background: var(--cyan-500);
  color: var(--navy-900);
  padding: 10px 16px;
  border-radius: var(--r-sm);
  text-align: center;
  text-decoration: none;
}

/* ── 6. BUTTONS ─────────────────────────────────────────────── */
.lwcl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: opacity 0.15s, transform 0.1s;
  cursor: pointer;
  border: none;
}
.lwcl-btn:hover { opacity: 0.88; text-decoration: none; }
.lwcl-btn:active { transform: scale(0.98); }
.lwcl-btn--primary    { background: var(--cyan-500);  color: var(--navy-900); }
.lwcl-btn--primary-light { background: var(--cyan-500); color: var(--navy-900); align-self: flex-start; }
.lwcl-btn--cyan       { background: var(--cyan-500);  color: var(--navy-900); }
.lwcl-btn--ghost      { background: transparent; color: rgba(255,255,255,0.75); border: 0.5px solid rgba(255,255,255,0.3); }
.lwcl-btn--ghost-dark { background: transparent; color: var(--slate-500); border: 0.5px solid var(--slate-300); }
.lwcl-btn--ghost-light { background: transparent; color: rgba(255,255,255,0.65); border: 0.5px solid rgba(255,255,255,0.25); }
.lwcl-btn--full { width: 100%; justify-content: center; }

/* ── 7. TAG PILLS ───────────────────────────────────────────── */
.lwcl-tag-pill {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  text-decoration: none;
}
.lwcl-tag-pill--clarity    { background: rgba(0,182,228,0.18); color: var(--cyan-500); border: 0.5px solid rgba(0,182,228,0.35); }
.lwcl-tag-pill--confidence { background: rgba(189,91,26,0.15); color: var(--clay-400); border: 0.5px solid rgba(189,91,26,0.3); }
.lwcl-tag-pill--coaching   { background: rgba(90,102,120,0.18); color: var(--cyan-200); border: 0.5px solid rgba(90,102,120,0.3); }
.lwcl-tag-pill--culture    { background: rgba(0,182,228,0.12); color: var(--cyan-200); border: 0.5px solid rgba(0,182,228,0.2); }
.lwcl-tag-pill--feedback   { background: rgba(0,182,228,0.18); color: var(--cyan-500); border: 0.5px solid rgba(0,182,228,0.35); }

/* ── 8. HERO (HOMEPAGE) ─────────────────────────────────────── */
.lwcl-hero {
  background: var(--navy-800);
  padding: 64px 24px 56px;
  position: relative;
  overflow: hidden;
}
.lwcl-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.lwcl-hero-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-500);
  margin-bottom: 16px;
}
.lwcl-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 8px;
}
.lwcl-hero-headline em { color: var(--cyan-500); font-style: italic; }
.lwcl-hero-divider {
  width: 40px;
  height: 2px;
  background: var(--cyan-500);
  margin: 20px 0;
}
.lwcl-hero-sub {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.55);
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 28px;
}
.lwcl-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.lwcl-hero-graphic { flex-shrink: 0; }

.lwcl-hero-rings {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 0.5px solid rgba(255,255,255,0.1);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lwcl-hero-rings::before {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 0.5px solid rgba(0,182,228,0.2);
}
.lwcl-hero-rings::after {
  content: '';
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 0.5px solid rgba(0,182,228,0.35);
}

/* ── 9. PILLARS ─────────────────────────────────────────────── */
.lwcl-pillars { background: var(--paper); padding: 32px 24px; }
.lwcl-pillars-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.lwcl-pillar-tile {
  background: #fff;
  border: 0.5px solid var(--slate-300);
  border-radius: var(--r-md);
  border-top: 2px solid;
  padding: 16px;
  text-decoration: none;
  transition: transform 0.15s;
  display: block;
}
.lwcl-pillar-tile:hover { transform: translateY(-2px); text-decoration: none; }
.lwcl-pillar-tile--clarity    { border-top-color: var(--cyan-500); }
.lwcl-pillar-tile--confidence { border-top-color: var(--clay-500); }
.lwcl-pillar-tile--coaching   { border-top-color: var(--slate-500); }
.lwcl-pillar-tile--culture    { border-top-color: var(--navy-800); }
.lwcl-pillar-tile-name {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-800);
  margin-bottom: 6px;
}
.lwcl-pillar-tile-desc {
  display: block;
  font-size: 0.8125rem;
  color: var(--slate-500);
  line-height: 1.5;
}

/* ── 10. POST SECTION / FILTER ──────────────────────────────── */
.lwcl-post-section { padding: 40px 24px; }
.lwcl-post-section-inner { max-width: 1280px; margin: 0 auto; }

.lwcl-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.lwcl-section-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-500);
}
.lwcl-section-see-all { font-size: 0.8125rem; color: var(--cyan-500); }

.lwcl-post-filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.lwcl-filter-pill {
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 20px;
  border: 0.5px solid var(--slate-300);
  background: #fff;
  color: var(--slate-500);
  cursor: pointer;
  transition: all 0.15s;
}
.lwcl-filter-pill--active { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.lwcl-filter-pill--clarity:hover    { border-color: var(--cyan-500); color: var(--cyan-500); }
.lwcl-filter-pill--confidence:hover { border-color: var(--clay-500); color: var(--clay-500); }
.lwcl-filter-pill--free { background: rgba(0,182,228,0.07); color: var(--cyan-500); border-color: rgba(0,182,228,0.25); }
.lwcl-filter-pill--free.lwcl-filter-pill--active { background: var(--cyan-500); color: var(--navy-900); }

/* ── 11. POST CARD GRID ─────────────────────────────────────── */
.lwcl-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.lwcl-post-grid-item.lwcl-hidden { display: none; }

.lwcl-post-card {
  background: #fff;
  border: 0.5px solid var(--slate-300);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s;
}
.lwcl-post-card:hover { transform: translateY(-3px); }
.lwcl-post-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
}
.lwcl-post-card-link:hover { text-decoration: none; }

.lwcl-post-card-image {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: var(--navy-800);
  flex-shrink: 0;
}
.lwcl-post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lwcl-post-card-image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--navy-800);
  position: relative;
  overflow: hidden;
}
.lwcl-placeholder-texture { position: absolute; inset: 0; }
.lwcl-placeholder-texture--clarity {
  background-image: repeating-linear-gradient(
    34deg,
    rgba(0,182,228,0.1) 0,
    rgba(0,182,228,0.1) 1px,
    transparent 1px,
    transparent 8px
  );
}
.lwcl-placeholder-texture--confidence {
  background-image: repeating-linear-gradient(
    90deg,
    rgba(0,182,228,0.08) 0,
    rgba(0,182,228,0.08) 1px,
    transparent 1px,
    transparent 22px
  );
}
.lwcl-placeholder-texture--coaching {
  background-image: repeating-linear-gradient(
    45deg,
    rgba(191,231,245,0.08) 0,
    rgba(191,231,245,0.08) 1px,
    transparent 1px,
    transparent 14px
  ),
  repeating-linear-gradient(
    -45deg,
    rgba(191,231,245,0.08) 0,
    rgba(191,231,245,0.08) 1px,
    transparent 1px,
    transparent 14px
  );
}
.lwcl-placeholder-texture--culture {
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(255,255,255,0.08) 1px,
    transparent 1px
  );
  background-size: 18px 18px;
}

.lwcl-post-card-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}
.lwcl-post-card-meta-overlay {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  gap: 6px;
  align-items: center;
  z-index: 2;
}
.lwcl-post-card-read-time,
.lwcl-post-card-access {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.5);
}
.lwcl-post-card-access--free { color: var(--cyan-200); }
.lwcl-post-card-access--members { color: var(--clay-400); }

.lwcl-post-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.lwcl-post-card-pillar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.lwcl-post-card-pillar {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.lwcl-pillar-color--clarity    { color: var(--cyan-500); }
.lwcl-pillar-color--confidence { color: var(--clay-500); }
.lwcl-pillar-color--coaching   { color: var(--slate-500); }
.lwcl-pillar-color--culture    { color: var(--navy-800); }
.lwcl-post-card-divider {
  display: block;
  width: 1px;
  height: 10px;
  background: var(--slate-300);
}
.lwcl-post-card-time { font-size: 0.75rem; color: var(--slate-500); }

.lwcl-post-card-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.3;
  margin-bottom: 8px;
}
.lwcl-post-card-title em { color: var(--clay-500); font-style: italic; }

.lwcl-post-card-excerpt {
  font-size: 0.8125rem;
  color: var(--slate-500);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 14px;
}
.lwcl-post-card-footer {
  border-top: 0.5px solid var(--slate-300);
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lwcl-post-card-date {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--slate-500);
}
.lwcl-post-card-access-label { font-size: 0.75rem; font-weight: 600; }
.lwcl-access-free    { color: var(--cyan-500); }
.lwcl-access-members { color: var(--clay-500); }

/* ── 12. FEATURED POST ──────────────────────────────────────── */
.lwcl-featured-post {
  max-width: 1280px;
  margin: 0 auto 40px;
  padding: 0 24px;
}
.lwcl-featured-post-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  background: var(--navy-900);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.lwcl-featured-post-text {
  padding: 28px 32px;
}
.lwcl-featured-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay-400);
  margin-bottom: 8px;
}
.lwcl-featured-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 8px;
}
.lwcl-featured-title em { color: var(--cyan-500); font-style: italic; }
.lwcl-featured-excerpt {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-bottom: 16px;
}
.lwcl-featured-post-graphic {
  background: var(--navy-700);
  overflow: hidden;
  height: 200px;
  width: 300px;
  min-width: 0;
  flex-shrink: 0;
}
.lwcl-featured-post-graphic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.lwcl-featured-diagram-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lwcl-featured-diagram-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 0.5px solid rgba(0,182,228,0.2);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lwcl-featured-diagram-placeholder::before {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 0.5px solid rgba(0,182,228,0.35);
}
.lwcl-featured-diagram-placeholder::after {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--cyan-500);
}

/* ── 13. NEWSLETTER STRIP ───────────────────────────────────── */
.lwcl-newsletter-strip {
  background: var(--cyan-100);
  border-top: 0.5px solid #BFE7F5;
  padding: 28px 24px;
}
.lwcl-newsletter-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.lwcl-newsletter-strip-text { flex: 1; min-width: 200px; }
.lwcl-newsletter-heading { font-size: 0.9375rem; font-weight: 700; color: var(--navy-900); }
.lwcl-newsletter-sub { font-size: 0.8125rem; color: var(--slate-500); margin-top: 2px; }
.lwcl-newsletter-form { display: flex; gap: 8px; flex-wrap: wrap; }
.lwcl-newsletter-field {
  font-size: 0.8125rem;
  border: 0.5px solid var(--slate-300);
  border-radius: var(--r-sm);
  padding: 8px 14px;
  background: #fff;
  color: var(--slate-500);
  min-width: 180px;
  text-decoration: none;
}
.lwcl-newsletter-btn {
  font-size: 0.8125rem;
  font-weight: 700;
  background: var(--navy-800);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--r-sm);
  text-decoration: none;
  white-space: nowrap;
}

/* ── 14. FOOTER ─────────────────────────────────────────────── */
.lwcl-footer {
  background: var(--navy-900);
  padding: 48px 24px 32px;
}
.lwcl-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.lwcl-footer-logo {
  display: flex;
  align-items: baseline;
  gap: 2px;
  text-decoration: none;
  margin-bottom: 10px;
}
.lwcl-footer-desc { font-size: 0.8125rem; color: rgba(255,255,255,0.4); line-height: 1.6; max-width: 260px; }
.lwcl-footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.25); margin-top: 16px; }
.lwcl-footer-col-title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 10px;
  display: block;
}
.lwcl-footer-link {
  display: block;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 6px;
  text-decoration: none;
  transition: color 0.15s;
}
.lwcl-footer-link:hover { color: #fff; text-decoration: none; }
.lwcl-footer-link--cta { color: var(--cyan-500); }

/* ── 15. POST HERO ──────────────────────────────────────────── */
.lwcl-post-hero {
  background: var(--navy-800);
  padding: 48px 24px 40px;
  position: relative;
  overflow: hidden;
}
.lwcl-post-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}
.lwcl-post-tag-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.lwcl-post-hero-dot {
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}
.lwcl-post-hero-readtime,
.lwcl-post-hero-members-badge { font-size: 0.75rem; color: rgba(255,255,255,0.45); }
.lwcl-post-hero-members-badge { color: var(--clay-400); }

.lwcl-post-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 12px;
}
.lwcl-post-title em { color: var(--cyan-500); font-style: italic; }

.lwcl-post-standfirst {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 20px;
}
.lwcl-post-byline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.lwcl-post-author {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.lwcl-post-author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(0,182,228,0.3);
  object-fit: cover;
}
.lwcl-post-author-avatar--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-700);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan-200);
}
.lwcl-post-author-name { font-size: 0.8125rem; color: #fff; font-weight: 500; }
.lwcl-post-date { font-size: 0.75rem; color: rgba(255,255,255,0.35); }

.lwcl-post-share-actions { margin-left: auto; }
.lwcl-share-btn {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  border: 0.5px solid rgba(255,255,255,0.2);
  padding: 4px 10px;
  border-radius: var(--r-sm);
  background: none;
  transition: color 0.15s;
}
.lwcl-share-btn:hover { color: #fff; }

.lwcl-post-hero-rings {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 0.5px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.lwcl-post-hero-rings::before {
  content: '';
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 0.5px solid rgba(0,182,228,0.18);
}
.lwcl-post-hero-rings::after {
  content: '';
  position: absolute;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 0.5px solid rgba(0,182,228,0.3);
}

/* ── 16. POST BANNER ────────────────────────────────────────── */
.lwcl-post-banner {
  margin: 0;
  max-height: 540px;
  overflow: hidden;
  background: var(--navy-900);
}
.lwcl-post-banner img { width: 100%; max-height: 540px; object-fit: cover; }
.lwcl-post-banner-caption {
  font-size: 0.75rem;
  color: var(--slate-500);
  text-align: center;
  padding: 8px 24px;
  background: var(--paper);
}

/* ── 17. POST LAYOUT (TOC + CONTENT) ───────────────────────── */
.lwcl-post-layout {
  display: grid;
  grid-template-columns: var(--sidebar-toc-width) minmax(0, 1fr);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 0 64px;
  gap: 0;
  align-items: start;
}

/* ── 18. TOC SIDEBAR ────────────────────────────────────────── */
.lwcl-toc-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  padding: 28px 20px 28px 24px;
  max-height: calc(100vh - var(--nav-height) - 48px);
  overflow-y: auto;
  border-right: 0.5px solid var(--slate-300);
}
.lwcl-toc-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 10px;
}
.lwcl-toc-progress-bar {
  height: 2px;
  background: var(--slate-300);
  border-radius: 1px;
  margin-bottom: 14px;
  overflow: hidden;
}
.lwcl-toc-progress-fill {
  height: 100%;
  background: var(--cyan-500);
  width: 0%;
  transition: width 0.2s linear;
}

/* Tocbot styles override */
.lwcl-toc .toc-list { list-style: none; padding: 0; }
.lwcl-toc .toc-list-item { margin: 0; }
.lwcl-toc .toc-link {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 5px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--slate-500);
  text-decoration: none;
  line-height: 1.4;
  transition: background 0.12s, color 0.12s;
}
.lwcl-toc .toc-link::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--slate-300);
  flex-shrink: 0;
  margin-top: 5px;
}
.lwcl-toc .toc-link:hover { color: var(--navy-800); text-decoration: none; }
.lwcl-toc .is-active-link {
  background: var(--cyan-100);
  color: var(--navy-800);
  font-weight: 600;
}
.lwcl-toc .is-active-link::before { background: var(--cyan-500); }
.lwcl-toc .toc-list .toc-list { padding-left: 14px; }
.lwcl-toc .toc-list .toc-list .toc-link::before {
  width: 3px;
  height: 3px;
}
.lwcl-toc-divider {
  border: none;
  border-top: 0.5px solid var(--slate-300);
  margin: 14px 0 10px;
}
.lwcl-toc-reading-note {
  font-size: 0.6875rem;
  color: var(--slate-500);
}

/* ── 19. POST CONTENT AREA ──────────────────────────────────── */
.lwcl-post-content-col {
  padding: 40px 40px 40px 48px;
  max-width: calc(var(--content-max) + 80px);
}

/* Ghost content card styling */
.gh-content {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
}
.gh-content h2 {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--navy-800);
  margin: 2.5rem 0 1rem;
  line-height: 1.2;
  scroll-margin-top: calc(var(--nav-height) + 20px);
}
.gh-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-800);
  margin: 2rem 0 0.75rem;
  scroll-margin-top: calc(var(--nav-height) + 20px);
}
.gh-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-800);
  margin: 1.5rem 0 0.5rem;
}
.gh-content p { margin-bottom: 1.25rem; }
.gh-content a { color: var(--cyan-500); }
.gh-content strong { font-weight: 700; color: var(--navy-800); }
.gh-content em { font-style: italic; }

/* Pullquote / blockquote */
.gh-content blockquote {
  border-left: 2px solid var(--clay-500);
  margin: 2rem 0;
  padding: 0.75rem 1.25rem;
  background: var(--paper);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.gh-content blockquote p {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--navy-800);
  margin: 0;
  line-height: 1.6;
}

/* Code */
.gh-content pre {
  background: var(--navy-900);
  border-radius: var(--r-sm);
  padding: 20px 24px;
  overflow-x: auto;
  margin: 1.5rem 0;
}
.gh-content code {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--cyan-200);
  background: var(--navy-800);
  padding: 2px 6px;
  border-radius: 3px;
}
.gh-content pre code { background: none; padding: 0; color: rgba(255,255,255,0.85); }

/* Callout card */
.gh-content .kg-callout-card {
  background: var(--cyan-100);
  border: 0.5px solid #BFE7F5;
  border-radius: var(--r-md);
  padding: 16px 20px;
  margin: 1.5rem 0;
  display: flex;
  gap: 12px;
}
.gh-content .kg-callout-emoji { font-size: 1.25rem; flex-shrink: 0; line-height: 1.5; }
.gh-content .kg-callout-text { font-size: 0.9375rem; line-height: 1.6; }

/* Toggle card */
.gh-content .kg-toggle-card {
  background: var(--paper);
  border: 0.5px solid var(--slate-300);
  border-radius: var(--r-md);
  margin: 1.5rem 0;
  overflow: hidden;
}
.gh-content .kg-toggle-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy-800);
}
.gh-content .kg-toggle-content { padding: 0 18px 14px; }

/* Header card */
.gh-content .kg-header-card {
  background: var(--navy-800);
  border-radius: var(--r-md);
  padding: 32px 36px;
  margin: 2rem 0;
  text-align: center;
}
.gh-content .kg-header-card h2 { color: #fff; margin: 0 0 8px; }
.gh-content .kg-header-card p  { color: rgba(255,255,255,0.6); margin: 0; }

/* Image cards */
.gh-content figure { margin: 2rem 0; }
.gh-content figure img { border-radius: var(--r-md); }
.gh-content figure figcaption {
  font-size: 0.8125rem;
  color: var(--slate-500);
  text-align: center;
  margin-top: 8px;
}
.gh-content .kg-width-wide  { margin-left: -80px; margin-right: -80px; }
.gh-content .kg-width-full  { margin-left: -48px; margin-right: -40px; border-radius: 0; }

/* Bookmark card */
.gh-content .kg-bookmark-card {
  background: #fff;
  border: 0.5px solid var(--slate-300);
  border-radius: var(--r-md);
  overflow: hidden;
  margin: 1.5rem 0;
}
.gh-content .kg-bookmark-container {
  display: grid;
  grid-template-columns: 1fr auto;
  text-decoration: none;
}
.gh-content .kg-bookmark-content { padding: 14px 16px; }
.gh-content .kg-bookmark-title { font-size: 0.9375rem; font-weight: 600; color: var(--navy-800); }
.gh-content .kg-bookmark-description { font-size: 0.8125rem; color: var(--slate-500); margin-top: 4px; }
.gh-content .kg-bookmark-metadata { font-size: 0.75rem; color: var(--cyan-500); margin-top: 8px; }
.gh-content .kg-bookmark-thumbnail img { width: 120px; height: 100%; object-fit: cover; }

/* Gallery */
.gh-content .kg-gallery-container {
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.gh-content .kg-gallery-image img { border-radius: var(--r-sm); height: 160px; object-fit: cover; }

/* Divider */
.gh-content hr { border: none; border-top: 0.5px solid var(--slate-300); margin: 2.5rem 0; }

/* Members gate within gated content */
.lwcl-post-body--gated { -webkit-mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 90%); mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 90%); pointer-events: none; user-select: none; }

/* ── 20. MEMBERS GATE ───────────────────────────────────────── */
.lwcl-members-gate {
  background: var(--paper);
  border: 0.5px solid var(--slate-300);
  border-radius: var(--r-lg);
  padding: 40px;
  text-align: center;
  margin: 32px 0;
}
.lwcl-members-gate-hed {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-800);
  margin-bottom: 8px;
}
.lwcl-members-gate-sub {
  font-size: 0.9375rem;
  color: var(--slate-500);
  margin-bottom: 24px;
}
.lwcl-members-gate-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ── 21. RATINGS ────────────────────────────────────────────── */
.lwcl-ratings {
  background: #fff;
  border: 0.5px solid var(--slate-300);
  border-radius: var(--r-lg);
  padding: 24px;
  margin: 32px 0;
}
.lwcl-ratings-hed { font-size: 0.9375rem; font-weight: 700; color: var(--navy-800); margin-bottom: 12px; }
.lwcl-stars { display: flex; gap: 6px; margin-bottom: 14px; }
.lwcl-star {
  padding: 4px;
  border-radius: 4px;
  transition: transform 0.1s;
  color: var(--slate-300);
}
.lwcl-star:hover,
.lwcl-star--active { color: var(--cyan-500); }
.lwcl-star:hover { transform: scale(1.15); }
.lwcl-reactions { display: flex; gap: 8px; flex-wrap: wrap; }
.lwcl-reaction {
  font-size: 0.8125rem;
  background: var(--paper);
  border: 0.5px solid var(--slate-300);
  border-radius: 20px;
  padding: 5px 12px;
  color: var(--slate-500);
  transition: all 0.15s;
}
.lwcl-reaction:hover { border-color: var(--cyan-500); color: var(--navy-800); }
.lwcl-reaction--active {
  background: var(--cyan-100);
  border-color: var(--cyan-500);
  color: var(--navy-800);
  font-weight: 600;
}

/* ── 22. COMMENTS ───────────────────────────────────────────── */
.lwcl-comments-wrap { margin: 32px 0; }
.lwcl-comments-wrap--hidden { display: none; }
.lwcl-comments-gate {
  background: var(--paper);
  border: 0.5px solid var(--slate-300);
  border-radius: var(--r-md);
  padding: 20px 24px;
  font-size: 0.9375rem;
  color: var(--slate-500);
}

/* ── 23. RELATED POSTS ──────────────────────────────────────── */
.lwcl-related-posts { margin: 40px 0 0; }
.lwcl-related-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 16px;
}
.lwcl-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* ── 24. TAG PAGE ───────────────────────────────────────────── */
.lwcl-tag-hero {
  background: var(--navy-900);
  padding: 48px 24px 40px;
}
.lwcl-tag-hero-inner { max-width: 1280px; margin: 0 auto; }
.lwcl-tag-hero-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 10px;
}
.lwcl-tag-hero-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
}
.lwcl-tag-hero-hash { color: var(--cyan-500); }
.lwcl-tag-hero-desc { font-size: 1rem; color: rgba(255,255,255,0.5); margin-top: 8px; max-width: 560px; }

.lwcl-tag-body { padding: 40px 24px 64px; }
.lwcl-tag-body-inner { max-width: 1280px; margin: 0 auto; }

/* ── 25. TOOLS HUB PAGE ─────────────────────────────────────── */
.lwcl-tools-hero {
  background: var(--navy-800);
  padding: 56px 24px 48px;
  position: relative;
  overflow: hidden;
}
.lwcl-tools-hero-inner { max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
.lwcl-tools-hero-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-500);
  margin-bottom: 12px;
}
.lwcl-tools-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 12px;
}
.lwcl-tools-hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.lwcl-tools-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.lwcl-tools-hero-graphic {
  position: absolute;
  right: -40px;
  top: -40px;
  z-index: 0;
  opacity: 0.07;
}

.lwcl-tools-body { padding: 40px 24px 64px; }
.lwcl-tools-body-inner { max-width: 1280px; margin: 0 auto; }

.lwcl-tools-filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.lwcl-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* Tool cards (authored as HTML cards in Ghost editor) */
.lwcl-tool-card {
  background: #fff;
  border: 0.5px solid var(--slate-300);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s;
}
.lwcl-tool-card:hover { transform: translateY(-3px); }
.lwcl-tool-card-image {
  height: 100px;
  position: relative;
  overflow: hidden;
}
.lwcl-tool-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.lwcl-tool-card-step-count {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 6px;
}
.lwcl-tool-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.25;
  margin-bottom: 6px;
}
.lwcl-tool-card-title em { color: var(--clay-500); font-style: italic; }
.lwcl-tool-card-desc { font-size: 0.8125rem; color: var(--slate-500); line-height: 1.5; flex: 1; margin-bottom: 12px; }
.lwcl-tool-card-footer {
  border-top: 0.5px solid var(--slate-300);
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lwcl-tool-card-time { font-size: 0.75rem; color: var(--slate-500); }
.lwcl-tool-card-btn {
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--navy-800);
  color: #fff;
  padding: 5px 12px;
  border-radius: var(--r-sm);
  text-decoration: none;
}
.lwcl-tool-card-btn--locked { background: var(--clay-500); }

.lwcl-tools-membership-cta {
  background: var(--navy-900);
  border-radius: var(--r-lg);
  margin-top: 32px;
  padding: 28px 32px;
}
.lwcl-tools-membership-cta-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.lwcl-tools-cta-hed { font-size: 1rem; font-weight: 700; color: #fff; }
.lwcl-tools-cta-sub { font-size: 0.875rem; color: rgba(255,255,255,0.5); margin-top: 2px; }

/* ── 26. TOOL PAGE ──────────────────────────────────────────── */
.lwcl-tool-hero {
  background: var(--navy-800);
  padding: 40px 24px 36px;
  position: relative;
  overflow: hidden;
}
.lwcl-tool-hero-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }
.lwcl-tool-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.lwcl-tool-breadcrumb-link { font-size: 0.8125rem; color: rgba(255,255,255,0.45); text-decoration: none; }
.lwcl-tool-breadcrumb-sep  { color: rgba(255,255,255,0.2); }
.lwcl-tool-hero-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-500);
  margin-bottom: 10px;
}
.lwcl-tool-title {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 10px;
}
.lwcl-tool-title em { color: var(--cyan-500); font-style: italic; }
.lwcl-tool-standfirst { font-size: 0.9375rem; color: rgba(255,255,255,0.55); max-width: 520px; line-height: 1.6; }

.lwcl-tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar-tool-width);
  max-width: 1280px;
  margin: 0 auto;
  align-items: start;
}
.lwcl-tool-main { padding: 32px 40px 64px 32px; }
.lwcl-tool-body { font-size: 1rem; line-height: 1.7; color: var(--ink); }
.lwcl-tool-body--gated { -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 85%); mask-image: linear-gradient(to bottom, black 30%, transparent 85%); pointer-events: none; }

/* Tool sidebar */
.lwcl-tool-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  background: #fff;
  border-left: 0.5px solid var(--slate-300);
  padding: 28px 20px;
  max-height: calc(100vh - var(--nav-height) - 48px);
  overflow-y: auto;
}
.lwcl-tool-sidebar-inner { display: flex; flex-direction: column; gap: 20px; }
.lwcl-tool-sidebar-section {}
.lwcl-tool-sidebar-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 0.5px solid var(--slate-300);
  display: block;
}
.lwcl-tool-sidebar-content {
  font-size: 0.8125rem;
  color: var(--slate-500);
  line-height: 1.6;
}
.lwcl-tool-sidebar-content a { color: var(--cyan-500); }
.lwcl-tool-sidebar-content h3 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy-800);
  margin: 12px 0 6px;
}
.lwcl-tool-sidebar-content ul { padding-left: 14px; }
.lwcl-tool-sidebar-content li { margin-bottom: 6px; }
.lwcl-tool-sidebar-text { font-size: 0.8125rem; color: var(--slate-500); line-height: 1.6; }
.lwcl-tool-sidebar-tool-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--navy-800);
  padding: 7px 8px;
  border-radius: var(--r-sm);
  background: var(--paper);
  margin-bottom: 5px;
  text-decoration: none;
  transition: background 0.12s;
}
.lwcl-tool-sidebar-tool-link:hover { background: var(--cyan-100); text-decoration: none; }

.lwcl-tool-sidebar-cta {
  background: var(--navy-900);
  border-radius: var(--r-md);
  padding: 16px;
  text-align: center;
  margin-top: auto;
}
.lwcl-tool-sidebar-cta-hed { font-size: 0.875rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.lwcl-tool-sidebar-cta-sub { font-size: 0.75rem; color: rgba(255,255,255,0.45); margin-bottom: 12px; }
.lwcl-tool-sidebar-cta-btn {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  background: var(--cyan-500);
  color: var(--navy-900);
  padding: 8px;
  border-radius: var(--r-sm);
  text-decoration: none;
}

/* ── 27. PAGE / ERROR / MEMBERS PAGES ───────────────────────── */
.lwcl-page-hero { background: var(--navy-800); padding: 48px 24px 40px; }
.lwcl-page-hero-inner { max-width: 860px; margin: 0 auto; }
.lwcl-page-title { font-family: var(--font-display); font-size: 2.25rem; font-weight: 800; color: #fff; }
.lwcl-page-excerpt { font-size: 1rem; color: rgba(255,255,255,0.55); margin-top: 10px; max-width: 560px; }
.lwcl-page-banner { margin: 0; }
.lwcl-page-banner img { width: 100%; max-height: 480px; object-fit: cover; }
.lwcl-page-body { max-width: 720px; margin: 0 auto; padding: 48px 24px 80px; }

.lwcl-members-page {
  min-height: 100vh;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.lwcl-members-card {
  background: #fff;
  border: 0.5px solid var(--slate-300);
  border-radius: var(--r-xl);
  padding: 40px;
  max-width: 360px;
  width: 100%;
}
.lwcl-members-card-logo {
  display: flex;
  align-items: baseline;
  gap: 2px;
  text-decoration: none;
  justify-content: center;
  margin-bottom: 6px;
  font-size: 1.25rem;
}
.lwcl-members-card-tagline {
  font-size: 0.875rem;
  color: var(--slate-500);
  text-align: center;
  margin-bottom: 28px;
}
.lwcl-members-input {
  display: block;
  width: 100%;
  border: 0.5px solid var(--slate-300);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-size: 0.9375rem;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  margin-bottom: 10px;
}
.lwcl-members-input:focus {
  outline: 2px solid var(--cyan-500);
  outline-offset: 0;
  border-color: transparent;
}
.lwcl-members-form-note {
  font-size: 0.75rem;
  color: var(--slate-500);
  text-align: center;
  margin-top: 10px;
}
.lwcl-members-card-switch {
  font-size: 0.8125rem;
  color: var(--slate-500);
  text-align: center;
  margin-top: 20px;
}

.lwcl-error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.lwcl-error-page-inner { text-align: center; }
.lwcl-error-code { font-size: 5rem; font-weight: 800; color: var(--slate-300); line-height: 1; margin-bottom: 12px; }
.lwcl-error-title { font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; color: var(--navy-800); margin-bottom: 8px; }
.lwcl-error-sub { font-size: 1rem; color: var(--slate-500); margin-bottom: 24px; }
.lwcl-error-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ── 28. PAGINATION ─────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 0 0;
}
.pagination a {
  font-size: 0.875rem;
  padding: 8px 16px;
  border: 0.5px solid var(--slate-300);
  border-radius: var(--r-sm);
  color: var(--navy-800);
  text-decoration: none;
  background: #fff;
  transition: all 0.15s;
}
.pagination a:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); text-decoration: none; }
.pagination .page-number { font-size: 0.875rem; color: var(--slate-500); }

/* ── 29. RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .lwcl-post-layout { grid-template-columns: 180px minmax(0, 1fr); }
  .lwcl-toc-sidebar { padding: 24px 16px 24px 20px; }
}

@media (max-width: 900px) {
  .lwcl-pillars-inner { grid-template-columns: repeat(2, 1fr); }
  .lwcl-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lwcl-tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lwcl-footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .lwcl-hero-inner { grid-template-columns: 1fr; }
  .lwcl-hero-graphic { display: none; }
  .lwcl-featured-post-inner { grid-template-columns: 1fr; }
  .lwcl-featured-post-graphic { height: 140px; width: 100%; }
}

@media (max-width: 768px) {
  .lwcl-nav-links,
  .lwcl-nav-actions { display: none; }
  .lwcl-nav-burger { display: flex; }
  .lwcl-nav-inner { gap: 16px; }

  .lwcl-post-layout { grid-template-columns: 1fr; }
  .lwcl-toc-sidebar {
    position: static;
    border-right: none;
    border-bottom: 0.5px solid var(--slate-300);
    max-height: none;
    padding: 16px 24px;
  }
  .lwcl-post-hero-inner { grid-template-columns: 1fr; }
  .lwcl-post-hero-rings { display: none; }
  .lwcl-post-content-col { padding: 28px 20px; }
  .gh-content .kg-width-wide,
  .gh-content .kg-width-full { margin-left: -20px; margin-right: -20px; }

  .lwcl-tool-layout { grid-template-columns: 1fr; }
  .lwcl-tool-sidebar {
    position: static;
    border-left: none;
    border-top: 0.5px solid var(--slate-300);
    max-height: none;
  }
  .lwcl-tool-main { padding: 24px 20px 40px; }

  .lwcl-related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .lwcl-post-grid { grid-template-columns: 1fr; }
  .lwcl-tools-grid { grid-template-columns: 1fr; }
  .lwcl-pillars-inner { grid-template-columns: 1fr; }
  .lwcl-footer-inner { grid-template-columns: 1fr; }
  .lwcl-hero { padding: 40px 20px 36px; }
  .lwcl-post-section { padding: 28px 16px; }
  .lwcl-featured-post { margin-bottom: 24px; padding: 0 16px; }
  .lwcl-members-card { padding: 28px 24px; }
}
