        .fmg-med-team {
            --fmg-ink: var(--fmg-color-ink-900, #141633);
            --fmg-brand-1: var(--fmg-color-accent, #7334F0);
            --fmg-brand-glass: rgba(115, 52, 240, 0.22);
            --fmg-brand-shadow: rgba(115, 52, 240, 0.12);
            --fmg-surface: var(--fmg-color-surface, #FFFFFF);
            --fmg-surface-2: #F8F9FA;
            --fmg-font-head: 'Montserrat', sans-serif;
            --fmg-font-body: 'Nunito', sans-serif;
            
            font-family: var(--fmg-font-body);
            color: #374151;
            width: 100%;
            overflow-x: hidden;
        }

        /* Hero Section */
        .fmg-med-team .med-hero {
            background-color: var(--fmg-ink);
            padding: 80px 20px 140px; 
            text-align: center;
            color: var(--fmg-surface);
            position: relative;
        }

        .fmg-med-team .text-highlight {
            background: linear-gradient(135deg, #A78BFA 0%, #7334F0 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            font-weight: 800;
        }

        .fmg-med-team h1 {
            font-family: var(--fmg-font-head);
            font-weight: 800;
            font-size: 3rem;
            margin: 0 0 20px 0;
            line-height: 1.1;
            color: var(--fmg-surface);
        }

        .fmg-med-team .med-lead {
            font-size: 1.25rem;
            opacity: 0.9;
            line-height: 1.6;
            margin: 0 auto;
            max-width: 650px;
            font-weight: 400;
        }

        .fmg-med-team .pill-label {
            display: inline-block;
            background: rgba(115, 52, 240, 0.2);
            border: 1px solid rgba(167, 139, 250, 0.3);
            color: #A78BFA;
            padding: 6px 16px;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 24px;
            backdrop-filter: blur(4px);
        }

        /* Content Wrapper */
        .fmg-med-team .med-content-wrapper {
            max-width: 1100px;
            margin: -80px auto 0;
            padding: 0 20px 60px;
            position: relative;
            z-index: 5;
        }

        /* Process Grid */
        .fmg-med-team .med-process-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 24px;
            margin-bottom: 60px;
        }

        .fmg-med-team .med-card {
            background: var(--fmg-surface);
            border-radius: var(--fmg-radius-lg, 24px);
            padding: 32px;
            box-shadow: 0 12px 40px -12px var(--fmg-brand-shadow);
            border: 1px solid var(--fmg-brand-glass);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .fmg-med-team .med-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 20px 50px -12px rgba(115, 52, 240, 0.2);
        }

        .fmg-med-team .icon-wrap {
            font-size: 2rem;
            margin-bottom: 16px;
            background: rgba(115, 52, 240, 0.04);
            width: 64px;
            height: 64px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 16px;
        }

        .fmg-med-team h3 {
            font-family: var(--fmg-font-head);
            font-weight: 700;
            color: var(--fmg-ink);
            margin: 0 0 12px 0;
            font-size: 1.5rem;
        }

        /* Reviewer Section */
        .fmg-med-team .section-title {
            text-align: center;
            font-family: var(--fmg-font-head);
            color: var(--fmg-ink);
            font-weight: 800;
            font-size: 2.2rem;
            margin-bottom: 40px;
        }

        .fmg-med-team .reviewer-card {
            padding: 40px;
            margin-bottom: 30px;
            scroll-margin-top: 140px; 
        }

        /* GRID CHANGE: Reduced width to 160px (approx 10% less than 180px) */
        .fmg-med-team .reviewer-grid {
            display: grid;
            grid-template-columns: 160px 1fr; 
            gap: 48px;
            align-items: start;
        }

        .fmg-med-team .reviewer-visual {
            display: flex;
            flex-direction: column;
            align-items: center;
            max-width: 160px; /* Constrain container */
        }

        /* NEW: Mask Container handles the crop and border */
        .fmg-med-team .headshot-mask {
            width: 100%;
            aspect-ratio: 1/1;
            border-radius: 50%;
            overflow: hidden; /* This crops the zoomed image */
            position: relative;
            
            /* The "Glass" Border/Shadow moved here */
            border: 1px solid rgba(115, 52, 240, 0.2);
            box-shadow: 0 8px 24px rgba(20, 22, 51, 0.08); 
            background: var(--fmg-surface-2);
        }

        /* IMAGE: Zoomed In */
        .fmg-med-team .reviewer-headshot {
            width: 100%;
            height: 100%;
            object-fit: cover;
            
            /* ZOOM EFFECT: Scale up 15% and center slightly higher (eyes) */
            transform: scale(1.15);
            transform-origin: center 35%; 
            transition: transform 0.3s ease;
        }

        .fmg-med-team .verification-badge {
            margin-top: -14px; /* Reduced overlap for smaller circle */
            position: relative;
            z-index: 2;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 0.7rem; 
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: #FFFFFF;
            background: var(--fmg-ink);
            padding: 6px 14px;
            border-radius: 50px;
            box-shadow: 0 4px 12px rgba(20, 22, 51, 0.15);
            border: 2px solid #FFFFFF;
            white-space: nowrap;
        }

        .fmg-med-team .verification-badge svg {
            width: 12px;
            height: 12px;
        }

        /* Reviewer Info */
        .fmg-med-team .reviewer-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px;
            margin-bottom: 4px;
            border-bottom: 1px solid rgba(115, 52, 240, 0.1);
            padding-bottom: 12px;
        }

        .fmg-med-team .reviewer-header h3 {
            font-size: 2rem;
            margin: 0;
            color: var(--fmg-ink);
            letter-spacing: -0.5px;
        }

        .fmg-med-team .role-badge {
            background: rgba(115, 52, 240, 0.08);
            color: var(--fmg-brand-1);
            padding: 6px 12px;
            border-radius: 8px;
            font-size: 0.75rem;
            text-transform: uppercase;
            font-weight: 800;
            letter-spacing: 0.5px;
        }

        .fmg-med-team .credentials {
            font-family: var(--fmg-font-head);
            color: #6B7280;
            font-weight: 600;
            margin: 16px 0 20px 0;
            font-size: 1rem;
            display: block;
        }

        .fmg-med-team .bio-text {
            line-height: 1.75;
            color: #4B5563;
            margin-bottom: 28px;
            font-size: 1rem;
        }

        /* Meta Footer */
        .fmg-med-team .reviewer-meta {
            background: var(--fmg-surface-2);
            margin: 0 -40px -40px -40px;
            padding: 20px 40px;
            border-top: 1px solid var(--fmg-brand-glass);
            border-bottom-left-radius: 24px;
            border-bottom-right-radius: 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
            font-size: 0.9rem;
        }

        .fmg-med-team .linkedin-link {
            color: var(--fmg-brand-1);
            font-weight: 700;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            transition: all 0.2s ease;
        }

        .fmg-med-team .linkedin-link:hover {
            opacity: 0.8;
            transform: translateX(4px);
        }

        /* Disclaimer */
        .fmg-med-team .med-disclaimer {
            background: #F9FAFB;
            padding: 24px;
            border-radius: 12px;
            font-size: 0.85rem;
            color: #6B7280;
            margin-top: 40px;
            text-align: center;
            line-height: 1.5;
            border: 1px solid #E5E7EB;
        }

        /* --- MOBILE OPTIMIZATION --- */
        @media (max-width: 768px) {
            
            .fmg-med-team .med-hero { 
                padding: 60px 20px 120px; 
            }
            .fmg-med-team .med-hero h1 { 
                font-size: 2rem; 
            }
            
            .fmg-med-team .med-process-grid {
                display: flex;
                overflow-x: auto;
                scroll-snap-type: x mandatory;
                gap: 16px;
                padding-bottom: 24px;
                margin-right: -20px;
                padding-right: 20px;
                margin-left: -20px;
                padding-left: 20px;
                -webkit-overflow-scrolling: touch;
            }

            .fmg-med-team .med-card.process-card {
                min-width: 85%;
                scroll-snap-align: center;
                margin-bottom: 0;
            }

            .fmg-med-team .reviewer-card {
                padding: 0; 
                overflow: hidden; 
            }
            
            .fmg-med-team .reviewer-inner-padding {
                padding: 24px 24px 0 24px;
            }

            .fmg-med-team .reviewer-grid { 
                grid-template-columns: 1fr; 
                gap: 32px; 
            }
            
            .fmg-med-team .reviewer-visual { 
                max-width: 140px; /* Reduced mobile size slightly */
                margin: 24px auto 0; 
            }
            
            .fmg-med-team .reviewer-header { 
                justify-content: center; 
                text-align: center; 
                padding-bottom: 16px;
            }
            
            .fmg-med-team .credentials { 
                text-align: center; 
            }
            
            .fmg-med-team .reviewer-meta { 
                margin: 0; 
                border-radius: 0; 
                padding: 20px 24px;
                justify-content: center;
                text-align: center;
                background: #F9FAFB;
            }
        }
    </style>
