/* Blog Specific Styles */
:root {
    --blog-max-width: 800px;
    --blog-text-color: #374151;
    --blog-heading-color: #111827;
    --blog-link-color: #16a34a;
    --blog-meta-color: #6b7280;
}

body.blog-page {
    background-color: #f9fafb;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--blog-text-color);
    line-height: 1.8;
}

.blog-header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 50;
}

.blog-container {
    max-width: var(--blog-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.blog-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #166534;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-hero {
    background: linear-gradient(135deg, #166534 0%, #15803d 100%);
    color: white;
    padding: 4rem 0 6rem;
    text-align: center;
    border-radius: 0 0 2rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.blog-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.blog-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: -3rem;
    margin-bottom: 4rem;
    padding: 0 1rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.blog-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.blog-card-image {
    height: 200px;
    background-color: #e5e7eb;
    background-size: cover;
    background-position: center;
}

.blog-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--blog-link-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.blog-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--blog-heading-color);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-card-excerpt {
    font-size: 0.95rem;
    color: var(--blog-meta-color);
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f3f4f6;
    padding-top: 1rem;
    font-size: 0.85rem;
    color: var(--blog-meta-color);
}

/* Article Page Styles */
.article-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 4rem 1.5rem 2rem;
    background: white;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--blog-meta-color);
    margin-bottom: 1rem;
}

.article-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--blog-heading-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.article-content {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 4rem;
}

.article-content h2,
.article-content h3 {
    font-family: 'Playfair Display', serif;
    color: var(--blog-heading-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.article-content h2 {
    font-size: 2rem;
}

.article-content h3 {
    font-size: 1.5rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.cta-box {
    background: #ecfdf5;
    border: 1px solid #10b981;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    margin: 3rem 0;
}

.cta-box h3 {
    margin-top: 0;
    color: #065f46;
}

.cta-button {
    display: inline-block;
    background: #10b981;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: background 0.2s;
}

.cta-button:hover {
    background: #059669;
}

@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2.25rem;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-content {
        padding: 1.5rem;
    }
}