﻿/*----------------------------------Khoa Hoc ---------------------------------*/
/* Desktop */

.course-detail {
    width: 100%;
}

.course-navigation {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    margin-bottom: 20px;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 8px;
    background-color: #fff;
    color: #292d63;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .nav-btn:hover {
        background: #fff;
        border-color: #0A34BE;
        text-decoration: none;
        color: #0A34BE;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(10, 52, 190, 0.1);
    }

    .nav-btn i {
        font-size: 18px;
    }

    .nav-btn span {
        font-size: 16px;
    }



.course-hero-content {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    max-width: 1200px;
    margin: 0 auto;
}


.course-info {
    max-width: 600px;
}

.course-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.3;
    color: #292d63;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 35px;
}

.course-meta-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 24px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    min-width: 200px;
}

    .course-meta-item:hover {
        background: #fff;
        transform: translateY(-2px);
        border-color: #0A34BE;
        box-shadow: 0 4px 15px rgba(10, 52, 190, 0.1);
    }

    .course-meta-item i {
        font-size: 28px;
        color: #0A34BE;
        background: rgba(10, 52, 190, 0.1);
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
    }

    .course-meta-item .meta-content {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .course-meta-item .meta-label {
        font-size: 14px;
        color: #666;
        font-weight: 500;
    }

    .course-meta-item .meta-value {
        font-size: 18px;
        font-weight: 600;
        color: #292d63;
    }

.course-description {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
}

.course-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
}

    .course-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }



.course-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #292d63;
    margin-bottom: 30px;
    position: relative;
    padding-left: 20px;
}

    .section-title::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 24px;
        background: #0A34BE;
        border-radius: 2px;
    }

.course-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--bg-grad-45);
}

.info-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 10px 30px rgba(10, 52, 190, 0.08);
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .info-card:hover {
        border-color: #0A34BE;
        transform: translateY(-5px);
    }



.info-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #292d63;
    margin-bottom: 20px;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: #666;
}

    .info-list-item i {
        color: #0A34BE;
        font-size: 18px;
    }

.pricing-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 10px 30px rgba(10, 52, 190, 0.08);
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .pricing-card:hover {
        border-color: #0A34BE;
        transform: translateY(-5px);
    }

    .pricing-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 8px;
        background: var(--bg-grad-45);
    }

.price {
    font-size: 48px;
    font-weight: 800;
    color: #0A34BE;
    margin: 20px 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .price small {
        font-size: 18px;
        color: #666;
        font-weight: 500;
    }

.pricing-card .course-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 0;
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.pricing-card .course-meta-item {
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 16px;
    transition: all 0.3s ease;
}

    .pricing-card .course-meta-item:hover {
        background: #fff;
        border-color: #0A34BE;
        transform: translateY(-2px);
    }

    .pricing-card .course-meta-item i {
        font-size: 24px;
        color: #0A34BE;
        background: rgba(10, 52, 190, 0.1);
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        margin-bottom: 15px;
    }

.pricing-card .meta-content {
    text-align: center;
}

.pricing-card .meta-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.pricing-card .meta-value {
    font-size: 20px;
    font-weight: 700;
    color: #292d63;
}

.btn-enroll {
    background: linear-gradient(135deg, #0A34BE 0%, #1a44ce 100%);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .btn-enroll:hover {
        transform: translateY(-2px);
    }

.related-courses {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.hoso-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 100%;
    padding: 10px;
}

.hoso-item-content_title {
    color: var(--Text-Tertiary-Text, #708090);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 140%;
    text-align: right;
    flex: 1;
}

.hoso-item-content_info {
    flex: 2;
}

.hoso-item-content_info-wrapper {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hoso-input-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-radius: 10rem;
    background: var(--Background-Background, #F2F2F2);
    padding: 0;
    width: 100%;
    border: 1px solid transparent;
    max-width: 400px;
    min-width: 225px;
    position: relative;
}

    .hoso-input-wrapper:focus-within {
        border: 1px solid var(--Primary-Primary, #0A34BE);
        background: var(--Pure-White, #FFF);
        box-shadow: 0px 0px 20px 0px rgba(10, 52, 190, 0.20);
    }

.hoso-input-icon {
    padding: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: var(--Pure-White, #FFF);
    color: #0A34BE;
}

.hoso-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    caret-color: var(--Primary-Primary, #0A34BE);
    color: var(--Text-Primary-Text, #141414);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 140%;
    padding: 0.6rem 1.6rem 0.5rem;
    position: relative;
}

    .hoso-input::placeholder {
        font-style: italic;
    }

.hoso-input-warning {
    color: var(--Status-Invalid, #E03E3E);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 140%;
    width: 100%;
    margin-left: 2rem;
}

.hoso-input-success {
    color: var(--Status-Valid, #00C763);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 140%;
    width: 100%;
    margin-left: 2rem;
}


.registration-form {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

    .registration-form .form-group {
        margin-bottom: 20px;
        text-align: left;
    }

    .registration-form label {
        display: block;
        margin-bottom: 8px;
        color: #292d63;
        font-weight: 500;
    }

    .registration-form .form-control {
        width: 100%;
        padding: 10px 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 16px;
        transition: border-color 0.3s ease;
    }

        .registration-form .form-control:focus {
            border-color: #0A34BE;
            outline: none;
        }

    .registration-form textarea.form-control {
        resize: vertical;
        min-height: 100px;
    }

    .registration-form .text-danger {
        color: #dc3545;
        font-size: 14px;
        margin-top: 5px;
        display: block;
    }

    .registration-form .g-recaptcha {
        margin: 20px 0;
        display: flex;
        justify-content: center;
    }

    .registration-form .btn-gradient {
        width: 100%;
        margin-top: 20px;
    }

.modal-main-form {
    padding: 20px;
}

.modal-main-title {
    text-align: center;
    margin-bottom: 30px;
}

.modal-main-title-text {
    font-size: 24px;
    font-weight: 700;
    color: #292d63;
    margin-bottom: 10px;
}

.modal-main-title-subtext {
    font-size: 16px;
    color: #666;
}


.btn-login {
    margin-top: 20px;
}

.registration-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    margin-top: 20px;
}

    .registration-card .modal-main-form {
        max-width: 600px;
        margin: 0 auto;
    }

    .registration-card .modal-main-title {
        margin-bottom: 40px;
    }

#page-wrapper {
    padding: 0;
}

.btn-success[disabled] {
    background-color: var(--Neutrals-400, #B3B3B3);
    border-color: var(--Neutrals-400, #B3B3B3);
}
/* #region Hero */
.ielts-ai-test {
    width: 100vw;
}

    .ielts-ai-test .hero {
        background: url(/img/hero-bg-1.svg) center no-repeat;
        background-size: cover;
        padding: 15px 0 30px;
        margin: 0;
    }

    .ielts-ai-test .hero__contents {
        display: flex;
        flex-direction: column;
        align-items: center;
    }


    .ielts-ai-test .hero__title {
        font-size: 80px;
        font-weight: 700;
    }

        .ielts-ai-test .hero__title span {
            background: var(--bg-grad-90);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            font-style: normal;
            position: relative;
        }

            .ielts-ai-test .hero__title span:after,
            .ielts-ai-test .hero__title span:before {
                content: '';
                position: absolute;
                left: -9px;
                top: 10px;
                display: inline-block;
                width: 29px;
                height: 28px;
                background: url(/img/star-icon.png) center no-repeat;
                background-size: contain;
            }

            .ielts-ai-test .hero__title span:before {
                left: initial;
                top: initial;
                bottom: 6px;
                right: -19px;
            }

    .ielts-ai-test .hero__desc {
        font-size: 28px;
        font-weight: 700;
        color: #292d63;
    }

    .ielts-ai-test .hero__list {
        display: grid;
        gap: 10px;
        width: fit-content;
        margin-top: 2rem;
        padding: 0;
        grid-template-columns: 50% 50%;
    }

    .ielts-ai-test .hero__list-item {
        display: flex;
        padding: 16px 20px;
        align-items: center;
        gap: 10px;
        border-radius: 20px;
        border: 1px solid #FFF;
        background: rgba(255, 255, 255, 0.4);
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
        position: relative;
    }

        .ielts-ai-test .hero__list-item:before {
            content: '';
            display: inline-block;
            min-width: 32px;
            width: 32px;
            height: 32px;
            background: url(/img/check-list-icon.svg) center no-repeat;
            background-size: contain;
        }

/* #endregion*/


.modal-main-form {
    padding: 2rem 0rem;
}
.course-info-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hoso-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.hoso-item-content_title {
    color: var(--Text-Tertiary-Text, #708090);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 140%;
    text-align: right;
    flex: 1;
}

.hoso-item-content_info {
    flex: 2;
}

.hoso-item-content_info-wrapper {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hoso-input-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-radius: 10rem;
    background: var(--Background-Background, #F2F2F2);
    padding: 0;
    width: 100%;
    border: 1px solid transparent;
    max-width: 400px;
    min-width: 225px;
    position: relative;
}

    .hoso-input-wrapper:focus-within {
        border: 1px solid var(--Primary-Primary, #0A34BE);
        background: var(--Pure-White, #FFF);
        box-shadow: 0px 0px 20px 0px rgba(10, 52, 190, 0.20);
    }

.hoso-input-icon {
    padding: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: var(--Pure-White, #FFF);
    color: #0A34BE;
}

.hoso-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    caret-color: var(--Primary-Primary, #0A34BE);
    color: var(--Text-Primary-Text, #141414);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 140%;
    padding: 0.6rem 1.6rem 0.5rem;
    position: relative;
}

    .hoso-input::placeholder {
        font-style: italic;
    }

.hoso-input-warning {
    color: var(--Status-Invalid, #E03E3E);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 140%;
    width: 100%;
    margin-left: 2rem;
}

.hoso-input-success {
    color: var(--Status-Valid, #00C763);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 140%;
    width: 100%;
    margin-left: 2rem;
}

.list-dethi {
    margin: 2rem auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 2rem;
}

.dethi {
    width: 32rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 2.6rem;
    box-shadow: 0 0 8px 0px #8884;
    border: double 0px transparent;
    background-image: linear-gradient(white, white), linear-gradient(45deg, rgba(21, 12, 222, 1) 0%, rgba(241, 31, 76, 1) 100%);
    background-origin: border-box;
    background-clip: content-box, border-box;
    padding-bottom: 2px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

    .dethi:hover {
        transform: translateY(-5px);
    }

    .dethi .dethi-header {
        position: relative;
        width: 100%;
        padding-top: 56.25%; /* Tỷ lệ 16:9 */
        overflow: hidden;
        background: #f5f5f5;
    }

        .dethi .dethi-header img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

    .dethi:hover .dethi-header img {
        transform: scale(1.05);
    }

    .dethi .dethi-info {
        padding: 1.6rem;
        background: white;
    }

    .dethi .dethi-title {
        font-size: 1.8rem;
        font-weight: 700;
        color: #292d63;
        margin-bottom: 1rem;
        text-align: center;
        line-height: 1.4;
    }

    .dethi .dethi-details {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
        margin-bottom: 1.6rem;
    }

    .dethi .dethi-detail-item {
        display: flex;
        gap: 0.8rem;
        color: #666;
        font-size: 1.4rem;
    }

        .dethi .dethi-detail-item i {
            color: #0A34BE;
            font-size: 1.6rem;
        }

    .dethi .dethi-price {
        font-size: 1.8rem;
        font-weight: 700;
        color: #0A34BE;
        text-align: center;
        margin-bottom: 1.6rem;
    }

    .dethi .dethi-body {
        padding: 0 1.6rem 1.6rem;
    }

    .dethi .btn {
        width: 100%;
        padding: 1rem;
        font-size: 1.6rem;
        font-weight: 600;
        border-radius: 1rem;
        text-align: center;
        transition: all 0.3s ease;
    }

    .dethi .btn-secondary {
        background: #0A34BE;
        color: white;
        border: none;
    }

        .dethi .btn-secondary:hover {
            background: #082a9e;
            transform: translateY(-2px);
        }

    .dethi .btn-gradient-u {
        background: linear-gradient(45deg, #0A34BE, #1a44ce);
        color: white;
        border: none;
    }

        .dethi .btn-gradient-u:hover {
            background: linear-gradient(45deg, #082a9e, #1538b8);
            transform: translateY(-2px);
        }

    .dethi.not-active {
        background-image: linear-gradient(#f2f2f2, #f2f2f2), linear-gradient(45deg, rgba(21, 12, 222, 1) 0%, rgba(241, 31, 76, 1) 100%);
    }

    .dethi.add-new {
        align-items: center;
        padding: 1.6rem;
        color: var(--Border-Primary-Border);
        font-size: 10rem;
        background: var(--Background-Background);
        justify-content: space-evenly;
    }

        .dethi.add-new .btn {
            width: 100%;
        }

    .dethi .dethi-body .key {
        font-weight: 500;
    }

    .dethi .dethi-body .date {
        font-size: 1.2rem;
        color: var(--Text-Secondary-Text);
    }

    .dethi .dethi-body .box-thithu {
        padding-top: 0.8rem;
        width: 100%;
        text-align: center;
        color: var(--colorHightLight);
    }

    .dethi.not-active .dethi-body .box-thithu {
        color: var(--Status-InValid);
    }

    .dethi .dethi-body .box-baithi {
        padding-top: 0.8rem;
        width: 100%;
        text-align: center;
        color: var(--colorHightLight);
    }

        .dethi .dethi-body .box-baithi .info {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.8rem;
        }

            .dethi .dethi-body .box-baithi .info .time {
                color: var(--Text-Primary-Text);
                font-size: 1.3rem;
                font-weight: 400;
            }

            .dethi .dethi-body .box-baithi .info .score {
                font-weight: 700;
                color: var(--Status-Valid);
            }


.modal-wrapper {
    padding: 2rem 4rem;
}

.modal-main-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    min-height: 300px;
    height: 100%;
    gap: 2rem;
}

.modal-main-title {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    text-align: left;
}


.modal-main-title-text {
    color: var(--DarkBlue-400);
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 140%;
    width: 100%;
    text-align: center;
}

.modal-main-title-subtext {
    color: var(--colorPrimaryText);
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 140%;
    width: 100%;
    text-align: center;
}

.navbar-top.navbar-white {
    background: transparent;
    color: #fff;
}

    .navbar-top.navbar-white .logo > .logo-white {
        display: block;
    }

    .navbar-top.navbar-white .logo > .logo-color {
        display: none;
    }

.grecaptcha-badge {
    display: none !important;
}
@media (max-width: 767px) {
    .course-navigation {
        padding: 15px 0;
    }

    .nav-btn {
        padding: 8px 16px;
    }

        .nav-btn span {
            font-size: 14px;
        }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 991px) {
    .course-info-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .course-content{
        padding: 0 0;
    }
    .course-info {
        max-width: 100%;
    }

    .course-meta {
        justify-content: center;
    }

    .course-image {
        min-height: 300px;
        order: -1;
    }

    .hoso-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .hoso-item-content_title {
        text-align: left;
        width: 100%;
    }

    .hoso-item-content_info {
        width: 100%;
    }

    .hoso-item-content_info-wrapper {
        max-width: 100%;
    }

    .hoso-input-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 767px) {


    .course-title {
        font-size: 28px;
    }

    .course-meta {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .course-description {
        font-size: 16px;
    }

    .course-image {
        min-height: 250px;
    }

    .pricing-card {
        padding: 30px 20px;
    }

        .pricing-card .course-meta {
            grid-template-columns: 1fr;
            padding: 20px;
        }

    .price {
        font-size: 25px;
    }

    .registration-card {
        padding: 20px;
    }

    .modal-main-title-text {
        font-size: 20px;
    }

    .modal-main-title-subtext {
        font-size: 14px;
    }

    .hoso-item {
        padding: 5px;
    }

    .hoso-item-content_title {
        font-size: 1.6rem;
    }

    .hoso-input {
        font-size: 1.4rem;
    }

    .hoso-input-warning,
    .hoso-input-success {
        font-size: 1.2rem;
        margin-left: 1rem;
    }

    .btn-gradient {
        font-size: 1.4rem;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .course-title {
        font-size: 24px;
    }

    .course-meta-item {
        min-width: 100%;
        padding: 12px 16px;
    }

        .course-meta-item i {
            font-size: 24px;
            width: 40px;
            height: 40px;
        }

        .course-meta-item .meta-value {
            font-size: 16px;
        }

    .price {
        font-size: 25px;
    }

        .price small {
            font-size: 16px;
        }

    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .info-card,
    .pricing-card {
        padding: 30px 20px;
    }

    .info-card-title {
        font-size: 18px;
    }

    .modal-main-title-text {
        font-size: 18px;
    }

    .modal-main-title-subtext {
        font-size: 13px;
    }

    .hoso-item-content_title {
        font-size: 1.4rem;
    }

    .hoso-input {
        font-size: 1.3rem;
    }

    .btn-gradient {
        font-size: 1.3rem;
        padding: 10px 16px;
    }
}

@media (max-width: 767px) {
    .registration-card {
        padding: 20px;
    }
}

/* Desktop small & Tablet */
@media (max-width: 1199px) {
}

@media (min-width: 1199px) {
    .Mota-khoahoc {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 250px;
        height: 40px;
    }

    .dethi-title {
        height: 51px;
    }
}

@media (max-width: 1199px) {
    .Mota-khoahoc {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 250px;
        height: 40px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .ielts-ai-test .hero {
        background-image: url(/img/hero-mobile-bg-1.svg);
    }

        .ielts-ai-test .hero .container {
            padding: 0;
        }

    .ielts-ai-test .hero__title {
        font-size: 42px;
        text-align: center;
    }

        .ielts-ai-test .hero__title span:before {
            width: 16px;
            height: 16px;
            bottom: 6px;
            right: -12px;
        }

        .ielts-ai-test .hero__title span:after {
            width: 16px;
            height: 16px;
            left: -6px;
            top: 2px;
        }

    .ielts-ai-test .hero__desc {
        text-align: center;
        font-size: 18px;
    }

    .ielts-ai-test .hero__list {
        margin: 1.6rem 2.6rem;
        grid-template-columns: auto;
    }

    .ielts-ai-test .hero__list-item {
        font-size: 13px;
        padding: 8px;
    }

    .modal-wrapper {
        padding: 2rem 2rem;
    }

    .list-dethi {
        justify-content: center;
    }

    .hoso-item-content_title {
        font-size: 1.3rem;
        font-weight: 600;
    }
}

.loai-khoa-hoc-section {
    width: 100%;
    margin-bottom: 40px;
}

.loai-khoa-hoc-title {
    font-size: 24px;
    font-weight: 700;
    margin: 20px 0;
    color: #292d63;
    padding-left: 20px;
    border-left: 4px solid #0A34BE;
}

.loai-khoa-hoc-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: flex-start;
    padding: 0 20px;
}

@media (max-width: 767px) {
    .loai-khoa-hoc-content {
        justify-content: center;
        padding: 0 10px;
    }

    .Mota-khoahoc {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 250px;
    }

    .loai-khoa-hoc-title {
        font-size: 22px;
    }
}

@media (max-width: 361px) {
    .Mota-khoahoc {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 250px;
        height: 31px;
    }

    .loai-khoa-hoc-title {
        font-size: 20px;
    }
}
