/* Blog-Specific Styles for 2025 SEO Best Practices */

/* Simplified Blog Layout for Small Number of Articles */

/* Simple Hero */
.blog-hero-simple {
    background: linear-gradient(135deg, #f8fffe 0%, #fff 100%);
    padding: 60px 0 40px 0;
    text-align: center;
    border-bottom: 1px solid #e8dcc6;
}

.blog-hero-simple h1 {
    font-family: 'Crimson Text', serif;
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.blog-hero-simple .hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Featured Main Article */
.featured-main {
    padding: 60px 0;
    background: white;
}

.featured-label {
    text-align: center;
    margin-bottom: 40px;
}

.featured-label .badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}

.featured-label h2 {
    font-family: 'Crimson Text', serif;
    color: #2c3e50;
    font-size: 2rem;
    margin: 0;
}

.main-featured-article-text {
    background: linear-gradient(135deg, #fafafa 0%, #f0f9ff 100%);
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 2px solid rgba(34, 197, 94, 0.1);
}

.featured-content {
    max-width: 700px;
    margin: 0 auto;
}

.article-category-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.article-meta-featured {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.article-meta-featured span {
    color: #666;
    font-size: 0.95rem;
    font-weight: 500;
}

.article-image-large img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.article-category-large {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--color-primary);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.article-image-large {
    position: relative;
}

.article-content-large h3 {
    font-family: 'Crimson Text', serif;
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-content-large h3 a {
    text-decoration: none;
    color: inherit;
}

.article-content-large h3 a:hover {
    color: var(--color-primary);
}

.article-content-large p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.article-meta-large {
    display: flex;
    gap: 20px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

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

/* Simple Articles Grid */
.articles-simple {
    padding: 80px 0;
    background: #fafafa;
}

.articles-simple h2 {
    font-family: 'Crimson Text', serif;
    text-align: center;
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 3-Column Card Layout */
.articles-list-simple {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.article-card-text {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-left: 4px solid var(--color-primary);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card-text:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    border-left-color: #16a34a;
}

.article-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.article-category-tag {
    background: rgba(34, 197, 94, 0.1);
    color: var(--color-primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.article-popularity {
    color: #ff6b6b;
    font-size: 0.85rem;
    font-weight: 600;
}

.article-level {
    color: #7c3aed;
    font-size: 0.85rem;
    font-weight: 600;
}

.article-card-text h3 {
    font-family: 'Crimson Text', serif;
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.4;
}

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

.article-card-text h3 a:hover {
    color: var(--color-primary);
}

.article-card-text p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1rem;
    flex-grow: 1;
}

.article-meta-simple {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: auto;
}

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

/* Quick Start CTA */
.blog-quickstart {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--color-primary), #16a34a);
}

.quickstart-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.quickstart-card h2 {
    font-family: 'Crimson Text', serif;
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.quickstart-card p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* Simple CTA */
.blog-cta-simple {
    padding: 80px 0;
    background: #2c3e50;
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Simple Footer */
.blog-footer-simple {
    background: #1a1a1a;
    color: white;
    padding: 50px 0 30px 0;
}

.footer-content-simple {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .articles-list-simple {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .main-featured-article {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .articles-list-simple {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-content-simple {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 3px;
        background: none;
        border: none;
        cursor: pointer;
    }
    
    .nav-toggle span {
        width: 24px;
        height: 3px;
        background: #666;
        border-radius: 2px;
    }
}

/* Navigation */
.blog-nav {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e8dcc6;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.2rem;
}

.nav-logo img {
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.btn-primary-small {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    box-shadow: 
        0 2px 8px rgba(76, 175, 80, 0.15),
        0 1px 2px rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-primary-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s ease;
}

.btn-primary-small:hover::before {
    left: 100%;
}

.btn-primary-small:hover {
    background: linear-gradient(135deg, #45a049, #388e3c);
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 
        0 4px 12px rgba(34, 197, 94, 0.2),
        0 2px 4px rgba(34, 197, 94, 0.25);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Breadcrumbs */
.breadcrumbs {
    background: #fafafa;
    padding: 15px 0;
    border-bottom: 1px solid #e8dcc6;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

.breadcrumb-list li {
    color: #666;
}

.breadcrumb-list li:not(:last-child)::after {
    content: "→";
    margin-left: 10px;
    color: #999;
}

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

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

/* Article Header */
.article-header {
    background: linear-gradient(135deg, #f8fffe 0%, #ffffff 100%);
    padding: 60px 0 40px;
    text-align: center;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.article-category {
    background: var(--color-primary);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.8rem;
}

.article-header h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: #2c3e50;
    margin-bottom: 20px;
    font-family: 'Crimson Text', serif;
    font-weight: 600;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.article-excerpt {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 30px;
}

.article-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #888;
}

/* Article Main Content */
.article-main {
    padding: 60px 0;
}

.article-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Table of Contents */
.table-of-contents {
    position: sticky;
    top: 100px;
    height: fit-content;
    background: white;
    border: 1px solid #e8dcc6;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
}

.table-of-contents h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-family: 'Crimson Text', serif;
}

.toc-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc-nav li {
    margin-bottom: 10px;
}

.toc-nav a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 0;
}

.toc-nav a:hover,
.toc-nav a.active {
    color: var(--color-primary);
}

/* Article Body */
.article-body {
    max-width: none;
}

.article-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e8dcc6;
}

.article-body h2 {
    font-family: 'Crimson Text', serif;
    font-size: 2rem;
    color: #2c3e50;
    margin: 50px 0 25px 0;
    font-weight: 600;
    position: relative;
}

.article-body h2::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--color-primary);
    border-radius: 2px;
}

.article-body h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 35px 0 20px 0;
    font-weight: 600;
}

.article-body h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin: 25px 0 15px 0;
    font-weight: 600;
}

.article-body p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
    margin-bottom: 25px;
    padding-left: 25px;
}

.article-body li {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 8px;
}

/* Special Content Boxes */
.quick-fix-box,
.solution-box,
.problem-category,
.key-takeaways,
.cta-box {
    background: white;
    border: 1px solid #e8dcc6;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: var(--shadow-soft);
}

.quick-fix-box {
    border-left: 4px solid #4CAF50;
    background: #f8fffe;
}

.solution-box {
    border-left: 4px solid #2196F3;
    background: #f8fbff;
}

.problem-category {
    border-left: 4px solid #ff9800;
    background: #fff8f0;
}

.key-takeaways {
    border-left: 4px solid #9c27b0;
    background: #faf8ff;
}

.cta-box {
    border-left: 4px solid var(--color-primary);
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5e8 100%);
    text-align: center;
}

.cta-box h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.cta-box p {
    color: #666;
    margin-bottom: 25px;
}

/* Code Blocks */
.code-block {
    background: #1e1e1e;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    overflow-x: auto;
}

.code-block pre {
    color: #f8f8f2;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.code-block code {
    color: #f8f8f2;
    font-family: inherit;
}

/* Checklist */
.checklist {
    margin: 20px 0;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 10px 0;
}

.checklist-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
}

.checklist-item label {
    font-size: 1rem;
    color: #444;
    cursor: pointer;
    line-height: 1.4;
}

/* FAQ Section */
.faq-item {
    margin-bottom: 30px;
    background: white;
    border: 1px solid #e8dcc6;
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow-soft);
}

.faq-item h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-family: 'Crimson Text', serif;
}

.faq-item p,
.faq-item ul,
.faq-item ol {
    color: #444;
    line-height: 1.6;
}

/* Article Conclusion */
.article-conclusion {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e8dcc6;
}

/* Related Articles */
.related-articles {
    grid-column: 1 / -1;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e8dcc6;
}

.related-articles h3 {
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-family: 'Crimson Text', serif;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.related-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    transition: var(--transition-normal);
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-large);
}

.related-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-card h4 {
    padding: 20px 20px 10px;
    color: #2c3e50;
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.3;
}

.related-card p {
    padding: 0 20px 20px;
    color: #666;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Blog Index Specific Styles */
.blog-hero {
    background: linear-gradient(135deg, #f8fffe 0%, #ffffff 100%);
    padding: 80px 0 60px;
    text-align: center;
}

.blog-hero h1 {
    font-family: 'Crimson Text', serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: 'Inter', sans-serif;
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: #666;
    margin-top: 5px;
}

/* Featured Articles Section */
.featured-articles {
    padding: 80px 0;
    background: #fafafa;
}

.featured-articles h2 {
    text-align: center;
    margin-bottom: 50px;
    font-family: 'Crimson Text', serif;
    font-size: 2.5rem;
    color: #2c3e50;
}

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

.featured-article {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-large);
    overflow: hidden;
    transition: var(--transition-normal);
}

.featured-article:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.12),
        0 8px 20px rgba(0, 0, 0, 0.08);
}

.featured-article .article-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.featured-article .article-content {
    padding: 30px;
}

.featured-article h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.featured-article h3 a {
    text-decoration: none;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.featured-article h3 a:hover {
    color: var(--color-primary);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--color-primary-hover);
    transform: translateX(4px);
}

/* Article Categories */
.article-categories {
    padding: 80px 0;
}

.article-categories h2 {
    text-align: center;
    margin-bottom: 50px;
    font-family: 'Crimson Text', serif;
    font-size: 2.5rem;
    color: #2c3e50;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-medium);
    border: 1px solid #e8dcc6;
    transition: var(--transition-normal);
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-large);
    border-color: rgba(34, 197, 94, 0.2);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.category-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.category-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.category-articles {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-articles a {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.category-articles a:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

/* All Articles Section */
.all-articles {
    padding: 80px 0;
    background: #fafafa;
}

.all-articles h2 {
    text-align: center;
    margin-bottom: 50px;
    font-family: 'Crimson Text', serif;
    font-size: 2.5rem;
    color: #2c3e50;
}

.article-tier {
    margin-bottom: 50px;
}

.tier-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 30px;
    font-family: 'Crimson Text', serif;
    border-bottom: 2px solid #e8dcc6;
    padding-bottom: 10px;
}

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

.article-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: var(--transition-normal);
    border: 1px solid #e8dcc6;
}

.article-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(34, 197, 94, 0.2);
}

.card-content {
    padding: 25px;
}

.article-meta-small {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.8rem;
}

.article-meta-small .category {
    background: var(--color-primary);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-meta-small .searches {
    color: #666;
    font-weight: 500;
}

.article-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.article-card h4 a {
    text-decoration: none;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.article-card h4 a:hover {
    color: var(--color-primary);
}

.article-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.card-footer .reading-time {
    color: #888;
}

.read-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-link:hover {
    color: var(--color-primary-hover);
    transform: translateX(2px);
}

/* Newsletter Signup */
.newsletter-signup {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    text-align: center;
}

.newsletter-content h2 {
    color: white;
    font-family: 'Crimson Text', serif;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto 20px;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    color: #333;
}

.newsletter-form input::placeholder {
    color: #999;
}

.newsletter-form button {
    padding: 15px 30px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--color-primary-hover);
    transform: translateY(-1px);
}

.newsletter-privacy {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* Blog CTA */
.blog-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5e8 100%);
    text-align: center;
}

.blog-cta h2 {
    font-family: 'Crimson Text', serif;
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.blog-cta p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Navigation Active State */
.nav-links a.active {
    color: var(--color-primary);
    font-weight: 600;
}

/* Blog Footer */
.blog-footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 40px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .article-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .table-of-contents {
        position: static;
        order: -1;
    }
    
    .nav-links {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        gap: 15px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    /* Blog Index Mobile Styles */
    .blog-hero {
        padding: 60px 0 40px;
    }
    
    .blog-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 40px;
        flex-direction: column;
        margin-top: 30px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .featured-article .article-image {
        height: 180px;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .category-card {
        padding: 25px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 15px;
    }
    
    .newsletter-form input {
        min-width: auto;
        width: 100%;
    }
    
    /* Article Page Mobile Styles */
    .article-header {
        padding: 40px 0 30px;
    }
    
    .article-header h1 {
        font-size: 2.2rem;
    }
    
    .article-stats {
        gap: 15px;
        flex-direction: column;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .article-body h2 {
        font-size: 1.7rem;
        margin: 40px 0 20px 0;
    }
    
    .article-body h2::before {
        left: -15px;
        width: 3px;
    }
    
    .quick-fix-box,
    .solution-box,
    .problem-category,
    .key-takeaways,
    .cta-box,
    .faq-item {
        padding: 20px;
    }
    
    .breadcrumb-list {
        font-size: 0.8rem;
        flex-wrap: wrap;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .article-meta-small {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .tier-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .featured-articles h2,
    .article-categories h2,
    .all-articles h2 {
        font-size: 2rem;
    }
    
    .category-card {
        padding: 20px;
    }
    
    .category-icon {
        font-size: 2.5rem;
    }
    
    .newsletter-content h2 {
        font-size: 1.8rem;
    }
    
    .newsletter-content p {
        font-size: 1rem;
    }
    
    .blog-cta h2 {
        font-size: 1.8rem;
    }
    
    .article-header h1 {
        font-size: 1.8rem;
    }
    
    .article-excerpt {
        font-size: 1rem;
    }
    
    .table-of-contents {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .article-main {
        padding: 40px 0;
    }
    
    .article-header {
        padding: 30px 0 20px;
    }
    
    .article-header h1 {
        font-size: 1.8rem;
    }
    
    .article-excerpt {
        font-size: 1.1rem;
    }
    
    .table-of-contents {
        padding: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}