.profile-card {
            background: var(--layer-surface, #fff);
            border: 1px solid var(--outline-variant, #ccc);
            border-radius: var(--radius-large, 16px);
            box-shadow: var(--elevation-1, 0 2px 4px rgba(0,0,0,0.1));
            width: 240px;
            height: 360px;
            overflow: hidden;
            transition: box-shadow 0.2s ease, transform 0.2s ease;
            position: relative;
            display: flex;
            flex-direction: column;
            /* Remove padding from here since we'll add it to individual sections */
        }

        .profile-card:hover {
            box-shadow: var(--elevation-2, 0 4px 8px rgba(0,0,0,0.15));
            transform: translateY(-2px);
        }

        .profile-card__header {
            position: relative;
            display: flex;
            align-items: flex-end;
            justify-content: center;
            padding: var(--size-4, 1rem) var(--size-2, 0.5rem) 0;
            flex-shrink: 0; /* Don't shrink */
        }

        .profile-card__avatar {
            width: 80px;
            height: 80px;
            border-radius: var(--radius-full, 50%);
            border: 4px solid var(--layer-surface, #fff);
            background: var(--layer-surface-variant, #f5f5f5);
            overflow: hidden;
            box-shadow: var(--elevation-1, 0 2px 4px rgba(0,0,0,0.1));
        }

        .profile-card__avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .profile-card__content {
            padding: var(--size-4, 1rem) var(--size-2, 0.5rem);
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            flex: 1; /* Take remaining space */
            min-height: 0; /* Allow shrinking */
        }

        .profile-card__name {
            font-size: var(--font-size-headline-medium, 1.75rem);
            font-weight: var(--font-weight-6, 600);
            color: var(--on-surface, #000);
            margin: 0;
            margin-bottom: var(--size-1, 0.25rem);
            line-height: 0.9;
            letter-spacing: -0.5px;
        }

        .profile-card__title {
            font-size: var(--font-size-title-medium, 1rem);
            font-weight: var(--font-weight-5, 500);
            color: var(--on-surface-variant, #666);
            margin: 0;
            margin-bottom: var(--size-3, 1rem);
        }

        .profile-card__bio {
            font-size: var(--font-size-body-medium, 0.875rem);
            color: var(--on-surface-variant, #666);
            line-height: 1.4;
            margin: 0;
            display: -webkit-box;
            -webkit-line-clamp: 2; /* Changed from 3 to 2 */
            line-clamp: 2; /* Changed from 3 to 2 */
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .profile-card__footer {
            padding: 0 var(--size-2, 0.5rem) var(--size-4, 1rem);
            flex-shrink: 0; /* Don't shrink */
            margin-top: auto; /* Push to bottom */
        }

        .profile-card__social-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            border-radius: var(--radius-small, 8px);
            color: var(--on-surface-variant, #666);
            text-decoration: none;
            transition: background-color 0.2s ease, color 0.2s ease;
        }

        .profile-card__social-link:hover {
            background: var(--layer-surface-variant, #f5f5f5);
            color: var(--primary, #007bff);
        }