/* Blog Page Styles - MAAC Chandmari Theme */

:root {
    --primary-gold: #fbbf24;
    --primary-dark: #f59e0b;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --text-light: #e5e7eb;
    --text-gray: #9ca3af;
    --border-color: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Blog Header */
.blog-header {
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.back-link:hover {
    background: rgba(251, 191, 36, 0.2);
    transform: translateX(-5px);
}

/* Blog Article */
.blog-article {
    padding: 4rem 0;
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.article-meta span {
    color: var(--text-gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-meta i {
    color: var(--primary-gold);
}

.article-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #ef4444, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.article-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto;
}

/* Article Content */
.article-content {
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.lead-text {
    font-size: 1.3rem;
    font-weight: 500;
    color: #d1d5db;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(251, 191, 36, 0.05);
    border-left: 4px solid var(--primary-gold);
    border-radius: 8px;
}

.article-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 3rem 0 1.5rem;
    color: #fff;
    position: relative;
    padding-bottom: 0.5rem;
}

.article-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-dark));
    border-radius: 2px;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--primary-gold);
}

.article-content p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.article-content ul,
.article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.article-content strong {
    color: #fff;
    font-weight: 600;
}

/* Course Highlight Boxes */
.course-highlight {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
}

.course-highlight h3 {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.course-highlight i {
    color: var(--primary-gold);
}

/* Callout Box */
.callout-box {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(251, 191, 36, 0.05));
    border-left: 4px solid var(--primary-gold);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.callout-box i {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-top: 0.25rem;
}

/* Social Share */
.social-share {
    margin: 3rem 0;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    text-align: center;
}

.social-share h4 {
    margin-bottom: 1rem;
    color: #fff;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.share-btn.youtube {
    background: #ff0000;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.faq-section {
    margin: 2rem 0;
}

.faq-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-gold);
    transform: translateY(-2px);
}

.faq-item h3 {
    color: var(--primary-gold);
    font-size: 1.2rem;
    margin: 0 0 0.75rem;
}

.faq-item p {
    margin: 0;
    color: var(--text-light);
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-dark));
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    margin: 3rem 0;
    box-shadow: 0 10px 40px rgba(251, 191, 36, 0.3);
}

.cta-box h3 {
    color: #000;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Article Footer */
.article-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.tag {
    background: rgba(251, 191, 36, 0.1);
    color: var(--primary-gold);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.share-section {
    text-align: center;
}

.share-section h4 {
    margin-bottom: 1rem;
    color: #fff;
}

/* Related Posts */
.related-posts {
    padding: 4rem 0;
    background: rgba(0, 0, 0, 0.3);
}

.related-posts h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #fff;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.post-card {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.2);
}

.post-card-content {
    padding: 2rem;
}

.post-date {
    color: var(--text-gray);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.75rem;
}

.post-card h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.post-card p {
    color: var(--text-light);
    margin: 0;
}

/* Blog Footer */
.blog-footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    width: 120px;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: var(--text-gray);
}

.footer-links h4,
.footer-contact h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-gold);
}

.footer-contact p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact i {
    color: var(--primary-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .blog-article {
        padding: 2rem 0;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-subtitle {
        font-size: 1rem;
    }

    .article-content {
        font-size: 1rem;
    }

    .lead-text {
        font-size: 1.1rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .course-highlight {
        padding: 1.5rem;
    }

    .cta-box {
        padding: 2rem 1.5rem;
    }

    .cta-box h3 {
        font-size: 1.2rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}
