/**
 * Single Course Page Styles
 *
 * Styles for the single-sfwd-courses.php template, used to display an
 * individual LearnDash Course page. Hides redundant elements (e.g. the
 * theme's featured image) that are already rendered by the LearnDash
 * course block itself.
 *
 * @package dmc-bridge-child
 * @see     templates/single-sfwd-courses.php
 */

/* Style the Single Course page */
.single-sfwd-courses {
    /* The course already includes the featured image, so we hide the redundant one. */
    .post_image {
        display: none !important;
    }

    /*
     * Right sidebar
     */
    .ld-layout__sidebar {
        /*
         * Hide the 'login' link. We are using JS to force the user to log in before
         * accessing the group page, so this link is redundant and can be confusing
         * if it appears on the page after login.
         */
        .ld-enrollment__login {
            position: absolute !important;
            left: -9999px !important;
        }
    }
}
