/* Staff section container */
.drmariia-staff-section {
    background-color: #fffdd0; /* Cream color */
    padding: 40px 20px;
    margin: 2vh 0;
}

/* Large "OUR STAFF" heading */
.staff-heading {
    font-size: clamp(2em, 5vw, 3em); /* Large, responsive font size */
    color: #2c3e50; /* Matches clinic theme */
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Grid layout for staff cards - Two columns side by side */
.drmariia-staff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Exactly two columns */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual staff card */
.staff-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease;
}

.staff-card:hover {
    transform: translateY(-5px);
}

/* Staff image (left side) */
.staff-image {
    flex: 0 0 150px; /* Fixed width for the image */
}

.staff-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #17a2b8;
}

/* Staff info (right side) */
.staff-info {
    flex: 1; /* Take remaining space */
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Staff name */
.staff-info h3 {
    font-size: 1.3em;
    color: #2c3e50;
    margin: 0;
}

/* Staff description */
.staff-description {
    font-size: 0.95em;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Social media links */
.staff-social {
    display: flex;
    gap: 10px;
}

/* Social media icons (SVG) */
.social-icon {
    width: 24px;
    height: 24px;
    transition: fill 0.3s ease;
}

.staff-social a:hover .social-icon {
    fill: #138496; /* Darker teal on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .drmariia-staff-grid {
        grid-template-columns: 1fr; /* Single column on smaller screens */
    }

    .staff-heading {
        font-size: clamp(1.5em, 4vw, 2.5em);
    }

    .staff-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .staff-image {
        flex: 0 0 auto;
        margin-bottom: 15px;
    }

    .staff-image img {
        width: 120px;
        height: 120px;
    }
}
