.supporter-profile {
    width: min(100% - 48px, 1000px);
    margin: 72px auto 88px;
    color: #3a3a3a;
    text-align: right;
}

.supporter-profile__card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    min-height: 388px;
    padding: 0 60px;
    border-radius: 16px;
    background: #f7f7f7;
}

.supporter-profile__portrait {
    display: block;
    flex: 0 0 40%;
    align-self: flex-end;
    width: 40%;
}

.supporter-profile__portrait .supporter-profile__image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    margin: 0;
}

.supporter-profile__details {
    flex: 1;
    min-width: 0;
    padding-bottom: 0;
}

.supporter-profile .supporter-profile__intro {
    margin: 0 0 20px;
    font-size: 20px;
    font-weight: 400;
    color: #3a3a3a;
    line-height: 2;
}

.supporter-profile .supporter-profile__contact {
    margin: 0 0 8px;
    color: #3a3a3a;
    font-size: 16px;
    line-height: 2;
}

.supporter-profile__contact a {
    color: #3a3a3a;
    text-decoration: none;
}

.supporter-profile__contact a:hover,
.supporter-profile__contact a:focus-visible {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .supporter-profile {
        width: calc(100% - 48px);
        margin: 0 auto 48px;
    }

    .supporter-profile__card {
        flex-direction: column;
        gap: 28px;
        min-height: 0;
        padding: 40px 24px 48px;
        border-radius: 16px;
    }

    .supporter-profile__portrait {
        flex: none;
        align-self: center;
        width: 100%;
    }

    .supporter-profile__portrait .supporter-profile__image {
        max-height: none;
    }

    .supporter-profile__details {
        width: 100%;
        padding: 0;
    }

    .supporter-profile .supporter-profile__intro {
        margin-bottom: 28px;
        font-size: 18px;
        line-height: 2.3;
    }

    .supporter-profile__intro br {
        display: none;
    }

    .supporter-profile .supporter-profile__contact {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .supporter-profile__contact:last-child {
        margin-bottom: 0;
    }
}
