/* ======================================================
   BDOA MEMBER PROFILE
   ====================================================== */

/* Hide BuddyPress @username as the main profile identity */
body.buddypress.members #item-header-content .user-nicename {
    display: none;
}

/* BDOA identity block */
.bdoa-profile-identity {
    margin-top: 8px;
}

.bdoa-profile-name {
    font-size: 30px;
    line-height: 1.15;
    font-weight: 700;
    color: #111;
    margin-bottom: 6px;
}

.bdoa-profile-member-number {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #be173d;
    margin-bottom: 6px;
}

.bdoa-profile-location {
    font-size: 15px;
    color: #555;
    margin-bottom: 8px;
}

/* Make last-active text less dominant */
body.buddypress.members #item-header-content > span.activity {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #888;
}

/* Clean up the profile field table */
body.buddypress.members .profile-fields {
    border: 0;
}

body.buddypress.members .profile-fields td {
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
}

body.buddypress.members .profile-fields td.label {
    width: 28%;
    font-weight: 700;
    color: #444;
}

/* Slightly cleaner profile section title */
body.buddypress.members .bp-widget h2 {
    font-size: 22px;
    margin-bottom: 14px;
}

/* Mobile */
@media (max-width: 768px) {

    .bdoa-profile-name {
        font-size: 24px;
    }

    body.buddypress.members .profile-fields td,
    body.buddypress.members .profile-fields td.label {
        display: block;
        width: 100%;
    }

    body.buddypress.members .profile-fields td.label {
        padding-bottom: 4px;
        border-bottom: 0;
    }

    body.buddypress.members .profile-fields td.data {
        padding-top: 4px;
    }
}





/* ======================================================
   CLEAN BDOA PROFILE VIEW
   ====================================================== */

/* Hide BuddyPress username in cover/header */
body.buddypress #item-header-content .user-nicename,
body.buddypress #item-header-content h2.user-nicename {
    display: none !important;
}

/* Hide the default BuddyPress profile field table */
body.buddypress .bp-widget.member-profile .profile-fields,
body.buddypress .bp-widget.member-profile table.profile-fields {
    display: none !important;
}

/* If BuddyPress doesn't add member-profile class */
body.buddypress .profile .bp-widget table.profile-fields {
    display: none !important;
}

/* Hide default "Member Profile" section heading if table is gone */
body.buddypress .profile .bp-widget > h2 {
    display: none;
}


/* CUSTOM MEMBER DETAILS */

.bdoa-member-details {
    margin-top: 25px;
    max-width: 850px;
}

.bdoa-member-detail-card {
    padding: 22px 0;
    border-bottom: 1px solid #e5e5e5;
}

.bdoa-member-detail-card:first-child {
    padding-top: 0;
}

.bdoa-member-detail-card h3 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: #777;
    margin: 0 0 7px;
}

.bdoa-member-detail-card p {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: #222;
}

.bdoa-favorite-beer p {
    font-weight: 600;
}


/* Tighten member header spacing */
.bdoa-profile-identity {
    margin-top: 12px;
    margin-bottom: 20px;
}


/* MOBILE */

@media (max-width: 768px) {

    .bdoa-member-detail-card {
        padding: 18px 0;
    }

    .bdoa-member-detail-card p {
        font-size: 16px;
    }

}



/* ======================================================
   BDOA MEMBER COMMUNITIES
   ====================================================== */

.bdoa-member-communities {
    max-width: 850px;
    margin-top: 30px;
}

.bdoa-member-communities > h3 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: #777;
    margin: 0 0 12px;
}

.bdoa-community-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #e5e5e5;
}

.bdoa-community-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid #e5e5e5;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 600;
}

.bdoa-community-item img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.bdoa-community-item:hover span {
    text-decoration: underline;
}



