main {
    margin: 0;
    margin-top: 42px;
}

.text-md {
    font-weight: 500 !important;
}

.hide {
    display: none !important;
}

.container {
    max-width: 980px;
    padding: 0;
}

.information .instructor_box .tags {
    display: flex;
    margin-bottom: 10px;
    gap: 20px;
}

.information .instructor_box .tag {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    background-color: #fde7e7;
    border-radius: 6px;
    font-size: 21px;
    padding-left: 18px;
    padding-right: 18px;
    max-width: 100%;
    padding: 10px 20px;
    min-width: 150px;
}

.information .instructor_box .tag img {
    height: 29px;
}

.information .instructor_box .tag span {
    display: inline-block;
    /* max-width: 300px; */
    overflow-wrap: break-word;
    word-break: break-word;
    vertical-align: middle;
    line-height: 2rem;
    white-space: normal;
}

.information .instructor_box .content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-top: 21px;
}

.information .instructor_box .left img {
    width: 300px;
    height: 300px;
    border-radius: 21px;
    object-fit: cover;
}

.information .instructor_box .right {
    flex: 1;
    padding-top: 33px;
}

.information .instructor_box .right .title,
.what_you_can_learn_sp .title {
    font-weight: bold;
    margin: 0;
    font-size: 23px;
}

.information .instructor_box .right .desc,
.what_you_can_learn_sp .desc {
    margin: 0;
    margin-top: 15px;
    line-height: 31px;
    font-size: 23px;
    font-weight: 500;
}

.what_you_can_learn_sp .title {
    justify-content: flex-start !important;
}

.instructor_box .images-info {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.instructor_box .images-info img {
    width: calc(25% - 10px);
    height: auto;
    max-width: 215px;
}

.instructor_box .images_sp {
    display: flex;
    margin-top: 20px;
    gap: 5px;
    display: none;
}

.instructor_box .images_sp img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    aspect-ratio: 1;
}

.wave {
    margin-top: 20px;
    --size: 15px;
    --R: calc(var(--size) * 1.28);
    -webkit-mask: radial-gradient(
                var(--R) at 50% calc(1.8 * var(--size)),
                #000 99%,
                rgba(0, 0, 0, 0) 101%
            )
            calc(50% - 2 * var(--size)) 0 / calc(4 * var(--size)) 100%,
        radial-gradient(
                var(--R) at 50% calc(-0.8 * var(--size)),
                rgba(0, 0, 0, 0) 99%,
                #000 101%
            )
            50% var(--size) / calc(4 * var(--size)) 100% repeat-x;
    background: #ffd7d7;
}

.wave .content {
    padding: 70px 0;
}

.profile {
    & .header .title {
        height: 57px;
        margin-left: -25px;
    }

    & .title-content {
        margin-top: 15px;
        & p {
            margin: 0;
        }

        & img {
            width: 75% !important;
            height: 8px !important;
        }
    }
}

.profile .footer {
    display: flex;
    align-items: center;
    gap: 16px;
}

.profile .footer .instagram_url {
    text-decoration: underline;
    font-size: 90%;
}

.profile .body .item .desc {
    word-break: break-word;
    overflow-wrap: break-word;
    font-size: 95%;
}

.wave .content .menu {
    display: flex;
    gap: 10px;
}

.wave .content .menu .item {
    background-color: #e6e6e6;
    font-size: 21px;
    width: 200px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
}

.wave .content .menu .item.active {
    background-color: #fff0f0;
    color: #ed837c;
}

.wave .content .content_container {
    background-color: #fff0f0;
    border-radius: 0 10px 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 60px 40px;
}

.wave .content .content_container .header {
    text-align: center;
}

.wave .content .content_container .header .title {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    justify-content: center;
    margin: auto;
}

.wave .content .content_container .header .title img {
    width: 50px;
    height: 50px;
}

.wave .content .content_container .body {
    display: flex;
    margin-top: 45px;
    flex-direction: column;
    gap: 32px;
}

.wave .content .content_container .body .item {
    display: flex;
    flex-direction: column;
    font-size: 21px;
    line-height: 31px;
}

.wave .content .content_container .body .item .title {
    position: relative;
    margin-left: -12px;
}

.wave .content .content_container .body .item .desc {
    /* padding-left: 10px; */
}

.wave .content_container .images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.wave .content_container .images img {
    width: calc(25% - 10px);
    aspect-ratio: 1;
    height: auto;
    object-fit: cover;
    max-width: 215px;
}

.wave .content_container .footer .logo {
    height: 1.5em;
    width: auto;
}

.text_two_lines {
    line-height: 1.5rem !important;
    min-height: calc(1.5em * 2) !important;
}

.lesson {
    background-color: #fff0f0 !important;
    padding-top: 0;
}

.lesson .header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff0f0;
    font-size: 21px;
    gap: 18px;
    padding-bottom: 17px;
}

.lesson .header p {
    text-align: left;
}

.lesson .header .btn {
    width: 363px;
    height: 48px;
    border-radius: 50px;
    background-color: #44bacc;
    color: #fff;
    font-size: 21px;
}

.lesson .header .levels {
    display: flex;
    gap: 10px;
    justify-content: left;
}

.lesson .header .levels .btn-level {
    font-size: 16px;
    width: 80px;
    height: 30px;
    border: none;
    background-color: #ed837c;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lesson .header .levels .unregistered {
    background-color: #cccccc;
}

.hex-shape {
    background: #d9a0a0;
    clip-path: polygon(75% 0%, 100% 50%, 75% 100%, 0% 100%, 25% 50%, 0% 0%);
    width: 100%;
    font-size: 13px;
    height: 80px;
    text-align: center;
}

.hex-shape .title {
    font-weight: bold;
    margin-bottom: 5px;
    text-decoration: underline;
    width: 100%;
    color: #000;
}

.hex-shape-end {
    background: #d9a0a0;
    width: 100%;
    font-size: 13px;
    clip-path: polygon(100% 0, 100% 50%, 100% 100%, 0% 100%, 25% 50%, 0% 0%);
    border-radius: 10px;
    height: 80px;
    text-align: center;
}

.hex-shape-end .title {
    font-weight: bold;
    margin-bottom: 5px;
    text-decoration: underline;
    width: 100%;
    color: #000;
}

.student_review {
    margin-top: 54px;
    padding-top: 0px;
    padding-bottom: 30px;
    display: flex;
    background-color: #fff0f0;
    width: 100% !important;
}

.student_review .container {
    width: 100% !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.student_review_content {
    width: 100%;
    display: flex;
}

.student_review_content .row {
    margin: 32px auto 0 auto;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(211px, 1fr));
    gap: 18px;
}

.student_review_content .row .item {
    width: 100%;
    /* width: 25%; */
    display: flex !important;
    white-space: normal !important;
}

.card-review {
    margin: 0 !important;
    padding: 0 !important;
}

.card-body {
    padding-top: 9px;
}

.student_review .container .heading {
    position: relative;
}

.student_review .container .heading .student_review_left_image,
.student_review .container .heading .student_review_right_image{
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.student_review .container .heading .student_review_left_image {
    -webkit-transform: translate(-300%, -50%);
    transform: translate(-300%, -50%);
}

.student_review .container .heading .student_review_right_image {
    -webkit-transform: translate(150%, -50%);
    transform: translate(150%, -50%);
}

.student_review .container .review_heading_en .student_review_left_image {
    -webkit-transform: translate(-245%, -50%);
    transform: translate(-249%, -43%)
}

.student_review .container .review_heading_en .student_review_right_image {
    -webkit-transform: translate(125%, -50%);
    transform: translate(128%, -43%);
}

.student_review .container .heading .title {
    left: 0 !important;
}

.student_review .container .heading p {
    font-size: 28px;
    letter-spacing: 0px;
}

.image .square .inner img {
    object-fit: cover !important;
    aspect-ratio: 1;
}

.lesson_review_box .thumbnail {
    width: 27px;

    & img {
        width: 27px;
        height: 27px;
        object-fit: cover;
    }
}

.lesson_review_box .review_box .review {
    margin-top: 4px;
    min-height: 32px;
    max-height: 32px;
}

.lesson_review_box .view-lesson {
    margin-top: -4px;
}

.lesson_review_box .image img {
    width: 100% !important;
    height: 113px;
}

.student_review .container .lesson-name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    white-space: normal;
    font-size: 14px;
    margin: 0;
}

.rating i {
    font-size: 20px !important;
}

.student_review .container .rating {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    /*-webkit-line-clamp: 2;*/
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    height: auto;
}

.student_review .container .review_box {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    height: auto;
}

.card-review {
    border: none;
    margin: 0;
}

.what_you_can_learn_sp {
    display: none;
}

.lesson_view_more_link {
    padding: 6px 15px;
    background-color: #ED837C;
    border-radius: 30px;
    color: white;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    -moz-text-align-last: center;
    text-align-last: center;

    & * {
        color: white;
    }
}

@media (max-width: 1024px) {
    .student_review_content .row {
        margin: 32px auto 0 auto;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(211px, 1fr));
        gap: 18px;
    }

    .information .instructor_box .tags,
    .information .instructor_box .content
    {
        padding: 0 3%;
    }
}

@media (max-width: 568px) {
    .wave .content .menu .item {
        width: 120px;
        height: 50px;
        font-size: 16px;
    }

    .information .instructor_box .tag span {
        max-width: 100%;
    }
    .instructor_box .images_sp {
        display: flex;
        justify-content: center;
    }
    .information .instructor_box .tags {
        margin-top: 10px;
        justify-content: center !important;
        align-items: flex-start;
        flex-direction: column;
    }

    .information .instructor_box .content {
        flex-direction: column;
        align-items: center;
    }

    .wave .content .content_container {
        padding: 10px 10px 10px 10px;
    }

    .wave .content .content_container .header .title {
        font-size: 14px;
    }

    .wave .content .content_container .header .title_sp_en{
        letter-spacing: 0px !important;
    }

    .wave .content_container .images img {
        width: calc(50% - 5px);
    }

    .instructor_box .images-info {
        display: flex;
        justify-content: center;
    }

    .information .instructor_box .right {
        display: none;
    }
    .what_you_can_learn_sp {
        display: block;
    }

    .lesson .header, .lesson .header .btn,
    .what_you_can_learn_sp .desc
    {
        font-size: 16px;
        line-height: 20px;
    }

    .lesson .header .btn {
        width: 100%;
    }

    .lesson .header .levels {
        flex-wrap: wrap;
    }

    .wave .content {
        padding-left: 10px;
        padding-right: 10px;
    }

    .wave .content .content_container .body .item {
        font-size: 14px;
        line-height:20px;
    }

    .student_review {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    /* .student_review .title{
        border: 1px solid #000;
        width: 100% !important;
    } */

    .student_review_content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .student_review .container .heading p {
        font-size: 18px !important;
    }

    .student_review .container .heading .student_review_left_image {
        -webkit-transform: translate(-200%, -50%) scale(0.8);
        transform: translate(-200%, -50%) scale(0.8);
    }

    .student_review .container .heading .student_review_right_image {
        -webkit-transform: translate(85%, -50%) scale(0.8);
        transform: translate(85%, -50%) scale(0.8);
    }

    .student_review .container .review_heading_en .student_review_left_image {
        -webkit-transform: translate(-175%, -50%) scale(0.6);
        transform: translate(-175%, -50%) scale(0.6);
    }

    .student_review .container .review_heading_en .student_review_right_image {
        -webkit-transform: translate(60%, -50%) scale(0.6);
        transform: translate(60%, -50%) scale(0.6);
    }

    .student_review .title img {
        position: relative;
        top: 5px;
        width: 120px !important;
    }

    .student_review .container .review_heading_en .title img {
        top: -3px;
        width: 100px !important;
    }

    .student_review_content {
        /* margin-top: 25px !important; */
    }

    .student_review_content .row {
        /* width: 100% !important;
        gap: 10px !important; */

        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .student_review_content .row .card {
        /*max-width: 155px;*/
    }

    .student_review .container .rating {
        min-height: 55px;
    }

    .student_review .container .rating i {
        font-size: 16px !important;
    }

    .lesson_view_more_link {
        font-size: 11px;
        padding: 6px 4px;
    }

    .view_more_review {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .profile {
        & .header .title {
            font-size: 22px !important;
            height: 57px;
            margin-left: -25px;
        }

        & .title-content {
            font-size: 17px;
        }
    }

    .wave .content .content_container .body .item .title {
        margin-left: -8px;
    }
}

@media (max-width: 414px) {

    .profile .header .title  .title-content img {
        height: 8px !important;
        width: 70% !important;
    }

    .profile .header .title .title-content p {
        font-size: 17px !important;
    }
}

@media (max-width: 320px) {
    .student_review .container .heading p {
     font-size: 17px !important;
    }

    .student_review .container .heading .student_review_left_image {
        -webkit-transform: translate(-190%, -50%) scale(0.7);
        transform: translate(-190%, -50%) scale(0.7);
    }

    .student_review .container .heading .student_review_right_image {
        -webkit-transform: translate(75%, -50%) scale(0.7);
        transform: translate(75%, -50%) scale(0.7);
    }

    .student_review .container .review_heading_en .student_review_left_image {
        -webkit-transform: translate(-165%, -50%) scale(0.5);
        transform: translate(-165%, -50%) scale(0.5);
    }

    .student_review .container .review_heading_en .student_review_right_image {
        -webkit-transform: translate(50%, -50%) scale(0.5);
        transform: translate(50%, -50%) scale(0.5);
    }

    .student_review .title img {
        position: relative;
        top: 2px;
        width: 110px !important;
    }
}
