/**
 * List With Horizontal Cards Component Styles
 * 
 * Displays a section with a title, subtitle, horizontal cards, and a list of links
 */

.list-with-horizontal-cards {
    background-color: #000;
    color: #fff;
    
    & .list-with-cards-wrapper {
        display: flex;
        gap: var(--spacing-lg);
    }
    
    & .content-column {
        width: 50%;
        
        & h2 {
            color: #ffffff;
            margin-bottom: var(--spacing-sm);
        }
        
        & .subtitle {
            color: var(--color-yellow);
            font-size: 1.25rem;
            margin-bottom: var(--spacing-md);
        }
    }
    
    & .image-column {
        width: 50%;
        
        & .section-image {
            width: 100%;
            height: auto;
            border-radius: var(--border-radius-secondary);
            object-fit: cover;
        }
    }
    
    /* Horizontal Cards */
    & .horizontal-cards {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-md);
        margin-bottom: var(--spacing-lg);
        
        & .card {
            background: linear-gradient(to bottom, #000000 0%, #181818 100%);
            border-radius: var(--border-radius-secondary);
            border: 1px solid #fff;
            overflow: hidden;
            
            & .card-content {
                padding: var(--spacing-md);
                text-align: center;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                
                & h4 {
                    color: #ffffff;
                    margin-bottom: var(--spacing-xs);
                    font-size: 1rem;
                    font-weight: bold;
                    text-align: center;
                }
                
                & p {
                    color: #ffffff;
                    margin: 0;
                    line-height: 1.5;
                    text-align: center;
                }
            }
        }
    }
    
    /* Resource Links */
    & .resource-links {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-sm);

        a {
            width: fit-content;
        }
    }
    
    /* Responsive styles */
    @media (max-width: 992px) {
        & .list-with-cards-wrapper {
            flex-direction: column-reverse;
        }
        
        & .content-column,
        & .image-column {
            width: 100%;
        }
        
        & .image-column {
            margin-bottom: var(--spacing-md);
        }
    }
}
