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

.banner-wrapper-left,
.banner-wrapper-right {
    position: relative;
    width: 20%;
    /* background-color: #007de7; */
    overflow: hidden;
}

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

.banner-wrapper-right .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: left;
    background-size: cover;
}

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

.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-1.webp');
}

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

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

.banner.active {
    opacity: 1;
}

/*  */
.selector {
    position: absolute;
    z-index: 20;
    top: 50%;
    transform: translateY(-50%);
    /* 背景透明 */
    background-color: transparent;
    cursor: pointer;
    border-radius: 50%;
    width: 3cqw;
}

.selector.prev {
    right: 1cqw;
}

.selector.next {
    left: 1cqw;
}

.selector img {
    width: 100%;
    height: 100%;
}

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

.indicator {
    width: min(0.8cqw, 12px);
    height: min(0.8cqw, 12px);
    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: 5cqw;
    margin-top: 3cqw;
}

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

.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.5cqw;
    color: #727272;
    padding-top: 1cqw;
    padding-bottom: 1.5cqw;
}

.text-intro .mid .text-bottom {
    font-size: 2cqw;
    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.1cqw;
    letter-spacing: 0.35cqw;
}

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

/* 6个强处 */
.container.flex-3 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 2cqw;
    padding-bottom: 2cqw;
}

.bg-white .container.flex-3 {
    flex-direction: row-reverse;
}

.container.flex-3 .number {
    width: 6.5cqw;
    aspect-ratio: 1/1;
    background-color: #39499b;
    border-radius: 5px;
    text-align: center;

}

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

.container.flex-3 .content {
    padding-top: 1cqw;
    padding-bottom: 1cqw;
    padding-left: 2cqw;
    padding-right: 5cqw;
    width: 53.5cqw;
}

.bg-white .container.flex-3 .content {
    padding-left: 5cqw;
    padding-right: 2cqw;
}

.container.flex-3 .content .title {
    font-size: 2.5cqw;
    font-weight: 600;
    letter-spacing: 0.2cqw;
    color: #39499b;
}

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

.container.flex-3 .content .body {
    padding-top: 1cqw;
    color: #666666;
    font-size: 2.1cqw;
    letter-spacing: 0.2cqw;
    line-height: 1.6;
}

.container.flex-3 .content .bottom {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1cqw;
    padding-top: 2cqw;
    padding-bottom: 0.5cqw;
}

.container.flex-3 .content .bottom .point {
    width: 3cqw;
    aspect-ratio: 1/1;
    background-color: #00ace7;
    color: white;
    border-radius: 50%;
    font-size: 0.8cqw;
    font-weight: 600;
    text-align: center;
    padding-top: 0.9cqw;
}

.container.flex-3 .content .bottom .text {
    color: #0071c3;
    font-size: 1.25cqw;
}

.container.flex-3 .content .line {
    width: 75%;
}

.container.flex-3 .content .line img {
    vertical-align: top;
    width: 100%;
    height: 100%;
}

.container.flex-3 .image {
    width: 40cqw;
    aspect-ratio: 512/312;
    overflow: hidden;
    border-radius: 13px;
}

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

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

.container>.detail button {
    width: 18cqw;
    aspect-ratio: 42/9;
    font-size: 1.5cqw;
    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: 1.5cqw;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5cqw;
}

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

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

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

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

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

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

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

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

.cards-x4>.card .bottom {
    color: #686868;
    font-weight: 600;
    font-size: 1.1cqw;
    line-height: 1.7;
    letter-spacing: 0.1cqw;
    padding-top: 0.8cqw;
    padding-bottom: 1cqw;
    height: 14cqw;
    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: 34cqw;
    border-radius: 15px;
    padding: 2cqw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

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

.cards-x2 .card .top div:first-child {
    width: 3.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: 1.1cqw;
    border-bottom: 1.6px solid white;
    font-size: 1.35cqw;
    line-height: 1.4;
    letter-spacing: 0.1cqw;
}

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

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

/* 入塾流程 */
.cards-x4>.card1 {
    background-color: white;
    border-radius: 15px;
    padding: 1.6cqw;
    width: 23.5cqw;
    /* height: 91.5/100; */
    display: flex;
    flex-direction: column;
}

.cards-x4>.card1 .top1 {
    /* padding-top: 0.5cqw; */
    /* padding-bottom: 1cqw; */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
}

.cards-x4>.card1 .top1>img {
    height: 6cqw;
}

.cards-x4>.card1 .top1 div:first-child {
    width: 4cqw;
    height: 4cqw;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #39499b;
    border-radius: 50px;
    text-align: center;
}

.cards-x4>.card1 .top1 div:first-child img {
    height: 50%;
    margin-top: 25%;
}

.cards-x4>.card1 .mid1 {
    color: #3b4a9c;
    font-size: 2.5cqw;
    text-align: center;
    font-weight: 600;
    line-height: 1.5;
    border-bottom: 1.8px solid #3b4a9c;
    padding-bottom: 0.6cqw;
}

.cards-x4>.card1 .bottom1 {
    color: #686868;
    font-weight: 600;
    font-size: 1.4cqw;
    line-height: 1.8;
    letter-spacing: 0.1cqw;
    padding-top: 0.8cqw;
    padding-bottom: 1cqw;
    height: 14cqw;
    overflow: hidden;
}

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

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

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

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

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

.container > .list .news .title {
    color: #686868;
    font-weight: 600;
    font-size: 1.8cqw;
    margin-left: 0;
}

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

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

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

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

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

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

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

.container .qas .qa > div > p {
    width: 84cqw;
    line-height: 2.7cqw;
    font-size: 1.65cqw;
    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: 2cqw;
}

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

.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: 1cqw;
    right: 2cqw;
    width: 3cqw;
    cursor: pointer;
    display: block;
}

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