/* Blog-specific styles */

/* Blog Hero Section */
.blog-hero {
    background: linear-gradient(135deg, #2c5aa0, #4a90e2);
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
}

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

.blog-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Articles Grid */
.blog-articles {
    padding: 4rem 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.article-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.article-header {
    padding: 1.5rem 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.article-icon {
    width: 40px;
    height: 40px;
    fill: #ff6b35;
    flex-shrink: 0;
}

.article-meta {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.article-category {
    background: linear-gradient(135deg, #ff6b35, #ffa726);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    align-self: flex-start;
}

.article-date {
    color: #666;
    font-size: 0.9rem;
}

.article-card h2 {
    padding: 0 1.5rem;
    margin: 1rem 0;
    color: #2c5aa0;
    font-size: 1.3rem;
    line-height: 1.4;
}

.article-card h2 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.article-card h2 a:hover {
    color: #ff6b35;
}

.article-card p {
    padding: 0 1.5rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-tags {
    padding: 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    background: #f0f0f0;
    color: #666;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #e0e0e0;
}

.read-more {
    display: block;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-top: 1px solid #f0f0f0;
}

.read-more:hover {
    background: #2c5aa0;
    color: white;
}

/* Blog Newsletter Section */
.blog-newsletter {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.blog-newsletter h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.blog-newsletter .newsletter-form {
    max-width: 400px;
    margin: 2rem auto 0;
}

/* Individual Article Page Styles */
.article-hero {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 8rem 0 4rem;
}

.breadcrumb {
    margin-bottom: 2rem;
    color: #666;
}

.breadcrumb a {
    color: #2c5aa0;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.article-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.article-icon-large {
    width: 60px;
    height: 60px;
    fill: #ff6b35;
}

.reading-time {
    background: #e9ecef;
    color: #666;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.article-hero h1 {
    font-size: 3rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-subtitle {
    font-size: 1.3rem;
    color: #666;
    max-width: 800px;
}

/* Article Content Layout */
.article-content {
    padding: 4rem 0;
}

.article-content .container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    max-width: 1200px;
}

.article-body {
    line-height: 1.8;
}

.article-body .lead {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.article-body h2 {
    color: #2c5aa0;
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ff6b35;
}

.article-body h3 {
    color: #333;
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
}

.article-body p {
    margin-bottom: 1.5rem;
    color: #444;
}

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

.article-body li {
    margin-bottom: 0.5rem;
    color: #444;
}

.article-body strong {
    color: #2c5aa0;
}

.article-conclusion {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 2rem;
    border-radius: 15px;
    margin: 3rem 0;
    border-left: 4px solid #ff6b35;
}

.article-conclusion p {
    margin: 0;
    font-weight: 500;
}

/* Article Sidebar */
.article-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.sidebar-widget h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.related-articles {
    list-style: none;
    padding: 0;
}

.related-articles li {
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #f0f0f0;
}

.related-articles li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-articles a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 0.5rem 0;
}

.related-articles a:hover {
    color: #2c5aa0;
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
}

.sidebar-widget ul li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.sidebar-widget ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: bold;
}

.sidebar-widget p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Responsive Design for Blog */
@media (max-width: 1024px) {
    .article-content .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .article-sidebar {
        position: static;
        margin-top: 2rem;
    }
    
    .sidebar-widget {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
        align-items: start;
    }
}

@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }
    
    .blog-hero p {
        font-size: 1.1rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .article-hero h1 {
        font-size: 2.5rem;
    }
    
    .article-subtitle {
        font-size: 1.1rem;
    }
    
    .article-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .article-icon-large {
        width: 50px;
        height: 50px;
    }
    
    .sidebar-widget {
        grid-template-columns: 1fr;
    }
    
    .article-body h2 {
        font-size: 1.5rem;
    }
    
    .article-body h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: 6rem 0 3rem;
    }
    
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .article-hero {
        padding: 6rem 0 3rem;
    }
    
    .article-hero h1 {
        font-size: 2rem;
    }
    
    .article-card {
        margin: 0 -10px;
    }
    
    .article-body .lead {
        font-size: 1.1rem;
    }
    
    .article-content {
        padding: 2rem 0;
    }
}

/* Print styles for articles */
@media print {
    .article-sidebar,
    .breadcrumb,
    .article-header .article-meta {
        display: none;
    }
    
    .article-content .container {
        grid-template-columns: 1fr;
    }
    
    .article-hero {
        padding: 2rem 0;
        background: none;
    }
    
    .article-hero h1 {
        color: black;
        font-size: 24pt;
    }
    
    .article-body h2 {
        color: black;
        border-bottom: 1px solid black;
    }
    
    .article-body h3 {
        color: black;
    }
    
    .article-conclusion {
        background: none;
        border: 1px solid black;
    }
}


