/* Blog Post Specific Styles */

.logo a {
    color: var(--primary-color);
    text-decoration: none;
}

.blog-post {
    margin-top: 80px;
    padding: 60px 20px;
    background-color: var(--bg-white);
}

.post-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--bg-light);
}

.post-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.post-meta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    color: var(--text-light);
    font-size: 0.95rem;
}

.category {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.post-content .lead {
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-left: 4px solid var(--secondary-color);
    border-radius: 5px;
}

.post-content h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.post-content h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.post-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.post-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.post-content blockquote {
    border-left: 4px solid var(--secondary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 2rem 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.post-content a {
    color: var(--secondary-color);
    text-decoration: underline;
    transition: var(--transition);
}

.post-content a:hover {
    color: var(--primary-color);
}

.post-navigation {
    max-width: 800px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 2px solid var(--bg-light);
    text-align: center;
}

.back-to-blog {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.back-to-blog:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

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

    .post-content {
        font-size: 1rem;
    }

    .post-content .lead {
        font-size: 1.15rem;
    }

    .post-content h2 {
        font-size: 1.6rem;
    }

    .post-content h3 {
        font-size: 1.3rem;
    }

    .post-content p {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .blog-post {
        padding: 40px 15px;
    }

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

    .post-content .lead {
        font-size: 1.05rem;
        padding: 1rem;
    }

    .post-content h2 {
        font-size: 1.4rem;
        margin-top: 2rem;
    }
}

/* Print styles for blog posts */
@media print {
    .header,
    .footer,
    .post-navigation,
    .back-to-top {
        display: none;
    }

    .blog-post {
        margin-top: 0;
    }

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