@charset "utf-8";
:root {
    --primary-color: #b70005;
    --secondary-color: #2775f6;
    --dark-color: #333;
    --light-color: #f8f9fa;
}
.single-line-truncate {
    white-space: nowrap;      /* 禁止换行 */
    overflow: hidden;        /* 超出部分隐藏 */
    text-overflow: ellipsis; /* 超出部分显示省略号 */
    width: 200px;            /* 限制宽度 */
  }
  
   /* g表单开始 */
   /* 表单容器样式 */
.wpcf7-form {
    max-width: 600px;
    padding: 0px 15px 35px;;
    margin:  0px  auto
    
}

/* 标签样式 */
.wpcf7-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #fff;
    font-size: 15px;
}

/* 输入框通用样式 */
.wpcf7-form-control {
    width: 70%;
    padding: 5px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 12px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* 输入框聚焦效果 */
.wpcf7-form-control:focus {
    border-color: #4e97fd;
    box-shadow: 0 0 0 3px rgba(78, 151, 253, 0.15);
    outline: none;
}

/* 文本/电话输入框特定样式 */
.wpcf7-text, 
.wpcf7-tel {
    height:35px; margin-left: 8px;
}

/* 下拉选择框样式 */
.wpcf7-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23888888'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 36px !important;
        height:35px;margin-left: 8px;

}

/* 提交按钮样式 */
.wpcf7-submit {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #fa4e4e, #d62222);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wpcf7-submit:hover {
    background: linear-gradient(135deg, #d62222, #fa4e4e);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(41, 98, 255, 0.25);
}

/* 响应式设计 */
@media (max-width: 600px) {
    .wpcf7-form {
        margin: 0px 20px 25px;
        padding:0px;
    }
    
    .wpcf7-form-control {
        padding: 12px;
    }
}

/* 验证错误提示 */
.wpcf7-response-output{ color: #fff; text-align: center}
.wpcf7-not-valid-tip {
    color: #fff;
    font-size: 13px;
    margin-bottom: 15px;
    display: block;text-align: center;
}

.wpcf7-not-valid {
    border-color: #ff4444 !important;
}
    /* 表单结束 */
  .major-name {
    color: #ff6600; /* 橙色 */
    font-weight: bold;
}
  /* 如果 <a> 标签是块级元素，可以单独控制 */
  .single-line-truncate a {
    display: inline-block;   /* 或 block */
    max-width: 200px;       /* 防止溢出 */
  }
.h5{ font-size: 1.3rem}
/* Base Styles */
body {
    font-family: 'Microsoft YaHei', sans-serif;
    color: #333;
    line-height: 1.6;
}
/* 在手机端隐藏 */
@media (max-width: 767px) {
  .promo-banner-container {
    display: none !important;
  }
}
/* Carousel Styles */
.carousel-item img {
    height: 342px;
    object-fit: cover;
}

.carousel-control-prev,
.carousel-control-next {
    width: 44px;
    height: 44px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-indicators button {
    width: 24px;
    height: 5px;
    margin-right: 11px;
    background-color: #333;
    opacity: 0.6;
    border: none;
}

.carousel-indicators .active {
    background-color: white;
}

/* Ad Container Styles */
.ad-container {
    margin: 10px 0;
}

.promo-item {
    margin-bottom: 15px;
}

.promo-item img {
    width: 100%;
    height: auto;
}
/* 广告位容器样式 */
.ad-container {
    margin: 15px 0;
}

/* 广告项基础样式 */
.promo-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 15px;
    height: 100%;
}

.promo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 广告链接样式 */
.promo-itema {
    display: block;
    position: relative;
    height: 100%;
    text-decoration: none;
}

/* 广告图片样式 */
.promo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 广告覆盖层样式 */
.ad-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.promo-item:hover .ad-overlay {
    opacity: 1;
}

/* 响应式栅格系统 */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -8px;
    margin-left: -8px;
}

.col-md-4, .col-12 {
    padding-right: 8px;
    padding-left: 8px;
}

/* 桌面/平板布局 (≥768px) */
@media (min-width: 768px) {
    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    .promo-item img {
        aspect-ratio: 16/9;
    }
}

/* 手机布局 (<768px) */
@media (max-width: 767.98px) {
    .col-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .promo-item img {
        aspect-ratio: 2/1;
    }
}

/* 可选：添加间距工具类 */
.mb-4 {
    margin-bottom: 1.5rem !important;
}

.g-3 {
    margin-right: -8px;
    margin-left: -8px;
}

.g-3 > [class*="col-"] {
    padding-right: 8px;
    padding-left: 8px;
}
/* Main Content Layout */


.first-screen {
    display: flex;
    gap: 15px;
    margin-bottom: 0px;
}

.left-col {
    flex: 0 0 285px
}

.middle-col {
    flex: 0 0 600px
}

.right-col {
    flex: 0 0 285px
}

/* Card Styles */
.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.card-header, .card-header-xx {
    border-bottom: 2px solid rgba(0,0,0,0.05);
    background: white;
    padding: 14px 20px;font-size: 1.3rem
}

.card-header-xx {
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}



/* Time Schedule Styles */
.card-body {
    padding: 9px; background-color: #fff
}

.card-body-bm {
    padding:15px;background-color: #fff
}

.schedule-item {
    margin-bottom: 15px;
}

.schedule-item:last-child {
    margin-bottom: 0;
}

.item-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-right: 10px;
    background-color: #e74c3c;
    color: white;
}

.date {
    font-weight: 500;
    color: #e74c3c;
}

.item-links {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

.item-links a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 1.2rem;
}

.item-links a:hover {
    color: #e74c3c;
}

/* School Grid Styles */
.school-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.school-item {
    text-align: center;
    transition: transform 0.3s;
}

.school-item:hover {
    transform: translateY(-3px);
}

.school-item img {
    width: 115px;
    height: 115px;
    object-fit: cover;
    border-radius: 6px;
}

.school-name {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Tab Container Styles */
.tab-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
}

.tab-nav {
    display: flex;
    border-bottom: 1px solid #eee;
}

.tab-item {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    cursor: pointer;
    font-size: 1.3rem;
    color: #666;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.tab-item.active {
    color: #e74c3c;
    font-weight: 600;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #e74c3c;
}

.tab-content {
    padding: 14px;
}

.content-item {
    display: none;
}

.content-item.active {
    display: block;
}

.content-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 电脑端（宽度 ≥ 768px） */
@media (min-width: 768px) {
    .content-list {
        width: 255px; /* 固定宽度 */
    }

    /* 电脑端：单行显示，超出部分显示 ... */
    .content-list a {
        white-space: nowrap; /* 禁止换行 */
        overflow: hidden; /* 隐藏超出部分 */
        text-overflow: ellipsis; /* 显示省略号 */
    }
}

/* 手机端（宽度 < 768px） */
@media (max-width: 767px) {
    .content-list {
        width: 100%; /* 占满父容器 */
    }

    /* 手机端：允许换行 */
    .content-list a {
        white-space: normal; /* 允许换行 */
        overflow: visible; /* 显示全部内容 */
        text-overflow: clip; /* 不显示省略号 */
    }
}

/* 通用样式（电脑端 + 手机端共用） */
.content-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7.1px 0;
    border-bottom: 1px dashed #f0f0f0;
    font-size: 1.2rem;
    box-sizing: border-box; /* 防止 padding 影响宽度计算 */
}

.content-list li:last-child {
    border-bottom: none;
}

.content-list a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
    flex: 1; /* 占据剩余空间 */
    padding-right: 10px;
}

.content-list a:hover {
    color: #e74c3c;
}

.content-list span {
    color: #ff6600;
    white-space: nowrap; /* 防止日期换行 */
    flex-shrink: 0; /* 防止日期被压缩 */
}
/* Form Styles */
.danzhao-card {
    border-radius: 8px; 
     background-color: #ff7342;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
}

.danzhao-card-header {
    padding: 15px 20px;
    margin: 0;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    font-size: 1.3rem;
    font-weight: 600;
}

.danzhao-alert-floating {
    position: absolute;
    top: 0px;
    right: 20px;
    z-index: 10;
}

.danzhao-alert-content {
    background: #e74c3c;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
    position: relative;
}

.danzhao-alert-arrow {
    position: absolute;
    bottom: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #e74c3c;
}

.danzhao-form {
    padding: 20px;
}

.danzhao-form-group {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

.danzhao-form-label {
    flex: 0 0 60px;
    text-align: right;
    padding-right: 15px;
    font-weight: 500;
    color: #555;
}

.danzhao-form-control-wrap {
    flex: 1;
    min-width: 0;
}

.danzhao-form-control {
    width: 100%;
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.danzhao-form-control:focus {
    border-color: #e74c3c;
    outline: none;
    box-shadow: 0 0 0 2px rgba(231,76,60,0.2);
}

select.danzhao-form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    padding-right: 30px;
}

.danzhao-btn-submit {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    font-weight: 500;
    background: #e74c3c;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 16px;
}

.danzhao-btn-submit:hover {
    background: #c0392b;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .first-screen {
        flex-wrap: wrap;
    }
    
    .left-col {
        flex: 0 0 30%;
    }
    
    .middle-col {
        flex: 0 0 70%;
    }
    
    .right-col {
        flex: 0 0 100%;
        display: flex;
        gap: 15px;
        margin-top: 15px;
    }
}

@media (max-width: 992px) {
    .left-col {
        flex: 0 0 100%;
    }
    
    .middle-col {
        flex: 0 0 100%;
        margin-top: 15px;
    }
    
    .right-col {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .carousel-item img {
        height: 200px;
    }
    
    .school-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .item-links {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .item-links a {
        flex: 1 0 30%;font-size: 1.2rem
    }
 
.card-header, .card-header-xx {
    border-bottom: 2px solid rgba(0,0,0,0.05);
    background: white;
    padding: 14px 20px;font-size: 1.5rem
}   
}

@media (max-width: 576px) {
    .school-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .tab-item {
        padding: 10px 0;
        font-size: 0.9rem; font-size: 1.5rem    }
    
    .tab-content {
        padding: 10px;
    }
    
    .item-links a {
        flex: 1 0 30%;font-size: 1.2rem
    }
    
    .danzhao-form-group {
        align-items: flex-start;
    }
    .danzhao-card-header {
    padding: 15px 20px;
    margin: 0;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    font-size: 1.5rem;
    font-weight: 600;
}
    
    .danzhao-form-label {
        flex: none;
        width: 20%;
        text-align: left;
        margin-bottom: 6px;
        padding-right: 0;
    }
    .card-header, .card-header-xx {
    border-bottom: 2px solid rgba(0,0,0,0.05);
    background: white;
    padding: 14px 20px;font-size: 1.5rem
}   
.danzhao-alert-floating {
    position: absolute;
    top: 10px;
    right: 50px;
    z-index: 10;
}
    
    .danzhao-alert-content {
        display: inline-block;
        border-radius: 4px;
    }
    
    .danzhao-alert-arrow {
        display: none;
    }
}


/* 广告位百分比布局样式 */
.modown-ad-container .row {
    display: flex;
    flex-wrap: nowrap; /* 禁止换行 */
    margin-left: -8px;
    margin-right: -8px;
}

.modown-ad-container .col-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.modown-ad-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    aspect-ratio: 16/9; /* 统一宽高比 */
}

.modown-ad-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.modown-ad-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.object-fit-cover {
    object-fit: cover;
}

.ad-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s;
}

.modown-ad-item:hover .ad-overlay {
    opacity: 1;
}

/* 通栏广告特殊样式 */
.modown-ad-wide {
    height: 120px;
}

/* 响应式调整 */
@media (max-width: 576px) {
    .modown-ad-container .col-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    .modown-ad-item {
        aspect-ratio: 1/1; /* 手机端改为正方形 */
    }
    
    .ad-overlay span {
        font-size: 12px;
    }
    
    .modown-ad-wide {
        height: 80px;
    }
}


/* 导航按钮样式（无背景无圆角） */
.modown-slider .swiper-button-next,
.modown-slider .swiper-button-prev {
    width: 40px;
    height: 40px;
    background: none !important;
    color: #fff;
    font-size: 24px;
    opacity: 0.8;
    transition: opacity 0.3s;
    margin-top: -20px;
}

.modown-slider .swiper-button-next:hover,
.modown-slider .swiper-button-prev:hover {
    opacity: 1;
    background: none !important;
}

.modown-slider .swiper-button-next::after,
.modown-slider .swiper-button-prev::after {
    display: none;
}

/* 其他必要样式 */
.modown-slider {
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.modown-slider .swiper-container {
    width: 100%;
    height: 400px;
}

.modown-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 响应式调整 导航结束*/
@media (max-width: 768px) {
    .modown-slider .swiper-container {
        height: 250px;
    }
}
/*广告开始 电脑端广告容器 (默认显示) */
.pc-promo-container {
    display: block;
    max-width: 1200px;
    margin: 20px auto 20px;
    padding: 0 0;
}

/* 三栏网格布局 */
.pc-promo-grid {
    display: flex;
    gap: 20px;
}

.pc-promo-item {
    flex: 1;
    min-width: 0;
}

/* 广告卡片样式 */
.pc-promo-link {
    display: block;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.pc-promo-link:hover {
    transform: translateY(-5px);
}

.pc-promo-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.pc-promo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.pc-promo-link:hover .pc-promo-caption {
    opacity: 1;
}

/* 手机端完全隐藏广告结束（不占用空间） */
@media (max-width: 767px) {
    .pc-promo-container {
        display: none !important;
    }
}
/*栏目导航开始 基础样式 */
.modown-ad-nav-container {
    margin:  0  ;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* 电脑端广告样式 */
.modown-ad-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -8px;
}

.modown-ad-col {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 0 8px;
    box-sizing: border-box;
    margin-bottom: 16px;
}

.modown-ad-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.modown-ad-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.modown-ad-item img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.modown-ad-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.modown-ad-item:hover .modown-ad-overlay {
    opacity: 1;
}

/* 手机端导航样式 - 添加15px间距 */
.modown-mobile-nav {
    display: none;
    padding: 15px; /* 外间距15px */
    background-color: #fff;
}

.modown-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px; /* 网格间距15px */
    list-style: none;
    padding: 0;
    margin: 0;
}

.modown-nav-grid li {
    text-align: center;
}

.modown-nav-grid li a {
    display: block;
    color: #333;
    text-decoration: none;
    padding: 8px 5px; /* 内间距调整 */
    transition: all 0.3s;
}

.modown-nav-icon {
    width: 4.1rem;
    height: 4.1rem;
    margin: 0 auto 15px; /* 底部间距15px */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* 阴影增强 */
    color: white;
    font-size: 1.5rem;
}

/*栏目导航结束 响应式调整 - 保持15px间距 */
@media (max-width: 767px) {
    .modown-mobile-nav {
        display: block;
        padding: 15px;
    }
    
    .modown-nav-grid {
        gap: 15px;
    }
}


@media (max-width: 480px) {
    .modown-nav-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
  
    .modown-nav-icon {
        margin-bottom: 15px;
    }
}


/* 宣传位基础样式 */
.promo-banner-container {
    max-width: 1200px;
    margin: 15px auto;
    padding: 0 0px;
    box-sizing: border-box;
}

.promo-banner-link {
    display: block;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.promo-banner-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.promo-banner-img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
    border-style: none;
}



/* 移动端特定高度（根据图片比例调整） */
@media (max-width: 480px) {
    .promo-banner-img {
        object-fit: cover;
    }
}

/* 学校 */

.school-type {
    display: none;
}
/* 电脑端显示 school-meta 区域 */
.school-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4.5px 0 5px 0;
    font-size: 0.8rem;
}

/* 标签样式 */
.school-type {
    color: #2196f3;
    background: #e3f2fd;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

.school-level {
    color: #4caf50;
    background: #e8f5e9;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

.school-exam {
    color: #ff9800;
    background: #fff3e0;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

.school-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}

.school-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.school-item {
    overflow: hidden;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #333;
}

.school-item:hover {
    transform: translateY(-5px);
}

.school-img-wrap img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.school-info {
    padding: 1.3px;
}

.school-title {
    font-weight: bold;
    margin-bottom: 2px;
   font-size: 0.9rem;
    height: 22px;
    line-height: 22px;
}
/* 手机端适配 */
@media (max-width: 767px) {
    .school-title {
        font-weight: 600;
        margin-bottom: 4px;
        font-size: 1.1rem;
        height: auto;
        line-height: 1.4;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        text-align: left;
    }
}

.school-address{
    display: none; /* 电脑端不显示 meta 信息 */
}
/* 响应式改为列表 */
@media (max-width: 992px) {
    .school-items {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .school-item {
        flex-direction: row;
border-bottom: 0.01rem solid #e5e5e5; padding: 10px;
;        align-items: flex-start;
    }
    .school-img-wrap {
        flex: 0 0 80px;
        height: 70px;
    }
    .school-img-wrap img {
        height: 100%;
    }
    .school-info {
        flex: 1;
        padding: 10px;
    }
    .school-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 5px;
        font-size: 0.8rem;
    }
    
    .school-type {
        color: #2196f3;
        background: #e3f2fd;
        padding: 2px 6px;
        border-radius: 4px;
    }
    .school-level {
        color: #4caf50;
        background: #e8f5e9;
        padding: 2px 6px;
        border-radius: 4px;
    }
    .school-exam {
        color: #ff9800;
        background: #fff3e0;
        padding: 2px 6px;
        border-radius: 4px;
    }
    .school-address {
        font-size: 0.8rem;
        color: #666;
        display: block;
        text-align:left;
    }
}

/* 专科升本 */

/* 基础样式 */
.zsb-news-container {
  max-width: 1200px;
  margin: 0 auto;
margin-top: 15px;  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
}

.zsb-news-column {
  flex: 1;
  min-width: 300px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 20px;
}

.zsb-column-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}

.zsb-column-title {
  color: #333;
  font-size: 1.5rem; /* 栏目标题放大到1.5rem */
  margin: 0;
}

.zsb-more-link {
  color: #FF5722;
  font-size: 0.9rem;
  text-decoration: none;
}

.zsb-article-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.zsb-article-item {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px dashed #eee;
}

.zsb-article-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.zsb-article-link {
  display: block;
  text-decoration: none;
  color: #333;
  transition: all 0.3s;
}

.zsb-article-link:hover {
  color: #FF5722;
}

.zsb-article-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.zsb-article-title {
  flex: 1;
  font-size: 1.2rem; /* 内容字段设置为1.2rem */
  line-height: 1.4;
  padding-right: 10px;
}

.zsb-article-date {
  color: #999;
  font-size: 0.9rem;
}

/* 移动端选项卡样式 - 默认隐藏 */
.zsb-mobile-tabs {
  display: none;
  width: 100%;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.zsb-tab-btn {
  flex: 1;
  padding: 12px 0;
  border: none;
  background: #f5f5f5;
  color: #666;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
}

.zsb-tab-btn.zsb-active {
  background: #FF5722;
  color: #fff;
  font-weight: bold;
}

/* 响应式调整 */
@media (min-width: 769px) {
  .zsb-mobile-tabs {
    display: none !important;
  }
  
  .zsb-article-date {
    display: block; /* 桌面端显示时间 */
  }
}

@media (max-width: 768px) {
  .zsb-news-container {
    flex-direction: column;
    gap: 0;
    padding: 15px;
  }
  
  .zsb-mobile-tabs {
    display: flex;
  }
  
  .zsb-news-column {
    display: none;
    width: 100%;
    margin-bottom: 15px;
    box-shadow: none;
    border: 1px solid #eee;
  }
  
  .zsb-news-column.zsb-active {
    display: block;
  }
  
  .zsb-column-header {
    padding-bottom: 8px;
  }
  
  .zsb-column-title {
    font-size: 1.3rem; /* 移动端栏目标题稍小 */
  }
  
  .zsb-article-title {
    font-size: 1.2rem; /* 移动端内容字段稍小 */
  }
  
  .zsb-article-date {
    display: none; /* 移动端隐藏时间 */
  }
}

@media (max-width: 480px) {
  .zsb-article-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .zsb-column-title {
    font-size: 1.2rem;
  }
  
  .zsb-article-title {
    font-size: 1.2rem;
  }
  
  .zsb-tab-btn {
    font-size: 1.5rem;
    padding: 10px 0;
  }
}


/* 职教高考 */
/* 基础样式 */
.vocational-exam-container {
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 15px;
  padding: 20px 20px 0px 20px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-radius: 15px; /* 添加四周半圆效果 */
  overflow: hidden; /* 确保内部内容不会溢出圆角 */
}
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* 左侧导航样式 */
.ve-left-nav {
  float: left;
  width: 20%;
}

.ve-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ve-nav-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #eee;
}

.ve-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  color: white;
  font-size: 18px;
  font-weight: bold;
}

.ve-nav-content h4 {
  margin: 0 0 5px 0;
  font-size: 16px;
  color: #333;
}

.ve-consult-btn {
  color: #FF5722;
  font-size: 12px;
  text-decoration: none;
  display: inline-block;
}

.ve-action-btns {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.ve-register-btn, .ve-consult-btn {
  display: block;
  width: 48%;
  padding: 8px 0;
  text-align: center;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
}

/* 中间内容样式 */
.ve-main-content {
  float: left;
  width: 55%;
  padding: 0 20px;
}

.ve-headline {
  margin-bottom: 15px;
  position: relative;
}

.ve-news-tag {
  position: absolute;
  top: 0;
  left: 0;
  background: #FF5722;
  color: white;
  padding: 2px 8px;
  font-size: 12px;
  border-radius: 3px;
}

.ve-news-title {
  font-size: 18px;
  margin: 0 0 10px 40px;
  color: #333;
}

.ve-news-desc {
  font-size: 14px;
  color: #666;
  margin: 0 0 15px 0;
  line-height: 1.5;
}

.ve-news-container {
  display: flex;
}

.ve-featured-news {
  width: 50%;
  padding-right: 15px;
}

.ve-news-img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.ve-news-caption {
  margin-top: 8px;
  font-size: 14px;
  color: #333;
}

.ve-news-list {
  width: 50%;
}

.ve-news-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ve-news-item {
  margin-bottom: 12px;
}

.ve-news-item a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-size: 14px;
}

.ve-arrow {
  color: #FF5722;
  margin-right: 5px;
  font-weight: bold;
}

.ve-news-text {
  flex: 1;
}

.ve-news-date {
  color: #999;
  font-size: 12px;
  margin-left: 10px;
}
@media (max-width: 767px) {
  .ve-right-sidebar {
    display: none !important;
  }
  
  /* 同时调整其他相关元素的宽度 */
  .ve-left-nav {
    width: 100%;
    float: none;
  }
  
  .ve-main-content {
    width: 100%;
    float: none;
    padding: 0;
  }
}
/* 右侧边栏样式 */
.ve-right-sidebar {
  float: right;
  width: 25%;
}

.ve-ad-banner {
  display: block;
  margin-bottom: 15px;
}

.ve-ad-img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .ve-left-nav {
    width: 25%;
  }
  .ve-main-content {
    width: 50%;
  }
  .ve-right-sidebar {
    width: 25%;
  }
}

@media (max-width: 768px) {
  .ve-left-nav, 
  .ve-main-content, 
  .ve-right-sidebar {
    width: 100%;
    float: none;
    margin-bottom: 20px;
  }
  
  .ve-nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .ve-nav-item {
    width: 48%;
    margin-bottom: 10px;
  }
  
  .ve-news-container {
    flex-direction: column;
  }
  
  .ve-featured-news, 
  .ve-news-list {
    width: 100%;
  }
  
  .ve-featured-news {
    padding-right: 0;
    margin-bottom: 15px;
  }
}


/* 基础样式 */
:root {
  --primary: #4361ee;
  --secondary: #3f37c9;
  --light: #f8f9fa;
  --dark: #212529;
  --gray: #6c757d;
  --light-gray: #e9ecef;
}

body {
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background-color: #f5f7fa;
  margin: 0;
  padding: 0;
}

/* 容器布局 */
.ve-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto 20px;
  gap: 1.5rem;
  padding: 0;
}

.ve-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* 导航样式 */
.ve-nav {
  width: 220px;
}

.ve-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ve-nav li {
  display: flex;
  align-items: center;
  padding: 0.8rem 1rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.ve-nav li:hover {
  background: rgba(67, 97, 238, 0.1);
}

.ve-nav li.active {
  background: var(--primary);
  color: white;
}

.nav-icon {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.ve-nav li.active .nav-icon {
  background: white;
  color: var(--primary);
}

/* 内容区样式 */
.ve-content {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  min-height: 285px;
}

.content-section {
  display: none;
  animation: fadeIn 0.3s ease;
}

.content-section.active {
  display: block;
}

.content-section h3 {
  color: var(--primary);
  margin-top: 0;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.content-text {
  padding: 1rem 0;
}
.content-text p{line-height:35px;}

.content-text table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.content-text th,
.content-text td {
  padding: 0.75rem;
  text-align: left;
  border: 1px solid var(--light-gray);
}

.content-text th {
  background-color: var(--light);
  font-weight: 600;
}

.content-text tr:nth-child(even) {
  background-color: var(--light);
}

/* 新闻区样式 */
.ve-news {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  padding: 0.8rem 1.5rem;
}

.news-title {
  color: var(--primary);
  margin-top: 0;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.news-grid {
  display: flex;
  gap: 1.5rem;
}

.news-column {
  flex: 1;
}

.news-item {
  padding: 0.6rem  0 0.6rem 0;
  border-bottom: 1px solid var(--light-gray);
}

.news-item:last-child {
  border-bottom: none;
}

.news-date {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 0.3rem;
}

.news-link {
  color: var(--dark);
  text-decoration: none;
  transition: color 0.2s;
  display: block;
}

.news-link:hover {
  color: var(--primary);
}

/* 动画效果 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .ve-container {
    flex-direction: column;
  }
  
  .ve-nav {
    width: 100%;
    display: flex;
    overflow-x: auto;
    padding-bottom: 10px;
  }
  
  .ve-nav ul {
    display: flex;
    flex-wrap: nowrap;
  }
  
  .ve-nav li {
    white-space: nowrap;
    margin-right: 0.5rem;
    margin-bottom: 0;
  }
  
  .ve-left-nav, .ve-right-nav {
    order: -1;
  }
  
  .news-grid {
    flex-direction: column;
    gap: 0;
  }
  
  .content-text table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 768px) {
  .ve-container {
    padding: 0 0.5rem;
  }
  
  .ve-content, .ve-news {
    padding: 1rem;
  }
}

