/* Blog Styles */
.hero-blog-post {
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('../assets/images/blog/hero-blog.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 80px;
}

.hero-blog-post .hero-content {
    max-width: 800px;
    padding: 0 2rem;
}

.hero-blog-post h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: #fff;
    font-size: 0.9rem;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-article {
    padding: 4rem 0;
}

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

.article-main-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.article-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

.article-body {
    line-height: 1.8;
}

.article-body h2 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
}

.article-body p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.article-body ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-tags {
    margin: 3rem 0;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.article-tags a {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.5rem;
    background: var(--light-bg);
    border-radius: 20px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.article-tags a:hover {
    background: var(--primary-color);
    color: #fff;
}

.share-article {
    margin: 3rem 0;
    text-align: center;
}

.social-share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.share-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.share-button.facebook {
    background: #3b5998;
}

.share-button.twitter {
    background: #1da1f2;
}

.share-button.linkedin {
    background: #0077b5;
}

.share-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.article-navigation {
    margin: 4rem 0;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.prev-next-posts {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.prev-post, .next-post {
    flex: 1;
    text-decoration: none;
    color: var(--text-color);
}

.next-post {
    text-align: right;
}

.prev-next-posts span {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.prev-next-posts h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.prev-next-posts a:hover h4 {
    color: var(--secondary-color);
}

.article-sidebar {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.author-info {
    text-align: center;
    margin-bottom: 3rem;
}

.author-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.related-posts {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
}

.related-posts h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.related-posts ul {
    list-style: none;
    padding: 0;
}

.related-posts li {
    margin-bottom: 1rem;
}

.related-posts a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-posts a:hover {
    color: var(--secondary-color);
}

.blog-meta i,
.blog-card i,
.blog-icon {
    color: var(--accent-color);
}

.share-buttons i {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin: 0 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-blog-post h1 {
        font-size: 2rem;
    }

    .post-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .prev-next-posts {
        flex-direction: column;
        gap: 2rem;
    }

    .next-post {
        text-align: left;
    }

    .social-share-buttons {
        flex-direction: column;
    }

    .share-button {
        width: 100%;
        justify-content: center;
    }
}

/* Print Styles */
@media print {
    .hero-blog-post {
        height: auto;
        margin-top: 0;
    }

    .share-article,
    .article-navigation,
    .article-sidebar {
        display: none;
    }

    .article-content {
        max-width: 100%;
    }
}
