/* Blog Post Styles */
.blog-post {
    margin-bottom: 4rem;
}

.post-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../../assets/blog/header-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 6rem 0;
    margin-bottom: 3rem;
}

.post-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

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

.post-meta i {
    color: var(--primary-color);
}

.post-header h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.post-excerpt {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
}

.featured-image {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    margin-bottom: 3rem;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper h2 {
    font-size: 2rem;
    margin: 3rem 0 1.5rem;
    color: var(--text-color);
}

.content-wrapper p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.content-wrapper ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.content-wrapper li {
    color: var(--text-color);
    margin: 0.5rem 0;
    line-height: 1.6;
}

/* Info Box */
.info-box {
    background: var(--background-alt);
    padding: 2rem;
    border-radius: 1rem;
    margin: 2rem 0;
    border-left: 4px solid var(--primary-color);
}

.info-box h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.info-box p {
    margin: 0;
}

/* Statistics Grid */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    background: var(--background-alt);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
}

/* Quote Box */
.quote-box {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--background-alt);
    border-radius: 1rem;
}

blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-color);
    margin: 0;
}

blockquote cite {
    display: block;
    margin-top: 1rem;
    color: var(--text-light);
    font-style: normal;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 3rem;
    border-radius: 1rem;
    text-align: center;
    margin: 3rem 0;
}

.cta-box h3 {
    margin-bottom: 1rem;
}

.cta-box p {
    margin-bottom: 2rem;
    color: white;
    opacity: 0.9;
}

/* Post Footer */
.post-footer {
    margin: 4rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.tags {
    margin-bottom: 1.5rem;
}

.tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--background-alt);
    border-radius: 2rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.facebook {
    background: #1877f2;
}

.twitter {
    background: #1da1f2;
}

.linkedin {
    background: #0a66c2;
}

/* Author Box */
.author-box {
    display: flex;
    gap: 2rem;
    background: var(--background-alt);
    padding: 2rem;
    border-radius: 1rem;
    margin: 3rem 0;
}

.author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.author-info p {
    color: var(--text-light);
    margin: 0;
}

/* Related Posts */
.related-posts {
    margin-top: 4rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.related-post {
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.related-post:hover {
    transform: translateY(-5px);
}

.related-post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.related-post h4 {
    color: var(--text-color);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .post-header {
        padding: 4rem 0;
    }

    .post-header h1 {
        font-size: 2rem;
    }

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

    .stat-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .author-image {
        margin: 0 auto;
    }
}
