/**
 * Blog styles — Dispatches (list) + Article (single)
 *
 * Matches the wdp-ai "Neural Lab" dark design language: deep-space
 * surfaces, Syne display type, electric lime / ice-cyan signal
 * accents, glassy cards. Design tokens (--bg, --primary, --accent,
 * --gradient, ...) are inherited from the parent stylesheet.
 */

/* ----------------------------------------------------------------
   Wrap
----------------------------------------------------------------- */
.blog-list-wrap, .blog-single-wrap { background: var(--bg); }

/* ----------------------------------------------------------------
   Page Hero (Blog listing) — hero glow background
----------------------------------------------------------------- */
.page-hero {
  padding: 170px 0 80px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: -200px; right: -120px;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 231, 255, 0.1), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: -180px; left: -140px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 241, 53, 0.07), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: flex-end; }
.page-label {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--lime); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 24px;
  display: flex; align-items: center; gap: 8px;
}
.page-label::before { content: '//'; font-weight: 600; letter-spacing: 0; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 800; line-height: 1; letter-spacing: -0.02em;
  color: var(--text);
}
.page-hero h1 .serif {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-weight: 400;
  color: var(--lime);
  letter-spacing: 0;
}
.page-hero-meta { font-size: 17px; color: var(--text-dim); max-width: 400px; padding-bottom: 12px; }
.page-hero-meta strong { color: var(--text); font-weight: 500; }

/* ----------------------------------------------------------------
   Filter Bar
----------------------------------------------------------------- */
.filter-bar {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 63px;
  background: rgba(6, 7, 11, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 100;
}
.filter-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.filter-categories { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-cat {
  font-size: 12.5px; font-weight: 500; color: var(--text-dim);
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--surface);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer; font-family: inherit;
}
.filter-cat:hover { color: var(--lime); border-color: rgba(200, 241, 53, 0.4); }
.filter-cat.active {
  color: #06070B;
  font-weight: 600;
  border-color: transparent;
  background: var(--gradient);
  box-shadow: var(--shadow-md);
}
.search-box { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--border-dark); padding-bottom: 4px; }
.search-box i { color: var(--text-light); font-size: 12px; }
.search-box input, .search-box .search-field {
  background: transparent; border: none; outline: none;
  font-family: var(--font-body); font-size: 13px; color: var(--text); width: 160px;
}
.search-box input::placeholder, .search-box .search-field::placeholder { color: var(--text-light); }
.search-form-inline { display: flex; align-items: center; gap: 8px; width: 100%; }
.search-form-inline .search-field { flex: 1; }

/* ----------------------------------------------------------------
   Featured Post
----------------------------------------------------------------- */
.featured-section { padding: 80px 0; border-bottom: 1px solid var(--border); }
.featured-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.featured-post { display: block; }
.featured-img-wrap {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  background: var(--surface-2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.featured-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.featured-post:hover .featured-img-wrap img { transform: scale(1.04); }
.featured-tag {
  position: absolute; top: 20px; left: 20px;
  background: var(--gradient); color: #06070B;
  padding: 7px 14px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}

.post-meta {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-light); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px;
}
.post-meta .cat {
  color: var(--lime); font-weight: 500;
  background: var(--primary-soft);
  border: 1px solid rgba(200, 241, 53, 0.25);
  padding: 4px 10px; border-radius: 100px;
}
.post-meta .dot { width: 3px; height: 3px; background: var(--text-light); border-radius: 50%; }

.featured-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 700; margin-bottom: 20px; letter-spacing: -0.015em; line-height: 1.08;
  transition: color 0.2s;
}
.featured-post:hover .featured-content h2 { color: var(--lime); }
.featured-content p { font-size: 16px; color: var(--text-dim); margin-bottom: 28px; line-height: 1.7; }

.read-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--lime);
  transition: all 0.2s;
}
.read-link i { font-size: 11px; transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.read-link:hover i { transform: translateX(4px); }

/* ----------------------------------------------------------------
   Post Grid
----------------------------------------------------------------- */
.posts-section { border-bottom: 1px solid var(--border); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 80px 0; }
.post-item {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 20px 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative; overflow: hidden;
}
.post-item::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.post-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200, 241, 53, 0.25);
}
.post-item:hover::before { transform: scaleX(1); }
.post-item-img {
  aspect-ratio: 4/3; overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 20px; background: var(--surface-2);
}
.post-item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.post-item:hover .post-item-img img { transform: scale(1.05); }
.post-item h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700; margin-bottom: 10px; line-height: 1.25;
  transition: color 0.2s;
}
.post-item h3 a { display: block; }
.post-item:hover h3 { color: var(--lime); }
.post-item p { font-size: 14px; color: var(--text-dim); margin-bottom: 20px; line-height: 1.6; flex-grow: 1; }

/* No results */
.no-results { padding: 120px 0; text-align: center; }
.no-results h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 16px;
}
.no-results p { color: var(--text-dim); margin-bottom: 32px; }

/* ----------------------------------------------------------------
   Pagination
----------------------------------------------------------------- */
.pagination { display: flex; justify-content: center; align-items: center; gap: 10px; padding-bottom: 80px; }
.pagination .page-btn, .pagination .page-numbers {
  min-width: 40px; height: 40px; padding: 0 12px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
.pagination .page-numbers.current {
  background: var(--gradient); color: #06070B; font-weight: 600; border-color: transparent;
  box-shadow: var(--shadow-md);
}
.pagination .page-numbers:hover:not(.current):not(.dots) {
  border-color: var(--lime); color: var(--lime);
  transform: translateY(-2px);
}
.pagination .page-numbers.dots { border: none; }

/* ----------------------------------------------------------------
   Newsletter CTA — signal band
----------------------------------------------------------------- */
.newsletter {
  padding: 110px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  text-align: center;
  position: relative; overflow: hidden;
}
.newsletter::before {
  content: ''; position: absolute; top: -160px; left: 50%; transform: translateX(-50%);
  width: 720px; height: 360px;
  background: radial-gradient(ellipse, rgba(200, 241, 53, 0.12), transparent 70%);
  filter: blur(60px);
}
.newsletter-label {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--lime);
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  position: relative;
}
.newsletter-label .dot { width: 6px; height: 6px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 8px rgba(200, 241, 53, 0.8); }
.newsletter h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800; margin-bottom: 20px; letter-spacing: -0.02em; line-height: 1.08;
  position: relative;
  color: var(--text);
}
.newsletter h2 .serif {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-weight: 400;
  color: var(--lime);
}
.newsletter p { font-size: 16px; color: var(--text-dim); max-width: 440px; margin: 0 auto 40px; position: relative; }
.newsletter-form {
  display: flex; max-width: 480px; margin: 0 auto;
  background: rgba(13, 16, 23, 0.8);
  border: 1px solid var(--border-dark);
  border-radius: 100px;
  padding: 6px 8px 6px 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
}
.newsletter-form:focus-within { border-color: rgba(200, 241, 53, 0.6); box-shadow: 0 0 0 4px rgba(200, 241, 53, 0.1); }
.newsletter-form input { flex: 1; background: transparent; border: none; outline: none; color: var(--text); font-family: var(--font-body); font-size: 15px; padding: 8px 0; }
.newsletter-form input::placeholder { color: var(--text-light); }
.newsletter-form button {
  color: #06070B; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  background: var(--gradient);
  border-radius: 100px;
  transition: box-shadow 0.2s, transform 0.2s;
  border: none; cursor: pointer; font-family: inherit;
}
.newsletter-form button:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }

/* ====================================================================
   ARTICLE (SINGLE POST)
==================================================================== */
.container-read { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 32px; }

.article-hero {
  padding: 170px 0 60px;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.article-hero::before {
  content: '';
  position: absolute; top: -180px; right: -100px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 231, 255, 0.09), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.article-meta-top {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-light); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 32px; flex-wrap: wrap;
}
.article-meta-top .cat {
  color: var(--lime); font-weight: 500;
  background: var(--primary-soft);
  border: 1px solid rgba(200, 241, 53, 0.25);
  padding: 4px 10px; border-radius: 100px;
}
.article-meta-top .dot { width: 3px; height: 3px; background: var(--text-light); border-radius: 50%; }

.article-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.6vw, 4.2rem);
  font-weight: 800; line-height: 1.04; letter-spacing: -0.015em;
  margin-bottom: 28px; max-width: 900px;
  color: var(--text);
}
.article-hero h1 .serif {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-weight: 400;
  color: var(--lime);
}

.article-lead { font-size: 20px; color: var(--text-dim); max-width: 680px; margin-bottom: 44px; line-height: 1.55; font-weight: 300; }

.article-author-row {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
  padding-top: 28px; border-top: 1px solid var(--border);
}
.author-info { display: flex; align-items: center; gap: 16px; }
.author-avatar {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--gradient); color: #06070B;
  overflow: hidden; border: none;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  box-shadow: var(--shadow-sm);
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-text div:first-child { font-size: 14px; font-weight: 600; color: var(--text); }
.author-text div:last-child { font-size: 12px; color: var(--text-light); font-family: var(--font-mono); }
.share-icons { display: flex; gap: 10px; }
.share-icons a {
  width: 38px; height: 38px;
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--text-dim);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.share-icons a:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }

/* Featured Image */
.featured-image-wrap { padding: 60px 0; border-bottom: 1px solid var(--border); }
.featured-image {
  width: 100%; aspect-ratio: 16/9; overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.featured-image img { width: 100%; height: 100%; object-fit: cover; }

/* Article Body */
.article-body { padding: 80px 0; }
.article-content {
  font-family: var(--font-body);
  font-size: 18px; line-height: 1.75; color: var(--text-body);
}
.article-content > * + * { margin-top: 1.5em; }

.article-content h2 {
  font-family: var(--font-display);
  font-size: 30px; font-weight: 700;
  margin-top: 2.2em; margin-bottom: 0.7em; letter-spacing: -0.01em;
  color: var(--text);
}
.article-content h2 .serif {
  font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400;
  color: var(--lime);
}
.article-content h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700; margin-top: 1.8em; margin-bottom: 0.6em;
  color: var(--text);
}

.article-content p { margin-bottom: 1.3em; }
.article-content strong { font-weight: 600; color: var(--text); }
.article-content a {
  color: var(--lime);
  border-bottom: 1px solid rgba(200, 241, 53, 0.3);
  transition: border-color 0.2s;
}
.article-content a:hover { border-color: var(--lime); }

/* Drop Cap */
.article-content > p:first-of-type::first-letter {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: 5.5rem; line-height: 0.8;
  float: left; padding: 8px 12px 0 0;
  color: var(--lime);
}

/* Blockquote */
.article-content blockquote {
  border-left: 3px solid var(--lime);
  padding: 0.5em 0 0.5em 32px;
  margin: 2em 0;
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: 27px; line-height: 1.35; color: var(--text);
}

/* Inline Code & Pre */
.article-content code {
  font-family: var(--font-mono); font-size: 0.85em;
  background: var(--primary-soft);
  padding: 3px 6px; border-radius: 5px;
  color: var(--lime);
}
.article-content pre {
  background: #04050A; color: #D5DAE6;
  padding: 26px; border-radius: var(--radius-md);
  overflow-x: auto; margin: 2em 0;
  font-size: 14px; line-height: 1.6;
  border: 1px solid var(--border);
}
.article-content pre code { background: transparent; padding: 0; color: inherit; }

/* List */
.article-content ul, .article-content ol { padding-left: 0; margin: 1.5em 0; }
.article-content ul { list-style: none; }
.article-content ul li { position: relative; padding-left: 24px; margin-bottom: 0.8em; }
.article-content ul li::before {
  content: ''; position: absolute; left: 0; top: 0.7em;
  width: 10px; height: 2px; border-radius: 2px;
  background: var(--lime);
}
.article-content ol { counter-reset: olc; list-style: none; }
.article-content ol li { counter-increment: olc; position: relative; padding-left: 32px; margin-bottom: 0.8em; }
.article-content ol li::before {
  content: counter(olc, decimal-leading-zero);
  position: absolute; left: 0; top: 0.1em;
  font-family: var(--font-mono); font-size: 0.75em;
  color: var(--lime);
  font-weight: 500;
}

/* Image inside content */
.article-content figure { margin: 2.5em 0; }
.article-content figure img { width: 100%; border-radius: var(--radius-md); }
.article-content figcaption { font-size: 13px; color: var(--text-light); text-align: center; margin-top: 12px; font-family: var(--font-mono); }
.article-content img { max-width: 100%; height: auto; border-radius: var(--radius-md); }

/* Article Footer / CTA */
.article-footer { padding: 60px 0 100px; border-top: 1px solid var(--border); }
.tags-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 60px; }
.tag {
  font-family: var(--font-mono); font-size: 11px;
  padding: 7px 14px;
  border: 1px solid var(--border-dark);
  border-radius: 100px; color: var(--text-dim);
  transition: all 0.2s; text-decoration: none;
}
.tag:hover { border-color: var(--lime); color: var(--lime); }

.author-bio {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 28px; align-items: center;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.author-bio-avatar {
  width: 72px; height: 72px; border-radius: 20px;
  background: var(--gradient); color: #06070B;
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.author-bio-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-bio-info h4 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.author-bio-info p { font-size: 14px; color: var(--text-dim); line-height: 1.5; max-width: 400px; }
.author-bio-cta {
  font-size: 13px; font-weight: 600; color: var(--lime);
  display: inline-flex; align-items: center; gap: 6px;
  padding-bottom: 2px; border-bottom: 2px solid rgba(200, 241, 53, 0.3);
  transition: all 0.2s; white-space: nowrap;
}
.author-bio-cta:hover { border-color: var(--lime); }
.author-bio-cta i { font-size: 11px; transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.author-bio-cta:hover i { transform: translateX(3px); }

/* Related Posts */
.related-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}
.related-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; }
.related-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700;
  color: var(--text);
}
.related-head h2 .serif {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-weight: 400;
  color: var(--lime);
}
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.related-item {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 16px 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.related-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 241, 53, 0.25);
}
.related-item-img {
  aspect-ratio: 16/10; overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 18px; background: var(--surface-2);
}
.related-item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.related-item:hover .related-item-img img { transform: scale(1.04); }
.related-item h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700; margin-bottom: 8px;
  transition: color 0.2s;
}
.related-item:hover h3 { color: var(--lime); }
.related-meta {
  display: flex; gap: 12px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-light); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px;
}
.related-meta .cat { color: var(--lime); font-weight: 500; }
.related-meta .dot { width: 3px; height: 3px; background: var(--text-light); border-radius: 50%; align-self: center; }

/* ----------------------------------------------------------------
   Comments
----------------------------------------------------------------- */
.comments-area { margin-top: 60px; }
.comments-section { padding: 100px 0; border-top: 1px solid var(--border); }
.comments-section .comments-area { margin-top: 0; }
.comments-title { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin-bottom: 32px; color: var(--text); }
.comment-list { list-style: none; padding: 0; margin: 0 0 40px; }
.comment-list .comment, .comment-list .pingback { padding: 24px 0; border-bottom: 1px solid var(--border); }
.comment-list .children { list-style: none; padding-left: 32px; margin: 0; }
.comment-body .comment-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.comment-body .comment-author { font-size: 14px; font-weight: 600; color: var(--text); }
.comment-body .comment-author .fn a { color: var(--text); }
.comment-body .comment-metadata { font-family: var(--font-mono); font-size: 11px; color: var(--text-light); }
.comment-body .comment-content { font-size: 15px; color: var(--text-dim); line-height: 1.6; }
.comment-body .reply { margin-top: 8px; }
.comment-body .reply a { font-size: 13px; font-weight: 600; color: var(--lime); }
.comment-body .avatar { border-radius: 50%; border: 1px solid var(--border); }
.comment-respond { padding-top: 16px; }
.comment-respond .comment-reply-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-bottom: 20px; color: var(--text); }
.comment-respond .comment-form p { margin-bottom: 16px; }
.comment-respond .comment-form label { display: block; font-size: 12px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-light); margin-bottom: 6px; }
.comment-respond .comment-form input[type="text"], .comment-respond .comment-form input[type="email"], .comment-respond .comment-form input[type="url"], .comment-respond .comment-form textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  background: var(--surface);
  font-family: var(--font-body); font-size: 14px; color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.comment-respond .comment-form input:focus, .comment-respond .comment-form textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(200, 241, 53, 0.1); }
.comment-respond .comment-form textarea { resize: vertical; min-height: 120px; }
.comment-respond .comment-form .btn-accent { padding: 12px 24px; font-size: 13px; }
.comment-form-cookies-consent { display: flex; align-items: center; gap: 8px; }
.comment-form-cookies-consent input { margin-top: 0; accent-color: var(--lime); }

/* Page links (multi-page posts) */
.page-links {
  clear: both; margin: 2em 0;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text-light); display: flex; gap: 8px; align-items: center;
}
.page-links .page-links-label { text-transform: uppercase; letter-spacing: 0.08em; }
.page-links .page-link {
  min-width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-dark); border-radius: 8px;
  color: var(--text);
}
.page-links .page-link a { color: inherit; }

/* ----------------------------------------------------------------
   Responsive
----------------------------------------------------------------- */
@media (max-width: 968px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .page-hero { padding: 140px 0 60px; }
  .filter-bar { top: 63px; padding: 18px 0; }
  .filter-inner { flex-direction: column; align-items: flex-start; }
  .featured-layout { grid-template-columns: 1fr; gap: 40px; }
  .post-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .article-hero { padding: 140px 0 40px; }
  .author-bio { grid-template-columns: auto 1fr; }
  .author-bio-cta { grid-column: 1 / -1; justify-self: start; margin-top: 16px; }
  .related-grid { grid-template-columns: 1fr; gap: 24px; }
  .article-content { font-size: 17px; }
  .article-content blockquote { font-size: 22px; padding-left: 20px; }
}
@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; }
  .article-author-row { flex-direction: column; align-items: flex-start; }
  .author-bio { padding: 24px; }
  .article-content > p:first-of-type::first-letter { font-size: 4rem; }
  .filter-categories { gap: 8px; overflow-x: auto; width: 100%; flex-wrap: nowrap; padding-bottom: 4px; }
  .filter-cat { white-space: nowrap; flex-shrink: 0; }
  .newsletter-form { flex-direction: column; padding: 12px; gap: 10px; border-radius: var(--radius-md); }
  .newsletter-form button { justify-content: center; width: 100%; }
}
