/* Basic Theme - Monochrome & Minimal */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.6;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #333;
    background-color: #fff;
    font-weight: 400;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #000;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: #555;
}

a {
    color: #000;
    text-decoration: underline;
    transition: color 0.3s ease;
}

a:hover {
    color: #666;
}

/* Header */
.site-header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.site-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    text-decoration: none;
}

.site-logo a:hover {
    color: #333;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #000;
    border-bottom-color: #000;
}

/* Hero Section */
.hero {
    background-color: #f8f9fa;
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
}

.hero-description {
    font-size: 1.25rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Intro Section */
.intro {
    padding: 3rem 0;
    background-color: #f8f9fa;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content p {
    font-size: 1.125rem;
    color: #555;
    margin-bottom: 0;
}

/* Section Styles */
.recent-posts {
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #000;
    text-align: center;
}

/* Post Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.post-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    padding: 1.5rem;
    transition: box-shadow 0.3s ease;
}

.post-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.post-title {
    margin-bottom: 0.5rem;
}

.post-title a {
    color: #000;
    text-decoration: none;
}

.post-title a:hover {
    color: #333;
}

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

.post-category,
.post-subcategory {
    background-color: #f0f0f0;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #666;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.post-tag {
    background-color: #e0e0e0;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #666;
}

.post-summary {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #000;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #333;
}

/* Profile Page */
.profile-page {
    padding: 3rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.profile-header {
    text-align: center;
    margin-bottom: 3rem;
}

.profile-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #000;
}

.profile-content {
    line-height: 1.8;
}

.profile-content h2 {
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
    color: #000;
}

.profile-content h2:first-child {
    margin-top: 0;
}

.profile-content ul {
    margin-left: 1.5rem;
    margin-bottom: 2rem;
}

.profile-content li {
    margin-bottom: 0.5rem;
}

.profile-content a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.profile-content a:hover {
    background-color: #f8f9fa;
    border-color: #000;
    text-decoration: none;
}

.profile-content a i {
    margin-right: 0.5rem;
}

/* Single Post */
.single-post {
    padding: 3rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.post-header {
    margin-bottom: 2rem;
    text-align: center;
}

.post-header .post-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.post-header .post-meta {
    justify-content: center;
}

.post-content {
    margin-bottom: 3rem;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content h1 {
    font-size: 2rem;
}

.post-content h2 {
    font-size: 1.75rem;
}

.post-content h3 {
    font-size: 1.5rem;
}

.post-content h4 {
    font-size: 1.25rem;
}

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

.post-content blockquote {
    border-left: 4px solid #e0e0e0;
    padding-left: 1rem;
    margin: 1.5rem 0;
    color: #666;
    font-style: italic;
}

.post-content code {
    background-color: #f5f5f5;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.post-content pre {
    background-color: #f5f5f5;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.post-content pre code {
    background-color: transparent;
    padding: 0;
}

.post-content ul,
.post-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.post-content th,
.post-content td {
    border: 1px solid #e0e0e0;
    padding: 0.75rem;
    text-align: left;
}

.post-content th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.nav-prev,
.nav-next {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    max-width: 45%;
}

.nav-prev:hover,
.nav-next:hover {
    color: #000;
}

/* List Page */
.list-page {
    padding: 3rem 0;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-description {
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.posts-list {
    max-width: 900px;
    margin: 0 auto;
}

/* Post Item Card */
.post-item-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 2rem;
    padding: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.post-item-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.post-item-card:last-child {
    margin-bottom: 0;
}

.post-item-content {
    padding: 2rem;
}

.post-item-content .post-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-item-content .post-title a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-item-content .post-title a:hover {
    color: #333;
}

.post-item-content .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #888;
}

.post-date {
    font-weight: 500;
    color: #666;
}

.post-item-content .post-category,
.post-item-content .post-subcategory {
    background-color: #f8f9fa;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #666;
}

.post-item-content .post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.post-item-content .post-tag {
    background-color: #e0e0e0;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #666;
}

.post-item-content .post-summary {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.post-item-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.post-item-footer .read-more {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.post-item-footer .read-more:hover {
    background-color: #f8f9fa;
    border-color: #000;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding: 2rem 0;
}

.page-prev,
.page-next {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.page-prev:hover,
.page-next:hover {
    background-color: #f8f9fa;
    color: #000;
}

/* Footer */
.site-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    text-align: center;
    color: #666;
}

.footer-content p {
    margin-bottom: 0.5rem;
}

.footer-content a {
    color: #000;
    text-decoration: none;
}

.footer-content a:hover {
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post {
        padding: 2rem 0;
    }
    
    .post-header .post-title {
        font-size: 2rem;
    }
    
    .profile-page {
        padding: 2rem 0;
    }
    
    .profile-title {
        font-size: 2rem;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-prev,
    .nav-next {
        max-width: 100%;
        text-align: center;
    }
    
    .pagination {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .post-item-content {
        padding: 1.5rem;
    }
    
    .post-item-content .post-title {
        font-size: 1.25rem;
    }
    
    .post-item-content .post-meta {
        font-size: 0.8rem;
    }
    
    .post-item-footer {
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .recent-posts {
        padding: 3rem 0;
    }
    
    .post-card {
        padding: 1rem;
    }
    
    .post-item-card {
        margin-bottom: 1.5rem;
    }
    
    .post-item-content {
        padding: 1rem;
    }
    
    .post-item-content .post-title {
        font-size: 1.125rem;
    }
    
    .intro {
        padding: 2rem 0;
    }
    
    .profile-page {
        padding: 2rem 0;
    }
} 