/* Resources Component - Scoped Styles */
.resources-wrapper {
    background-color: var(--color-white);
    padding: 380px 0 60px;
    
    .resources-container {
        max-width: 1194px;
        margin: 0 auto;
        width: 100%;
    }
    
    .resources-headline {
        font-size: var(--font-size-resources-headline);
        line-height: var(--font-lh-resources-headline);
        font-weight: 600;
        color: var(--color-blue);
        text-align: center;
        margin-bottom: 120px;
        text-transform: uppercase;
    }
    
    .resources-list {
        display: flex;
        flex-direction: column;
        gap: 3rem;
        margin-bottom: 4rem;
    }
    
    .resource-row {
        display: flex;
        gap: 40px;
        align-items: flex-start;
        padding: 20px 0;
    }
    
    .resource-logo-column {
        width: 200px;
        flex-shrink: 0;
        display: flex;
        justify-content: flex-end;
        align-self: center;
    }
    
    .resource-logo {
        height: auto;
        display: block;
    }
    
    .resource-logo-placeholder {
        width: 100px;
        height: 100px;
        background-color: var(--color-bg-gray);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        
        span {
            font-size: 3rem;
            font-weight: 600;
            color: var(--color-nav-gray);
        }
    }
    
    .resource-content-column {
        flex: 1;
        display: flex;
        flex-direction: column;
        border-left: 1px solid var(--color-blue);
        padding-left: 30px;
    }
    
    .resource-title {
        font-size: var(--font-size-resources-title);
        line-height: var(--font-lh-resources-title);
        font-weight: 600;
        color: var(--color-blue);
        margin: 0;
    }
    
    .resource-link {
        font-size: var(--font-size-resources-link);
        line-height: var(--font-lh-resources-link);
        font-weight: 600;
        text-decoration: none;
        display: inline-block;
        transition: color 0.3s ease;
        
        &:hover,
        &:focus {
            color: var(--color-blue);
            text-decoration: underline;
        }
    }
    
    .resource-description {
        font-size: var(--font-size-body);
        line-height: var(--font-lh-body);
        color: var(--color-nav-gray);
        margin-top: 2rem;
        margin-bottom: 2rem;

        span.footnote{
            font-size: 12px;
            line-height: 16px;
        }
    }
    
    .resource-button {
        background-color: var(--color-yellow);
        color: var(--color-nav-gray);
        border: 2px solid var(--color-yellow);
        border-radius: 30px;
        padding: 12px 24px;
        font-size: var(--font-size-button-primary);
        line-height: var(--font-lh-button-primary);
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
        width: fit-content;

        &:hover,
        &:focus {
            background-color: var(--color-nav-gray);
            color: var(--color-yellow);
            text-decoration: none;
        }
    }
    
    .resources-footer {
        font-size: var(--font-size-resources-footer);
        line-height: var(--font-lh-resources-footer);
        color: var(--color-nav-gray);
        text-align: center;
        margin: 0;
        padding-top: 2rem;
        
        sup {
            font-size: 60%;
            color: var(--color-red);
        }
    }
    
    .resources-empty-state {
        text-align: center;
        padding: 4rem 2rem;
        color: var(--color-nav-gray);
        
        p {
            font-size: var(--font-size-body);
            line-height: var(--font-lh-body);
            margin: 0;
        }
        
        a {
            color: var(--color-blue);
            text-decoration: underline;
            
            &:hover {
                text-decoration: none;
            }
        }
    }
    
    /* Responsive Design */
    @media screen and (max-width: 1024px) {
        padding: 170px 0 30px;
        
        .resource-row {
            gap: 2rem;
        }

        .resource-content-column{
            padding-right: 30px;
        }
        
        .resource-logo-column {
            width: 150px;
        }
        
        .resource-logo {
            max-width: 120px;
        }
        
        .resource-logo-placeholder {
            width: 80px;
            height: 80px;
            
            span {
                font-size: 2.4rem;
            }
        }

        .resources-footer{
            padding: 0 5%;
        }
    }
    
    @media screen and (max-width: 768px) {
        padding: 200px 0 60px;
        
        .resources-list{
            gap: 0;
        }

        .resource-row {
            flex-direction: column;
            gap: 1.5rem;
            text-align: center;
            padding: 20px 0 0;
        }
        
        .resource-logo-column {
            width: 100%;
            justify-content: center;
        }
        
        .resource-content-column {
            text-align: center;
            border-bottom: 1px solid var(--color-blue);
            border-left: none;
            padding: 0 0 30px;
            margin: 0 30px;
        }

        .resources-headline{
            margin-bottom: 20px;
        }

        .resource-description{
            margin: 20px 8px;
        }

        .resource-button{
            margin: 10px auto;
        }

        .resources-footer{
            padding: 0 40px;
        }
    }
}