/* Additional Blog-specific CSS */
/* This file can be extended with additional blog styles */

/* Article styling for full blog posts */
.blog-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.blog-article img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.blog-article h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.blog-article h3 {
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: #34495e;
}

.blog-article p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.blog-article ul, .blog-article ol {
    margin-bottom: 1.2rem;
    padding-left: 2rem;
}

.blog-article li {
    margin-bottom: 0.5rem;
}

.blog-article code {
    background: #f4f4f4;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.blog-article pre {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.blog-article pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.blog-article blockquote {
    border-left: 4px solid #667eea;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    color: #555;
    font-style: italic;
}

.blog-article a {
    color: #667eea;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.blog-article a:hover {
    border-bottom-color: #667eea;
}

.blog-article strong {
    font-weight: 600;
    color: #2c3e50;
}

.blog-article em {
    font-style: italic;
}

/* Tags */
.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.tag {
    background: #f0f0f0;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    color: #555;
}

/* Related articles widget */
.related-articles {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin: 3rem 0;
}

.related-articles h3 {
    margin-bottom: 1.5rem;
}

.related-article-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.related-article-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Author bio */
.author-bio {
    background: linear-gradient(135deg, #667eea10 0%, #764ba210 100%);
    padding: 2rem;
    border-radius: 12px;
    margin: 3rem 0;
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
}

.author-info h3 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
}

.author-info p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Social sharing */
.social-sharing {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.share-btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.3s;
    text-decoration: none;
    display: inline-block;
}

.share-btn:hover {
    transform: scale(1.05);
}

.share-btn.twitter {
    background: #1DA1F2;
    color: white;
}

.share-btn.linkedin {
    background: #0077B5;
    color: white;
}

.share-btn.facebook {
    background: #4267B2;
    color: white;
}

.share-btn.email {
    background: #666;
    color: white;
}
