@charset "utf-8";
/* =====================================================================
   页面样式：首页各板块 / 内页列表 / 详情 / 图集 / 课程 / 讲师 / 留言
   ===================================================================== */

/* ===================== 首页 Banner ===================== */
.banner { height: 563px; overflow: hidden; position: relative; width: 100%; z-index: 1; background: #eef3ef; }
.banner ul { height: 563px; position: relative; }
.banner li {
    width: 100%; height: 563px; position: absolute; left: 0; top: 0; display: none;
    background-repeat: no-repeat; background-position: top center; background-size: cover;
}
.banner li.on { display: block; }
.banner li .bg-fallback {
    position: absolute; inset: 0;
    background: linear-gradient(120deg, #1f7a3c 0%, #2aba51 55%, #46cf6d 100%);
}
.bannerword { position: absolute; left: 50%; margin-left: -600px; top: 200px; z-index: 3; color: #fff; max-width: 700px; }
.bannerword .word1 { font-size: 42px; line-height: 62px; font-weight: bold; }
.bannerword .word2 { font-size: 20px; line-height: 34px; margin-top: 14px; opacity: .95; }
.banner li.on .bannerword { animation: bannerIn .9s ease-out both; }
.bannerword.center { left: 0; right: 0; margin-left: 0; text-align: center; top: 170px; max-width: none; }
@keyframes bannerIn {
    from { opacity: 0; transform: translateY(36px); }
    to   { opacity: 1; transform: translateY(0); }
}
.bannerword .word-btn {
    display: inline-block; margin-top: 30px; padding: 12px 44px; border: 1px solid #fff;
    color: #fff; border-radius: 26px; font-size: 15px; transition: all .3s;
}
.bannerword .word-btn:hover { background: #fff; color: #2aba51; }
.banner .btn { position: absolute; width: 100%; bottom: 26px; text-align: center; left: 0; z-index: 4; }
.banner .btn span {
    display: inline-block; width: 34px; height: 4px; margin: 0 5px; background: rgba(255, 255, 255, .5);
    cursor: pointer; border-radius: 2px; transition: all .3s;
}
.banner .btn span.on { background: #2aba51; width: 46px; }
.banner .banner-btn a {
    position: absolute; display: block; width: 44px; height: 44px; top: 50%; margin-top: -22px; z-index: 4;
    border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%; color: #fff; text-align: center;
    line-height: 42px; font-size: 20px; transition: all .3s;
}
.banner .banner-btn a:hover { background: #2aba51; border-color: #2aba51; }
.banner .banner-btn .up { left: 3%; }
.banner .banner-btn .down { right: 3%; }

/* ===================== 公司简介 ===================== */
.iabout { padding-bottom: 60px; overflow: hidden; }
.iabout-tit { text-align: center; padding: 10px 0 50px; line-height: 32px; color: #555; font-size: 15px; }
.iabout-txt { overflow: hidden; }
.iabout-txt li { float: left; width: 33.33%; text-align: center; }
.iabout-txt li a { display: block; padding: 10px 0; transition: transform .4s; }
.iabout-txt li a:hover { transform: translateY(-8px); }
.iabout-txt li span { display: block; margin-bottom: 10px; }
.iabout-txt li .ico {
    width: 130px; height: 130px; margin: 0 auto; border-radius: 50%;
    background: #f4f8f5; display: flex; align-items: center; justify-content: center;
    border: 1px solid #e6f0e9; transition: all .4s;
}
.iabout-txt li a:hover .ico { background: #2aba51; border-color: #2aba51; }
.iabout-txt li .ico svg { width: 56px; height: 56px; stroke: #2aba51; fill: none; stroke-width: 1.6; transition: stroke .4s; }
.iabout-txt li a:hover .ico svg { stroke: #fff; }
.iabout-txt li b { font-size: 18px; font-weight: normal; display: block; line-height: 40px; }
.iabout-txt li i { display: block; text-align: center; font-style: normal; line-height: 24px; color: #999; font-size: 13px; }

/* ===================== 课程介绍 ===================== */
.ikecheng { background: #f6f6f6; overflow: hidden; padding-bottom: 30px; }
.ikecheng-m { padding: 20px 0; overflow: hidden; }
.ikecheng-m ul { overflow: hidden; }
.ikecheng-m li { float: left; margin: 20px; width: 560px; }
.ikecheng-m li a { display: block; padding: 18px; background: #fff; border-radius: 6px; transition: all .4s; height: 100%; }
.ikecheng-m li a:hover { box-shadow: 0 10px 26px rgba(42, 186, 81, .15); transform: translateY(-4px); }
.ikecheng-m li .img { float: left; width: 100px; margin-right: 20px; }
.ikecheng-m li .img img { width: 100px; border-radius: 50%; height: 100px; object-fit: cover; }
.ikecheng-m li .txt { overflow: hidden; }
.ikecheng-m li .txt h4 { line-height: 40px; font-size: 17px; color: #222; }
.ikecheng-m li .txt p { line-height: 24px; color: #777; font-size: 13px; height: 48px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* ===================== 讲师团队 ===================== */
.iteam { overflow: hidden; }
.iteam-m { padding: 20px 0; overflow: hidden; }
.iteam-m ul { overflow: hidden; }
.iteam-m li { float: left; margin-right: 26px; width: 280px; position: relative; height: 420px; overflow: hidden; border-radius: 6px; }
.iteam-m li:nth-child(4n) { margin-right: 0; }
.iteam-m li img { width: 280px; height: 420px; object-fit: cover; transition: transform .6s; }
.iteam-m li .txt {
    position: absolute; left: 0; right: 0; bottom: 0; height: 46px; background: rgba(0, 0, 0, .72);
    color: #fff; padding: 14px 20px; transition: height .5s ease-in; overflow: hidden;
}
.iteam-m li:hover img { transform: scale(1.06); }
.iteam-m li .txt h4 { line-height: 24px; font-weight: normal; font-size: 16px; height: 24px; overflow: hidden; }
.iteam-m li .txt p { line-height: 22px; font-size: 13px; color: #ddd; opacity: 0; transition: opacity .4s .15s; }
.iteam-m li:hover .txt { height: 150px; }
.iteam-m li:hover .txt p { opacity: 1; }

/* ===================== 新闻中心（首页） ===================== */
.index_listC { background: #f6f6f6; padding-top: 1px; }
.index_listC .cotent { overflow: hidden; padding-bottom: 60px; }
.index_listC .m-banner { height: 364px; width: 550px; position: relative; float: left; overflow: hidden; border-radius: 6px; }
.new-list { position: relative; width: 550px; height: 364px; overflow: hidden; }
.new-list ul.ck-slide-wrapper { position: absolute; top: 0; left: 0; margin: 0; padding: 0; height: 364px; width: 100%; }
.new-list ul.ck-slide-wrapper li { position: absolute; top: 0; left: 0; width: 550px; height: 364px; opacity: 0; transition: opacity .6s; }
.new-list ul.ck-slide-wrapper li.on { opacity: 1; }
.new-list ul li img { width: 550px; height: 364px; object-fit: cover; }
.new-list .shade {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 15px 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, .82), rgba(0, 0, 0, 0));
}
.shade .new-tt { display: block; width: 100%; height: 22px; line-height: 22px; font-size: 14px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shade .new-cont { display: block; margin-top: 6px; width: 100%; height: 36px; line-height: 18px; font-size: 12px; color: #ececec; overflow: hidden; }
.shade .new-cont span { float: right; margin-left: 10px; color: #b9d9c3; }
.new-list .ctrl-slide {
    position: absolute; bottom: 14px; right: 14px; z-index: 5; width: 30px; height: 30px; line-height: 30px;
    text-align: center; color: #fff; font-size: 12px; text-indent: -999px; overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%;
}
.new-list .ck-prev { margin-right: 38px; }
.new-list .ctrl-slide::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-top: 1px solid #fff; border-left: 1px solid #fff; }
.new-list .ck-prev::before { transform: translate(-30%, -50%) rotate(-45deg); }
.new-list .ck-next::before { transform: translate(-70%, -50%) rotate(135deg); }
.new-list .ctrl-slide:hover { background: #2aba51; border-color: #2aba51; }

.index_listC .list { width: 500px; float: right; }
.index_listC .list li { height: 78px; margin-bottom: 17px; }
.index_listC .list li:last-child { margin-bottom: 0; }
.index_listC .list li .data {
    width: 78px; height: 78px; display: inline-block; color: #666; font-size: 12px; text-align: center;
    border: 1px solid #c9c9c9; position: relative; background: #fff; vertical-align: top;
    transition: all .3s;
}
.index_listC .list li .data strong { font-size: 30px; color: #666; display: block; text-align: center; line-height: 44px; transition: all .3s; }
.index_listC .list li .data i { width: 1px; height: 30px; background: #2aba51; position: absolute; right: -1px; top: 25px; }
.index_listC .list li .words { width: 410px; float: right; }
.index_listC .list li .words h3 { font-size: 16px; font-weight: normal; color: #333; line-height: 30px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; transition: color .3s; }
.index_listC .list li .words p { line-height: 24px; height: 48px; font-size: 13px; color: #666; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.index_listC .list li:hover .data { background: #2aba51; color: #fff; border-color: #2aba51; }
.index_listC .list li:hover .data strong { color: #fff; }
.index_listC .list li:hover .words h3 { color: #2aba51; }

/* ===================== 内页：新闻列表 ===================== */
.news-list-page { padding: 30px 0 20px; }
.news-list-page .item {
    padding: 24px 0; border-bottom: 1px dashed #e5e5e5; overflow: hidden; position: relative;
}
.news-list-page .item:hover { background: #fafcfb; }
.news-list-page .item .date {
    float: left; width: 92px; text-align: center; border-right: 1px solid #eee; margin-right: 22px;
}
.news-list-page .item .date strong { display: block; font-size: 30px; color: #2aba51; line-height: 36px; font-weight: normal; }
.news-list-page .item .date span { font-size: 12px; color: #999; }
.news-list-page .item .info { overflow: hidden; }
.news-list-page .item .info h3 { font-size: 17px; font-weight: normal; margin-bottom: 8px; line-height: 26px; }
.news-list-page .item .info h3 a { color: #222; }
.news-list-page .item .info h3 a:hover { color: #2aba51; }
.news-list-page .item .info p { font-size: 13px; color: #888; line-height: 24px; max-height: 48px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.news-list-page .item .meta { margin-top: 8px; font-size: 12px; color: #bbb; }
.news-list-page .item .meta span { margin-right: 16px; }
.news-list-page .empty { text-align: center; padding: 70px 0; color: #999; }

/* ===================== 内页：详情 ===================== */
.article-wrap { padding: 40px 0 10px; }
.article-head { text-align: center; border-bottom: 1px solid #eee; padding-bottom: 20px; margin-bottom: 28px; }
.article-head h1 { font-size: 24px; font-weight: normal; color: #222; line-height: 36px; margin-bottom: 14px; }
.article-head .meta { font-size: 13px; color: #999; }
.article-head .meta span { margin: 0 12px; }
.article-body { max-width: 100%; }
.article-foot { border-top: 1px solid #eee; margin-top: 36px; padding-top: 20px; font-size: 13px; color: #888; }
.article-foot p { line-height: 32px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.article-foot a { color: #555; }
.article-foot a:hover { color: #2aba51; }
.related { margin-top: 40px; padding: 24px 0 0; border-top: 1px solid #eee; }
.related h3 { font-size: 15px; font-weight: normal; color: #333; margin-bottom: 14px; }
.related ul li { line-height: 34px; font-size: 14px; }
.related ul li a { color: #666; }
.related ul li a:hover { color: #2aba51; }
.related ul li span { float: right; color: #bbb; font-size: 12px; }

/* ===================== 图集 ===================== */
.zzry_A { padding: 40px 0 10px; }
.zzry_A ul { overflow: hidden; }
.zzry_A li { float: left; width: 380px; margin: 0 30px 30px 0; }
.zzry_A li:nth-child(3n) { margin-right: 0; }
.zzry_A li a { display: block; overflow: hidden; border-radius: 6px; position: relative; }
.zzry_A li img { width: 100%; height: 260px; object-fit: cover; transition: transform .6s; display: block; }
.zzry_A li a:hover img { transform: scale(1.07); }
.zzry_A li span {
    display: block; text-align: center; line-height: 44px; font-size: 15px; color: #333;
    background: #f6f6f6; border-radius: 0 0 6px 6px;
}
.zzry_A li a:hover span { background: #2aba51; color: #fff; }

/* ===================== 课程页 ===================== */
.kecheng_page { padding: 40px 0 10px; }
.kecheng_page ul { overflow: hidden; }
.kecheng_page li { float: left; width: 385px; margin: 0 22px 24px 0; }
.kecheng_page li:nth-child(3n) { margin-right: 0; }
.kecheng_page li a { display: block; border: 1px solid #eee; border-radius: 8px; overflow: hidden; background: #fff; transition: all .4s; height: 100%; }
.kecheng_page li a:hover { box-shadow: 0 12px 30px rgba(0, 0, 0, .1); transform: translateY(-6px); border-color: #d7efe0; }
.kecheng_page li .img { height: 200px; overflow: hidden; background: #f2f7f4; }
.kecheng_page li .img img { width: 100%; height: 200px; object-fit: cover; }
.kecheng_page li .img .ph {
    height: 200px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #2aba51, #6fd68d); color: #fff; font-size: 30px; letter-spacing: 2px;
}
.kecheng_page li .txt { padding: 18px 20px 22px; }
.kecheng_page li .txt h4 { font-size: 18px; color: #222; line-height: 30px; font-weight: normal; }
.kecheng_page li .txt .price { color: #e84a3d; font-size: 18px; margin: 6px 0; }
.kecheng_page li .txt p { font-size: 13px; color: #888; line-height: 24px; height: 48px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.kecheng_page li .txt .more { display: inline-block; margin-top: 12px; font-size: 13px; color: #2aba51; }

/* 课程详情 */
.kd-wrap { padding: 40px 0 20px; overflow: hidden; }
.kd-left { float: left; width: 860px; }
.kd-right { float: right; width: 300px; }
.kd-head { overflow: hidden; border-bottom: 1px solid #eee; padding-bottom: 22px; margin-bottom: 26px; }
.kd-head .cover { float: left; width: 220px; height: 160px; border-radius: 8px; overflow: hidden; margin-right: 26px; background: linear-gradient(135deg, #2aba51, #6fd68d); }
.kd-head .cover img { width: 100%; height: 100%; object-fit: cover; }
.kd-head .cover .ph { height: 100%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 32px; }
.kd-head .info { overflow: hidden; }
.kd-head .info h1 { font-size: 24px; font-weight: normal; color: #222; line-height: 38px; }
.kd-head .info .price { font-size: 24px; color: #e84a3d; margin: 10px 0; }
.kd-head .info .tags span {
    display: inline-block; padding: 3px 12px; border: 1px solid #cfeedd; color: #2aba51;
    border-radius: 12px; font-size: 12px; margin: 4px 8px 0 0;
}
.kd-head .info .desc { color: #777; font-size: 13px; line-height: 24px; margin-top: 12px; }
.side-box { border: 1px solid #eee; border-radius: 8px; overflow: hidden; margin-bottom: 24px; }
.side-box h3 { font-size: 16px; font-weight: normal; background: #f6f6f6; padding: 12px 18px; color: #333; border-left: 3px solid #2aba51; }
.side-box ul { padding: 10px 18px 16px; }
.side-box ul li { line-height: 34px; font-size: 13px; border-bottom: 1px dashed #f0f0f0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.side-box ul li:last-child { border-bottom: 0; }
.side-box ul li a { color: #666; }
.side-box ul li a:hover { color: #2aba51; }
.side-contact { padding: 20px 18px; text-align: center; background: #f7fbf8; }
.side-contact p { font-size: 13px; color: #777; line-height: 26px; }
.side-contact .tel { font-size: 20px; color: #2aba51; font-weight: bold; margin: 8px 0; }

/* ===================== 讲师页 ===================== */
.team_page { padding: 40px 0 10px; }
.team_page ul { overflow: hidden; }
.team_page li { float: left; width: 280px; margin: 0 26px 30px 0; }
.team_page li:nth-child(4n) { margin-right: 0; }
.team_page li a { display: block; border-radius: 8px; overflow: hidden; position: relative; height: 400px; }
.team_page li img { width: 280px; height: 400px; object-fit: cover; display: block; transition: transform .6s; }
.team_page li a:hover img { transform: scale(1.05); }
.team_page li .mask {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 18px; color: #fff;
    background: linear-gradient(to top, rgba(0, 0, 0, .85), rgba(0, 0, 0, 0));
}
.team_page li .mask h4 { font-size: 17px; font-weight: normal; line-height: 28px; }
.team_page li .mask p { font-size: 12px; color: #d6d6d6; line-height: 20px; height: 40px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* 讲师详情 */
.td-wrap { padding: 40px 0 20px; overflow: hidden; }
.td-photo { float: left; width: 360px; margin-right: 40px; }
.td-photo img { width: 100%; border-radius: 8px; display: block; }
.td-info { overflow: hidden; }
.td-info h1 { font-size: 26px; font-weight: normal; color: #222; }
.td-info .job { color: #2aba51; font-size: 15px; margin: 8px 0 16px; }
.td-info .tags span { display: inline-block; padding: 3px 12px; background: #f2f9f5; color: #2aba51; border-radius: 12px; font-size: 12px; margin: 0 8px 8px 0; }
.td-info .divider { height: 1px; background: #eee; margin: 20px 0; }
.td-info .desc { font-size: 14px; color: #666; line-height: 26px; }

/* ===================== 联系我们 ===================== */
.contact-grid { padding: 20px 0 40px; overflow: hidden; }
.contact-card { background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 34px 40px; max-width: 760px; margin: 0 auto; }
.contact-card .row-item { display: flex; padding: 16px 0; border-bottom: 1px dashed #eee; font-size: 15px; }
.contact-card .row-item:last-child { border-bottom: 0; }
.contact-card .row-item .k { width: 90px; color: #999; flex: none; }
.contact-card .row-item .v { color: #333; line-height: 28px; }
.contact-card .row-item .v strong { color: #2aba51; font-size: 19px; }
.contact-card .qrcode { text-align: center; margin-top: 22px; }
.contact-card .qrcode img { width: 150px; height: 150px; object-fit: contain; }

/* ===================== 留言表单 ===================== */
.gbook-box { max-width: 780px; margin: 0 auto; padding: 26px 0 60px; }
.gbook-box .form-row { margin-bottom: 18px; }
.gbook-box label { display: block; font-size: 14px; color: #555; margin-bottom: 8px; }
.gbook-box label em { color: #e74c3c; font-style: normal; margin-left: 4px; }
.gbook-box input[type=text], .gbook-box input[type=email], .gbook-box textarea {
    width: 100%; padding: 12px 14px; border: 1px solid #dcdfe6; border-radius: 6px;
    font-size: 14px; color: #333; transition: border-color .3s;
}
.gbook-box input:focus, .gbook-box textarea:focus { border-color: #2aba51; }
.gbook-box textarea { height: 150px; resize: vertical; line-height: 1.7; }
.gbook-box .form-flex { display: flex; gap: 18px; }
.gbook-box .form-flex > div { flex: 1; }
.gbook-box .captcha-row { display: flex; align-items: center; gap: 14px; }
.gbook-box .captcha-row input { width: 180px; }
.gbook-box .captcha-row img { height: 42px; border-radius: 4px; cursor: pointer; border: 1px solid #eee; }
.gbook-box .hp { position: absolute; left: -9999px; opacity: 0; }
.gbook-success { text-align: center; padding: 80px 0; }
.gbook-success .ico {
    width: 84px; height: 84px; margin: 0 auto 24px; border-radius: 50%; background: #2aba51;
    color: #fff; font-size: 42px; line-height: 84px;
}
.gbook-success h2 { font-size: 22px; font-weight: normal; color: #222; margin-bottom: 12px; }
.gbook-success p { color: #888; font-size: 14px; }

/* ===================== 404 ===================== */
.error-page { text-align: center; padding: 110px 0 130px; }
.error-page .code { font-size: 96px; color: #2aba51; line-height: 1; font-weight: bold; letter-spacing: 4px; }
.error-page h2 { font-size: 20px; font-weight: normal; color: #555; margin: 22px 0 10px; }
.error-page p { color: #999; margin-bottom: 28px; }

/* ===================== 搜索 ===================== */
.search-bar { max-width: 640px; margin: 26px auto 0; display: flex; gap: 10px; }
.search-bar input {
    flex: 1; padding: 12px 16px; border: 1px solid #dcdfe6; border-radius: 6px; font-size: 14px;
}
.search-bar input:focus { border-color: #2aba51; }
.search-bar button {
    padding: 0 30px; background: #2aba51; color: #fff; border: 0; border-radius: 6px;
    font-size: 15px; cursor: pointer;
}
.search-bar button:hover { background: #249b46; }

/* ===================== 通用占位图 ===================== */
.ph-avatar {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(160deg, #2aba51, #7ad897); color: #fff;
    font-size: 60px; font-weight: bold; letter-spacing: 4px;
}
.ph-round {
    width: 100px; height: 100px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(150deg, #2aba51, #7ad897); color: #fff; font-size: 26px; letter-spacing: 1px;
}
.ph-cover {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(140deg, #26763f, #2aba51 60%, #6fd68d); color: #fff;
}
.ph-cover span { font-size: 22px; letter-spacing: 3px; opacity: .92; }
.ph-wide {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(140deg, #2aba51, #6fd68d); color: #fff; font-size: 30px; letter-spacing: 4px;
}

/* ===================== 响应式 =====================
   全站媒体查询统一收敛到 skin/css/responsive.css（本文件之后加载），
   请勿在此文件内新增断点，以免两处规则互相覆盖。 */
