.logo.regular {
  max-height: 60px !important;min-width: auto !important;
}
 /* 响应式调整 */
            html {font-size:1.2em;}
              .taiji-header {
    /* 这里你可以设置一个更适合手机端的背景图，或者调整背景尺寸和高度 */
    background-size: cover; /* 或者尝试其他尺寸，比如100% 100%（但可能会导致拉伸） */
    min-height: auto; /* 移除或调整最小高度 */
    height: auto; /* 或者设置一个更适合手机端的高度，比如100vh */
  }
li{list-style:none;}
        /* 太极头部 */
        .taiji-header {

        }
.bagua-border {
  max-width: 1280px;
  margin: 0 auto;
}
.headerbao {
  text-align: center;
  border-radius: 12px;
  margin: 30px 0;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  margin: 10px auto 30px auto;
border: 2px solid #663030;
}
.article-header .post-title {
  text-align: center;
}
.jidi {
  text-align: center;
  padding: 40px 20px;
  border-radius: 12px;
  margin: 30px 0;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  margin: 10px auto 30px auto;

}
.wp-block-heading{font-size:1.1em;font-weight: bold;}
.sidebar li{font-size: 0.9em;padding: 5px;}
.entry-title {padding: 15px;}
.cta-button {
  display: inline-block;
  padding: 10px 40px;

  color: white;
  text-decoration: none;
  border-radius: 28px;

  transition: transform 0.3s, box-shadow 0.3s;
  margin-top: 20px;
  background-color: #c49303;
}
        /* 快速入口 */
        .quick-access {
            padding: 2rem;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
            background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M0 50Q50 0 100 50Q50 100 0 50" fill="%23a58e7466"/></svg>');
        }

        .access-card {
            text-align: center;
            padding: 1.5rem;
            background: rgba(255,255,255,0.9);
            border-radius: 10px;
            box-shadow: 0 3px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }

        .access-card:hover {
            transform: translateY(-5px);
        }
        /* 课程体系 */
.dao-course-system {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2rem;

}
        .course-card {
            background: rgba(255,255,255,0.95);
            border: 3px solid var(--tao-brown);
            padding: 1.5rem;
            position: relative;
            break-inside: avoid;
        }
        ul {
  padding-left: 0rem !important;
}
/* 数字看板 */
        .stats-board {
            display: flex;
            justify-content: space-around;
            padding: 2rem;

            color: #ccc;
            flex-wrap: wrap;
        }

        .stat-item {
            text-align: center;
            margin: 1rem;
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 300;
            letter-spacing: 2px;
        }

 
                 .nav-item {
            padding: 0.8rem 2rem;
            border: 1px solid var(--accent-color);
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
            font-size: 1.2em;
        }       /* 移动端适配 */
        @media (max-width: 768px) {
            .taiji-header h1 {
                font-size: 2.5rem !important;
                top: 30% !important;
            }
            .taiji-header p {
                font-size: 1rem !important;
                top: 45% !important;
            }
            
            .dao-course-system {
                grid-template-columns: 1fr;
                padding: 1rem;
            }
            
            .course-card[style*="grid-column:1/-1"] div {
                columns: 1 !important;
            }
            
            .course-card::before {
                font-size: 2rem;
            }

        }
        
        /* 仙鹤装饰适配 */
        @media (max-width: 480px) {
            img[alt="仙鹤"] {
                display: none;
            }
        }
        section{
  max-width: 1280px;
  margin: 0 auto;
}

.course-nav{
  max-width: 1280px;
  margin: 0 auto;
}
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Microsoft YaHei', '仿宋', sans-serif;
        }


        /* 课程导航 */
        .course-nav {
            display: flex;
            gap: 1rem;
            padding: 1rem;
            overflow-x: auto;
            margin-bottom: 2rem;
        }



        .nav-item.active {
            background: var(--accent-color);
            color: white;
        }

        /* 课程分类 */

        .category-title {
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            padding-left: 1rem;
            border-left: 5px solid var(--accent-color);
        }

        /* 课程卡片 */
        .course-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .course-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }

        .course-card:hover {
            transform: translateY(-5px);
        }

        .card-header {
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            padding: 1.5rem;
            color: white;
        }

        .card-body {
            padding: 1.5rem;
        }

        .course-tag {
            display: inline-block;
            padding: 0.3rem 0.8rem;
            background: var(--light-bg);
            border-radius: 15px;
            margin: 0.5rem 0;
            font-size: 0.9em;
            color: black;
        }

        /* 进阶指示器 */
        .progress-bar {
            height: 4px;
            background: #eee;
            margin: 1rem 0;
            position: relative;
              max-width: 1280px;
  margin: 0 auto;
        }

        .progress-indicator {
            height: 100%;
            background: var(--accent-color);
            width: 33%;
            transition: width 0.5s ease;
        }

        @media (max-width: 768px) {
            .category-title {
                font-size: 1.5rem;
            }

            .course-grid {
                grid-template-columns: 1fr;
            }
                    .nav-item {
            padding: 0.4rem 1rem;
            border: 1px solid var(--accent-color);
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
            font-size: 0.8em;
        }
        }
        
        .dao-course-system {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2rem;
}
.course-card:hover {
  transform: translateY(-5px);
}
.course-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.course-card {
  background: rgba(255,255,255,0.95);
  border: 3px solid var(--tao-brown);
  padding: 1.5rem;
  position: relative;
  break-inside: avoid;
}
.home-overview {
  position: relative;
  background-color: #313131;
}
@media (min-width: 1021px) {
    .side-for-pc {
        display: block;
    }
    .side-for-mobile {
        display: none;
    }
    .side-for-pc {
  position: fixed;
  right: 20px;
  top: 15%;
  z-index: 1000;
  border-bottom: 0;
  text-align: center;
  border: 1px solid #ffdebb;
  padding: 15px 20px 0px 20px;
}
    
}
 
/* 针对移动端（屏幕宽度小于768px） */
@media (max-width: 1020px) {
    .side-for-pc {
        display: none;
    }
    .side-for-mobile {
        display: block;
    }
}


/*证书查询*/
#cert-query-form {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
}

#cert-query-form div {
    margin-bottom: 15px;
}

#cert-query-form label {
    display: block;
    margin-bottom: 5px;
}

#query-result {
    margin-top: 20px;
    padding: 15px;
}

.success {
    background: #dff0d8;
    border: 1px solid #d6e9c6;
    color: #3c763d;
}

.error {
    background: #f2dede;
    border: 1px solid #ebccd1;
    color: #a94442;
}

.form-group{
  padding: 15px 0px;
}
label {
  display: inline-block;
  width: 120px;
}
.zhengshu{
  margin-left: 20px;
  position: relative;
  border: 1px solid #ddd;
  padding: 60px 30px;
  max-width: 600px;
  margin: 0 auto;
    margin-bottom: 0px;
  margin-bottom: 0px;
  margin-bottom: 40px;
}



.footershenshi {
    max-width: 1280px;
    margin: 40px auto;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.shen, .shi {
    columns: 4;
    column-gap: 40px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.shen li, .shi li {
    break-inside: avoid;
    padding: 12px 20px;
    margin-bottom: 8px;
    font-size: 15px;
    color: #444;
    background: rgba(255,255,255,0.9);
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 3px rgba(0,0,0,0.05);
}

.shen li::before, .shi li::before {
    content: "";
    color: #2a5ca7;
    margin-right: 10px;
    font-weight: bold;
}

.shen li:hover, .shi li:hover {
    background: #fff;
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(42,92,167,0.1);
}

@media (max-width: 1024px) {
    .shen, .shi {
        columns: 3;
    }
}

@media (max-width: 768px) {
    .footershenshi {
        padding: 20px 15px;
    }
    
    .shen, .shi {
        columns: 2;
        column-gap: 30px;
    }
    
    .shen li, .shi li {
        font-size: 14px;
        padding: 10px 15px;
    }
}

@media (max-width: 480px) {
    .shen, .shi {
        columns: 1;
    }
    
    .shen li, .shi li {
        margin-bottom: 6px;
    }
}

/* 省市级区分样式 */
.shen {
    margin-bottom: 30px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 20px;
}

.shi li::before {
    color: #28a745;
}

/* 添加标题 */
.footershenshi::before {
    content: "全国培训基地";
    display: block;
    font-size: 20px;
    color: #2a5ca7;
    font-weight: bold;
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 4px solid #ff6b35;
}

/* 悬浮提示 */
.shen li:hover::after, .shi li:hover::after {
    content: "点击查看详情";
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    background: #2a5ca7;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0.9;
    white-space: nowrap;
}

@media (max-width: 1280px) {
    .shen li:hover::after, .shi li:hover::after {
        display: none;
    }
}

.title {
  font-size: 15px;
}
.entry-title {
  -webkit-line-clamp: 4 !important;
}
@media (min-width: 992px) {
  .row-cols-lg-4 > * {
    width: 50% !important;
  }
}