/* 轮播图容器样式 */
.banner-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 769/581;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1cqw;
}

.banner-wrapper-left,
.banner-wrapper-right {
    display: none;
}

.banner-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-wrapper .banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

.banner[data-slide="0"] {
    background-image: url('../../image/banner-m1.webp');
}

.banner[data-slide="1"] {
    background-image: url('../../image/banner-m2.webp');
}

.banner[data-slide="2"] {
    background-image: url('../../image/banner-m3.webp');
}

.banner.active {
    opacity: 1;
}

/* 轮播图指示器 */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-top: 2.5cqw;
}

.indicator {
    width: 1.1cqw;
    height: 1.1cqw;
    border-radius: 50%;
    border: none;
    background: #e6e6e6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #007de7;
    transform: scale(1.2);
}

.indicator:hover {
    background: #007de7;
}

/* 轮播图加载状态 */
.banner-carousel.loaded {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* 轮播图暂停状态 */
.banner-carousel.paused .banner {
    animation-play-state: paused;
}

/* 背景div */
.bg-white {
    background-color: #fff;
    width: 100%;
}

.bg-gray-light {
    background-color: #f2f2f2;
    width: 100%;
}

.bg-blue-light {
    background-color: #e0edf4;
    width: 100%;
}

/*  */
.text-intro {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2cqw;
    margin-top: 3cqw;
}

.text-intro .border-left,
.text-intro .border-right {
    border: 1.8px solid #4583b4;
    width: 2.5cqw;
    height: 30cqw;
}

.text-intro .border-left {
    border-right: 0px;
}

.text-intro .border-right {
    border-left: 0px;
}

.text-intro .mid {
    display: flex;
    flex-direction: column;
}

.text-intro .mid .text-top {
    font-size: 2.7cqw;
    color: #727272;
    padding-top: 1cqw;
    padding-bottom: 1.5cqw;
}

.text-intro .mid .text-bottom {
    font-size: 2.3cqw;
    font-weight: 600;
    color: #007ee5;
    border-top: 1.6px solid #4583b4;
    padding-top: 1.5cqw;
    padding-bottom: 1cqw;
}

.text-top p,
.text-bottom p {
    text-align: center;
    letter-spacing: 0.2cqw;
    line-height: 1.8;
}

.text-top span {
    font-weight: 600;
    letter-spacing: 0.2cqw;
}

.text-top p .font-big {
    font-size: 3.5cqw;
    letter-spacing: 0.35cqw;
}

.text-bottom span {
    font-size: 3cqw;
}

/* 6个强处 */
.container.flex-3 {
    position: relative;
    height: 50cqw;
}

.container.flex-3 .number {
    position: absolute;
    top: 4cqw;
    left: 2cqw;
    width: 7cqw;
    aspect-ratio: 1/1;
    background-color: #39499b;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container.flex-3 .number img {
    height: 60%;
}

.container.flex-3 .content .title {
    position: absolute;
    top: 4cqw;
    left: 11cqw;
    font-size: 4.1cqw;
    font-weight: 600;
    letter-spacing: 0.2cqw;
    color: #39499b;
}

.container.flex-3 .content .title span {
    font-size: 5cqw;
}

.container.flex-3 .content .body {
    position: absolute;
    top: 12cqw;
    left: 2cqw;
    color: #666666;
    font-size: 3.5cqw;
    letter-spacing: 0.3cqw;
    line-height: 1.6;
}

.container.flex-3 .content .bottom {
    position: absolute;
    top: 30cqw;
    left: 2cqw;
    width: 50%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    gap: 2.5cqw;
}

.container.flex-3 .content .bottom .point {
    width: 6cqw;
    aspect-ratio: 1/1;
    background-color: #00ace7;
    color: white;
    border-radius: 50%;
    font-size: 1.6cqw;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container.flex-3 .content .bottom .text {
    color: #0071c3;
    font-size: 2.8cqw;
    letter-spacing: 0.2cqw;
}

.container.flex-3 .content .line {
    display: none;
}

.container.flex-3 .image {
    position: absolute;
    top: 25cqw;
    right: 1cqw;
    width: 46cqw;
    aspect-ratio: 512/312;
    overflow: hidden;
    border-radius: 8px;
}

.container.flex-3 .image img {
    width: 100%;
}

/* 详情按钮 */
.container>.detail {
    margin-bottom: 4cqw;
    margin-top: 2cqw;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container>.detail button {
    width: 35cqw;
    aspect-ratio: 42/9;
    font-size: 3cqw;
    font-weight: 500;
    /* line-height: 100%; */
    border-radius: 30px;
    letter-spacing: 0.1cqw;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1cqw;
    position: relative;
}

.container>.detail button img {
    position: absolute;
    right: 3cqw;
    top: 50%;
    transform: translateY(-50%);
    width: 3cqw;
}

/* 讲师介绍 */
.container>.cards-x4 {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    /* padding-top: 1cqw; */
    padding-bottom: 2cqw;
    gap: 3cqw;
}

.cards-x4>.card {
    background-color: white;
    border-radius: 15px;
    padding: 2.5cqw;
    width: 48cqw;
    /* height: 91.5/100; */
    display: flex;
    flex-direction: column;
}

.cards-x4>.card .top {
    padding-top: 1cqw;
    padding-bottom: 1cqw;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.cards-x4>.card .top div:first-child {
    width: 9cqw;
}

.cards-x4>.card .top div:first-child img {
    width: 100%;
}

.cards-x4>.card .top div:last-child {
    padding-left: 2cqw;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    color: #3c499a;
    font-size: 2.3cqw;
    font-weight: 600;
}

.cards-x4>.card .top div:last-child p:last-child {
    font-size: 3.3cqw;
    letter-spacing: 0.2cqw;
}

.cards-x4>.card .mid {
    color: #0a78c3;
    font-size: 2.3cqw;
    font-weight: 600;
    line-height: 1.8;
    border-bottom: 1.8px solid #0a78c3;
    padding-bottom: 0.6cqw;
}

.cards-x4>.card .bottom {
    color: #686868;
    font-weight: 600;
    font-size: 1.9cqw;
    line-height: 1.7;
    letter-spacing: 0.1cqw;
    padding-top: 1cqw;
    padding-bottom: 1cqw;
    height: 17cqw;
    overflow: hidden;
    /* text-overflow: ellipsis; */
}

/* course */
.container>.cards-x2 {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3cqw;
    /* padding-top: 1cqw; */
    padding-bottom: 2cqw;
}

.cards-x2 .card {
    width: 45cqw;
    border-radius: 12px;
    padding: 3cqw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.cards-x2 .card .top {
    padding-top: 1cqw;
    padding-bottom: 2cqw;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3.3cqw;
    font-weight: 600;
    letter-spacing: 0.2cqw;
    line-height: 1;
}

.cards-x2 .card .top div:first-child {
    width: 5cqw;
    margin-right: 1cqw;
    vertical-align: middle;
}

.cards-x2 .card .top div:first-child img {
    width: 100%;
}

.cards-x2 .card .mid {
    padding-left: 0.2cqw;
    padding-right: 0.2cqw;
    padding-bottom: 2cqw;
    border-bottom: 1.6px solid white;
    font-size: 2.4cqw;
    line-height: 1.4;
    letter-spacing: 0.1cqw;
}

.cards-x2 .card .bottom {
    padding-left: 4cqw;
    padding-top: 2.5cqw;
    font-size: 3cqw;
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: 0.2cqw;
}

.cards-x2 .card .bottom ul li {
    list-style-type: disc;
}

/* 入塾流程 */
.cards-x4>.card1 {
    width: 100%;
    height: 28cqw;
    background-color: white;
    border-radius: 12px;
    position: relative;
}

.cards-x4>.card1 .top1 > div:first-child {
    position: absolute;
    left: 3cqw;
    top: 3cqw;
    height: 6cqw;
    width: 6cqw;
    background-color: #39499b;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cards-x4>.card1 .top1 > div:first-child img {
    height: 40%;
}

.cards-x4>.card1 .top1>img {
    position: absolute;
    right: 3cqw;
    top: 8.5cqw;
    height: 11cqw;
}

.cards-x4>.card1 .mid1 {
    position: absolute;
    top: 3cqw;
    left: 11cqw;
    color: #3b4a9c;
    font-size: 4.5cqw;
    font-weight: 600;
    line-height: 1.2;
}

.cards-x4>.card1 .bottom1 {
    position: absolute;
    top: 10cqw;
    left: 3cqw;
    width: 79cqw;
    color: #686868;
    font-weight: 500;
    font-size: 2.8cqw;
    line-height: 1.8;
    letter-spacing: 0.1cqw;
}

/* news */
.container > .list {
    width: 100%;
    display: flex;
    flex-direction: column;
    border-top: 2px solid #0071c1;
    /* padding-bottom: 6cqw; */
}

.container > .list .news {
    width: 100%;
    height: 16cqw;
    border-bottom: 1px solid #e3e3e3;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 3cqw;
    padding-left: 1cqw;
    padding-top: 3cqw;
    position: relative;
}

.container > .list .news:hover {
    background-color: #f2f2f2;
}

.container > .list .news .date {
    color: #6c6c6c;
    font-weight: 600;
    font-size: 2.5cqw;
    padding-top: 0.5cqw;
}

.container > .list .news .tag {
    color: #0a76c5;
    text-align: center;
    width: 20cqw;
    height: 4.8cqw;
    line-height: 4.5cqw;
    border-radius: 20px;
    border: 1.5px solid #0a76c5;
    font-size: 2.2cqw;
    font-weight: 600;
}

.container > .list .news .title {
    position: absolute;
    left: 0;
    top: 9cqw;
    width: 100cqw;
    color: #686868;
    font-weight: 600;
    font-size: 3.1cqw;
    margin-left: 0;
}

.container > .list .news:hover .title {
    color: #007de5;
    text-decoration: underline;
}

/* faq */
.container .qas {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3cqw;
    padding-bottom: 2cqw;
}

.container .qas .qa {
    background-color: white;
    border-radius: 7px;
    position: relative;
    padding: 3cqw 3cqw;
    display: flex;
    flex-direction: column;
    gap: 2.5cqw;
}

.container .qas .qa > .button-p {
    display: none;
}

.container .qas .qa > .button {
    position: absolute;
    top: 3cqw;
    right: 3cqw;
    width: 5.5cqw;
    cursor: pointer;
}

.container .qas .qa > .button img {
    width: 100%;
}

.container .qas .qa > div > img {
    width: 3.5cqw;
    padding-top: 0.3cqw;
}

.container .qas .qa > div > p {
    width: 85cqw;
    line-height: 4.5cqw;
    font-size: 3cqw;
    font-weight: 500;
    letter-spacing: 0.1cqw;
    color: #676767;
}

.container .qas .qa .q,
.container .qas .qa .a {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 3cqw;
}

.container .qas .qa .q p {
    color: #0071c3;
    font-weight: 500;
    font-size: 3.5cqw;
    width: 80cqw;
}

.container .qas .qa.collapse > .q > p {
    color: #666666;
}

.container .qas .qa.collapse > .a {
    display: none;
}

.container .qas .qa.collapse > .button{
    display: none;
}

.container .qas .qa.collapse > .button-p {
    position: absolute;
    /* top: 3cqw; */
    top: 50%;
    transform: translateY(-50%);
    right: 3cqw;
    width: 5.5cqw;
    cursor: pointer;
    display: block;
}

.container .qas .qa.collapse > .button-p img {
    width: 100%;
}
