﻿/*
Theme Name: 中国政法大学培训学院招生主题
Theme URI: https://pxxy.cupl.edu.cn
Author: CUPL
Description: 中国政法大学培训学院同等学力研修班招生页面 WordPress 主题
Version: 1.1
*/

:root {
  --primary-color: #9B0000;
  --text-color: #3E3E3E;
  --major-color:#D8BFD8;

}
body {
  min-width: 1330px;
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.6;
  font-family: "SourceHanSansCN-Regular", "Microsoft YaHei", Arial;
}

.container {
  width: 1300px;
  height: 100%;
  margin: 0 auto;
  position: relative;
}
.container-fluid {
  max-width: 1420px;
  min-width: 1300px;
  height: 100%;
  margin: 0 auto;
  position: relative;
}
div,
.h1, .h2, .h3, .h3, .h5, .h6,
.ul, .ul li, .p, .dl, .dl dd {
  list-style: none;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
.f { display: flex; }
.fv { align-items: center; }
.fc { justify-content: center; }
.fj { justify-content: space-between; }
.pc { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.pv { position: absolute; top: 50%; transform: translateY(-50%); }
.ph { position: absolute; left: 50%; transform: translateX(-50%); }
.ellipsis {
  overflow: hidden; text-overflow:ellipsis; white-space: nowrap;
}
.row-ellipsis {
  display: -webkit-box !important;    
  -webkit-box-orient: vertical;    
  -webkit-line-clamp: 3;    
  overflow: hidden;
}


.web-top {
  height: 30px;
  background-color: var(--primary-color);
}
.web-top p {
  font-size: 12px;
  color: #fff;
  line-height: 14px;
}

.web-header {
  position: relative;
  z-index: 10;
  height: 130px;
  background: url(images/web-header.min.jpg) top center no-repeat;
  background-color: var(--primary-color);
}
.web-header a.logo img {
  max-height: 80px;
}
.web-header .infos .i-group {
  margin-bottom: 8px;
}
.web-header .infos .i-group:last-child {
  margin-bottom: 0;
}
.web-header .infos .label {
  margin-bottom: 6px;
}
.web-header .infos .label .p {
  margin-left: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 18px;
  font-weight: 600;
}
.web-header .infos .values .p {
  position: relative;
  font-size: 14px;
  color: #fff;
  font-weight: 600;
  line-height: 18px;
}
.web-header .infos .values .qrcode,
.web-footer ul li .p .qrcode{
  display: none;
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  transform: translateX(-50%);
  width: 120px;
  box-shadow: 0px 0px 20px 0px rgba(62,62,62,0.1);
  background-color: #fff;
  z-index: 1;
}
.web-header .infos .values .p:hover .qrcode,
.web-footer ul li .p:hover .qrcode{
  display: block;
}
.web-header .infos .values .qrcode:before,
.web-footer ul li .p .qrcode:before{
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width:0px;
  height:0px;
  border-left:8px solid transparent;
  border-right:8px solid transparent; 
  border-bottom:8px solid #fff;
}
.web-header .infos .values .qrcode img,
.web-footer ul li .p .qrcode img{
  width: 100%;
  vertical-align: top;
}
.web-header .infos .values .p:after {
  margin: 0 4px;
  content: "";
  display: block;
  width: 1px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.6);
}
.web-header .infos .values .p:last-child:after {
  display: none;
}
.web-header .infos .values .p sub {
  transform: translateY(-1px);
}

.web-navs {
  position: sticky;
  top: 0;
  z-index: 9;
  background-color: #fff;
  box-shadow: 0px 0px 20px 0px rgba(62,62,62,0.8);
}
.web-navs ul li a {
  position: relative;
  display: block;
  line-height: 70px;
  font-size: 16px;
  color: var(--text-color);
  font-weight: 600;
  text-decoration: none;
}
.web-navs ul li.on a,
.web-navs ul li a:hover{
  color: var(--primary-color);
}
.web-navs ul li.on a:after {
  position: absolute;
  content: "";
  width: 100%;
  bottom: 7px;
  left: 0; right: 0;
  height: 3px;
  background-color: var(--primary-color);
}


.web-swiper-notices {
  position: relative;
}
.web-swiper-notices .swiper {
  position: relative;
  z-index: 0;
}
.web-swiper-notices .swiper .swiper-pagination-bullets {
  bottom: 80px;
}
.web-swiper-notices .swiper .swiper-pagination-bullets .swiper-pagination-bullet {
  width: 17px;
  height: 17px;
  border: 2px solid #fff;
  background-color: transparent;
  opacity: 1;
}
.web-swiper-notices .swiper .swiper-pagination-bullets .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #fff;
}
.web-swiper-notices .swiper .swiper-slide a {
  display: block;
  text-align: center;
}
.web-swiper-notices .swiper .swiper-slide a img {
  max-width: 100%;
}
.web-swiper-notices .notices {
  position: absolute;
  height: auto;
  padding: 14px;
  z-index: 1;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  box-shadow: 0px 0px 20px 0px rgba(128,0,0,0.2);
}
.web-swiper-notices .notices:before {
  display: block;
  margin-right: 32px;
  content: "";
  width: 261px;
  height: 71px;
  background: url(images/notice.min.jpg) no-repeat;
}
.web-swiper-notices .notices ul {
  flex: 1;
  overflow: hidden;
}
.web-swiper-notices .notices ul li a {
  font-size: 16px;
  line-height: 18px;
  color: var(--text-color);
  text-decoration: none;
}
.web-swiper-notices .notices ul li a:hover {
  color: var(--primary-color);
}

.index-tit {
  position: relative;
  padding: 12px 0;
  text-align: center;
}
.index-tit:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  width: 44px;
  height: 1px;
  background-color: var(--primary-color);
}
.index-tit .h2 {
  margin-bottom: 3px;
  font-size: 32px;
  line-height: 44px;
  color: var(--text-color);
  font-weight: 600;
}
.index-tit .p {
  font-size: 15px;
  line-height: 28px;
  color: #D6D6D6;
  text-transform: uppercase;
}

.index-zhao {
  padding: 80px 0 48px;
}
.index-zhao .z-body {
  
}
.index-zhao .z-body .zb-section {
  padding: 22px 0;
}
.index-zhao .z-body .zb-section .t {
  font-size: 24px;
  line-height: 34px;
  color: var(--primary-color);
  font-weight: 600;
}
.index-zhao .z-body .zb-section ul {
  flex-wrap: wrap;
  margin: 0 -25px;
}
.index-zhao .z-body .zb-section ul li {
  margin: 22px 25px 0;
  padding: 20px 0 34px;
  border: 1px solid var(--major-color);
  box-shadow: 0px 4px 20px 0px rgba(155,0,0,0.1);
  width: calc(calc(100% - 200px) / 4);
  text-align: center;
}
.index-zhao .z-body .zb-section ul li .p {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 34px;
  font-weight: 600;
  color: var(--text-color);
}
.index-zhao .z-body .zb-section ul li a {
  display: inline-block;
  width: 134px;
  line-height: 42px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background-color: var(--primary-color);
}
.index-zhao .z-footer {
  margin-top: 25px;
}

.index-more {
  margin: 0 auto;
  width: 238px;
  height: 60px;
  border-radius: 30px;
  font-size: 20px;
  line-height: 24px;
  font-weight: 600;
  color: #fff;
  background-color: var(--primary-color);
  text-decoration: none;
}

.index-bao {
  padding: 66px 0 62px;
  background-color: #F8F8F8;
}
.index-bao .b-body {
  padding: 42px 0;
}
.index-bao .b-body img.reg {
  width: 100%;
}
.index-bao .b-body p {
  position: absolute;
  transform: translateX(-50%);
  bottom: 13px;
  font-size: 14px;
  color: var(--text-color);
  line-height: 16px;
  font-weight: 600;
  white-space: nowrap;
}
.index-bao .b-body .p1 {
  left: 72px;
}
.index-bao .b-body .p2 {
  left: 360px;
}
.index-bao .b-body .p3 {
  left: 650px;
}
.index-bao .b-body .p4 {
  left: calc(100% - 360px);
}
.index-bao .b-body .p5 {
  left: calc(100% - 72px);
}


.index-apply {
  position: relative;
  padding: 55px 0 68px;
  background-color: #F3F4F8;
}
.index-apply:before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 311px;
  content: "";
  background: url(images/apply.min.png) top center no-repeat;
  background-color: var(--primary-color);
}
.index-apply .container {
  z-index: 2;
}
.index-apply .index-tit .h2,
.index-apply .index-tit .p {
  color: #fff;
}
.index-apply .index-tit:after {
  background-color: #fff;
}
.index-apply ul {
  padding: 45px 30px 34px;
  background-color: #fff;
}
.index-apply ul li {
  position: relative;
  margin: 0 15px;
  width: calc(calc(100% - 90px) / 3);
}
.index-apply ul li img {
  position: relative;
  z-index: 0;
  vertical-align: top;
}
.index-apply ul li .num {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 106px;
  height: 64px;
  font-size: 36px;
  line-height: 36px;
  color: #fff;
  font-weight: 600;
  text-align: center;
  background-color: var(--primary-color);
}
.index-apply ul li .p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-color);
  text-align: center;
}


.index-zheng {
  padding: 58px 0 0;
  height: 667px;
  background: url(images/zheng.min.jpg) top center no-repeat;
}
.index-zheng .z-header {
  margin-top: 28px;
}
.index-zheng .z-header .p {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  line-height: 22px;
}
.index-zheng .z-header .p.strong {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  color: var(--primary-color);
}
.index-zheng .z-body {
  padding: 46px 42px 28px;
  margin-top: 26px;
  background-color: #fff;
}
.index-zheng .z-body .cover {
  margin-bottom: 20px;
  text-align: center;
}
.index-zheng .z-body .cover img {
  max-height: 261px;
  vertical-align: top;
}
.index-zheng .z-body .p {
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  color: var(--text-color);
  text-align: center;
}


.index-teachers {
  padding: 56px 0 48px;
}
.index-teachers .t-body {
  margin-top: 40px;
}
.index-teachers .t-body ul {
  margin: 0 -20px;
}
.index-teachers .t-body ul li {
  margin: 0 20px;
  border: 1px solid #ddd;
  width: calc(calc(100% - 200px) / 5);
}
.index-teachers .t-body ul li .cover {
  height: 284px;
  overflow: hidden;
}
.index-teachers .t-body ul li .cover img {
  width: 100%;
  vertical-align: top;
}
.index-teachers .t-body ul li .intro {
  padding: 10px 16px 10px;
}
.index-teachers .t-body ul li .intro .name {
  margin-bottom: 3px;
  font-size: 20px;
  line-height: 28px;
  color: var(--primary-color);
  font-weight: 600;
  text-align: center;
}
.index-teachers .t-body ul li .intro .cont {
  font-size: 12px;
  line-height: 20px;
  color: #000;
  font-weight: 500;
}


.index-study {
  background-color: #F3F4F8;
  padding: 58px 0 46px;
}
.index-study .s-footer {
  margin-top: 36px;
}
.index-study .s-body ul {
  padding: 12px 0 0;
  margin: 0 -27px;
  flex-wrap: wrap;
}
.index-study .s-body ul li {
  margin: 32px 27px 0;
  padding: 30px 28px 0;
  border-top: 12px solid var(--primary-color);
  width: calc(calc(100% - 162px) / 3);
  background-color: #fff;
  height: 220px;
  text-align: center;
}
.index-study .s-body ul li .tit {
  margin-bottom: 8px;
  font-size: 34px;
  line-height: 48px;
  color: var(--primary-color);
  font-weight: 600;
}
.index-study .s-body ul li .con {
  font-size: 18px;
  color: var(--text-color);
  line-height: 26px;
}
.index-study .s-body ul li:hover {
  background-color: var(--primary-color);
}
.index-study .s-body ul li:hover .tit,
.index-study .s-body ul li:hover .con {
  color: #fff;
}

.index-services {
  position: relative;
  padding: 66px 0 68px;
}
.index-services .s-body{
  position: relative;
  z-index: 1;
  margin-top: 62px;
}
.index-services .cover {
  z-index: 0;
  position: absolute;
  right: 0;
  bottom: 0;
  background-color: var(--primary-color);
}
.index-services .s-body {
  height: 492px;
  width: 1088px;
  padding: 0 0 0 78px;
  background-color: #fff;
  box-shadow: 0px 0px 20px 0px rgba(62,62,62,0.1);
}
.index-services .s-body ul {
  padding-top: 40px;
}
.index-services .s-body ul li {
  border-left: 10px solid var(--primary-color);
  padding-left: 28px;
  padding-right: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 28px;
  height: 96px;
  width: 884px;
  background-color: #F6F6F6;
}
.index-services .s-body ul li .tit {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 28px;
  color: var(--primary-color);
  font-weight: 600;
}
.index-services .s-body ul li .con {
  font-size: 14px;
  line-height: 20px;
  color: var(--text-color);
}


.index-faq {
  padding: 88px 0 0;
  height: 753px;
  background: url(images/faq.png) top center no-repeat;
  background-color: #F3F4F8;
}
.index-faq .f-body {
  margin-top: 50px;
  padding: 42px;
  background-color: #fff;
}
.index-faq ul li {
  padding: 20px 0;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.2);
}
.index-faq ul li:before {
  margin-right: 18px;
  content: "A";
  display: block;
  width: 33px;
  line-height: 33px;
  font-size: 20px;
  color: #fff;
  background-color: var(--primary-color);
  text-align: center;
}
.index-faq ul li .p {
  flex: 1;
  font-size: 18px;
  line-height: 26px;
  color: var(--text-color);
  font-weight: 600;
  overflow: hidden;
}
.index-faq ul li a {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: var(--primary-color);
  opacity: 0.8;
  text-decoration: none;
}
.index-faq ul li a:hover {
  opacity: 1;
  font-weight: 600;
}

.index-last {
  padding: 62px 0 28px;
}
.index-last .l-body {
  margin-top: 46px;
}

.index-env {
  padding: 28px 0 44px;
}
.index-env .swiper-slide .cover {
  display: block;
  margin-bottom: 16px;
  height: 188px;
  text-align: center;
  overflow: hidden;
}
.index-env .swiper-slide .cover img {
  width: 100%;
  vertical-align: top;
}
.index-env .swiper-slide .p {
  font-size: 15px;
  line-height: 21px;
  text-align: center;
  color: var(--text-color);
}

.web-bu {
  height: 125px;
  background: url(images/bu.min.png) top center no-repeat;
  background-color: var(--primary-color);
}
.web-bu .tit {
  color: #fff;
}
.web-bu .tit .h2 {
  margin-bottom: 10px;
  font-size: 27px;
  font-weight: 500;
  line-height: 40px;
}
.web-bu .tit .p {
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 2px;
}
.web-bu .more {
  width: 202px;
  height: 56px;
  border-radius: 28px;
  font-size: 16px;
  line-height: 20px;
  color: var(--text-color);
  font-weight: 600;
  text-decoration: none;
  background-color: #fff;
}

.web-footer {
  padding: 42px 0 0;
  height: 289px;
  background: url(images/web-footer.min.jpg) top center no-repeat;
}
.web-footer ul li {
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}
.web-footer ul li label {
  color: rgba(255, 255, 255, 0.6);
}
.web-footer ul li .p {
  position: relative;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
}
.web-footer ul li .p:after {
  margin: 0 4px;
  content: "";
  display: block;
  width: 1px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.6);
}
.web-footer ul li .p:last-child:after {
  display: none;
}
.web-footer ul li .p sub {
  transform: translateY(-1px);
}

.web-bottom {
  padding: 22px 0;
  background-color: #000;
}
.web-bottom p {
  margin: 0 10px;
  font-size: 12px;
  line-height: 20px;
  color: #fff;
}
.web-bottom a {
  color: #fff;
  text-decoration: none;
}

.side-left {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 171px;
  height: 421px;
  z-index: 20;
  padding: 130px 14px 0 36px;
  background: url(images/float.min.png) no-repeat;
}
.side-left a.close {
  position: absolute;
  top: 4px;
  right: -5px;
  z-index: 1;
}
.side-left .p {
  font-size: 15px;
  line-height: 40px;
  color: #000;
  font-weight: 600;
  text-align: center;
}
.side-left ul li a {
  display: block;
  font-size: 15px;
  line-height: 36px;
  font-weight: 600;
  color: #000;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.side-left ul li a:hover {
  color: #fff;
  background-color: var(--primary-color);
}

.index-env .swiper {
  margin-top: 44px;
}
.index-env .swiper .swiper-button-next,
.index-env .swiper .swiper-button-prev {
  top: 76px;
  margin-top: 0;
  width: 42px;
  height: 42px;
}
.index-env .swiper .swiper-button-next:after,
.index-env .swiper .swiper-button-prev:after {
  display: none;
}
.index-env .swiper .swiper-button-next {
  background: url(images/s-next.min.png) no-repeat;
}
.index-env .swiper .swiper-button-prev {
  background: url(images/s-prev.min.png) no-repeat;
}

.thin_table {
  border-collapse: collapse;
  width: 100%;
}
 
.thin_table, th, td {
  border: 1px solid #ddd;
  font-size: 16px;
  padding: 15px 10px;
  text-align: center;
  font-weight: 600;
  color: #3E3E3E;
}
.ths{
  font-weight: bold;
  font-size: 22px;
  background-color:rgba(155, 0, 0, 1.0);
  padding:10px 20px;
  color: #fff;

}

.thin_table a:hover {
  text-decoration: underline !important;
}

/* 新闻中心列表精细样式 (匹配图片) */
.news-center-page {
  background-color: #f8f9fb;
  padding: 60px 0 100px;
}
.news-center-tit {
  text-align: center;
  margin-bottom: 60px;
}
.news-center-tit .h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 5px;
  font-weight: 600;
}
.news-center-tit .p-en {
  font-size: 14px;
  color: #ccc;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.news-center-tit .line-sep {
  width: 40px;
  height: 2px;
  background-color: #9b0000;
  margin: 15px auto 0;
}

.news-list {
  max-width: 1100px;
  margin: 0 auto;
}
.news-item {
  background-color: #fff;
  margin-bottom: 25px;
  padding: 35px 50px;
  border-radius: 4px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
}
.news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.news-date {
  width: 150px;
  flex-shrink: 0;
}
.news-date .date-text {
  color: #e64a19; /* 红色日期 */
  font-size: 14px;
  font-weight: 600;
}

.news-info {
  flex: 1;
  padding: 0 40px;
}
.news-title {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
  line-height: 1.5;
}
.news-excerpt {
  color: #888;
  font-size: 14px;
  line-height: 1.8;
}

.news-more {
  flex-shrink: 0;
}
.more-link {
  color: #666;
  text-decoration: none;
  font-size: 13px;
}
.more-link .txt {
  margin-right: 15px;
}
.more-link .more-line {
  display: inline-block;
  width: 60px;
  height: 1px;
  background-color: #ddd;
  margin-right: 10px;
  transition: all 0.3s;
}
.more-link .more-circle {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 1px solid #ddd;
  border-radius: 50%;
  position: relative;
  transition: all 0.3s;
}
.more-link .more-circle:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background-color: #333;
  border-radius: 50%;
}

.more-link:hover {
  color: #9b0000;
}
.more-link:hover .more-line {
  background-color: #9b0000;
  width: 80px;
}
.more-link:hover .more-circle {
  border-color: #9b0000;
}
.more-link:hover .more-circle:after {
  background-color: #9b0000;
}

/* 分页 */
.pagination-wrapper {
  margin-top: 50px;
  text-align: center;
}
.pagination-wrapper .nav-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.pagination-wrapper .page-numbers {
  padding: 10px 18px;
  background: #fff;
  border: 1px solid #eee;
  color: #666;
  text-decoration: none;
}
.pagination-wrapper .page-numbers.current {
  background: #9b0000;
  color: #fff;
  border-color: #9b0000;
}
.no-posts {
  text-align: center;
  padding: 100px 0;
  color: #999;
  background: #fff;
}

/* 文章详情页样式 */
.article-detail-page {
  background-color: #f8f9fb;
  padding: 40px 0 100px;
}
.article-breadcrumb {
  margin-bottom: 20px;
  font-size: 14px;
  color: #999;
}
.article-breadcrumb a {
  color: #666;
  text-decoration: none;
}
.article-breadcrumb a:hover {
  color: #9b0000;
}
.article-content-box {
  background-color: #fff;
  padding: 60px 80px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.03);
  max-width: 1000px;
  margin: 0 auto;
}
.article-header {
  text-align: center;
  border-bottom: 1px solid #eee;
  margin-bottom: 40px;
  padding-bottom: 30px;
}
.article-title {
  font-size: 28px;
  color: #222;
  line-height: 1.4;
  margin-bottom: 20px;
  font-weight: 700;
}
.article-meta {
  color: #999;
  font-size: 14px;
}
.meta-item {
  margin: 0 15px;
}
.article-body {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}
.article-body p {
  margin-bottom: 20px;
}
.article-body img {
  max-width: 100%;
  height: auto;
  margin: 20px auto;
  display: block;
}
.article-footer {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}
.post-nav {
  font-size: 14px;
  color: #666;
}
.post-nav a {
  color: #444;
  text-decoration: none;
  transition: color 0.3s;
}
.post-nav a:hover {
  color: #9b0000;
}
.nav-prev, .nav-next {
  max-width: 45%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.embed-icon-default .embed-icon-pcIcon1{
  display: none!important;
}
