.activoz-member-profile-section {
    width: 100%;
    position: relative;
    padding: 1.5rem 1rem;
}

@media (min-width: 768px) {
    .activoz-member-profile-section {
        padding: 2rem 2rem;
    }
}

@media (min-width: 1024px) {
    .activoz-member-profile-section {
        padding: 2rem 2rem;
    }
}

/* Botón de regresar - discreto */
.member-profile-back-button {
    text-align: center;
    margin: 1rem 0;
    opacity: 0.6;
}

.member-profile-back-top {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.member-profile-back-bottom {
    margin-top: 2rem;
    margin-bottom: 0;
}

.back-link {
    color: #666666;
    text-decoration: none;
    font-size: 0.8125rem;
    font-family: 'Sora', 'Inter', sans-serif;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 400;
}

.back-link:hover {
    color: #1C2738;
    opacity: 1;
    text-decoration: underline;
}

.back-link:focus {
    outline: 2px solid #046E5A;
    outline-offset: 2px;
    border-radius: 2px;
    opacity: 1;
}

/* Contenedor principal */
.member-profile-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .member-profile-container {
        padding: 0 2rem;
    }
}

@media (min-width: 1024px) {
    .member-profile-container {
        padding: 0 3rem;
    }
}

/* Header con imagen y nombre */
.member-profile-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 0;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .member-profile-header {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
        margin-bottom: 0;
    }
}

/* Imagen de perfil */
.member-profile-image {
    flex-shrink: 0;
}

.profile-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-bottom-right-radius: 12px;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0;
    display: block;
}

@media (max-width: 767px) {
    .profile-img {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }
}

/* Información del perfil */
.member-profile-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.member-profile-name,
.activoz-member-profile-section .member-profile-name,
.activoz-member-profile-section h2.member-profile-name {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: 1.75rem;
    font-weight: 500;
    line-height: 1.3;
    color: #4A90E2 !important;
    margin: 0 0 0.5rem 0;
    padding: 0;
}

@media (min-width: 768px) {
    .member-profile-name {
        font-size: 2rem;
    }
}

@media (min-width: 1024px) {
    .member-profile-name {
        font-size: 2.25rem;
    }
}

.member-profile-title {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.4;
    color: #1C2738;
    margin: 0;
    padding: 0;
}

@media (min-width: 768px) {
    .member-profile-title {
        font-size: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .member-profile-title {
        font-size: 1.375rem;
    }
}

/* Biografía */
.member-profile-biography {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: #1C2738;
    max-width: 100%;
    text-align: justify;
    margin-top: 2rem;
    text-align: justify;
}

.member-profile-biography p {
    margin: 0 0 1.5rem 0;
    padding: 0;
    text-align: justify;
}

.member-profile-biography p:last-child {
    margin-bottom: 0;
}

.member-profile-biography strong {
    font-weight: 600;
    color: #1C2738;
}

@media (min-width: 768px) {
    .member-profile-biography {
        font-size: 1.125rem;
        line-height: 1.8;
        margin-top: 2.5rem;
    }
    
    .member-profile-biography p {
        margin-bottom: 1.75rem;
        text-align: justify;
    }
}

@media (min-width: 1024px) {
    .member-profile-biography {
        font-size: 1.125rem;
        line-height: 1.85;
        max-width: 65ch;
        margin-top: 3rem;
    }
    
    .member-profile-biography p {
        margin-bottom: 2rem;
        text-align: justify;
    }
}
