/* Blog Post Styling */
.blog-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    color: #333;
}

.featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.blog-content h2 {
    color: #2563eb;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 2rem 0 1rem 0;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

.blog-content h3 {
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem 0;
}

.blog-content h4 {
    color: #374151;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem 0;
}

.blog-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.blog-content ul, .blog-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

/* Links in blog content */
.blog-content a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #93c5fd;
    transition: all 0.2s ease;
    padding: 0 2px;
}

.blog-content a:hover {
    color: #1d4ed8;
    border-bottom-color: #1d4ed8;
    background-color: #eff6ff;
    border-radius: 3px;
}

.blog-content a:visited {
    color: #7c3aed;
    border-bottom-color: #c4b5fd;
}

.blog-content a:visited:hover {
    color: #6d28d9;
    border-bottom-color: #6d28d9;
    background-color: #f5f3ff;
}

/* Tool Links (specific class for special styling) */
.tool-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid #93c5fd;
    transition: all 0.3s ease;
}

.tool-link:hover {
    color: #1d4ed8;
    border-bottom-color: #1d4ed8;
    background-color: #eff6ff;
    padding: 2px 4px;
    border-radius: 4px;
}

/* Highlight Boxes */
.highlight-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left: 4px solid #2563eb;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.highlight-box h4 {
    color: #1e40af;
    margin-top: 0;
}

/* Feature Grids */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature h4 {
    color: #1e40af;
    margin-top: 0;
    font-size: 1.1rem;
}

/* CTA Boxes */
.cta-box {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 2rem 0;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.cta-box h3 {
    color: white;
    margin-top: 0;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #1e40af;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Tips and Info Boxes */
.tip-box {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.tip-box h3 {
    color: #92400e;
    margin-top: 0;
}

/* Tables */
.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.blog-content th {
    background: #2563eb;
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.blog-content td {
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.blog-content tr:hover {
    background: #f8fafc;
}

/* Stats and Metrics */
.stats-grid, .metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat, .metric {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat h4, .metric h4 {
    color: #2563eb;
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
}

.stat p, .metric p {
    color: #6b7280;
    margin: 0;
}

/* Step Guides */
.step-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.step {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
    position: relative;
}

.step h4 {
    color: #1e40af;
    margin-top: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-content {
        padding: 0 1rem;
    }
    
    .featured-image {
        height: 250px;
    }
    
    .feature-grid, .stats-grid, .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .step-guide {
        grid-template-columns: 1fr;
    }
    
    .blog-content h2 {
        font-size: 1.5rem;
    }
    
    .blog-content h3 {
        font-size: 1.25rem;
    }
}

/* Format Comparison Boxes */
.format-comparison {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.format-comparison h3 {
    color: #0c4a6e;
    margin-top: 0;
}

/* Workflow Steps */
.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.workflow-step {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    position: relative;
}

.workflow-step::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: -15px;
    top: 15px;
    background: #2563eb;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.workflow-steps {
    counter-reset: step-counter;
}

@media (min-width: 768px) {
    .workflow-steps {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
}