/* Blog Styles - Clean, minimal black and white design */

/* Highlight styles */
.highlight {
    padding: 0.1rem 0.25rem;
    border-radius: 3px;
    font-weight: 500;
}

.highlight-blue {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
}

.highlight-purple {
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.1);
}

.highlight-cyan {
    color: #0891b2;
    background: rgba(8, 145, 178, 0.1);
}

.highlight-orange {
    color: #ea580c;
    background: rgba(234, 88, 12, 0.1);
}

/* Blog Index Page */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.2s;
    text-decoration: none;
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.blog-card:hover {
    border-color: #e5e7eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.blog-date {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.blog-card h2 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    font-weight: 600;
}

.blog-excerpt {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 400;
}

.read-more {
    color: #1f2937;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
}

.blog-card:hover .read-more {
    text-decoration: none;
}

/* Blog Article Pages */
.article-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e5e7eb;
}

.article-date {
    color: #6b7280;
    font-size: 0.95rem;
    margin-top: 1.5rem;
    font-weight: 500;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-content h2 {
    margin-top: 3rem;
    padding-top: 1rem;
}

.article-content h3 {
    color: #1f2937;
    font-size: 1.4rem;
    margin-top: 2rem;
    font-weight: 600;
}

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

.article-content li {
    margin-bottom: 0.75rem;
    color: #4b5563;
    line-height: 1.8;
}

.article-content li strong {
    color: #1f2937;
    font-weight: 600;
}

.article-content a {
    color: #1f2937;
    text-decoration: none;
    font-weight: 500;
}

.article-content a:hover {
    color: #6b7280;
    text-decoration: none;
}

/* CTA Box */
.cta-box {
    background: #000000;
    color: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
}

.cta-box h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    margin-top: 0;
    font-weight: 600;
}

.cta-box p {
    color: #e5e7eb;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.cta-button {
    display: inline-block;
    background: #ffffff;
    color: #000000;
    padding: 0.875rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
}

.cta-button:hover {
    background: #f3f4f6 !important;
    color: #000000 !important;
    text-decoration: none !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Statistics Components */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: #ffffff;
    border: 1px solid #f3f4f6;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s;
}

.stat-card:hover {
    border-color: #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: #6b7280;
    font-weight: 400;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #f3f4f6;
}

.comparison-table th {
    background: #fafafa;
    font-weight: 600;
    color: #1f2937;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover {
    background: #fafafa;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .article-header {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    .article-content h2 {
        margin-top: 2rem;
        font-size: 2rem;
    }

    .article-content h3 {
        font-size: 1.3rem;
    }

    .cta-box {
        padding: 2rem 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .comparison-table {
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .blog-card {
        padding: 1.5rem;
    }

    .blog-card h2 {
        font-size: 1.3rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .cta-box {
        padding: 1.5rem 1rem;
    }

    .cta-box h3 {
        font-size: 1.3rem;
    }
}
