/* Blog Specific Styles */
.blog-main {
    padding-top: 0;
}

.blog-hero {
    padding: 120px 0 80px;
    background: #000000;
    text-align: center;
}

.blog-hero__content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.blog-hero__content p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* Blog Posts Grid */
.blog-posts {
    padding: 120px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.blog-card {
    background: transparent;
    border: 0.5px solid #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #000000 0%, #34C759 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.blog-card:hover h2 a,
.blog-card:hover p,
.blog-card:hover .blog-category,
.blog-card:hover .blog-date,
.blog-card:hover .author-name {
    color: #FFFFFF;
}

.blog-card__image {
    height: 200px;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image {
    transform: scale(1.05);
}

.blog-card__content {
    padding: 32px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.blog-category {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.blog-date {
    color: var(--text-muted);
    font-size: 14px;
}

.blog-card h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.blog-card h2 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card h2 a:hover {
    color: var(--primary-color);
}

.blog-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    font-size: 16px;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-name {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 14px;
}

/* Blog Categories */
.blog-categories {
    padding: 120px 0;
    background: #000000;
}

.blog-categories h2 {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 48px;
    letter-spacing: -0.02em;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.category-card {
    background: transparent;
    border: 0.5px solid #FFFFFF;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #000000 0%, #34C759 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.category-card:hover h3,
.category-card:hover p {
    color: #FFFFFF;
}

.category-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.category-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 16px;
}

/* Article Page Styles */
.article-hero {
    padding: 120px 0 80px;
    background: #000000;
}

.article-featured-image {
    padding: 40px 0;
    background: #000000;
}

.article-featured-image .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

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

.article-hero__content h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.article-hero__content .article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.article-hero__content p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 24px;
}

.article-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 48px 0 16px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.article-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 32px 0 16px;
    color: var(--text-primary);
}

.article-content p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.article-content ul, .article-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.article-content li {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.article-content blockquote {
    background: #0A0A0A;
    border-left: 4px solid var(--primary-color);
    padding: 24px;
    margin: 32px 0;
    border-radius: 8px;
}

.article-content blockquote p {
    font-style: italic;
    color: var(--text-primary);
}

.article-content code {
    background: var(--surface-light);
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    color: var(--primary-light);
}

/* Responsive Design for Blog */
@media (max-width: 768px) {
    .blog-hero {
        padding: 100px 0 60px;
    }
    
    .blog-hero__content h1 {
        font-size: 32px;
    }
    
    .blog-hero__content p {
        font-size: 16px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .article-hero {
        padding: 100px 0 60px;
    }
    
    .article-hero__content h1 {
        font-size: 28px;
    }
    
    .article-hero__content .article-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .article-content {
        padding: 60px 16px;
    }
    
    .article-content h2 {
        font-size: 24px;
    }
    
    .article-content h3 {
        font-size: 20px;
    }
    
    .article-content p {
        font-size: 16px;
    }
    
    .featured-image {
        height: 250px;
        border-radius: 8px;
    }
}
