/* Blog Styles */

/* Article Layout */
.blog-article {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #1a1f3c 0%, #2d3a6b 100%);
    min-height: 100vh;
}

.article-header {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.article-meta span {
    color: #C9A55C;
    font-size: 0.9rem;
    font-weight: 500;
}

.article-category {
    background: rgba(201, 165, 92, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
}

.article-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 20px;
}

.article-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-style: italic;
}

/* Article Content */
.article-content {
    max-width: 750px;
    margin: 0 auto;
    background: #ffffff;
    padding: 60px 80px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.article-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
}

.article-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #3B4C8B;
    margin: 3rem 0 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid #eee;
}

.article-content h2:first-of-type {
    border-top: none;
    padding-top: 0;
}

.article-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3a6b;
    margin: 2rem 0 1rem;
}

.article-content ul,
.article-content ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.article-content li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 0.75rem;
}

.article-content a {
    color: #3B4C8B;
    text-decoration: underline;
    font-weight: 500;
}

.article-content a:hover {
    color: #C9A55C;
}

.article-content strong {
    color: #2d3a6b;
    font-weight: 600;
}

.article-content em {
    font-style: italic;
}

.article-content blockquote {
    background: #f8f9fc;
    border-left: 4px solid #C9A55C;
    padding: 20px 25px;
    margin: 2rem 0;
    font-style: italic;
    color: #555;
    border-radius: 0 8px 8px 0;
}

/* Table of Contents */
.table-of-contents {
    background: #f8f9fc;
    border: 1px solid #e0e4eb;
    border-radius: 8px;
    padding: 25px 30px;
    margin: 2rem 0;
}

.table-of-contents h3 {
    font-size: 1.1rem;
    margin: 0 0 15px;
    color: #3B4C8B;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.table-of-contents li {
    margin-bottom: 8px;
}

.table-of-contents a {
    color: #3B4C8B;
    text-decoration: none;
    font-size: 1rem;
}

.table-of-contents a:hover {
    color: #C9A55C;
    text-decoration: underline;
}

/* Article CTA Box */
.article-cta {
    background: linear-gradient(135deg, #3B4C8B 0%, #2d3a6b 100%);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
}

.article-cta h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin: 0 0 15px;
    border: none;
    padding: 0;
}

.article-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-size: 1rem;
}

.article-cta .btn-primary-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #C9A55C;
    color: #1a1f3c;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-cta .btn-primary-large:hover {
    background: #d4b36a;
    transform: translateY(-2px);
}

.article-cta .cta-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 15px;
    margin-bottom: 0;
}

/* Article Footer */
.article-footer {
    max-width: 750px;
    margin: 40px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.article-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.article-tags .tag {
    background: rgba(201, 165, 92, 0.2);
    color: #C9A55C;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.article-share span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.article-share a {
    color: #ffffff;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.article-share a:hover {
    color: #C9A55C;
}

/* Related Articles */
.related-articles {
    padding: 60px 0;
    background: #1a1f3c;
}

.related-articles h2 {
    color: #ffffff;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 40px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.related-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: #C9A55C;
}

.related-card h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.related-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Blog Index Page */
.blog-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #1a1f3c 0%, #2d3a6b 100%);
    text-align: center;
}

.blog-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 15px;
}

.blog-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 60px 0;
}

.blog-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.blog-card-content {
    padding: 25px;
}

.blog-card h3 {
    color: #3B4C8B;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.blog-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-card-meta {
    color: #999;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-content {
        padding: 40px 25px;
        margin: 0 15px;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .article-footer {
        flex-direction: column;
        text-align: center;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
}
