.upcoming-panel-course-grid-card {

    &__image {
        width: 100%;
        height: 448px;

        &:after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 368px;
            border-radius: 0 0 16px 16px;
            background: linear-gradient(0deg, #131313 0.1%, rgba(19, 19, 19, 0.00) 99.45%);
            z-index: 1;
        }

        .bottom-content {
            position: absolute;
            bottom: 52px;
            left: 0;
            right: 0;
            z-index: 3;
        }

        @media (max-width: $screen-sm-max) {
            height: 348px;
        }
    }

    &__body {
        margin-bottom: -36px;
    }

    &__title {
        max-height: 42px;
        font-weight: 700;
        line-height: 21px;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    &__content {
        position: relative;
        top: -36px;
        height: 180px;
        z-index: 1;
    }


    &__actions-box {
        position: absolute;
        top: 4px;
        left: 12px;
        right: 12px;
        z-index: 3;


        .badge {
            padding: 4px 8px 4px 4px;
            border-radius: 32px;
            pointer-events: none;
            margin-top: 8px;
            margin-right: 8px;
        }

        .webinar-card-actions-btn {
            background: rgba(18, 31, 62, 0.40);
        }

        .rtl & {

            .badge {
                margin-right: 0;
                margin-left: 8px;
            }
        }
    }

    .is-live-course-icon {
        position: absolute;
        top: 174px;
        left: 50%;
        transform: translateX(-50%);
        border: 4px solid var(--white);
        background-color: rgba(255, 255, 255, 0.30);
        backdrop-filter: blur(5px);
        z-index: 2;

        @media (max-width: $screen-sm-max) {
            top: 134px;
        }
    }
}

.upcoming-course-follower-card {
    position: relative;

    &:after {
        content: "";
        position: absolute;
        top: 8px;
        bottom: -8px;
        left: 8px;
        right: 8px;
        z-index: -1;
        border-radius: 12px;
        border: 1px solid var(--gray-200);
    }
}
