/**
 * Four Column Cards Component Styles
 * 
 * Displays a four-column layout with styled cards
 */

.four-column-cards {
    background-color: #000;
    color: #fff;
    
    & .section-title {
        text-align: center;
        color: #ffffff;
        margin-bottom: var(--spacing-lg);
        font-family: var(--font-heading-primary);
        font-weight: 700;
        font-size: 2.5rem;
    }
    
    & .four-column-cards-wrapper {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-sm);
    }
    
    /* Card Styling */
    & .column-card {
        position: relative;
        overflow: hidden;
        padding: var(--spacing-md);
        height: 100%;
        text-align: center;
        
        & .card-content {
            height: 100%;
            width: 100%;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
        }
        
        & .card-image {
            margin-bottom: var(--spacing-md);
            width: 100%;
            
            & img {
                width: 100%;
                height: auto;
                border-radius: var(--border-radius-primary);
                object-fit: cover;
            }
        }
        
        & h3 {
            color: #ffffff;
            font-family: var(--font-heading-primary);
            margin-bottom: var(--spacing-sm);
            font-weight: 700;
            font-size: 1.5rem;
            line-height: 1.2;
        }
        
        & p {
            color: #ffffff;
            line-height: 1.5;
            font-family: var(--font-body-primary);
        }
    }
    
    /* Responsive styles */
    @media (max-width: 1200px) {
        & .four-column-cards-wrapper {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    
    @media (max-width: 576px) {
        & .four-column-cards-wrapper {
            grid-template-columns: 1fr;
        }
    }
}
