/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e1e5e9;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    min-height: 4rem;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-title a {
    text-decoration: none;
    color: #1976d2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-nav {
    display: flex;
    gap: 1rem;
}

.site-nav a {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: color 0.2s;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.site-nav a:hover {
    color: #1976d2;
    background-color: #f1f5f9;
}

/* Header style variations */




/* Main content */
.site-main {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
    color: #1e293b;
}

h1 { 
    font-size: 44.090815370097204px; 
    font-weight: 700; 
}
h2 { 
    font-size: 36px; 
    font-weight: 600; 
}
h3 { 
    font-size: 29.393876913398138px; 
    font-weight: 600; 
}
h4 { 
    font-size: 24px; 
    font-weight: 600; 
}

p {
    margin-bottom: 1.5rem;
    color: #475569;
    line-height: 1.6;
}

/* Links */
a {
    color: #1976d2;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #2196f3;
    text-decoration: underline;
}

/* Icons */
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #64748b;
    flex-shrink: 0;
}

.icon svg {
    width: 100%;
    height: 100%;
}

.icon-with-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Breadcrumb */
.breadcrumb {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #64748b;
}

.breadcrumb a {
    color: #1976d2;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Tag highlight */
.tag-highlight {
    color: #1976d2;
    background: linear-gradient(120deg, #1976d220 0%, #1976d220 100%);
    padding: 0.2em 0.4em;
    border-radius: 8px;
    font-weight: 600;
}

/* Post styles */
.post-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e1e5e9;
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.post-title {
    font-size: 44.090815370097204px;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
    line-height: 1.2;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-content {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

/* Post grid for index pages */
.posts-grid,
.post-list {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-bottom: 2rem;
}

.post-card {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #e1e5e9;
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.post-card-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.post-card-title a {
    color: inherit;
    text-decoration: none;
}

.post-card-title a:hover {
    color: #1976d2;
}

.post-card-excerpt {
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.post-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.tag {
    background: #1976d215;
    color: #1976d2;
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #1976d230;
    transition: all 0.2s;
}

.tag:hover {
    background: #1976d2;
    color: white;
    text-decoration: none;
}

/* Code blocks */
pre {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    overflow-x: auto;
    margin: 1rem 0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
}

code {
    background: #f1f5f9;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
}

pre code {
    background: none;
    padding: 0;
}

/* Blockquotes */
blockquote {
    border-left: 4px solid #1976d2;
    padding-left: 1rem;
    margin: 1.5rem 0;
    color: #64748b;
    font-style: italic;
}

/* Lists */
ul, ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Footer */
.site-footer {
    background: #f8fafc;
    border-top: 1px solid #e1e5e9;
    padding: 2rem 0;
    margin-top: 2rem;
    text-align: center;
    color: #64748b;
}

.social-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.social-links a:hover {
    color: #1976d2;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .posts-grid,
    .post-list {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .post-title {
        font-size: 36px;
    }
    
    .post-header,
    .post-content,
    .post-card {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .site-main {
        padding: 1rem 0;
    }
    
    .post-title {
        font-size: 24px;
    }
}

/* Post card styles */
.post-card {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #e1e5e9;
}

.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.post-card-title-with-icon {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.post-card-title-with-icon .icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-card-title-with-icon .icon svg,
.post-card-title-with-icon .icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.post-card-title {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  color: #1e293b;
}

.post-card-title a {
  color: inherit;
  text-decoration: none;
}

.post-card-title a:hover {
  color: #1976d2;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.folder-path {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.folder-path .icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.folder-path .icon svg,
.folder-path .icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.post-card-excerpt {
  color: #64748b;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* ... rest of existing CSS ... */
