/**
 * About Statistics Block Styles - Authentic Printmax Design
 * Two-column layout with image and content including statistics
 */

/* Story split layout container - Sharp corners */
.story-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 600px;
    background: var(--white, #ffffff);
    border-radius: var(--radius, 4px);
    overflow: hidden;
    box-shadow: var(--shadow-lg, 0 20px 25px rgba(0, 0, 0, 0.06), 0 8px 10px rgba(0, 0, 0, 0.06));
}

/* Image container */
.story-image-container {
    position: relative;
    overflow: hidden;
}

/* Full image styling */
.story-full-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 600px;
    transition: transform 0.6s ease;
}

/* Image hover effect */
.story-image-container:hover .story-full-image {
    transform: scale(1.05);
}

/* Story content container */
.story-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white, #ffffff);
}

/* Prose content styling */
.prose {
    max-width: none;
}

.prose p,
.prose-p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--wp--preset--color--gray-700);
}

/* Heading styling */
.story-content h2 {
    color: var(--wp--preset--color--primary);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

/* Accent bar under heading - CMYK Stripe */
.accent-bar {
    width: 96px;
    height: 4px;
    background: var(--cmyk-stripe, linear-gradient(90deg, #00AEEF 0%, #00AEEF 25%, #EC008C 25%, #EC008C 50%, #FFF200 50%, #FFF200 75%, #231F20 75%, #231F20 100%));
    margin-bottom: 2rem;
}

/* Statistics grid */
.story-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200, #e9ecef);
}

/* Individual stat card */
.stat-card {
    text-align: center;
}

/* Stat number */
.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--wp--preset--color--secondary);
    margin-bottom: 0.25rem;
    line-height: 1;
}

/* Stat label */
.stat-card p {
    color: var(--wp--preset--color--gray-600);
    font-size: 0.875rem;
    margin: 0;
}

/* Fade in animations */
.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    animation: fadeInLeft 0.7s ease-out forwards;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.7s ease-out forwards;
}

.stagger-2 {
    animation-delay: 0.2s;
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility classes for spacing */
.mt-4 {
    margin-top: 2rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .story-split-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .story-full-image {
        min-height: 300px;
        max-height: 400px;
    }
    
    .story-content {
        padding: 2rem;
    }
    
    .story-content h2 {
        font-size: 2rem;
    }
    
    .prose p,
    .prose-p {
        font-size: 1rem;
    }
    
    .story-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: left;
    }
    
    .stat-card {
        display: flex;
        align-items: center;
        gap: 1rem;
        text-align: left;
    }
    
    .stat-card h3 {
        font-size: 2rem;
        margin-bottom: 0;
    }
}

/* Tablet responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .story-content {
        padding: 2.5rem;
    }
    
    .story-content h2 {
        font-size: 2.25rem;
    }
}