/* STAFF PAGE BASE CONFIGS */
    .staff-container {
        max-width: 1200px;
        margin: 60px auto;
        padding: 0 20px;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    .staff-heading {
        text-align: center;
        margin: 50px 0 30px 0;
        position: relative;
    }
    .staff-heading h2 {
        color: #0a2240;
        font-size: 32px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 10px;
    }
    .staff-heading::after {
        content: '';
        display: block;
        width: 60px;
        height: 3px;
        background: #ff6b35;
        margin: 0 auto;
        border-radius: 2px;
    }
    
    /* CARD GRID LAYOUT (Updated to a 4-column structure) */
    .staff-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr); /* Displays exactly 4 items in one row */
        gap: 30px 20px; /* Comfortable gap handling for 4 columns */
        max-width: 1100px; /* Expanded max-width to allow comfortable room for 4 cards */
        margin: 0 auto 60px auto;
    }

    /* CARD STRUCTURE */
    .staff-card {
        text-align: center;
        background: #ffffff;
        padding: 10px;
        border-radius: 4px;
        transition: transform 0.2s ease-in-out;
    }
    .staff-image-wrapper {
        width: 100%; /* Adapts flexibly to the grid item column width */
        max-width: 200px; /* Keeps image sizing standard */
        height: 240px; /* Proportional card height */
        margin: 0 auto 15px auto;
        overflow: hidden;
        border: 1px solid #e2e8f0;
        background-color: #f7fafc;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }
    .staff-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    
    /* TYPOGRAPHY FOR CARDS */
    .staff-name {
        font-size: 15px;
        font-weight: 700;
        color: #1a202c;
        margin-bottom: 3px;
    }
    .staff-designation {
        font-size: 13px;
        font-weight: 600;
        color: #4a5568;
        margin-bottom: 2px;
    }
    .staff-qualification {
        font-size: 12px;
        font-weight: 500;
        color: #718096;
    }

    /* RESPONSIVE DESIGN FOR TABLETS AND SMALLER SCREENS */
    @media (max-width: 992px) {
        .staff-grid {
            grid-template-columns: repeat(2, 1fr); /* 2 per row on medium tablets */
        }
    }
    @media (max-width: 580px) {
        .staff-grid {
            grid-template-columns: 1fr; /* 1 per row on compact mobile devices */
            gap: 40px;
        }
        .staff-heading h2 {
            font-size: 26px;
        }
    }