.pgi-profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 360px;
    min-height: 282px;
    margin: 0;
    padding: 35px 10px;
    gap: 20px;
    color: var(--pgi-black);
    font-family: "Involve", system-ui, sans-serif;
    text-align: center;
}

.pgi-profile-card__image {
    flex: 0 0 100px;
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: var(--pgi-profile-card-image-radius, 50%);
    background: #F6F6F6;
}

.pgi-profile-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pgi-profile-card__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 50px;
}

.pgi-profile-card__name {
    margin: 0;
    color: #80807D;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

.pgi-profile-card__region {
    width: 100%;
    margin: 0;
    color: var(--pgi-black);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

.pgi-profile-card__link {
    color: var(--pgi-laguna);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
}

.pgi-profile-card__link:hover,
.pgi-profile-card__link:focus-visible {
    color: var(--pgi-laguna);
}

.pgi-profile-card__link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    color: currentColor;
}

.pgi-profile-card__link-icon svg {
    display: block;
    width: 16px;
    height: 16px;
}

@media (max-width: 768px) {
    .pgi-profile-card {
        align-items: flex-start;
        flex: 0 0 190px;
        width: 190px;
        max-width: none;
        min-height: 168px;
        padding: 16px 5px;
        gap: 10px;
        text-align: left;
    }

    .pgi-profile-card__image {
        flex-basis: 100px;
        width: 100px;
        height: 100px;
    }

    .pgi-profile-card__text {
        align-items: flex-start;
        gap: 8px;
        min-height: 0;
    }

    .pgi-profile-card__name {
        font-size: 14px;
    }

    .pgi-profile-card__region {
        font-size: 16.3px;
        line-height: 1.2;
    }

    .pgi-profile-card__link {
        gap: 11px;
        font-size: 14px;
		white-space: nowrap;
    }

    .pgi-profile-card__link-icon,
    .pgi-profile-card__link-icon svg {
        width: 15px;
        height: 15px;
    }
}
@media (min-width: 769px) and (max-width: 1499px) {
    .pgi-profile-card {
        max-width: 248px;
        min-height: 192px;
        padding: 22.4px 8px;
        gap: 12.8px;
    }

    .pgi-profile-card__image {
        flex-basis: 68.8px;
        width: 68.8px;
        height: 68.8px;
    }

    .pgi-profile-card__region {
        font-size: 14.12px;
    }
}

/* PGI middle-desktop client font-size normalization */
@media (min-width: 769px) and (max-width: 1499px) {
    .pgi-profile-card__name {
        font-size: 13px;
    }

    .pgi-profile-card__region {
        font-size: 14px;
    }

    .pgi-profile-card__link {
        font-size: 15px;
    }
}

