/* ========================================
 * LEARN PAGE STYLES
 * ======================================== */

.learn-intro { 
    margin-bottom: 3rem; 
}

.learn-subtitle { 
    font-size: 1.2rem; 
    color: #666; 
    line-height: 1.6; 
    margin-bottom: 2rem; 
}

.articles-news { 
    margin-bottom: 4rem; 
}

.section-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 2rem; 
}

.section-title { 
    font-size: 2rem; 
    font-weight: 700; 
    color: #111; 
    margin: 0; 
}

.view-all-link { 
    color: #186396; 
    text-decoration: none; 
    font-weight: 600; 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    transition: color 0.3s ease; 
}

.view-all-link:hover { 
    color: #0d4a6b; 
}

.articles-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2rem; 
}

.other-resources h2 { 
    margin-bottom: 2rem; 
}

.articles-news .section-title { 
    white-space: nowrap; 
}

.other-resources { 
    margin-top: 4rem; 
}

.resources-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); 
    gap: 2rem; 
}

.resource-item { 
    display: flex; 
    align-items: center; 
    gap: 2rem; 
    padding: 2rem; 
    background: #fff; 
    border: 1px solid #e0e0e0; 
    border-radius: 8px; 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.resource-item:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 8px 20px rgba(0,0,0,0.1); 
}

.resource-item:nth-child(even) { 
    flex-direction: row-reverse; 
}

.resource-link-full { 
    display: flex; 
    align-items: center; 
    gap: 2rem; 
    width: 100%; 
    text-decoration: none; 
    color: inherit; 
}

.resource-item:nth-child(even) .resource-link-full { 
    flex-direction: row-reverse; 
}

.resource-image { 
    flex-shrink: 0; 
    width: 80px; 
    height: 80px; 
    background: #186396; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: white; 
    font-size: 2rem; 
}

.resource-content { 
    flex: 1; 
}

.resource-title { 
    font-size: 1.3rem; 
    font-weight: 600; 
    color: #111; 
    margin-bottom: 0.5rem; 
}

.resource-description { 
    color: #666; 
    line-height: 1.5; 
    margin-bottom: 1rem; 
}

.resource-link { 
    color: #186396; 
    text-decoration: none; 
    font-weight: 600; 
    display: inline-flex; 
    align-items: center; 
    gap: 0.5rem; 
    transition: color 0.3s ease; 
}

.resource-link-full:hover .resource-link { 
    color: #0d4a6b; 
}

.container { 
    max-width: 1320px; 
    margin: 0 auto; 
    padding: 2rem 1rem 0rem 1rem; 
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .section-header { 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 1rem; 
    }
    
    .articles-grid { 
        grid-template-columns: 1fr; 
    }
    
    .resources-grid { 
        grid-template-columns: 1fr; 
    }
    
    .resource-item { 
        flex-direction: column !important; 
        text-align: center; 
        gap: 1rem; 
    }
    
    .resource-item:nth-child(even) { 
        flex-direction: column !important; 
    }
    
    .resource-link-full { 
        flex-direction: column !important; 
    }
    
    .resource-item:nth-child(even) .resource-link-full { 
        flex-direction: column !important; 
    }
}
