/* Blog Specific Styles */

.blog-header {
    background: linear-gradient(135deg, var(--warm-orange), var(--primary-yellow));
    padding: 4rem 0;
    text-align: center;
    color: var(--text-light);
}

.blog-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.blog-header p {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto;
}

.blog-posts {
    padding: 4rem 0;
    background: var(--light-cream);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.3);
    border-color: var(--primary-yellow);
}

.blog-card-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.post-tag {
    background: linear-gradient(135deg, var(--warm-orange), var(--primary-yellow));
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: bold;
}

.blog-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-card h2 a {
    color: var(--warm-orange);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card h2 a:hover {
    color: var(--accent-gold);
}

.post-excerpt {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid var(--soft-yellow);
}

.post-author {
    font-style: italic;
    color: #777;
    font-size: 0.95rem;
}

.read-more {
    color: var(--warm-orange);
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--accent-gold);
    transform: translateX(5px);
}

/* Blog Post Page Styles */
.post-header {
    background: linear-gradient(135deg, var(--warm-orange), var(--primary-yellow));
    padding: 3rem 0;
    color: var(--text-light);
}

.post-header .container {
    max-width: 900px;
}

.post-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.post-meta {
    display: flex;
    gap: 2rem;
    font-size: 1rem;
    opacity: 0.9;
}

.post-content {
    padding: 4rem 0;
    background: var(--light-cream);
}

.post-content .container {
    max-width: 900px;
}

.content-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
}

.language-section {
    margin-bottom: 4rem;
}

.language-section:last-child {
    margin-bottom: 0;
}

.language-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 3rem 0;
}

.language-divider::before,
.language-divider::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary-yellow), transparent);
}

.language-label {
    background: linear-gradient(135deg, var(--warm-orange), var(--primary-yellow));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.1rem;
}

.content-wrapper h2 {
    color: var(--warm-orange);
    font-size: 2rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.content-wrapper h2:first-child {
    margin-top: 0;
}

.content-wrapper h3 {
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.content-wrapper p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.content-wrapper strong {
    color: var(--warm-orange);
}

.content-wrapper em {
    color: var(--accent-gold);
}

.highlight-box {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.1));
    padding: 2rem;
    border-left: 4px solid var(--primary-yellow);
    margin: 2rem 0;
    border-radius: 10px;
}

.author-bio {
    background: linear-gradient(135deg, var(--soft-yellow), var(--light-cream));
    padding: 2rem;
    border-radius: 15px;
    margin-top: 3rem;
    text-align: center;
}

.author-bio p {
    margin-bottom: 0.5rem;
}

.author-bio strong {
    font-size: 1.2rem;
}

.back-to-blog {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, var(--warm-orange), var(--primary-yellow));
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.back-to-blog:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.3);
}

/* Responsive Design for Blog */
@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }

    .blog-header {
        padding: 2.5rem 0;
    }

    .blog-header h1 {
        font-size: 2.2rem;
    }

    .blog-header p {
        font-size: 1.1rem;
    }

    .blog-posts {
        padding: 2.5rem 0;
    }

    .post-title {
        font-size: 1.8rem;
    }

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

    .content-wrapper {
        padding: 1.75rem;
    }

    .blog-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .blog-header h1 {
        font-size: 1.75rem;
    }

    .blog-header p {
        font-size: 1rem;
    }

    .post-title {
        font-size: 1.4rem;
    }

    .content-wrapper {
        padding: 1.25rem;
        border-radius: 14px;
    }

    .content-wrapper h2 {
        font-size: 1.4rem;
    }

    .content-wrapper h3 {
        font-size: 1.2rem;
    }

    .content-wrapper p {
        font-size: 1rem;
    }

    .back-to-blog {
        display: block;
        text-align: center;
        padding: 0.9rem 1.5rem;
    }
}
