/**
 * Opioid Facts Component Styles
 * 
 * Displays a 4-column structure with 3 fact cards and a CTA
 */

.opioid-facts {
    background-color: #000;
    color: #fff;
    
    & .opioid-facts-wrapper {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-md);
    }
    
    /* Fact Card Styling */
    & .fact-card {
        position: relative;
        overflow: hidden;
        padding: var(--spacing-md);
        background: linear-gradient(to bottom, #000000 0%, #181818 100%);
        border-radius: var(--border-radius-secondary);
        border: 1px solid var(--color-yellow);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        height: 100%;
        
        & .card-content {
            height: 100%;
            width: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding:var(--spacing-xs);
            text-wrap: pretty;
        }
        
        & .fact-intro {
            font-family: var(--font-body-primary);
            text-transform: uppercase;
            font-size: 1rem;
            line-height: 1.4;
            margin-bottom: var(--spacing-xs);
        }
        
        & .fact-highlight {
            font-family: var(--font-heading-primary);
            text-transform: uppercase;
            font-weight: 700;
            font-size: 2.5rem;
            line-height: 1.2;
            color: #ffffff;
            margin-top: 0;
            margin-bottom: 0;
        }
    }
    
    /* CTA Column Styling */
    & .facts-cta-column {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        
        & .cta-content {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: var(--spacing-md);
        }
        
        & .cta-heading {
            font-family: var(--font-heading-primary);
            text-transform: uppercase;
            font-weight: 700;
            font-size: 1.5rem;
            margin: 0;
            color: #ffffff;
        }
        
        & .btn.btn-yellow {
            min-width: 150px;
        }
    }
    
    /* Responsive styles */
    @media (max-width: 992px) {
        & .opioid-facts-wrapper {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    
    @media (max-width: 576px) {
        & .opioid-facts-wrapper {
            grid-template-columns: 1fr;
        }
    }
}
