/* Page styles for "Our Team - Family Tree Health" — extracted from about/our-team.html */

        .page-header {
            background: url('../../img/team_header.jpg') no-repeat center center/cover;
            padding: 160px 20px 80px;
            text-align: center;
            color: #fff;
        }
        
        .page-header h1 {
            margin: 0;
            font-size: 3rem;
            color: #fff;
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
        }

        .page-header p {
            font-size: 1.2rem;
            color: #eee;
            text-shadow: 0 1px 2px rgba(0,0,0,0.5);
            margin-top: 10px;
        }

        .team-container {
            max-width: 1200px;
            margin: 40px auto;
            padding: 0 20px;
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        .team-group {
            border-radius: 20px;
            padding: 20px;
            text-align: center;
        }

        .group-green { background-color: #92b08d; }
        .group-purple { background-color: #a491ba; }
        .group-blue { background-color: #90bde6; }
        .group-orange { background-color: #fcba81; }

        .group-title {
            color: #102130;
            font-size: 1.8rem;
            margin: 0 0 20px 0;
            font-family: Georgia, serif;
            font-weight: bold;
        }

        .group-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }

        /* Specific sizing fixes to keep card widths identical */
        .bottom-row .group-grid.grid-3 { grid-template-columns: repeat(3, 1fr); }
        .bottom-row .group-grid.grid-1 { grid-template-columns: 1fr; }
        
        /* Flexbox override for Assistants row to keep 4-col sizing but centered */
        .group-purple .group-grid.grid-3 {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
        }
        .group-purple .group-grid.grid-3 .team-profile-card {
            width: calc(25% - 15px); /* Matches 4-item grid exactly */
            box-sizing: border-box;
        }

        a.team-profile-card {
            text-decoration: none;
            color: inherit;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: block; /* Required for anchor wrapping block elements */
        }

        a.team-profile-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 12px rgba(0,0,0,0.1);
        }

        .team-profile-card {
            background: #fff;
            border-radius: 15px;
            padding: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            text-align: center;
        }

        .profile-img {
            width: 100%;
            aspect-ratio: 3 / 4;
            height: auto;
            border-radius: 10px;
            object-fit: cover;
            margin-bottom: 20px;
            background: #eee;
        }

        .profile-name {
            font-size: 1.1rem;
            margin: 0 0 5px 0;
            color: #1a2a3a;
        }

        .profile-role {
            font-size: 0.9rem;
            color: #555;
            margin: 0;
        }

        .bottom-row {
            display: flex;
            gap: 30px;
        }

        .bottom-row .group-blue { flex: 3; }
        .bottom-row .group-orange { flex: 1; }

        @media screen and (max-width: 900px) {
            .group-grid, .bottom-row .group-grid.grid-3 {
                grid-template-columns: repeat(2, 1fr);
            }
            .group-purple .group-grid.grid-3 .team-profile-card {
                width: calc(50% - 10px);
            }
            .bottom-row {
                flex-direction: column;
            }
        }

        @media screen and (max-width: 600px) {
            .group-grid, .bottom-row .group-grid.grid-3, .bottom-row .group-grid.grid-1 {
                grid-template-columns: 1fr;
            }
            .group-purple .group-grid.grid-3 .team-profile-card {
                width: 100%;
            }
        }
