/* Enhanced Professional Blog Article Styling - AppWT LLC */
/* Reusable styles for all blog articles */

/* Hero Section */
.article-hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 100px 0;
    text-align: center;
    color: white;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}
.article-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}
.article-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}
.article-meta {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    font-weight: 300;
}

/* Featured Image Styling */
.article-image {
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}
.featured-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    border: 4px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}
.featured-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

/* Article Content */
.article-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px 75px 40px;
    line-height: 1.8;
    font-size: 1.1rem;
    background: #ffffff;
    box-shadow: 0 0 50px rgba(0,0,0,0.1);
    border-radius: 0 0 20px 20px;
}
.article-content h2 {
    color: #1e3c72;
    font-size: 2.2rem;
    margin: 50px 0 25px 0;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}
.article-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #1e3c72, #2a5298);
    border-radius: 2px;
}
.article-content h3 {
    color: #6c9bd1;
    font-size: 1.6rem;
    margin: 35px 0 20px 0;
    font-weight: 600;
}
.article-content h4 {
    color: #34495e;
    font-size: 1.3rem;
    margin: 25px 0 15px 0;
    font-weight: 600;
}
.article-content p {
    margin-bottom: 20px;
    color: #2c3e50;
}
.article-content ul, .article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}
.article-content li {
    margin-bottom: 10px;
    color: #2c3e50;
}

/* Enhanced Component Styling */
.simple-explanation {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f4fd 100%);
    padding: 35px;
    border-radius: 15px;
    border-left: 6px solid #1e3c72;
    margin: 40px 0;
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.1);
    position: relative;
}
.simple-explanation::before {
    content: '💡';
    position: absolute;
    top: -15px;
    left: 20px;
    background: #1e3c72;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.simple-explanation h4 {
    color: #1e3c72;
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 700;
    margin-top: 10px;
}

/* Efficiency Metrics */
.efficiency-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin: 50px 0;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.efficiency-stat {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #e8f4fd;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.efficiency-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e3c72, #2a5298);
}
.efficiency-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(30, 60, 114, 0.15);
    border-color: #1e3c72;
}
.efficiency-number {
    font-size: 3rem;
    font-weight: 900;
    color: #1e3c72;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(30, 60, 114, 0.1);
}
.efficiency-stat p {
    color: #2c3e50;
    font-weight: 600;
    margin: 0;
}
.efficiency-stat small {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Feature Grid Styling */
.onbase-features, .takeout7-features, .promotional-features, .digital-features, .email-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}
.onbase-feature, .takeout7-feature, .promotional-feature, .digital-feature, .email-feature {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #1e3c72;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}
.onbase-feature:hover, .takeout7-feature:hover, .promotional-feature:hover, .digital-feature:hover, .email-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(30, 60, 114, 0.12);
    border-left-color: #2a5298;
}
.onbase-feature h4, .takeout7-feature h4, .promotional-feature h4, .digital-feature h4, .email-feature h4 {
    color: #1e3c72;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 700;
}

/* Special Section Styling */
.compliance-benefits, .workflow-automation, .implementation-strategy, .success-case, .expert-insight {
    padding: 35px;
    border-radius: 15px;
    margin: 40px 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    position: relative;
}
.compliance-benefits {
    background: linear-gradient(135deg, #e8f6f0 0%, #f0fdf4 100%);
    border-left: 6px solid #10b981;
}
.workflow-automation {
    background: linear-gradient(135deg, #dbeafe 0%, #f0f9ff 100%);
    border-left: 6px solid #3b82f6;
}
.implementation-strategy {
    background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
    border-left: 6px solid #f59e0b;
}
.success-case {
    background: linear-gradient(135deg, #dcfce7 0%, #f0fdf4 100%);
    border-left: 6px solid #22c55e;
}
.expert-insight {
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    border-left: 6px solid #0ea5e9;
    font-style: italic;
    font-size: 1.05rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    margin: 60px 0;
    box-shadow: 0 15px 40px rgba(30, 60, 114, 0.2);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: float 20s infinite linear;
}
@keyframes float {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
.cta-section h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.cta-section p {
    color: rgba(255,255,255,0.9);
    position: relative;
    z-index: 1;
}
.cta-section a {
    color: #fbbf24;
    text-decoration: none;
    font-weight: 600;
}
.cta-section a:hover {
    color: #f59e0b;
    text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .article-hero {
        padding: 60px 0;
    }
    .article-hero h1 {
        font-size: 2rem;
    }
    .article-content {
        padding: 30px 20px;
        margin: 0 10px;
        border-radius: 0 0 15px 15px;
    }
    .article-content h2 {
        font-size: 1.8rem;
    }
    .efficiency-metrics {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    .onbase-features, .takeout7-features, .promotional-features, .digital-features, .email-features {
        grid-template-columns: 1fr;
    }
    .simple-explanation, .compliance-benefits, .workflow-automation, .implementation-strategy, .success-case, .expert-insight {
        padding: 25px;
    }
    .cta-section {
        padding: 35px 25px;
        margin: 40px 10px;
    }
}

@media (max-width: 480px) {
    .article-content {
        font-size: 1rem;
        line-height: 1.7;
    }
    .efficiency-number {
        font-size: 2.5rem;
    }
    .article-content h2 {
        font-size: 1.6rem;
    }
    .article-content h3 {
        font-size: 1.4rem;
    }
}