/* Blog-specific styling */

/* Article header styling */
.article-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

.article-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.article-content p {
    margin-bottom: 1.5rem;
    padding: 0;
}

.article-content ul {
    margin: 2rem 0;
    margin-left: 2rem;
}

.article-content li {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Post metadata */
.post-meta {
    font-size: 0.9rem;
    color: var(--color-text);
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

.post-divider {
    margin: 0 0.5rem;
}

.post-tags {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.tag {
    display: inline-block;
    background: rgba(255, 181, 0, 0.1);
    color: var(--color-accent);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Article footer */
.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.back-to-blog {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.back-to-blog:hover {
    color: var(--color-text);
}

.share-article {
    text-align: right;
}

.share-article p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin: 0 0 1rem 0;
    padding: 0;
}

/* Social sharing buttons */
.social-share {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    color: var(--color-text);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.share-btn.linkedin:hover {
    background: #0077b5;
    color: white;
    border-color: #0077b5;
}

.share-btn.twitter:hover {
    background: #000000;
    color: white;
    border-color: #000000;
}

.share-btn.facebook:hover {
    background: #1877f2;
    color: white;
    border-color: #1877f2;
}

.share-btn.copy:hover {
    background: var(--color-accent);
    color: var(--color-text);
    border-color: var(--color-accent);
}

/* Blog listing page styles */
.featured-post {
    background: var(--color-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(12, 20, 37, 0.08);
}

.blog-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.blog-card {
    background: var(--color-card);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(12, 20, 37, 0.08);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.blog-card h3,
.featured-post h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.blog-card h3 a,
.featured-post h3 a {
    text-decoration: none;
    color: var(--color-text);
    transition: var(--transition);
}

.blog-card h3 a:hover,
.featured-post h3 a:hover {
    color: var(--color-accent);
}

.blog-card p,
.featured-post p {
    margin-bottom: 1.5rem;
    padding: 0;
}

.read-more {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--color-text);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .article-footer {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .share-article {
        text-align: center;
    }

    .social-share {
        justify-content: center;
    }
}