/* Blog styles - Notion-inspired design */

/* Navigation logo fix */
.nav .logo {
    text-decoration: none;
}

.blog-hero {
    padding: 120px 20px 80px;
    background: #ffffff;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.blog-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #37352f;
    font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
    letter-spacing: -0.02em;
}

.blog-hero-subtitle {
    font-size: 1.125rem;
    color: rgba(55, 53, 47, 0.65);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.blog-list {
    padding: 60px 20px 120px;
    background: #ffffff;
}

.blog-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.blog-card {
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 40px 0;
    transition: background-color 0.15s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.blog-card:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.blog-card:first-child {
    padding-top: 0;
}

.blog-card-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.blog-tag {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: rgba(227, 226, 224, 0.5);
    color: rgba(55, 53, 47, 0.65);
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-date {
    color: rgba(55, 53, 47, 0.45);
    font-size: 0.875rem;
}

.blog-card h2 {
    font-size: 1.875rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.blog-card h2 a {
    color: #37352f;
    text-decoration: none;
    transition: color 0.15s ease;
}

.blog-card h2 a:hover {
    color: rgba(55, 53, 47, 0.7);
}

.blog-card p {
    color: rgba(55, 53, 47, 0.65);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.blog-read-more {
    color: rgba(55, 53, 47, 0.45);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.15s ease;
}

.blog-read-more:hover {
    color: #37352f;
}

/* Article page styles - Notion-inspired */

.article-header {
    padding: 120px 20px 60px;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
    color: #37352f;
    letter-spacing: -0.02em;
    font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    color: rgba(55, 53, 47, 0.45);
    font-size: 0.875rem;
}

.article-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 96px;
    font-size: 1rem;
    line-height: 1.7;
    color: #37352f;
}

.article-content h2 {
    font-size: 1.875rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #37352f;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.article-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: #37352f;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.article-content h4 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #37352f;
    font-weight: 600;
}

.article-content p {
    margin-bottom: 1rem;
    color: #37352f;
    line-height: 1.7;
}

.article-content ul, .article-content ol {
    margin-bottom: 1rem;
    padding-left: 1.75rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    color: #37352f;
    line-height: 1.7;
}

.article-content strong {
    font-weight: 600;
}

.article-content em {
    font-style: italic;
    color: rgba(55, 53, 47, 0.75);
}

.article-content a {
    color: #37352f;
    text-decoration: underline;
    text-decoration-color: rgba(55, 53, 47, 0.3);
    transition: text-decoration-color 0.15s ease;
}

.article-content a:hover {
    text-decoration-color: #37352f;
}

.highlight-box {
    background: rgba(241, 241, 239, 1);
    border-left: 3px solid rgba(55, 53, 47, 0.16);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 3px;
}

.highlight-box p {
    margin-bottom: 0;
}

.article-cta {
    background: rgba(241, 241, 239, 0.6);
    padding: 2.5rem 2rem;
    border-radius: 3px;
    text-align: center;
    margin: 3rem 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.article-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.article-cta p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: rgba(55, 53, 47, 0.65);
}

.breadcrumb {
    padding: 1.5rem 96px;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.breadcrumb-nav {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    gap: 0.5rem;
    font-size: 0.875rem;
    align-items: center;
}

.breadcrumb-nav a {
    color: rgba(55, 53, 47, 0.65);
    text-decoration: none;
    transition: color 0.15s ease;
}

.breadcrumb-nav a:hover {
    color: #37352f;
}

.breadcrumb-nav span {
    color: rgba(55, 53, 47, 0.3);
}

/* Responsive */
@media (max-width: 900px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }

    .blog-hero {
        padding: 80px 20px 60px;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-header {
        padding: 80px 20px 40px;
    }

    .article-meta {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .article-content {
        padding: 60px 24px;
        font-size: 1rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .article-content h3 {
        font-size: 1.25rem;
    }

    .breadcrumb {
        padding: 1rem 24px;
    }

    .blog-card h2 {
        font-size: 1.5rem;
    }

    .blog-card {
        padding: 32px 0;
    }
}

/* Additional Notion-style enhancements */
body {
    font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: rgba(45, 170, 219, 0.3);
}

/* Code blocks if needed */
.article-content code {
    background: rgba(135, 131, 120, 0.15);
    color: #eb5757;
    border-radius: 3px;
    font-size: 85%;
    padding: 0.2em 0.4em;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

.article-content pre {
    background: rgba(241, 241, 239, 1);
    border-radius: 3px;
    padding: 1rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.article-content pre code {
    background: none;
    color: #37352f;
    padding: 0;
}

/* Divider */
.article-content hr {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin: 2rem 0;
}

/* Blockquote */
.article-content blockquote {
    border-left: 3px solid rgba(55, 53, 47, 0.16);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    color: rgba(55, 53, 47, 0.65);
    font-style: italic;
}
