/**
 * GPS 4.0 approved theme-only CSS.
 *
 * Start empty. Move rules from the legacy child theme only after confirming they are
 * still required with the current BuddyBoss parent and GPS 4.0 plugins.
 */


/* Preserve taller LearnDash course card image ratio used by the Academy design. */
.ld-course-list-content.grid-view .ld-course-list-items .ld_course_grid .bb-cover-list-item .bb-course-cover a {
    padding-top: 70%;
}

/* Hide LearnDash course card "See more" buttons. */
.ld-course-list-content.grid-view .ld_course_grid_button {
    display: none;
}

/* Hide LearnDash course participants in the BuddyBoss course sidebar. */
.lms-topic-sidebar-wrapper .lms-course-members-list {
    display: none;
}

/* Shared GPS 4.0 theme accent. */
:root {
    --gps-sidebar-accent: #7c3aed;
}

/* Match desktop header navigation hover/current states to the GPS sidebar accent. */
.site-header .primary-menu > li > a:hover,
.site-header .primary-menu > li.current-menu-item > a,
.site-header .primary-menu > li.current-menu-parent > a,
.site-header .primary-menu > li.current-menu-ancestor > a,
.site-header .primary-menu > li.current_page_item > a {
    color: var(--gps-sidebar-accent) !important;
}


/* Desktop header hover: preserve the header background; only text color changes. */
.site-header .primary-menu > li:hover,
.site-header .primary-menu > li:hover > a,
.site-header .primary-menu > li:hover > a > span {
    background: #232323 !important;
    background-color: #232323 !important;
}
