.block__profile {
    --profile-dark: #202020;
    --profile-line: #dededb;
    --profile-muted: #6d6d68;
    color: #292927;
    background: #fff;
}

.b_profile--hero {
    position: relative;
    min-height: 430px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 36%, rgba(183, 152, 104, .28), transparent 28%),
        linear-gradient(115deg, #080a09 0%, #3c3427 48%, #111210 100%);
}

.b_profile--hero::before,
.b_profile--hero::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
}

.b_profile--hero::before {
    top: -270px;
    left: calc(50% - 260px);
}

.b_profile--hero::after {
    top: -195px;
    left: calc(50% - 185px);
    width: 370px;
    height: 370px;
}

.b_profile--hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 24px;
    margin: auto;
    padding: 56px 24px 30px;
}

.b_profile--monogram {
    display: grid;
    place-items: center;
    width: 116px;
    height: 116px;
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: 50%;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 38px;
    letter-spacing: .06em;
    background: rgba(15, 15, 15, .72);
}

.b_profile--title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 400;
    text-align: center;
}

.b_profile--main-nav {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: clamp(28px, 7vw, 120px);
    padding: 0 24px;
}

.b_profile--main-link {
    padding: 20px 4px 18px;
    color: #fff;
    border-bottom: 4px solid transparent;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    text-transform: uppercase;
    text-decoration: none;
}

.b_profile--main-link:hover,
.b_profile--main-link.__active {
    color: #fff;
    border-bottom-color: #fff;
}

.b_profile--sub-nav {
    display: flex;
    gap: 34px;
    max-width: 1860px;
    margin: 0 auto;
    padding: 52px 3.3% 0;
}

.b_profile--sub-link {
    padding: 0 0 9px;
    color: #3a3a37;
    border-bottom: 4px solid transparent;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    text-transform: uppercase;
    text-decoration: none;
}

.b_profile--sub-link:hover,
.b_profile--sub-link.__active {
    color: #1f1f1d;
    border-bottom-color: #262625;
}

.b_profile--content {
    max-width: 1860px;
    margin: 0 auto;
    padding: 72px 3.3% 100px;
}

.b_profile--section {
    margin-bottom: 88px;
    scroll-margin-top: 30px;
}

.b_profile--section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    border-bottom: 1px solid var(--profile-line);
}

.b_profile--section-title {
    margin: 0;
    color: var(--profile-muted);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
}

.b_profile--data {
    max-width: 1360px;
    margin: 0 0 0 auto;
}

.b_profile--row {
    display: grid;
    grid-template-columns: minmax(240px, 36%) 1fr;
    min-height: 70px;
    align-items: center;
    border-bottom: 1px solid var(--profile-line);
}

.b_profile--label,
.b_profile--value {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
}

.b_profile--label {
    text-transform: uppercase;
}

.b_profile--value {
    color: #74746f;
}

.b_profile--empty,
.b_profile--lead {
    max-width: 1360px;
    margin: 30px 0 0 auto;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.55;
}

.b_profile--lead {
    max-width: 1360px;
    margin-bottom: 30px;
}

.b_profile--editor {
    margin-top: 24px;
}

.b_profile--edit {
    width: fit-content;
    margin-left: auto;
    padding: 10px 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    list-style: none;
}

.b_profile--edit::-webkit-details-marker {
    display: none;
}

.b_profile--edit i {
    margin-right: 10px;
}

.b_profile--forms,
.b_profile--form {
    margin-top: 24px;
}

.b_profile--forms {
    display: grid;
    gap: 24px;
}

.b_profile--form {
    padding: 32px;
    border: 1px solid var(--profile-line);
    background: #fafaf8;
}

.b_profile--form.__plain {
    max-width: 1360px;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
}

.b_profile--form-title {
    margin: 0 0 24px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 400;
}

.b_profile--grid,
.b_profile--interest-groups,
.b_profile--checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 30px;
}

.b_profile--form .form-control {
    min-height: 48px;
    border: 0;
    border-bottom: 1px solid #9b9b96;
    border-radius: 0;
    background: transparent;
}

.b_profile--form .form-control:focus {
    border-bottom-color: #1d1d1b;
    box-shadow: none;
}

.b_profile--checks {
    margin-bottom: 28px;
}

.b_profile--checks .form-check {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    text-transform: uppercase;
}

.b_profile--checks .form-check-input,
.b_profile--check input {
    width: 28px;
    height: 28px;
    border-radius: 0;
    accent-color: var(--profile-dark);
}

.b_profile--note {
    margin: 18px 0 30px;
    padding: 18px 22px;
    font-family: Georgia, "Times New Roman", serif;
    background: #f4f4f2;
}

.b_profile--note i {
    margin-right: 16px;
}

.b_profile--button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border: 1px solid var(--profile-dark);
    border-radius: 0;
    color: #fff;
    background: var(--profile-dark);
    font-family: Arial, "Helvetica Neue", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .02em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease, transform .1s ease;
}

.b_profile--form:not(.__plain) .b_profile--button {
    margin-top: 24px;
}

.b_profile--button:hover:not(:disabled) {
    color: var(--profile-dark);
    background: #fff;
}

.b_profile--button:focus-visible {
    outline: 2px solid var(--profile-dark);
    outline-offset: 3px;
}

.b_profile--button:active:not(:disabled) {
    transform: translateY(1px);
}

.b_profile--button:disabled {
    cursor: progress;
    opacity: .55;
}

.b_profile--interest-group {
    padding: 20px;
    border: 1px solid var(--profile-line);
}

.b_profile--interest-title {
    padding: 0 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    text-transform: uppercase;
}

.b_profile--check {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
}

@media (max-width: 850px) {
    .b_profile--hero {
        min-height: 360px;
    }

    .b_profile--main-nav {
        gap: 14px;
        overflow-x: auto;
        justify-content: flex-start;
    }

    .b_profile--main-link {
        white-space: nowrap;
        font-size: 14px;
    }

    .b_profile--sub-nav {
        padding-top: 34px;
    }

    .b_profile--content {
        padding-top: 52px;
    }

    .b_profile--row,
    .b_profile--grid,
    .b_profile--interest-groups,
    .b_profile--checks {
        grid-template-columns: 1fr;
    }

    .b_profile--row {
        gap: 8px;
        padding: 18px 0;
    }

    .b_profile--form {
        padding: 22px;
    }
}
