/**
 * Nuvarexion - Insights Page Styles
 */

/* Page Header */
.nx-page-header {
    padding: calc(var(--nx-header-height) + var(--nx-space-3xl)) 0 var(--nx-space-2xl);
    background-color: var(--nx-bg);
    text-align: center;
}

.nx-page-title {
    font-family: var(--nx-font-heading);
    font-size: 48px;
    font-weight: 500;
    color: var(--nx-primary);
    margin-bottom: var(--nx-space-md);
}

.nx-page-subtitle {
    font-size: 18px;
    color: var(--nx-gray-600);
}

/* Insights Section */
.nx-insights-section {
    padding: var(--nx-space-3xl) 0 var(--nx-space-4xl);
    background-color: var(--nx-white);
}

.nx-insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--nx-space-2xl);
}

/* Insights Cards */
.nx-insights-card {
    background-color: var(--nx-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--nx-shadow-sm);
    transition: box-shadow var(--nx-transition-base);
}

.nx-insights-card:hover {
    box-shadow: var(--nx-shadow-lg);
}

.nx-insights-featured {
    grid-column: span 2;
    grid-row: span 2;
}

.nx-insights-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.nx-insights-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.nx-insights-featured .nx-insights-image {
    aspect-ratio: 16/9;
}

.nx-insights-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--nx-transition-slow);
}

.nx-insights-card:hover .nx-insights-image img {
    transform: scale(1.05);
}

.nx-insights-content {
    padding: var(--nx-space-xl);
}

.nx-insights-meta {
    display: flex;
    gap: var(--nx-space-md);
    margin-bottom: var(--nx-space-md);
}

.nx-insights-category {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--nx-secondary);
}

.nx-insights-date {
    font-size: 12px;
    color: var(--nx-gray-500);
}

.nx-insights-title {
    font-family: var(--nx-font-heading);
    font-size: 20px;
    font-weight: 500;
    color: var(--nx-primary);
    line-height: 1.3;
    margin-bottom: var(--nx-space-md);
}

.nx-insights-featured .nx-insights-title {
    font-size: 28px;
}

.nx-insights-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--nx-gray-600);
    margin-bottom: var(--nx-space-lg);
}

.nx-insights-read {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--nx-secondary);
}

/* Responsive */
@media (max-width: 1024px) {
    .nx-insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nx-insights-featured {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .nx-insights-featured .nx-insights-image {
        aspect-ratio: 16/10;
    }
    
    .nx-insights-featured .nx-insights-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .nx-page-title {
        font-size: 36px;
    }
    
    .nx-insights-grid {
        grid-template-columns: 1fr;
    }
    
    .nx-insights-featured {
        grid-column: span 1;
    }
}
