/* Ensure block styles (colors, typography, etc.) are inherited by the text elements */
.wpuf-user-name .wpuf-name-text {
    /* Inherit all text-related styles from the block wrapper */
    color: inherit;
    background-color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    font-style: inherit;
    text-align: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    text-decoration: inherit;
}

/* Ensure paragraph and span elements inherit block styles properly */
.wpuf-user-name p.wpuf-name-text,
.wpuf-user-name span.wpuf-name-text {
    /* Force inheritance of block styles */
    color: inherit !important;
    background-color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    font-style: inherit !important;
    text-align: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    text-decoration: inherit !important;
    margin: inherit;
    padding: inherit;
}

/* Container-specific styling support */
/* User Profile context */
.wpuf-user-profile .wpuf-user-name .wpuf-name-text {
    color: inherit !important;
    background-color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    font-style: inherit !important;
    text-align: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    text-decoration: inherit !important;
}

/* User Directory context */
.wpuf-user-directory .wpuf-user-name .wpuf-name-text {
    color: inherit !important;
    background-color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    font-style: inherit !important;
    text-align: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    text-decoration: inherit !important;
}

/* Handle nested wrapper structures */
.wpuf-inner-blocks-container .wpuf-user-name .wpuf-name-text,
.wpuf-user-profile .wpuf-inner-blocks-container .wpuf-user-name .wpuf-name-text {
    color: inherit !important;
    background-color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    font-style: inherit !important;
    text-align: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    text-decoration: inherit !important;
}

/* Container-specific class styling */
.wpuf-user-name.wpuf-in-profile .wpuf-name-text {
    /* Profile-specific styles can be added here */
    color: inherit !important;
    background-color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    font-style: inherit !important;
    text-align: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    text-decoration: inherit !important;
}

.wpuf-user-name.wpuf-in-directory .wpuf-name-text {
    /* Directory-specific styles can be added here */
    color: inherit !important;
    background-color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    font-style: inherit !important;
    text-align: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    text-decoration: inherit !important;
}

/* Block Editor Specific Styles */
.block-editor-block-list__layout .wpuf-user-name {
    margin: 0;
}

/* Ensure block editor styles are applied to text elements */
.block-editor-block-list__layout .wpuf-user-name p.wpuf-name-text,
.block-editor-block-list__layout .wpuf-user-name span.wpuf-name-text {
    color: inherit !important;
    background-color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    font-style: inherit !important;
    text-align: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    text-decoration: inherit !important;
    margin: inherit;
    padding: inherit;
}

/* Block editor container-specific styles */
.block-editor-block-list__layout .wpuf-user-profile .wpuf-user-name .wpuf-name-text,
.block-editor-block-list__layout .wpuf-user-directory .wpuf-user-name .wpuf-name-text {
    color: inherit !important;
    background-color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    font-style: inherit !important;
    text-align: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    text-decoration: inherit !important;
    margin: inherit;
    padding: inherit;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .wpuf-user-name h1.wpuf-name-text {
        font-size: 1.75rem;
    }
    
    .wpuf-user-name h2.wpuf-name-text {
        font-size: 1.5rem;
    }
    
    .wpuf-user-name h3.wpuf-name-text {
        font-size: 1.25rem;
    }
}


/*# sourceMappingURL=block-user-name.css.map*/