/* --- Professional List Layout for Sleutelfiguren Page --- */

.roles-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    /* Two column grid for better readability of list items */
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px 60px;
    /* More horizontal gap */
    padding: 20px 0;
}

.role-card {
    /* RESET card styles */
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    transition: transform 0.2s ease;

    /* Flex layout for Icon-Left */
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    height: auto;
    /* Allow natural height */
}

/* Remove the old hover effects */
.role-card:hover {
    transform: translateY(-2px);
    box-shadow: none;
    border-color: transparent;
}

.role-card::before {
    display: none;
    /* No colored borders */
}

.role-icon-wrapper {
    /* Minimalist icon styling */
    width: 48px;
    height: 48px;
    min-width: 48px;
    /* Prevent squishing */
    background: rgba(102, 126, 234, 0.1);
    /* Very subtle background */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    margin-bottom: 0;
    /* Override old margin */
}

.role-icon {
    width: 24px;
    height: 24px;
}

/* Content Container for Title + Text */
.role-content {
    display: flex;
    flex-direction: column;
}

.role-card h3 {
    color: #1a2b4e;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
}

.role-card p {
    color: #5a6b8c;
    /* Slightly softer text color */
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .roles-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}