/*
 * Maintain Brain — Blog Personality Layer
 * Thin override file for blog-specific styling
 * Imports: tokens.css → system.css → styles.css → this file
 * (Nav, footer, body, reset, and base layout from system.css + styles.css)
 */

/* ── Blog Read Link ── */
.blog-read-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  text-decoration: none;
  margin-top: 1rem;
  transition: gap 0.2s ease, opacity 0.2s ease;
}

.blog-read-link:hover {
  gap: 0.55rem;
  opacity: 0.8;
}

/* ── Blog Featured Section ── */
.blog-featured-meta {
  color: var(--mid);
  font-size: 13px;
  margin-top: var(--sp-3);
}

/* ── Blog Card Meta ── */
.blog-card-meta {
  color: var(--mid);
  font-size: 11px;
  letter-spacing: 0.04em;
}

/* ── Theme Toggle Button ── */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  transition: opacity 0.15s ease;
}

.theme-toggle:hover {
  opacity: 0.65;
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.5;
}

.theme-toggle .icon-sun { display: none; }

[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

/* Responsive */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-featured-card {
    grid-template-columns: 1fr;
  }

  .blog-featured-visual {
    min-height: 200px;
  }
}
