﻿
/* ===================== GLOBAL FONT ===================== */
html, body,
input, button, textarea, select,
a, p, span, li, label, div,
h1, h2, h3, h4, h5, h6 {
    font-family: 'Google Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

ul, ol {
    padding-left: 30px;
}

.rbt-instructor .about-author .thumbnail a img {
    aspect-ratio: 1;
}

.about-author .thumbnail a img {
    object-fit: cover;
    object-position: center;
    aspect-ratio: 1;
}

.line-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.skeleton-container > .placeholder {
    position: relative;
    overflow: hidden;
    background: #ccc;
    border-radius: 3px;
}

    .skeleton-container > .placeholder:after {
        content: "";
        position: absolute;
        height: 100%;
        width: 100px;
        left: -100px;
        top: 0;
        background: linear-gradient(to right, transparent, #ffffff70, transparent);
        animation: reflect 800ms ease-out infinite;
    }

@keyframes reflect {
    to {
        left: calc(100% + 100px);
    }
}

.skeleton-course-content {
    display: flex;
    flex-direction: unset;
    justify-content: space-between;
    border-bottom: 1px solid #e6e3f1 !important;
    padding: 0px 0px 20px 0;
}

    .skeleton-course-content > .skeleton-container > .placeholder {
        min-height: 27px;
    }

#btnShowMoreCourseReview:hover {
    cursor: pointer;
}

#sectionMoreCourse .rbt-author-info {
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

#sectionRelatedCourse .rbt-author-info {
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

#btnRegisterCourse:hover {
    cursor: pointer;
}

.imgMore {
    object-position: center;
    aspect-ratio: 355/244;
}

/* course detail breadcrumb */
.course-detail-breadcrumb-bar {
    background: #E4E4E4;
    height: 44px;
}

.course-detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 44px;
    color: #070A0E;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    min-width: 0;
    overflow: hidden;
}

.course-detail-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #070A0E;
}

.course-detail-breadcrumb a:hover,
.course-detail-breadcrumb .current {
    color: #3431C6;
}

.course-detail-breadcrumb .current {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.course-detail-breadcrumb i {
    font-size: 16px;
    line-height: 1;
}

/* course detail hero */
.course-detail-hero {
    padding-top: 40px;
    margin-bottom: 48px;
}

.course-image {
    position: relative;
    height: 521px;
    width: 100%;
    border-radius: 10px !important;
    overflow: hidden;
}

    .course-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: 10px !important;
    }

/* Course short info */
.course-card {
    position: relative;
    min-height: 243px;
    z-index: 2;
    width: calc(100% - 200px);
    margin: -103px auto 0;
    padding: 28px 36px 26px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 35px rgba(20, 20, 43, 0.08);
}

.course-card-top,
.course-card-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.course-card-bottom-row {
    align-items: center;
}

.course-card > .y {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.course-meta-list {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
}

.course-meta-item {
    flex: 0 1 auto;
    min-width: 82px;
}

.course-meta-rating {
    min-width: 220px;
}

.course-meta-author {
    min-width: 240px;
    max-width: 420px;
}

    .course-meta-author .info-value {
        overflow-wrap: anywhere;
    }

.course-rating-line {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 18px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.course-action-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex: 0 0 auto;
}

.course-card-top-right {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    flex: 0 0 auto;
}

.course-card-top-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    flex: 0 0 auto;
}

.course-card-top-actions #sectionButton {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.course-card-action-btn {
    appearance: none;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    text-align: center;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.course-card-action-btn i {
    font-size: 16px;
    line-height: 1;
}

.course-card-action-btn--primary {
    background: #3431C6;
    border-color: #3431C6;
    color: #fff;
    box-shadow: none;
}

.course-card-action-btn--primary:hover {
    background: #2924ad;
    border-color: #2924ad;
    color: #fff;
}

.course-card-action-btn--outline {
    background: #fff;
    border-color: #3431C6;
    color: #3431C6;
    box-shadow: none;
}

.course-card-action-btn--outline:hover {
    background: #F0EFFF;
    border-color: #3431C6;
    color: #3431C6;
}

.course-card-action-btn--muted {
    background: #F2F3F5;
    border-color: #D8DCE3;
    color: #555C6B;
    cursor: default;
    box-shadow: none;
}

.certificate-review-prompt {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #F1D08A;
    border-radius: 8px;
    background: #FFF8E8;
    color: #3B2A08;
}

.certificate-review-prompt__icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: #F3B737;
    color: #fff;
    font-size: 18px;
}

.certificate-review-prompt__body {
    min-width: 0;
    flex: 1 1 auto;
}

.certificate-review-prompt__title {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 4px;
}

.certificate-review-prompt__desc {
    font-size: 13px;
    line-height: 1.5;
    color: #5E4B1C;
}

.certificate-review-prompt__steps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.certificate-review-step {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #D7B467;
    border-radius: 8px;
    background: #fff;
    color: #3B2A08;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.certificate-review-step:hover {
    border-color: #3431C6;
    color: #3431C6;
    background: #F7F6FF;
}

.certificate-review-step.is-done {
    border-color: #B8E2C6;
    background: #EAF8EF;
    color: #137333;
    cursor: default;
}

.certificate-review-step__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.certificate-review-prompt__action {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    margin-top: 12px;
    padding: 0 14px;
    border: 1px solid #3431C6;
    border-radius: 8px;
    background: #3431C6;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.certificate-review-prompt__action:hover {
    background: #2924ad;
    border-color: #2924ad;
    color: #fff;
}

.badge-featured {
    background: #352fd3;
    color: #fff;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.course-card-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.badge-completed {
    background: #EAF8EF;
    border: 1px solid #B8E2C6;
    color: #137333;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.course-title {
    font-size: 24px;
    font-weight: 700;
    color: #080b12;
    margin: 24px 0 22px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.author-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
}

.info-label {
    font-size: 14px;
    color: #4A4C4F;
    margin-bottom: 4px;
    font-weight: 500;
}

.info-value {
    font-size: 14px;
    color: #070A0E;
    font-weight: 700;
}

.rating-stars {
    color: #ffa62b;
    font-size: 14px;
    letter-spacing: 1px;
    white-space: nowrap;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    flex: 0 0 auto;
}

    .rating-stars i {
        display: inline-flex;
        align-items: center;
        line-height: 1;
    }

.rating-text {
    font-size: 13px;
    color: #2d2d34;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    position: static;
    top: auto;
    margin: 0;
    padding: 0;
}

.save-box {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    color: #111;
    cursor: pointer;
}

.save-icon {
    width: 34px;
    height: 34px;
    border-radius: 5px;
    background: #cfcfcf;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
}

.save-icon .icon-bookmark {
    width: 22px;
    height: 22px;
}

.save-box.is-wishlist-active {
    color: #3431C6;
}

.save-box.is-wishlist-active .save-icon {
    background: #3431C6;
}

.save-box.is-wishlist-active .save-icon i {
    color: #fff !important;
}

.btn-outline-main,
.btn-main {
    border-radius: 8px;
    padding: 11px 22px;
    font-size: 16px;
    font-weight: 600;
    min-width: 136px;
    line-height: 1.2;
}

.btn-outline-main {
    border: 1px solid #352fd3;
    color: #352fd3;
    background: #fff;
}

    .btn-outline-main:hover {
        background: #352fd3;
        color: #fff;
    }

.btn-main {
    background: #352fd3;
    border: 1px solid #352fd3;
    color: #fff;
}

    .btn-main:hover {
        background: #2924ad;
        border-color: #2924ad;
        color: #fff;
    }

.course-assessment-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.course-assessment-modal.is-visible {
    display: flex;
}

.course-assessment-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
}

.course-assessment-modal.is-visible .course-assessment-modal__backdrop {
    animation: courseModalBackdropIn 180ms ease-out both;
}

.course-assessment-modal__dialog {
    position: relative;
    width: 470px;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 5px;
    box-shadow: 0 18px 48px rgba(7, 10, 14, 0.22);
}

.course-assessment-modal.is-visible .course-assessment-modal__dialog {
    animation: courseModalDialogIn 220ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes courseModalBackdropIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes courseModalDialogIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .course-assessment-modal.is-visible .course-assessment-modal__backdrop,
    .course-assessment-modal.is-visible .course-assessment-modal__dialog {
        animation: none;
    }
}

.course-assessment-modal__header {
    height: 53px;
    background: #3431C6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 44px;
}

.course-assessment-modal__header h2 {
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
}

.course-assessment-modal__close {
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.course-assessment-modal__body {
    display: flex;
    background:#fff;
    flex-direction: column;
    justify-content: center;
    padding: 22px 32px 30px;
    overflow-x: hidden;
}

.course-assessment-modal__body p {
    margin: 0 auto 28px;
    max-width: 330px;
    color: #070A0E;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
    text-align: center;
}

.course-assessment-modal__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}

.course-assessment-modal__message-heading {
    margin-bottom: 10px !important;
    font-weight: 700 !important;
}

.course-assessment-modal__message-text {
    margin-bottom: 0 !important;
}

.course-assessment-modal__message-subtitle {
    margin: 8px auto 14px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.course-assessment-modal__condition-table {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    border-collapse: collapse;
}

.course-assessment-modal__condition-table td {
    border: 0;
    padding: 8px 4px;
    color: #070A0E;
    font-size: 14px;
    line-height: 1.4;
    vertical-align: top;
}

.course-assessment-modal__condition-status {
    width: 28px;
    text-align: center;
}

.course-assessment-modal__condition-content {
    text-align: left;
}

.course-assessment-modal__field {
    margin-bottom: 24px;
    min-width: 0;
}

.course-assessment-modal__field label {
    display: block;
    margin-bottom: 8px;
    color: #070A0E;
    font-size: 14px;
    font-weight: 700;
}

.course-assessment-modal__field input {
    width: 100%;
    height: 44px;
    border: 1px solid #d8d8e8;
    border-radius: 6px;
    padding: 0 12px;
    color: #070A0E;
    font-size: 14px;
}

.course-assessment-modal__field input:focus {
    border-color: #3431C6;
    box-shadow: 0 0 0 3px rgba(52, 49, 198, 0.12);
    outline: none;
}

.course-assessment-modal__voucher-list {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.course-assessment-modal__field .course-assessment-modal__voucher-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin-bottom: 0;
    border: 1px solid #d8d8e8;
    border-radius: 6px;
    padding: 10px 12px;
    color: #070A0E;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
}

.course-assessment-modal__field .course-assessment-modal__voucher-item input {
    width: auto;
    height: auto;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    box-shadow: none;
}

.course-assessment-modal__voucher-item span {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
}

.course-assessment-modal__voucher-item strong {
    flex: 0 1 auto;
    color: #3431C6;
    font-size: 13px;
    text-align: right;
    white-space: normal;
}

.course-assessment-modal__voucher-empty {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #d8d8e8;
    border-radius: 6px;
    padding: 10px 12px;
    color: #5f6270;
    font-size: 14px;
}

.course-assessment-modal__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.course-assessment-modal__actions--single {
    grid-template-columns: 1fr;
}

.course-assessment-modal__btn {
    min-width: 0;
    height: 46px;
    border-radius: 6px;
    border: 1px solid #3431C6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.course-assessment-modal__btn--outline {
    background: #fff;
    color: #3431C6;
}

.course-assessment-modal__btn--outline:hover {
    background: #F0EFFF;
    color: #3431C6;
}

.course-assessment-modal__btn--primary {
    background: #3431C6;
    color: #fff;
}

.course-assessment-modal__btn--primary:hover {
    background: #2924ad;
    border-color: #2924ad;
    color: #fff;
}

@media (max-width: 1199.98px) {
    .course-card {
        width: calc(100% - 96px);
    }

    .course-meta-list {
        flex-wrap: wrap;
        row-gap: 18px;
    }

    .course-action-buttons {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 991.98px) {
    .course-detail-hero {
        padding-top: 28px;
        margin-bottom: 34px;
    }

    .course-image {
        height: 320px;
    }

    .course-card {
        width: calc(100% - 48px);
        margin-top: -72px;
        padding: 24px;
    }

    .course-card-bottom-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .course-card-top-actions,
    .course-card-top-actions #sectionButton {
        justify-content: flex-start;
        width: 100%;
    }

    .course-title {
        font-size: 20px;
    }

    .course-sidebar.sticky-top {
        position: static;
        top: auto;
    }

    .course-sidebar-top {
        margin-top: 24px;
    }

    .rbt-course-details-area {
        padding-top: 35px;
        padding-bottom: 40px;
    }
}

@media (max-width: 767.98px) {
    .course-detail-breadcrumb-bar,
    .course-detail-breadcrumb {
        height: auto;
        min-height: 40px;
    }

    .course-detail-breadcrumb {
        padding: 8px 0;
        font-size: 14px;
    }

    .rbt-inner-onepage-navigation .mainmenu-nav .mainmenu {
        display: flex;
        flex-wrap: nowrap;
        min-width: 0;
        justify-content: space-between;
    }

    .rbt-inner-onepage-navigation .mainmenu-nav .mainmenu li {
        flex: 1 1 0;
        min-width: 0;
        text-align: center;
    }

    .rbt-inner-onepage-navigation .mainmenu-nav .mainmenu li a {
        padding: 10px 6px;
        font-size: 13px;
        white-space: nowrap;
    }

    #introduction,
    #objective,
    #coursecontent,
    #details,
    #intructor,
    #review {
        scroll-margin-top: 90px;
    }

    .rbt-title-style-3 {
        font-size: 24px;
        line-height: 1.25;
    }

    .rbt-course-feature-box {
        padding-top: 10px;
    }

    .course-details-content img,
    .course-details-content iframe,
    .course-details-content video {
        max-width: 100%;
        height: auto;
    }

    .course-details-content table {
        display: block;
        width: 100%;
        overflow-x: auto;
    }

    .inner {
        padding: 14px !important;
    }
}

@media (max-width: 575.98px) {
    .course-detail-hero {
        padding-top: 20px;
        margin-bottom: 32px;
    }

    .course-image {
        height: 240px;
    }

    .course-card {
        width: 100%;
        margin-top: -54px;
        border-radius: 12px;
        padding: 18px 16px;
    }

    .course-card > .y {
        flex-direction: column;
        gap: 14px;
    }

    .badge-featured,
    .badge-completed {
        font-size: 12px;
        padding: 7px 12px;
    }

    .course-title {
        font-size: 18px;
        margin: 16px 0;
    }

    .course-card-top {
        align-items: flex-start;
        gap: 12px;
    }

    .course-card-top-right,
    .course-card-top-actions,
    .course-card-top-actions #sectionButton {
        width: 100%;
        justify-content: flex-start;
    }

    .course-card-top-right {
        align-items: stretch;
    }

    .course-meta-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .course-meta-item,
    .course-meta-rating,
    .course-meta-author {
        min-width: 100%;
    }

    .course-action-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .certificate-review-prompt {
        padding: 14px;
        gap: 10px;
    }

    .certificate-review-prompt__steps,
    .certificate-review-step,
    .certificate-review-prompt__action {
        width: 100%;
    }

    .certificate-review-step {
        justify-content: flex-start;
    }

    .course-card-top-actions,
    .course-card-top-actions #sectionButton {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .btn-outline-main,
    .btn-main,
    .course-card-action-btn {
        width: 100%;
        min-width: auto;
    }

    .course-assessment-modal__dialog {
        min-height: 227px;
    }

    .course-assessment-modal__body {
        padding: 20px 18px 24px;
    }

    .course-assessment-modal__actions {
        gap: 10px;
    }

    .course-assessment-modal__btn {
        padding: 0 10px;
        font-size: 12px;
    }

    .author-avatar {
        width: 48px;
        height: 48px;
    }

    .rbt-inner-onepage-navigation .mainmenu-nav .mainmenu {
        padding: 10px 6px;
    }

    .rbt-inner-onepage-navigation .mainmenu-nav .mainmenu li {
        margin: 2px;
    }

    .rbt-inner-onepage-navigation .mainmenu-nav .mainmenu li a {
        padding: 8px 2px;
        font-size: 12px;
    }
}

/* Right info pannel */


.course-sidebar .social-share-wrapper {
    background: none;
}

.course-social-share h3 {
    color: #070A0E;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 14px;
}

.course-social-share .social-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.course-social-share .social-icon li {
    margin: 0;
}

.course-social-share .social-icon li a {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    border: 0;
    background: #3431C6;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.course-social-share .social-icon li a:hover {
    background: #2825a8;
    color: #fff;
    transform: translateY(-1px);
}

.course-social-share .social-icon li a i {
    font-size: 16px;
    line-height: 1;
}


.rbt-breadcrumb-default.rbt-breadcrumb-style-3 {
    display: none;
}

.course-sidebar-top {
    margin-top: 0px;
    padding: 10px;
}

.rbt-widget-details .has-show-more {
    padding: 20px;
}

.inner {
    padding: 15px !important;
    border-radius: 8px;
    box-shadow: 0 18px 35px rgba(20, 20, 43, 0.08);
    background: white;
    /* margin: 20px; */
    margin-bottom: 30px;
}

.course-payment-inline {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
}

.course-payment-old-inline {
    color: #8A8D96;
    font-weight: 600;
    text-decoration: line-through;
}

/* nav tab */
.course-detail-onepage-scope {
    position: relative;
    overflow: visible;
}

.rbt-inner-onepage-navigation {
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    z-index: 20;
}

.course-detail-sticky-nav {
    background: #fff;
}

.course-detail-sticky-nav.is-fixed {
    position: fixed;
    right: auto;
    z-index: 100;
    margin-top: 0 !important;
}

.course-detail-sticky-nav.is-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100% !important;
    z-index: 20;
    margin-top: 0 !important;
}

.course-detail-sticky-nav-spacer {
    display: none;
    width: 100%;
    pointer-events: none;
}

.course-detail-sticky-nav-spacer.is-active {
    display: block;
}

#introduction,
#objective,
#coursecontent,
#details,
#intructor,
#review {
    scroll-margin-top: 110px;
}

    /* Reset hiệu ứng cũ bị phình thành ô tròn */
    .rbt-inner-onepage-navigation .mainmenu-nav .mainmenu li a::before {
        display: none !important;
    }

    .rbt-inner-onepage-navigation .mainmenu-nav .mainmenu li a {
        position: relative;
        background: transparent !important;
        color: #1f2937;
        border-radius: 0 !important;
        transition: color 0.2s ease;
    }

        /* Gạch chân mặc định */
        .rbt-inner-onepage-navigation .mainmenu-nav .mainmenu li a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 0;
            height: 3px;
            background: #352fd3 !important;
            border-radius: 0 !important;
            transform: none !important;
            transition: width 0.2s ease;
        }

    /* Active + hover */
    .rbt-inner-onepage-navigation .mainmenu-nav .mainmenu li.current a,
    .rbt-inner-onepage-navigation .mainmenu-nav .mainmenu li:hover a {
        color: #352fd3 !important;
        background: transparent !important;
    }

        .rbt-inner-onepage-navigation .mainmenu-nav .mainmenu li.current a::after,
        .rbt-inner-onepage-navigation .mainmenu-nav .mainmenu li:hover a::after {
            width: 100%;
        }

.rbt-course-feature-box {
    padding-top: 20px;
}

.rbt-course-feature-inner p {
    font-size: 16px;
    color: #070A0E;
}

#objective-content {
    font-size: 16px;
    color: #070A0E;
    padding-left: 20px;
}

/* Content introduction */
.rbt-title-style-3 {
    border: none;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: -10px;
}

/* Instructor card */
.rbt-instructor.intructor-wrapper {
    box-shadow: none;
    padding: 0;
    background: transparent;
}

.course-instructor-card {
    display: flex;
    align-items: stretch;
    gap: 18px;
    width: 100%;
    padding: 18px;
    background: #3431C6;
    border-radius: 6px;
    box-shadow: 0 12px 28px rgba(20, 20, 43, 0.16);
}

.course-instructor-avatar {
    display: block;
    width: 154px;
    height: 154px;
    flex: 0 0 154px;
    overflow: hidden;
    border-radius: 10px;
}

.course-instructor-avatar img,
.instructor-info-avatar-image {
    width: 154px;
    height: 154px;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

.course-instructor-body {
    flex: 1 1 auto;
    min-width: 0;
    color: #fff;
}

.course-instructor-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.course-instructor-main {
    min-width: 0;
}

.course-instructor-name {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
}

.course-instructor-name a,
.course-instructor-name a:hover {
    color: #fff;
}

.course-instructor-role {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    color: #fff;
}

.course-instructor-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex: 0 0 auto;
}

.course-instructor-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.course-instructor-social a:hover {
    background: rgba(255, 255, 255, 0.28);
    color: #fff;
    transform: translateY(-1px);
}

.course-instructor-social i {
    font-size: 16px;
    line-height: 1;
}

.course-instructor-description {
    margin: 15px 0 0;
    max-width: 720px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    color: #fff;
}

/* Course reviews */
.course-review-section {
    background: transparent;
}

.course-review-tabs {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #E6E6E6;
}

.course-review-tab {
    min-width: 168px;
    padding: 0 16px 14px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #11131A;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.course-review-tab.is-active {
    border-bottom-color: #3431C6;
    color: #3431C6;
    font-weight: 800;
}

.course-review-overview {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 24px;
}

.course-review-score {
    min-height: 150px;
    padding: 26px 18px;
    background: #ECEBFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.course-review-score__number {
    color: #202028;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.course-review-score__stars,
.course-review-bar__stars,
.course-review-item__stars {
    color: #FFA62B;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
    white-space: nowrap;
}

.course-review-score__stars {
    margin-top: 10px;
    font-size: 14px;
}

.course-review-score__label {
    margin-top: 8px;
    color: #34353A;
    font-size: 12px;
    font-weight: 500;
}

.course-review-write-btn {
    min-width: 118px;
    min-height: 38px;
    margin-top: 13px;
    padding: 0 16px;
    border: 1px solid #3431C6;
    border-radius: 6px;
    background: #ECEBFF;
    color: #3431C6;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.course-review-write-btn:hover {
    background: #3431C6;
    color: #FFFFFF;
}

.course-review-bars {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 13px;
}

.course-review-bar {
    display: grid;
    grid-template-columns: 92px minmax(120px, 1fr) 48px;
    align-items: center;
    gap: 12px;
}

.course-review-bar__stars {
    font-size: 13px;
}

.course-review-bar__stars .is-empty,
.course-review-item__stars .far {
    color: #D9D9D9;
}

.course-review-bar__track {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #D9D9D9;
}

.course-review-bar__fill {
    height: 100%;
    border-radius: inherit;
    background: #3431C6;
}

.course-review-bar__value {
    min-width: 48px;
    padding: 5px 8px;
    border-radius: 3px;
    background: #F5F5F5;
    color: #26272B;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
}

.course-review-form {
    margin: 0 0 16px;
    padding: 16px;
    border: 1px solid #E6E6E6;
    border-radius: 8px;
    background: #FFFFFF;
}

.course-review-form__rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.course-review-form__star {
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #D9D9D9;
    font-size: 18px;
    line-height: 1;
}

.course-review-form__star.is-active {
    color: #FFA62B;
}

.course-review-form textarea {
    width: 100%;
    min-height: 88px;
    padding: 12px;
    border: 1px solid #DADADB;
    border-radius: 6px;
    color: #252832;
    font-size: 14px;
    line-height: 1.45;
    resize: vertical;
}

.course-review-form__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 12px;
}

.course-review-form__message {
    margin-right: auto;
    color: #4A4C4F;
    font-size: 13px;
    font-weight: 600;
}

.course-review-form__message.is-error {
    color: #D92D20;
}

.course-review-form__message.is-success {
    color: #07844A;
}

.course-review-form__cancel,
.course-review-form__submit {
    min-height: 36px;
    padding: 0 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.course-review-form__cancel {
    border: 1px solid #DADADB;
    background: #FFFFFF;
    color: #34353A;
}

.course-review-form__submit {
    border: 1px solid #3431C6;
    background: #3431C6;
    color: #FFFFFF;
}

.course-review-list {
    display: flex;
    flex-direction: column;
}

.course-review-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px solid #E6E6E6;
}

.course-review-item__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
}

.course-review-item__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-review-item__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
    min-width: 0;
}

.course-review-item__name {
    color: #11131A;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
}

.course-review-item__date {
    color: #5F6470;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.2;
}

.course-review-item__comment {
    margin: 0;
    color: #252832;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
}

.course-review-item__rating {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 2px;
}

.course-review-item__rating-number {
    color: #11131A;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.course-review-item__stars {
    font-size: 14px;
}

.course-review-empty {
    padding: 22px 0;
    color: #4A4C4F;
    font-size: 14px;
    font-weight: 600;
}

.course-review-pagination.shared-pagination__list .course-category-page-item a,
.course-review-pagination.shared-pagination__list .shared-pagination__ellipsis span {
    min-width: 34px;
    height: 34px;
    padding: 0 12px;
    font-size: 13px;
}

.course-review-pagination.shared-pagination__list .course-category-page-prev a,
.course-review-pagination.shared-pagination__list .course-category-page-next a {
    min-width: 58px;
}



.accordion-item {
    border-radius: 8px;
}

/* Bài giảng */
.rbt-accordion-style.rbt-accordion-02 .card .card-header {
    border: 1px solid #e6e3f1;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 18px 35px rgba(20, 20, 43, 0.08);
}

    .rbt-accordion-style.rbt-accordion-02 .card .card-header button::before{
        right: 0px;
    }

.rbt-accordion-style.rbt-accordion-02 .card .card-body {
    padding: 20px 20px 20px 20px;
}

.rbt-course-main-content .course-content-right {
    margin: 0 7px;
    margin-bottom: -10px;
}

.rbt-accordion-style.rbt-accordion-02 .card {
    border-radius: 8px !important;
}

.rbt-accordion-style .card .card-header button {
    font-size: 16px;
    font-weight: 400;
}

@media (max-width: 768px) {
    .course-instructor-card {
        flex-direction: column;
        padding: 16px;
    }

    .course-instructor-avatar,
    .course-instructor-avatar img,
    .instructor-info-avatar-image {
        width: 120px;
        height: 120px;
        flex-basis: 120px;
    }

    .course-instructor-header {
        flex-direction: column;
        gap: 14px;
    }

    .course-instructor-social {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .course-review-overview {
        grid-template-columns: 1fr;
    }

    .course-review-tabs {
        overflow-x: auto;
    }

    .course-review-tab {
        min-width: 150px;
        white-space: nowrap;
    }

    .course-review-bar {
        grid-template-columns: 82px minmax(80px, 1fr) 44px;
        gap: 8px;
    }

    .course-review-item {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .course-review-item__avatar {
        width: 42px;
        height: 42px;
    }

    .course-review-item__rating {
        grid-column: 2;
        padding-top: 0;
    }

    .course-review-item__meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .course-review-form__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .course-review-form__message {
        margin-right: 0;
    }
}

/* Instructor and related courses - matches _CourseOnHomepage card style */
.rbt-instructor-course-area {
    padding-top: 60px;
    background: #F5F5FD;
}

.rbt-related-course-area {
    padding-top: 60px;
    background: #ffffff;
}

:is(.rbt-instructor-course-area, .rbt-related-course-area) .section-subtitle-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

:is(.rbt-instructor-course-area, .rbt-related-course-area) .section-subtitle-wrapper .text-subtitle {
    font-family: 'Google Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: #070A0E;
}

:is(.rbt-instructor-course-area, .rbt-related-course-area) .section-subtitle-wrapper .line {
    width: 40px;
    height: 1px;
    background-color: #070A0E;
}

:is(.rbt-instructor-course-area, .rbt-related-course-area) .section-main-title.text-dark-blue {
    font-family: 'Google Sans', sans-serif;
    font-weight: 700;
    font-size: 55px;
    line-height: 72px;
    letter-spacing: 0;
    background: linear-gradient(270deg, #3431C6 0%, #000021 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

:is(.rbt-instructor-course-area, .rbt-related-course-area) .related-course-actions {
    margin-bottom: 10px;
}

:is(.rbt-instructor-course-area, .rbt-related-course-area) .filter-btn {
    font-family: 'Google Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    background-color: #3431C6;
    color: #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
}

:is(.rbt-instructor-course-area, .rbt-related-course-area) .filter-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    color: #ffffff;
}

#sectionRelatedCourse .custom-course-card {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#sectionRelatedCourse .custom-course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

#sectionRelatedCourse .custom-course-card .card-image {
    position: relative;
    width: 100%;
    height: 272px;
}

#sectionRelatedCourse .custom-course-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#sectionRelatedCourse .bookmark-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 34px;
    height: 34px;
    background-color: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

#sectionRelatedCourse .bookmark-btn:hover {
    background-color: #3431C6;
}

#sectionRelatedCourse .bookmark-btn.is-wishlist-active {
    background-color: #3431C6;
}

#sectionRelatedCourse .bookmark-btn .text-primary {
    color: #fff !important;
}

#sectionRelatedCourse .bookmark-btn:hover .text-primary {
    color: #fff !important;
}

#sectionRelatedCourse .bookmark-btn .icon-bookmark {
    width: 22px;
    height: 22px;
}

#sectionRelatedCourse .related-course-legacy-actions {
    display: none;
}

#sectionRelatedCourse .related-course-empty {
    width: 100%;
    min-height: 140px;
    border: 1px dashed #DADADB;
    border-radius: 5px;
    background: #fff;
    color: #4A4C4F;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
}

#sectionRelatedCourse .custom-course-card .card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

#sectionRelatedCourse .custom-course-card .card-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 13px;
}

#sectionRelatedCourse .custom-course-card .card-meta li {
    font-family: 'Google Sans', sans-serif;
    color: #070A0E;
    font-weight: 400;
    font-size: 14px;
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
}

#sectionRelatedCourse .custom-course-card .card-meta li:first-child {
    max-width: 38%;
}

#sectionRelatedCourse .custom-course-card .card-meta li span,
#sectionRelatedCourse .custom-course-card .card-meta li {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#sectionRelatedCourse .custom-course-card .card-meta i {
    color: #3431C6;
    font-size: 16px;
    flex: 0 0 auto;
}

#sectionRelatedCourse .custom-course-card .card-title {
    font-family: 'Google Sans', sans-serif;
    font-size: 18px;
    color: #000000E0;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 28px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 56px;
}

#sectionRelatedCourse .custom-course-card .card-title a {
    text-decoration: none;
    color: inherit;
}

#sectionRelatedCourse .custom-course-card .card-title a:hover {
    color: #3431C6;
}

#sectionRelatedCourse .custom-course-card .card-desc {
    font-family: 'Google Sans', sans-serif;
    font-size: 14px;
    color: #000000E0;
    font-weight: 400;
    line-height: 20px;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

#sectionRelatedCourse .custom-course-card .card-bottom {
    font-family: 'Google Sans', sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid #DADADB;
    padding-top: 16px;
}

#sectionRelatedCourse .rating-box-custom {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

#sectionRelatedCourse .author-avatar {
    display: block;
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
    flex: 0 0 40px;
}

#sectionRelatedCourse .author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

#sectionRelatedCourse .author-info {
    padding-left: 10px;
    font-family: 'Google Sans', sans-serif;
    font-size: 14px;
    min-width: 0;
}

#sectionRelatedCourse .author-name {
    color: black;
    font-weight: 700;
    max-width: 135px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#sectionRelatedCourse .rating-num {
    font-weight: 700;
    color: #000000E0;
    font-size: 16px;
    line-height: 24px;
}

#sectionRelatedCourse .stars {
    color: #F8B81F;
    font-size: 12px;
    display: flex;
    gap: 2px;
}

#sectionRelatedCourse .stars .empty {
    color: #CCCCCC;
}

#sectionRelatedCourse .review-count {
    display: flex;
    font-size: 12px;
    line-height: 24px;
    color: #000000E0;
    font-weight: 300;
    text-align: right;
}

#sectionMoreCourse .custom-course-card {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#sectionMoreCourse .custom-course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

#sectionMoreCourse .custom-course-card .card-image {
    position: relative;
    width: 100%;
    height: 272px;
}

#sectionMoreCourse .custom-course-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#sectionMoreCourse .bookmark-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 34px;
    height: 34px;
    background-color: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

#sectionMoreCourse .bookmark-btn:hover,
#sectionMoreCourse .bookmark-btn.is-wishlist-active {
    background-color: #3431C6;
}

#sectionMoreCourse .bookmark-btn .text-primary,
#sectionMoreCourse .bookmark-btn:hover .text-primary {
    color: #fff !important;
}

#sectionMoreCourse .bookmark-btn .icon-bookmark {
    width: 22px;
    height: 22px;
}

#sectionMoreCourse .related-course-legacy-actions {
    display: none;
}

#sectionMoreCourse .related-course-empty {
    width: 100%;
    min-height: 140px;
    border: 1px dashed #DADADB;
    border-radius: 8px;
    background: #fff;
    color: #4A4C4F;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
}

#sectionMoreCourse .custom-course-card .card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

#sectionMoreCourse .custom-course-card .card-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 13px;
}

#sectionMoreCourse .custom-course-card .card-meta li {
    font-family: 'Google Sans', sans-serif;
    color: #070A0E;
    font-weight: 400;
    font-size: 14px;
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
}

#sectionMoreCourse .custom-course-card .card-meta li:first-child {
    max-width: 38%;
}

#sectionMoreCourse .custom-course-card .card-meta li span,
#sectionMoreCourse .custom-course-card .card-meta li {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#sectionMoreCourse .custom-course-card .card-meta i {
    color: #3431C6;
    font-size: 16px;
    flex: 0 0 auto;
}

#sectionMoreCourse .custom-course-card .card-title {
    font-family: 'Google Sans', sans-serif;
    font-size: 18px;
    color: #000000E0;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 28px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 56px;
}

#sectionMoreCourse .custom-course-card .card-title a {
    text-decoration: none;
    color: inherit;
}

#sectionMoreCourse .custom-course-card .card-title a:hover {
    color: #3431C6;
}

#sectionMoreCourse .custom-course-card .card-desc {
    font-family: 'Google Sans', sans-serif;
    font-size: 14px;
    color: #000000E0;
    font-weight: 400;
    line-height: 20px;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

#sectionMoreCourse .custom-course-card .card-bottom {
    font-family: 'Google Sans', sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid #DADADB;
    padding-top: 16px;
}

#sectionMoreCourse .rating-box-custom {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

#sectionMoreCourse .author-avatar {
    display: block;
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
    flex: 0 0 40px;
}

#sectionMoreCourse .author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

#sectionMoreCourse .author-info {
    padding-left: 10px;
    font-family: 'Google Sans', sans-serif;
    font-size: 14px;
    min-width: 0;
}

#sectionMoreCourse .author-name {
    color: black;
    font-weight: 700;
    max-width: 135px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#sectionMoreCourse .rating-num {
    font-weight: 700;
    color: #000000E0;
    font-size: 16px;
    line-height: 24px;
}

#sectionMoreCourse .stars {
    color: #F8B81F;
    font-size: 12px;
    display: flex;
    gap: 2px;
}

#sectionMoreCourse .stars .empty {
    color: #CCCCCC;
}

#sectionMoreCourse .review-count {
    display: flex;
    font-size: 12px;
    line-height: 24px;
    color: #000000E0;
    font-weight: 300;
    text-align: right;
}

@media (max-width: 992px) {
    :is(.rbt-instructor-course-area, .rbt-related-course-area) .section-main-title.text-dark-blue {
        font-size: 40px;
        line-height: 1.3;
    }
}

@media (max-width: 768px) {
    .rbt-instructor-course-area,
    .rbt-related-course-area {
        padding-top: 40px;
    }

    :is(.rbt-instructor-course-area, .rbt-related-course-area) .section-main-title.text-dark-blue {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 10px;
    }

    #sectionMoreCourse .custom-course-card .card-image,
    #sectionRelatedCourse .custom-course-card .card-image {
        height: 180px;
    }

    #sectionMoreCourse .custom-course-card .card-meta,
    #sectionRelatedCourse .custom-course-card .card-meta {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    #sectionMoreCourse .custom-course-card .card-meta li:first-child,
    #sectionRelatedCourse .custom-course-card .card-meta li:first-child {
        max-width: 100%;
    }

    #sectionMoreCourse .custom-course-card .card-title,
    #sectionRelatedCourse .custom-course-card .card-title {
        font-size: 16px;
        line-height: 1.4;
    }

    #sectionMoreCourse .custom-course-card .card-bottom,
    #sectionRelatedCourse .custom-course-card .card-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    #sectionMoreCourse .rating-box-custom,
    #sectionRelatedCourse .rating-box-custom {
        justify-content: flex-start;
    }

    #sectionMoreCourse .review-count,
    #sectionRelatedCourse .review-count {
        text-align: left;
    }
}

@media (max-width: 576px) {
    :is(.rbt-instructor-course-area, .rbt-related-course-area) .section-main-title.text-dark-blue {
        font-size: 24px;
    }

    #sectionMoreCourse .custom-course-card .card-content,
    #sectionRelatedCourse .custom-course-card .card-content {
        padding: 16px;
    }

    #sectionMoreCourse .custom-course-card .card-image,
    #sectionRelatedCourse .custom-course-card .card-image {
        height: 160px;
    }

    #sectionMoreCourse .custom-course-card .card-title,
    #sectionRelatedCourse .custom-course-card .card-title {
        font-size: 15px;
    }

    #sectionMoreCourse .author-name,
    #sectionRelatedCourse .author-name {
        max-width: 220px;
    }

    #sectionMoreCourse .rating-num,
    #sectionMoreCourse .review-count,
    #sectionRelatedCourse .rating-num,
    #sectionRelatedCourse .review-count {
        font-size: 14px;
    }
}
