/* ============================================
   Doll's Workshop - Custom Publish CSS
   ============================================ */

/* Typography */
body {
  --font-text: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, monospace;
  line-height: 1.7;
}

/* Site name in sidebar - center under logo */
.site-body-left-column-site-name,
a.site-body-left-column-site-name {
  display: block !important;
  text-align: center !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Homepage styling */
.home-page h1 {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.home-page h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--text-accent), transparent);
  margin-top: 1rem;
}

/* Blog index styling */
.blog-index h1 {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.blog-index h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--text-accent), transparent);
  margin-top: 1rem;
}

/* About page */
.about-page h1 {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.about-page h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--text-accent), transparent);
  margin-top: 1rem;
}

/* Blog post styling - purple line under title */
.markdown-preview-view h1:first-of-type,
.markdown-rendered h1:first-of-type {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.markdown-preview-view h1:first-of-type::after,
.markdown-rendered h1:first-of-type::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--text-accent), transparent);
  margin-top: 1rem;
}

/* Links */
a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

a:hover {
  border-bottom-color: var(--text-accent);
}

/* Blockquotes - epigraph style */
blockquote {
  border-left: 2px solid var(--text-accent);
  padding-left: 1.5rem;
  margin-left: 0;
  font-style: italic;
  color: var(--text-muted);
}

/* Images */
img {
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Horizontal rules */
hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--background-modifier-border), transparent);
  margin: 2rem 0;
}

/* Navigation improvements */
.nav-file-title {
  font-size: 0.9rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .home-page h1,
  .blog-index h1,
  .about-page h1,
  .markdown-preview-view h1:first-of-type,
  .markdown-rendered h1:first-of-type {
    font-size: 2rem;
  }
  
  body {
    font-size: 16px;
  }
}
