.upa_profile {
    background-color: var(--mg-primary-color-b-super-bright);
    font-size: 16px;
    position: relative;
}

.upa_profile_inner {
    text-align: center;
}

.upa_profile_inner img {
    border-radius: 100%;
    width: 120px;
    height: 120px;
    display: inline-block;
    margin-bottom: 20px;
}

.upa_profile_header {
    font-size: 24px;
    line-height: 1.3;
    padding: 0 30px 0 30px;
    margin-bottom: 0 !important;
}

.upa_profile_image_wrapper {
    padding: 20px 20px 0 20px;
}

.upa_profile_subtile {
    font-size: 14px;
    margin-bottom: 6px;
    padding: 0 30px;
    text-align: center;
}

.upa_profile_text {
    padding: 20px;
}

.upa_profile_text :is(h2, h3, h4, h5, p, ul, ol, blockquote) {
    margin-bottom: 16px;
}

.upa_profile_text h2 {
    font-size: 24px;
}

.upa_profile_text h3 {
    font-size: 20px;
}

.upa_profile_text h4 {
    font-size: 18px;
}

.upa_profile_text h5 {
    font-size: 18px;
}

.upa_profile_text p + h2,
.upa_profile_text p + h3,
.upa_profile_text p + h4,
.upa_profile_text p + h5 {
    padding-top: 16px;
}

.upa_profile_text ul + h2,
.upa_profile_text ul + h3,
.upa_profile_text ul + h4,
.upa_profile_text ul + h5 {
    padding-top: 16px;
}

.upa_profile_text ol + h2,
.upa_profile_text ol + h3,
.upa_profile_text ol + h4,
.upa_profile_text ol + h5 {
    padding-top: 16px;
}

.upa_profile_text blockquote + h2,
.upa_profile_text blockquote + h3,
.upa_profile_text blockquote + h4,
.upa_profile_text blockquote + h5 {
    padding-top: 16px;
}


.upa_profile_text ul,
.upa_profile_text ol {
    padding-left: 20px;
}

.upa_profile_text>*:last-child {
    margin-bottom: 0;
}

.upa_profile_text ul,
.upa_profile_text ol {
    text-align: left;
}

.upa_profile_text blockquote {
    position: relative;
    padding: 0 22px;
}

.upa_profile_text blockquote:before {
    content: "\201C";
    position: absolute;
    font-size: 40px;
    display: inline-block;
    line-height: 1;
    top: 6px;
    left: 0;
    font-family: 'GT-Eesti-LC-Display';
    color: var(--mg-primary-color-a-full);
}

@media (min-width: 1200px) {
    .upa_profile_image_wrapper {
        padding: 30px 30px 0 30px;
        width: 120px;
        position: absolute;
        left: 40px;
        top: 40px;
        padding: 0;
    }

    .upa_profile {
        padding: 40px;
    }

    .upa_profile_header {
        padding-left: 160px;
        text-align: left;
    }

    .upa_profile_subtile {
        padding-left: 160px;
        text-align: left;
    }

    .upa_profile_text {
        padding: 20px 0 0 160px;
        text-align: left;
    }
}