/* ==========================================================================
   PROFILE BLOCK SECTION - BEM NAMING
   ========================================================================== */

.profile-block {
    position: relative;
    background-color: var(--color-surface, #F7F2EE);
    padding: 100px 0;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    font-family: var(--font-body, 'Nunito Sans', sans-serif);
}

.profile-block__bg-split {
    position: absolute;
    top: 0;
    left: 0;
    width: 38%;
    height: 100%;
    background-color: var(--color-bg, #D2E3DF);
    background-repeat: no-repeat !important;
    background-position: left center !important;
    background-size: cover !important;
    z-index: 1;
}

.profile-block__container {
    position: relative;
    z-index: 2;
}

.profile-block__grid {
    display: grid;
    grid-template-columns: 38% 1fr;
    gap: 60px;
    align-items: center;
}

.profile-block__media {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-block__avatar-wrapper {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background-color: #ffffff;
    flex-shrink: 0;
}

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

.profile-block__content {
    max-width: 720px;
}

.profile-block__name {
    font-family: var(--font-special, 'Playwrite US Trad', cursive) !important;
    font-size: 38px !important;
    font-weight: 400 !important;
    color: #111111 !important;
    margin: 0 0 6px 0;
    line-height: 1.2;
}

.profile-block__role {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #555555;
    margin-bottom: 20px;
}

.profile-block__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.profile-block__tag {
    background-color: var(--color-bg, #D2E3DF);
    color: var(--color-primary-second, #456967);
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 600;
    line-height: 1.3;
}

.profile-block__bio-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.profile-block__bio-text {
    font-size: 14.5px;
    line-height: 1.65;
    color: #222222;
    margin: 0;
}

@media (max-width: 991px) {
    .profile-block {
        padding: 60px 0;
    }

    .profile-block__bg-split {
        display: none;
    }

    .profile-block__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .profile-block__avatar-wrapper {
        width: 300px;
        height: 300px;
    }

    .profile-block__content {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .profile-block__name,
    .profile-block__role {
        text-align: center;
    }

    .profile-block__tags {
        justify-content: center;
    }

    .profile-block__avatar-wrapper {
        width: 250px;
        height: 250px;
    }
}

/* Triệt tiêu hoàn toàn thẻ <br> rác trong phần Bio */
.profile-block__bio-list br {
    display: none !important;
}

/* Tùy chỉnh khoảng cách giữa các đoạn văn theo ý muốn */
.profile-block__bio-text {
    margin-top: 0;
    margin-bottom: 14px; /* Bạn có thể tăng/giảm số px này để chỉnh khoảng cách giữa các đoạn */
    line-height: var(--lh-body-m, 1.6);
}

.profile-block__bio-text:last-child {
    margin-bottom: 0; /* Đoạn cuối cùng không có khoảng trắng thừa bên dưới */
}