/* Thematic Areas Section */
.thematic-section {
    padding: var(--space-xl) var(--space-md);
    background: #f4f6f8;
    text-align: center;
}

.thematic-section .section-header h2 {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
    color: var(--color-dark);
}

.thematic-section .section-header p {
    font-size: 1rem;
    margin-bottom: var(--space-lg);
    color: #555;
}

/* Horizontal scroll container */
.thematic-container {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    padding-bottom: var(--space-md);
    scroll-behavior: smooth;
}

.thematic-container::-webkit-scrollbar {
    height: 8px;
}

.thematic-container::-webkit-scrollbar-thumb {
    background: rgba(25, 40, 80, 0.3);
    border-radius: 4px;
}

/* Thematic Cards */
.thematic-card {
    flex: 0 0 auto;
    min-width: 200px;
    padding: var(--space-lg);
    border-radius: var(--radius);
    color: var(--color-white);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: default;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.thematic-card:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive Grid for Larger Screens */
@media (min-width: 768px) {
    .thematic-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: var(--space-lg);
        overflow-x: visible;
    }

    .thematic-card {
        min-width: auto;
    }
}

/* Color Adjustments */
.bg-primary {
    background-color: var(--color-primary);
}

.bg-info {
    background-color: var(--color-info);
}

.bg-success {
    background-color: var(--color-success);
}

.bg-warning {
    background-color: var(--color-warning);
    color: var(--color-black);
}

.bg-secondary {
    background-color: var(--color-secondary);
}

.bg-dark {
    background-color: var(--color-dark);
    color: var(--color-white);
}
