.header {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 24px;
    padding: 32px;
    border: 1px solid rgba(var(--site-accent-rgb, 156, 28, 79), .08);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 30px -12px rgba(var(--site-accent-rgb, 156, 28, 79), .12);
    font-family: 'Montserrat', Inter, "Segoe UI", Roboto, Arial, sans-serif;
    transition: transform .3s cubic-bezier(.4, 0, .2, 1), box-shadow .3s ease, border-color .3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .header:hover {
        transform: translateY(-4px);
        border-color: rgba(var(--site-accent-rgb, 156, 28, 79), .12);
        box-shadow: 0 18px 38px -14px rgba(17, 24, 39, .20);
    }
}

.avatar {
    width: 176px;
    height: 176px;
    overflow: hidden;
    flex: 0 0 176px;
    border-radius: 32px;
    background: #f1f2f4;
    box-shadow: 0 10px 20px -8px rgba(17, 24, 39, .2), 0 0 0 4px #fff;
}

.avatar img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.head-right {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 176px;
    flex: 1 1 auto;
    flex-direction: column;
}

.manager-btn-div {
    position: absolute;
    top: 0;
    right: 0;
}

.manager-btn {
    display: inline-flex;
    min-height: 44px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 25px -6px rgba(var(--site-accent-rgb, 156, 28, 79), .75);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1), box-shadow .3s ease;
}

.manager-btn i {
    font-size: 14px;
}

.manager-btn:hover,
.manager-btn:focus {
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px -8px rgba(var(--site-accent-rgb, 156, 28, 79), .9);
}

.title {
    max-width: calc(100% - 170px);
    margin: 0 0 8px;
    color: #111827;
    font-family: 'Montserrat', Inter, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -.025em;
    line-height: 36px;
    text-align: left;
}

.blogger_fio {
    padding-right: 0;
}

.desc {
    max-width: 520px;
    margin: 0;
    color: #4b5563;
    font-family: 'Montserrat', Inter, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    overflow-wrap: break-word;
    text-align: left;
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f0f1f3;
}

.chip {
    display: inline-flex;
    min-height: 28px;
    box-sizing: border-box;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border: 0;
    border-radius: 8px;
    background: #f5f6f7;
    box-shadow: none;
    color: #4b5563;
    font-family: 'Montserrat', Inter, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 20px;
}


.profile-location-chip {
    color: #4b5563;
}

.profile-location-icon {
    color: var(--site-accent, #9C1C4F);
    font-size: 13px;
}

.profile-category-chip {
    font-weight: 700;
}

.profile-category-chip-0 {
    background: #eef5ff;
    color: #2f6fed;
}

.profile-category-chip-1 {
    background: #effbf4;
    color: #20a35a;
}

.profile-category-chip-2 {
    background: #fff7e8;
    color: #c98216;
}

.profile-category-chip-3 {
    background: #f7efff;
    color: #8b5cc7;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: 6px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .02);
    color: #6b7280;
    font-size: 13px;
    text-decoration: none;
}

@media (max-width: 900px) {
    .header {
        gap: 24px;
        padding: 24px;
        border-radius: 22px;
    }

    .avatar {
        width: 152px;
        height: 152px;
        flex-basis: 152px;
        border-radius: 28px;
    }

    .head-right {
        min-height: 152px;
    }

    .manager-btn {
        min-height: 42px;
        padding: 11px 18px;
        border-radius: 14px;
        font-size: 13px;
    }

    .title {
        max-width: calc(100% - 145px);
        font-size: 26px;
        line-height: 32px;
    }

    .desc {
        max-width: calc(100% - 10px);
        font-size: 13px;
    }

    .meta-row {
        padding-top: 14px;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 20px;
        margin-bottom: 20px;
    }

    .avatar {
        width: 128px;
        height: 128px;
        flex-basis: 128px;
        margin: 0 auto;
        border-radius: 26px;
    }

    .head-right {
        position: static;
        min-height: 0;
    }

    .manager-btn-div {
        position: static;
        order: 3;
        margin-top: 18px;
        text-align: center;
    }

    .manager-btn {
        width: 100%;
        max-width: 260px;
    }

    .title {
        max-width: 100%;
        margin: 0 0 8px;
        font-size: 26px;
        line-height: 32px;
        text-align: center;
    }

    .desc {
        max-width: 100%;
        font-size: 13px;
        text-align: center;
    }

    .meta-row {
        order: 2;
        justify-content: center;
        margin-top: 20px;
        padding-top: 16px;
    }

    .chip {
        font-size: 11px;
        padding: 4px 10px;
    }

    .social-links {
        width: 100%;
        justify-content: center;
        margin: 6px 0 0;
    }
}
