/*======================================
Theme Name: Ignition High
Version: 1.0
Template: buddyboss-theme
======================================*/


/* You can add your own CSS styles here. Use !important to overwrite styles if needed. */


/* Make skip link visible when focused for keyboard users */
.skip-link.screen-reader-text:focus {
    position: static;
    clip: auto;
    width: auto;
    height: auto;
    margin: 0;
    padding: 15px;
    background: #000;
    color: #fff;
    z-index: 100000;
}

/* Style the search form button in the header */
.search-form button {
    border: none;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

form.search-form button[type=submit] {
    position: absolute;
    right: 0;
    background: transparent;
    border: 0;
    color: #000;
    cursor: pointer;
}

.theme-camp-meta {
    margin: 2px 0 0;
    color: #6f7c8b;
    font-size: 0.9em;
}

.ignition-local-banner {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    background: #1a202c;
    color: #f5f6f7;
    text-align: center;
    padding: 10px 15px;
    font-size: 15px;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.item-meta {
    font-size: 0.95em !important;
}

.bbp-author-role {
    display: none !important;
}

.item-description {
    padding: 1em 0;
    font-size: 15px !important;
}
li.bs-item-wrap.bs-header-item.align-items-center.header-total-reply-count {
    background-color: #7cacb3 !important;
    color: #fff !important;
}

/* Align avatars on enrolled class cards with their cover image */
.buddypress-wrap ul.bp-list.groups-dir-list.grid.bb-cover-enabled .group-avatar-wrap img.avatar,
.ignitionhigh-enrolled-classes ul.bp-list.enrolled-classes-list.grid.bb-cover-enabled .group-avatar-wrap img.avatar {
    margin-top: -47px;
}

/* Enrolled classes layout tweaks */
.enrolled-classes-list .list-wrap {
    padding: 0 !important; 
    padding-bottom: 20px !important;
}

.enrolled-classes-list .group-avatar-wrap {
    margin-top: -47px !important;
}

.enrolled-classes-list .group-avatar-wrap img {
    border-radius: 15px !important;
    padding: 3px !important;
    background: #fff !important;
}

/* Disabled enrol buttons */
.button.ignitionhigh-enrol-button.is-disabled,
.button.ignitionhigh-enrol-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(0.2);
}

/* Allow horizontal overflow when needed (BuddyBoss defaults hide it) */
body,
#page {
    overflow-x: visible !important;
}

/* Keep the header visible while scrolling */
#masthead {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Offset sticky header when the admin bar is present */
body.admin-bar #masthead {
    top: 32px;
}

#members-groups-li { 
    display: none;
}