/* RG Personal — presentation only, on native UsersWP public profiles.
   Bricks owns the profile widget's width and outer margins.
   No profile state, privacy or public fields are duplicated in RG Personal. */
body.rg-public-profile-page :is(.uwp_widget_profile, .uwp-profile-header, .uwp-profile-tabs, .uwp-profile-header-class, .uwp-profile-tabs-class) {
    min-width: 0;
    max-width: 100%;
    font-family: inherit;
    color: #302a33;
}
body.rg-public-profile-page :is(.uwp-profile-header, .uwp-profile-header-class, .uwp_widget_profile_header) > .card,
body.rg-public-profile-page .uwp_widget_profile .uwp-profile-header > .card {
    overflow: hidden;
    border: 1px solid #eee3ef;
    border-radius: 22px;
    background: linear-gradient(130deg, #fff, #fdf9fd 62%, #f8f0fb);
    box-shadow: 0 10px 28px rgba(59, 26, 67, .07);
}
body.rg-public-profile-page .uwp-banner-image {
    display: block;
    width: 100%;
    height: clamp(180px, 18vw, 250px);
    min-height: 125px;
    object-fit: cover;
    object-position: center;
    background-color: #f3e8f8;
}
body.rg-public-profile-page :is(.uwp-profile-header, .uwp-profile-header-class, .uwp_widget_profile_header) .card-body {
    padding: clamp(18px, 2.4vw, 28px);
    background: transparent;
}
body.rg-public-profile-page :is(.uwp-profile-header, .uwp-profile-header-class, .uwp_widget_profile_header) .card-body img.rounded-circle {
    display: inline-block;
    width: clamp(88px, 10vw, 130px);
    height: clamp(88px, 10vw, 130px);
    min-width: 88px;
    object-fit: cover;
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(52, 25, 59, .12);
}
body.rg-public-profile-page .uwp-profile-name .uwp-user-title {
    margin: 0 0 8px;
    font-size: clamp(22px, 2.6vw, 32px);
    line-height: 1.22;
    font-weight: 800;
    color: #29242e;
    overflow-wrap: anywhere;
}
body.rg-public-profile-page .uwp-profile-title {
    margin-bottom: 8px;
}
body.rg-public-profile-page :is(.uwp-profile-header, .uwp-profile-header-class, .uwp_widget_profile_header) .card-body :is(p, .text-muted) {
    font-size: 14px;
    line-height: 1.55;
    color: #766d79;
}
/* Keep the plugin's actual tabs and privacy-controlled data: style only. */
body.rg-public-profile-page :is(.uwp-profile-tabs, .uwp-profile-tabs-class, .uwp_widget_profile_tabs) nav.navbar {
    margin: 20px 0 18px;
    padding: 10px 14px;
    border: 1px solid #eee3ef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(59, 26, 67, .05);
}
body.rg-public-profile-page #uwp-profile-tabs-nav .navbar-nav {
    gap: 6px 10px;
    align-items: center;
}
body.rg-public-profile-page #uwp-profile-tabs-nav .nav-item {
    margin: 0;
    border: 0;
}
body.rg-public-profile-page #uwp-profile-tabs-nav .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #6e5d72;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}
body.rg-public-profile-page #uwp-profile-tabs-nav .nav-item.active .nav-link,
body.rg-public-profile-page #uwp-profile-tabs-nav .nav-link[aria-current="page"] {
    border-color: #ecd6f0;
    background: #f8edfb;
    color: #9142a0;
}
body.rg-public-profile-page #uwp-profile-tabs-nav .nav-link:hover {
    background: #fbf4fd;
    color: #9142a0;
}
body.rg-public-profile-page #uwp-profile-tabs-nav .nav-link:focus-visible {
    outline: 2px solid #9142a0;
    outline-offset: 2px;
}
body.rg-public-profile-page .uwp-profile-content {
    padding: clamp(17px, 2.2vw, 26px);
    border: 1px solid #eee3ef;
    border-radius: 20px;
    background: linear-gradient(135deg, #fff, #fdf9fd);
    box-shadow: 0 9px 22px rgba(59, 26, 67, .045);
    min-width: 0;
    overflow-wrap: anywhere;
}
body.rg-public-profile-page .uwp-profile-entries {
    min-width: 0;
    font-size: 14px;
    line-height: 1.65;
}
body.rg-public-profile-page .uwp-profile-entries :is(p, li) {
    font-size: 14px;
    line-height: 1.65;
}
body.rg-public-profile-page .uwp-profile-entries a {
    color: #9142a0;
    text-underline-offset: 3px;
}
body.rg-public-profile-page :is(.uwp-profile-header, .uwp-profile-header-class, .uwp_widget_profile_header) :is(.btn, a.btn) {
    min-height: 40px;
    border-radius: 10px;
    font-size: 13px;
}
body.rg-public-profile-page :is(.uwp-profile-header, .uwp-profile-header-class, .uwp_widget_profile_header) :is(.btn, a.btn):focus-visible {
    outline: 2px solid #9142a0;
    outline-offset: 2px;
}
@media (max-width: 767px) {
    body.rg-public-profile-page .uwp-banner-image {
        height: 128px;
    }
    body.rg-public-profile-page :is(.uwp-profile-header, .uwp-profile-header-class, .uwp_widget_profile_header) > .card {
        border-radius: 18px;
    }
    body.rg-public-profile-page .uwp-profile-name .uwp-user-title {
        font-size: 23px;
    }
    body.rg-public-profile-page :is(.uwp-profile-tabs, .uwp-profile-tabs-class, .uwp_widget_profile_tabs) nav.navbar {
        margin: 14px 0;
        padding: 10px;
        border-radius: 14px;
    }
    body.rg-public-profile-page #uwp-profile-tabs-nav .nav-link {
        font-size: 13px;
    }
    body.rg-public-profile-page .uwp-profile-content {
        padding: 16px;
        border-radius: 17px;
    }
}
