/* ===== BLOG POST STYLES ===== */
.blog-post {
    padding: 120px 0 60px;
}

.post-header {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.post-category {
    padding: 4px 12px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border-radius: 50px;
}

.post-date::before,
.post-author::before {
    content: '•';
    margin-right: 1.5rem;
    color: var(--primary);
    opacity: 0.5;
}

.post-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 2rem;
}

.post-featured-image {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.post-featured-image img {
    width: 100%;
    height: auto;
}

.post-content {
    max-width: 800px;
    margin: 3rem auto;
}

.post-content h2 {
    margin: 2.5rem 0 1rem;
    font-size: 1.75rem;
}

.post-content h3 {
    margin: 2rem 0 1rem;
    font-size: 1.25rem;
}

.post-content p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.post-content ul,
.post-content ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

blockquote {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--bg-card);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    font-style: italic;
}

blockquote p {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

blockquote cite {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.post-cta {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    text-align: center;
    color: var(--black);
}

.post-cta h3 {
    color: var(--black);
    margin-bottom: 1rem;
}

.post-cta p {
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 1.5rem;
}

.post-cta .btn-primary {
    background: var(--black);
    color: var(--primary);
}

.post-cta .btn-primary:hover {
    background: var(--gray-900);
}

.post-footer {
    max-width: 800px;
    margin: 3rem auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.post-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 4px 12px;
    background: var(--gray-800);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.tag:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.post-share {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.post-share span {
    color: var(--text-muted);
}

.share-btn {
    width: 36px;
    height: 36px;
    background: var(--gray-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.share-btn:hover {
    background: var(--primary);
    color: var(--black);
    transform: translateY(-2px);
}

.post-author-bio {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.post-author-bio img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.author-info h4 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.author-info p {
    color: var(--text-muted);
    margin: 0;
}

.related-posts {
    max-width: 800px;
    margin: 3rem auto 0;
}

.related-posts h3 {
    margin-bottom: 2rem;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.related-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.related-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-card h4 {
    padding: 1rem 1rem 0.5rem;
    font-size: 1rem;
}

.related-card .read-more {
    display: inline-block;
    padding: 0.5rem 1rem 1rem;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .post-date::before,
    .post-author::before {
        display: none;
    }
    
    .post-footer {
        flex-direction: column;
        text-align: center;
    }
    
    .post-author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}