.school_detail_new .content-wraper {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.school_detail_new .school_title {
  padding: 30px;
}

.school_detail_new .school_title_top {
  display: flex;
  margin-bottom: 20px;
}

.school_detail_new .school_title_left {
  flex: 1;
  display: flex;
  align-items: flex-start;
}

.school_detail_new .school_logo {
  width: 120px;
  height: 120px;
  margin-right: 20px;
  overflow: hidden;
  background: white;
}

.school_detail_new .school_logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.school_detail_new .school_info {
  flex: 1;
}

.school_detail_new .school_name {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
}

.school_detail_new .school_tags {
  margin-bottom: 15px;
  line-height: 1.8;
}

.school_detail_new .tag {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  margin-right: 4px;
  margin-bottom: 4px;
  color: white;
}

.school_detail_new .tag_orange {
  background: #ff9500;
}

.school_detail_new .tag_blue {
  background: #409eff;
}

.school_detail_new .tag_green {
  background: #67c23a;
}

.school_detail_new .shengshi {
  color: #666;
  font-size: 14px;
}

.school_detail_new .school_title_right {
  flex: 1;
  padding-left: 40px;
}

.school_detail_new .contact_info {
  line-height: 1.5;
  color: #333;
}

.school_detail_new .contact_info div {
  margin-bottom: 8px;
}

.school_detail_new .contact_info .label {
  color: #666;
  display: inline-block;
  width: 100px;
  font-size: 100%;
}

.school_detail_new .contact_info a {
  color: #007aff;
  text-decoration: none;
}

.school_detail_new .contact_info a:hover {
  text-decoration: underline;
}

.school_detail_new .school_title_bottom {
  display: flex;
  gap: 0;
}

.school_detail_new .rank_item {
  flex: 1;
  text-align: center;
  padding: 15px 10px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: white;
}

.school_detail_new .rank_item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: #eee;
}

.school_detail_new .rank_item.c_order {
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
}

.school_detail_new .rank_item.p_order {
  background: linear-gradient(135deg, #ffb347, #ffd700);
}

.school_detail_new .rank_item.pm {
  background: linear-gradient(135deg, #98d8c8, #6bcf7f);
}

.school_detail_new .rank_item.city_grade {
  background: linear-gradient(135deg, #4a90e2, #7bb3f0);
}

.school_detail_new .rank_title {
  font-size: 14px;
  font-weight: 500;
  margin-right: 8px;
}

.school_detail_new .rank_value {
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 4px;
}

.school_detail_new .rank_medal {
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.school_detail_new .special_enrollment {
  color: #ff6b6b;
  font-weight: 500;
}

.school_detail_new .school_menu {
  width: 100%;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  position: relative;
}

.school_detail_new .menu-arrows {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.school_detail_new .menu-arrows.left {
  left: 10px;
}

.school_detail_new .menu-arrows.right {
  right: 10px;
}

.school_detail_new .arrow-btn {
  background: #007bff;
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.school_detail_new .arrow-btn:hover {
  background: #0056b3;
}

.school_detail_new .arrow-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.school_detail_new .menu-nav-container {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none; /* For IE/Edge */
  display: flex;
  justify-content: center;
}

.school_detail_new .menu-nav-container::-webkit-scrollbar {
  display: none; /* For Chrome, Safari, Opera */
}

.school_detail_new .menu-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  white-space: nowrap;
}

.school_detail_new .menu-nav li {
  flex-shrink: 0;
  border-right: 1px solid #e9ecef;
}

.school_detail_new .menu-nav li:last-child {
  border-right: none;
}

.school_detail_new .menu-nav li a {
  display: block;
  padding: 15px 20px;
  color: #495057;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.school_detail_new .menu-nav li a:hover {
  background: #e9ecef;
  color: #007bff;
}

.school_detail_new .menu-nav li.active a {
  background: #007bff;
  color: white;
  font-weight: bold;
}

.school_detail_new .menu-nav li.active a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #007bff;
}

.school_detail_new .school_info_content {
  flex: 1;
  padding: 30px;
  background: white;
  min-height: 500px;
}

.school_detail_new .content-section {
  display: none;
}

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

.school_detail_new .section-title {
  color: #993300;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #993300;
}

.school_detail_new .section-content {
  line-height: 1.6;
  color: #333;
  font-size: 14px;
}

/* 保持原始HTML格式的样式 */
.school_detail_new .section-content .UEditor {
  line-height: 1.8;
}

.school_detail_new .section-content .UEditor p {
  margin-bottom: 15px;
  text-align: justify;
}

.school_detail_new .section-content .UEditor strong {
  font-weight: bold;
}

.school_detail_new .section-content .UEditor font[color="#993300"] {
  color: #993300 !important;
}

.school_detail_new .section-content .UEditor br {
  line-height: 1.8;
}

.school_detail_new .section-content table.detail_tb {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.school_detail_new .section-content table.detail_tb th,
.school_detail_new .section-content table.detail_tb td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.school_detail_new .section-content table.detail_tb th {
  background-color: #f8f9fa;
  font-weight: bold;
}

.school_detail_new .section-content table.detail_tb .tb_even {
  background-color: #f8f9fa;
}

.school_detail_new .empty-content {
  text-align: center;
  color: #999;
  font-style: italic;
  padding: 50px 0;
}

@media (max-width: 768px) {
  .school_detail_new .content-wraper {
    width: 100%;
    margin: 10px;
  }

  .school_detail_new .menu-arrows {
    display: block;
  }

  .school_detail_new .school_info_content {
    padding: 20px;
  }
}

/* 专业页面样式 */
.school_detail_new .xueke_menu {
  width: 100%;
  margin-bottom: 20px;
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 10px;
}

.school_detail_new .xueke_menu .nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.school_detail_new .xueke_menu .nav-pills .nav-link {
  color: #666;
  background: transparent;
  border: none;
  padding: 12px 24px;
  border-radius: 0;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.school_detail_new .xueke_menu .nav-pills .nav-link:hover {
  color: #ff6600;
  background: transparent;
}

.school_detail_new .xueke_menu .nav-pills .nav-link.active {
  color: #ff6600;
  background: transparent;
  font-weight: 500;
}

.school_detail_new .xueke_menu .nav-pills .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 24px;
  right: 24px;
  height: 2px;
  background-color: #ff6600;
}

/* 学科内容区域 */
.school_detail_new .xueke_content {
  width: 100%;
  min-height: 500px;
}

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

.school_detail_new .tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 专业列表样式 */
.school_detail_new .major-list {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.school_detail_new .major-category {
  margin-bottom: 30px;
}

.school_detail_new .category-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e8e8e8;
}

.school_detail_new .major-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 40px 8px 40px;
  border-bottom: 1px solid #f5f5f5;
}

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

.school_detail_new .major-name {
  color: #333;
  text-decoration: none;
  flex: 1;
}

/* 普通专业名称悬停时不显示下划线，只改变颜色 */
.school_detail_new .major-name:hover {
  color: #ff6600;
}

.school_detail_new .major-name.has-link {
  color: #0066cc;
  cursor: pointer;
}

/* 只有有链接的专业悬停时才显示下划线 */
.school_detail_new .major-name.has-link:hover {
  color: #ff6600;
  text-decoration: underline;
}

.school_detail_new .major-info {
  color: #666;
  font-size: 14px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 本科专业评级颜色样式 */
.school_detail_new .ranking-a-plus {
  color: #d4237a;
  font-weight: 600;
  font-size: 14px;
}

.school_detail_new .ranking-a {
  color: #ff6600;
  font-weight: 600;
  font-size: 14px;
}

.school_detail_new .ranking-a-minus {
  color: #ffa500;
  font-weight: 600;
  font-size: 14px;
}

.school_detail_new .ranking-b-plus {
  color: #007bff;
  font-weight: 600;
  font-size: 14px;
}

.school_detail_new .ranking-b {
  color: #28a745;
  font-weight: 600;
  font-size: 14px;
}

.school_detail_new .ranking-b-minus {
  color: #6c757d;
  font-weight: 600;
  font-size: 14px;
}

.school_detail_new .ranking-c-plus {
  color: #6f42c1;
  font-weight: 600;
  font-size: 14px;
}

.school_detail_new .ranking-c-minus {
  color: #dc3545;
  font-weight: 600;
  font-size: 14px;
}

.school_detail_new .ranking-default {
  color: #666;
  font-weight: 500;
  font-size: 14px;
}

/* 排名文字样式 */
.school_detail_new .grade-text {
  color: #888;
  font-size: 13px;
  font-weight: normal;
}

/* 表格样式 */
.school_detail_new .table-responsive {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.school_detail_new .table {
  margin-bottom: 0;
  table-layout: fixed;
}

.school_detail_new .table th {
  background-color: #f8f9fa;
  border-bottom: 2px solid #dee2e6;
  font-weight: 600;
  color: #333;
  padding: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.school_detail_new .table td {
  padding: 12px;
  vertical-align: middle;
  border-bottom: 1px solid #e8e8e8;
  word-wrap: break-word;
}

.school_detail_new .table tbody tr:hover {
  background-color: #f8f9fa;
}

/* 表头宽度设置 */
.school_detail_new .grade-col,
.school_detail_new .round-col {
  width: 80px;
  min-width: 80px;
}

.school_detail_new .count-col {
  width: 100px;
  min-width: 100px;
}

.school_detail_new .major-names-col,
.school_detail_new .subjects-col {
  width: auto;
  min-width: 300px;
}

/* 表格中等级颜色样式 */
.school_detail_new .grade-a-plus {
  color: #d4237a;
  font-weight: 600;
}

.school_detail_new .grade-a {
  color: #ff6600;
  font-weight: 600;
}

.school_detail_new .grade-a-minus {
  color: #ffa500;
  font-weight: 600;
}

.school_detail_new .grade-b-plus {
  color: #007bff;
  font-weight: 600;
}

.school_detail_new .grade-b {
  color: #28a745;
  font-weight: 600;
}

.school_detail_new .grade-b-minus {
  color: #6c757d;
  font-weight: 600;
}

.school_detail_new .grade-c-plus {
  color: #6f42c1;
  font-weight: 600;
}

.school_detail_new .grade-c-minus {
  color: #dc3545;
  font-weight: 600;
}

/* 专业介绍弹窗样式 */
.school_detail_new .modal-body {
  max-height: 70vh;
  overflow-y: auto;
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

.school_detail_new .modal-body img {
  max-width: 100%;
  height: auto;
  margin: 10px 0;
}

.school_detail_new .modal-body table {
  width: 100%;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.6;
}

.school_detail_new .modal-body .ch-table {
  border-collapse: collapse;
  border: 1px solid #ddd;
}

.school_detail_new .modal-body .ch-table td {
  padding: 12px 15px;
  border: 1px solid #ddd;
  vertical-align: top;
  line-height: 1.7;
}

.school_detail_new .modal-body .ch-table-right {
  background-color: #f8f9fa;
  font-weight: 600;
  text-align: right;
  width: 120px;
}

.school_detail_new .modal-body p {
  margin-bottom: 12px;
  line-height: 1.8;
}

.school_detail_new .modal-body strong {
  font-weight: 600;
  color: #333;
}

.school_detail_new .modal-body h1,
.school_detail_new .modal-body h2,
.school_detail_new .modal-body h3,
.school_detail_new .modal-body h4,
.school_detail_new .modal-body h5,
.school_detail_new .modal-body h6 {
  margin-top: 20px;
  margin-bottom: 15px;
  line-height: 1.5;
}

.school_detail_new .no-data,
.school_detail_new .error {
  text-align: center;
  color: #999;
  font-style: italic;
  padding: 50px 0;
}

.school_detail_new .error {
  color: #dc3545;
}

/* 响应式设计 - 专业页面 */
@media (max-width: 768px) {
  .school_detail_new .xueke_menu .nav-pills {
    flex-direction: column;
    gap: 5px;
  }

  .school_detail_new .xueke_menu .nav-pills .nav-item {
    width: 100%;
  }

  .school_detail_new .xueke_menu .nav-pills .nav-link {
    text-align: center;
    font-size: 14px;
    padding: 10px 16px;
  }

  .school_detail_new .xueke_menu .nav-pills .nav-link.active::after {
    left: 16px;
    right: 16px;
  }

  .school_detail_new .major-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 8px 20px;
  }

  .school_detail_new .major-name {
    padding-left: 0;
  }

  .school_detail_new .major-info {
    padding-left: 0;
    align-self: flex-end;
  }

  /* 移动端表格调整 */
  .school_detail_new .table {
    table-layout: auto;
  }

  .school_detail_new .grade-col,
  .school_detail_new .round-col {
    width: 60px;
    min-width: 60px;
  }

  .school_detail_new .count-col {
    width: 80px;
    min-width: 80px;
  }

  .school_detail_new .major-names-col,
  .school_detail_new .subjects-col {
    min-width: 200px;
  }

  /* 移动端弹窗调整 */
  .school_detail_new .modal-body {
    font-size: 14px;
    line-height: 1.6;
  }

  .school_detail_new .modal-body .ch-table td {
    padding: 8px 10px;
  }
}

/* 专业介绍弹窗样式 */
.major-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  z-index: 1050 !important;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.major-modal-overlay.show {
  display: flex !important;
  background: rgba(0, 0, 0, 0.5);
}

.major-modal {
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 960px;
  width: 90%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  transform: scale(0.7);
  opacity: 0;
  transition: all 0.3s ease;
}

.major-modal-overlay.show .major-modal {
  transform: scale(1);
  opacity: 1;
}

.major-modal-header {
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px 8px 0 0;
}

.major-modal-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.major-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.major-modal-close:hover {
  color: #333;
}

.major-modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
  max-height: 60vh;
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

/* 弹窗内表格样式调整 - 添加边框 */
.major-modal-body table {
  width: 100%;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.6;
  border-collapse: collapse; /* 确保边框合并 */
}

.major-modal-body table th,
.major-modal-body table td {
  border: 1px solid #ccc; /* 添加边框 */
  padding: 8px 12px; /* 调整内边距 */
  text-align: left; /* 默认左对齐 */
}

.major-modal-footer {
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
  padding: 15px 20px;
  text-align: right;
  border-radius: 0 0 8px 8px;
}

.major-modal-btn {
  background: #6c757d;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.major-modal-btn:hover {
  background: #5a6268;
}

/* 招生简章列表样式 */
.school_detail_new .zhangcheng_content {
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}

.school_detail_new .list-group-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #ebeef5;
  border-left: none;
  border-right: none;
  border-top: none;
  background: transparent;
}

.school_detail_new .list-group-item:first-child {
  border-top: none;
}

.school_detail_new .list-group-item:last-child {
  border-bottom: none;
}

.school_detail_new .list-group-item a {
  font-size: 16px;
  color: #303133;
  text-decoration: none;
  transition: color 0.3s ease;
  flex: 1;
}

.school_detail_new .list-group-item a:hover {
  color: #409eff;
}

.school_detail_new .list-group-item .create-time {
  font-size: 14px;
  color: #909399;
  white-space: nowrap;
  margin-left: 20px;
}

/* 往年专业招生样式 */
.detail_school_new .mp_score_content {
  width: 100%;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 筛选区域样式 */
.detail_school_new .filter-section {
  margin-bottom: 20px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 6px;
  border: 1px solid #e9ecef;
}

.detail_school_new .filter-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.detail_school_new .filter-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail_school_new .filter-item select {
  min-width: 150px;
  height: 36px;
  padding: 6px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  font-size: 14px;
  background: #fff;
  color: #333;
}

.detail_school_new .filter-item select:focus {
  border-color: #1890ff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

/* 表格区域样式 */
.detail_school_new .table-section {
  margin-bottom: 20px;
}

.detail_school_new .layui-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e6e6e6;
  font-size: 14px;
}

.detail_school_new .layui-table thead tr {
  background: #f2f2f2;
}

.detail_school_new .layui-table th,
.detail_school_new .layui-table td {
  padding: 12px 8px;
  text-align: center;
  border: 1px solid #e6e6e6;
  vertical-align: middle;
}

.detail_school_new .layui-table th {
  font-weight: 600;
  color: #333;
  background: #fafafa;
}

.detail_school_new .layui-table tbody tr:nth-child(even) {
  background: #f9f9f9;
}

.detail_school_new .layui-table tbody tr:hover {
  background: #e6f7ff;
}

/* 专业名称列特殊样式 */
.detail_school_new .layui-table td[data-field="major_name"] {
  text-align: left;
  padding-left: 12px;
  max-width: 300px;
  word-wrap: break-word;
  word-break: break-all;
}

/* 分数列样式 */
.detail_school_new .layui-table td[data-field="l_score"],
.detail_school_new .layui-table td[data-field="h_score"],
.detail_school_new .layui-table td[data-field="a_score"] {
  font-weight: 600;
  color: #1890ff;
}

/* 空数据显示 */
.detail_school_new .empty-data,
.detail_school_new .loading-data {
  text-align: center;
  padding: 40px 0;
  color: #999;
  font-size: 14px;
}

/* 分页样式 */
.detail_school_new .pagination-section {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.detail_school_new #pagination {
  display: flex;
  align-items: center;
  gap: 5px;
}

.detail_school_new .pagination-btn {
  padding: 8px 12px;
  border: 1px solid #d9d9d9;
  background: #fff;
  color: #333;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.3s;
}

.detail_school_new .pagination-btn:hover {
  border-color: #1890ff;
  color: #1890ff;
}

.detail_school_new .pagination-btn.active {
  background: #1890ff;
  color: #fff;
  border-color: #1890ff;
}

.detail_school_new .pagination-btn.disabled {
  background: #f5f5f5;
  color: #ccc;
  cursor: not-allowed;
}

.detail_school_new .pagination-info {
  margin: 0 15px;
  font-size: 14px;
  color: #666;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .detail_school_new .mp_score_content {
    width: 100%;
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .detail_school_new .filter-row {
    flex-direction: column;
    align-items: stretch;
  }

  .detail_school_new .filter-item {
    width: 100%;
  }

  .detail_school_new .filter-item select {
    width: 100%;
  }

  .detail_school_new .layui-table {
    font-size: 12px;
  }

  .detail_school_new .layui-table th,
  .detail_school_new .layui-table td {
    padding: 8px 4px;
  }
}

/* 新学校索引页样式 - 开始 */
/* 全局样式 */
.detail_school_new body {
  font-family: "Microsoft YaHei", Arial, sans-serif;
  background-color: #f5f5f5;
  margin: 0;
  padding: 0;
}

.detail_school_new .content-wrapper {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* 搜索区域样式 */
.detail_school_new .search-section {
  background-color: #f4e9d9;
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
}

.detail_school_new .search-row {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.detail_school_new .search-label {
  width: 120px;
  font-weight: bold;
  color: #333;
  font-size: 14px;
  flex-shrink: 0;
}

.detail_school_new .search-options {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail_school_new .option-btn {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 6px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.3s;
  color: #666;
}

.detail_school_new .option-btn:hover {
  background-color: #e8f4fd;
  border-color: #409eff;
  color: #409eff;
}

.detail_school_new .option-btn.active {
  background-color: #409eff;
  border-color: #409eff;
  color: #fff;
}

.detail_school_new .checkbox-options {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.detail_school_new .checkbox-option {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 13px;
  color: #666;
}

.detail_school_new .checkbox-option input[type="checkbox"] {
  margin-right: 5px;
}

.detail_school_new .search-direct {
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail_school_new .search-direct input {
  height: 35px;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0 10px;
  font-size: 13px;
}

.detail_school_new .search-direct button {
  height: 35px;
  padding: 0 20px;
  background-color: #ff8c00;
  border: none;
  border-radius: 4px;
  color: white;
  font-size: 13px;
  cursor: pointer;
}

.detail_school_new .search-direct button:hover {
  background-color: #e67e00;
}

/* 学校列表区域样式 */
.detail_school_new .school-list-section {
  background-color: #fff;
  padding: 20px 0 10px 0;
  min-height: 600px;
}

/* 统计和分页区域样式 */
.detail_school_new .stats-pagination-section {
  background-color: #fff;
  padding: 10px 0 20px 0;
  border-top: 1px solid #f0f0f0;
}

.detail_school_new .result-stats {
  padding: 15px 0;
  color: #666;
  font-size: 14px;
  text-align: center;
  margin-bottom: 15px;
}

.detail_school_new .school-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.detail_school_new .school-item {
  display: flex;
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
  background-color: #fff;
  transition: background-color 0.3s;
  cursor: pointer;
}

.detail_school_new .school-item:hover {
  background-color: #f8f9fa;
}

.detail_school_new .school-logo {
  width: 80px;
  height: 80px;
  margin-right: 20px;
  flex-shrink: 0;
}

.detail_school_new .school-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.detail_school_new .school-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.detail_school_new .school-name {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
}

.detail_school_new .school-name a {
  color: #333;
  text-decoration: none;
}

.detail_school_new .school-name a:hover {
  color: #409eff;
}

.detail_school_new .school-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.detail_school_new .tag {
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 12px;
  color: #fff;
  white-space: nowrap;
}

.detail_school_new .tag_orange {
  background-color: #ff8c00;
}

.detail_school_new .tag_blue {
  background-color: #409eff;
}

.detail_school_new .tag_green {
  background-color: #67c23a;
}

.detail_school_new .shengshi {
  color: #999;
  font-size: 13px;
}

.detail_school_new .school-ranking {
  width: 300px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.detail_school_new .rank-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90px;
}

.detail_school_new .rank-title {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.detail_school_new .rank-value {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  color: #8b0000; /* 暗红色，更加醒目 */
}

.detail_school_new .rank-medal {
  font-size: 14px;
  margin-right: 3px;
}

.detail_school_new .rank-number {
  color: #8b0000; /* 暗红色 */
  font-weight: bold;
  font-size: 16px;
}

.detail_school_new .city-grade {
  color: #8b0000; /* 暗红色 */
  font-weight: bold;
  font-size: 14px;
}

/* 分页样式 */
.detail_school_new .pagination-wrapper {
  display: flex !important;
  justify-content: center !important;
  margin-top: 20px !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* layui分页样式调整 */
.detail_school_new .layui-laypage {
  display: flex;
  justify-content: center;
  align-items: center;
}

.detail_school_new .layui-laypage .layui-laypage-count {
  color: #666;
  margin-right: 15px;
}

.detail_school_new .layui-laypage a {
  color: #666;
  border-color: #ddd;
}

.detail_school_new .layui-laypage a:hover {
  color: #ff8c00;
  border-color: #ff8c00;
}

.detail_school_new .layui-laypage .layui-laypage-curr .layui-laypage-em {
  background-color: #ff8c00;
  border-color: #ff8c00;
}

.detail_school_new .layui-laypage .layui-laypage-curr a {
  color: #fff;
}

.detail_school_new .layui-laypage input {
  border-color: #ddd;
}

.detail_school_new .layui-laypage input:focus {
  border-color: #ff8c00;
}

.detail_school_new .layui-laypage select {
  border-color: #ddd;
}

/* 强制分页样式 - 最高优先级 */
.detail_school_new div#pagination ul.pagination {
  display: flex !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 5px !important;
  visibility: visible !important;
  opacity: 1 !important;
  background-color: transparent !important;
}

.detail_school_new div#pagination ul.pagination li {
  display: flex !important;
  align-items: center !important;
  border: 1px solid #ddd !important;
  border-radius: 4px !important;
  background-color: #fff !important;
  transition: all 0.3s !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.detail_school_new div#pagination ul.pagination li a {
  display: block !important;
  padding: 8px 12px !important;
  text-decoration: none !important;
  color: #666 !important;
  background-color: #fff !important;
  visibility: visible !important;
  opacity: 1 !important;
  border: none !important;
}

.detail_school_new div#pagination ul.pagination li.active a {
  background-color: #ff8c00 !important;
  color: #fff !important;
  border-color: #ff8c00 !important;
}

.detail_school_new
  div#pagination
  ul.pagination
  li:hover:not(.active):not(.disabled)
  a {
  background-color: #f5f5f5 !important;
}

.detail_school_new div#pagination ul.pagination li.disabled {
  border: 1px solid #e0e0e0 !important;
  border-radius: 4px !important;
  background-color: #f8f9fa !important;
  cursor: not-allowed !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.detail_school_new div#pagination ul.pagination li.disabled span {
  display: block !important;
  padding: 8px 12px !important;
  color: #ccc !important;
  background-color: #f8f9fa !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* 备用分页额外样式 */
.detail_school_new div#pagination ul.pagination li.page-count {
  border: none !important;
  background: none !important;
  padding: 8px 15px !important;
  color: #666 !important;
  font-size: 14px !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.detail_school_new div#pagination ul.pagination li.page-count span {
  color: #666 !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.detail_school_new div#pagination ul.pagination li.ellipsis {
  border: none !important;
  background: none !important;
  padding: 8px 5px !important;
  color: #999 !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.detail_school_new div#pagination ul.pagination li.ellipsis span {
  color: #999 !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.detail_school_new div#pagination ul.pagination li.page-jump {
  border: none !important;
  background: none !important;
  padding: 5px 10px !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.detail_school_new div#pagination ul.pagination li.page-jump span {
  font-size: 14px !important;
  color: #666 !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.detail_school_new div#pagination ul.pagination li.page-jump input {
  padding: 4px 6px !important;
  border: 1px solid #ddd !important;
  border-radius: 4px !important;
  font-size: 12px !important;
  text-align: center !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.detail_school_new div#pagination ul.pagination li.page-jump button {
  padding: 4px 8px !important;
  border: 1px solid #ff8c00 !important;
  border-radius: 4px !important;
  background-color: #ff8c00 !important;
  color: #fff !important;
  font-size: 12px !important;
  cursor: pointer !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.detail_school_new div#pagination ul.pagination li.page-jump button:hover {
  background-color: #e67e00 !important;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .detail_school_new .content-wrapper {
    width: 95%;
  }
}

@media (max-width: 768px) {
  .detail_school_new .search-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .detail_school_new .search-label {
    width: 100%;
    margin-bottom: 8px;
  }

  .detail_school_new .school-item {
    flex-direction: column;
    text-align: center;
  }

  .detail_school_new .school-logo {
    margin: 0 auto 15px;
  }

  .detail_school_new .school-ranking {
    width: 100%;
    margin-top: 15px;
  }
}
/* 新学校索引页样式 - 结束 */

/* 简单分页样式 */
.detail_school_new .simple-pagination {
  text-align: center;
  margin: 20px 0;
  padding: 15px;
}

.detail_school_new .simple-pagination span {
  margin-right: 15px;
  color: #666;
  font-size: 14px;
}

.detail_school_new .simple-pagination button {
  padding: 8px 15px;
  margin: 0 2px;
  border: 1px solid #ddd;
  background-color: #fff;
  color: #333;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.detail_school_new .simple-pagination button:hover {
  background-color: #ff8c00;
  border-color: #ff8c00;
  color: #fff;
}

.detail_school_new .simple-pagination button.active {
  background-color: #ff8c00;
  border-color: #ff8c00;
  color: #fff;
}

.detail_school_new .simple-pagination button:disabled {
  background-color: #f5f5f5;
  color: #ccc;
  cursor: not-allowed;
  border-color: #e0e0e0;
}

/* 学校排行榜页面样式 - 开始 */
.school_rank {
  font-family: "Microsoft YaHei", "Segoe UI", Tahoma, Arial, sans-serif;
  background-color: #f5f7fa;
  color: #333;
  line-height: 1.6;
}

.school_rank .content-wrapper {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* 导航区域样式 */
.school_rank .ranking-nav-section {
  background-color: #f4e9d9;
  color: #333;
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
}

.school_rank .page-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 32px;
  font-weight: bold;
  color: #333;
}

.school_rank .page-title i {
  color: #ff8c00;
  margin-right: 15px;
  font-size: 36px;
}

/* 排名类型导航 */
.school_rank .ranking-types {
  margin-bottom: 20px;
}

.school_rank .type-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.school_rank .type-tab {
  padding: 12px 24px;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 25px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.school_rank .type-tab:hover {
  background: #f8f9fa;
  border-color: #ff8c00;
  color: #ff8c00;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.school_rank .type-tab.active {
  background: #ff8c00;
  color: white;
  border-color: #ff8c00;
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

/* 子分类导航 */
.school_rank .sub-categories {
  min-height: 50px;
}

.school_rank .sub-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.school_rank .sub-tab {
  padding: 8px 16px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.school_rank .sub-tab:hover {
  background: #f8f9fa;
  border-color: #ff8c00;
  color: #ff8c00;
}

.school_rank .sub-tab.active {
  background: #ff8c00;
  color: white;
  border-color: #ff8c00;
  box-shadow: 0 2px 6px rgba(255, 140, 0, 0.3);
}

/* 学校列表区域 */
.school_rank .school-list-section {
  padding: 30px 0;
}

.school_rank .stats-section {
  margin-bottom: 20px;
}

.school_rank .result-stats {
  font-size: 16px;
  color: #666;
  padding: 15px 0;
  border-bottom: 2px solid #e9ecef;
}

.school_rank .result-stats span {
  font-weight: bold;
  color: #667eea;
}

/* 学校列表样式 */
.school_rank .school-list {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.school_rank .school-item {
  display: flex;
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
  background-color: #fff;
  transition: background-color 0.3s;
  cursor: pointer;
}

.school_rank .school-item:hover {
  background-color: #f8f9fa;
}

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

/* 学校logo */
.school_rank .school-logo {
  width: 80px;
  height: 80px;
  margin-right: 20px;
  flex-shrink: 0;
}

.school_rank .school-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

/* 学校信息 */
.school_rank .school-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.school_rank .school-name {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 12px;
  line-height: 1.3;
}

.school_rank .school-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.school_rank .tag {
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 12px;
  color: #fff;
  white-space: nowrap;
}

.school_rank .tag_orange {
  background-color: #ff8c00;
}

.school_rank .tag_blue {
  background-color: #409eff;
}

.school_rank .tag_green {
  background-color: #67c23a;
}

.school_rank .shengshi {
  color: #999;
  font-size: 13px;
}

/* 排名区域 */
.school_rank .school-ranking {
  width: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-left: 20px;
}

.school_rank .rank-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.school_rank .rank-medal {
  font-size: 24px;
}

.school_rank .rank-number {
  color: #8b0000;
  font-weight: bold;
  font-size: 20px;
}

/* 分页样式 */
.school_rank .pagination-wrapper {
  display: flex !important;
  justify-content: center !important;
  margin-top: 20px !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.school_rank div#pagination ul.pagination {
  display: flex !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 5px !important;
  visibility: visible !important;
  opacity: 1 !important;
  background-color: transparent !important;
}

.school_rank div#pagination ul.pagination li {
  display: flex !important;
  align-items: center !important;
  border: 1px solid #ddd !important;
  border-radius: 4px !important;
  background-color: #fff !important;
  transition: all 0.3s !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: 32px !important;
}

.school_rank div#pagination ul.pagination li a {
  display: block !important;
  padding: 4px 8px !important;
  text-decoration: none !important;
  color: #666 !important;
  background-color: #fff !important;
  visibility: visible !important;
  opacity: 1 !important;
  border: none !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  min-width: 32px !important;
  text-align: center !important;
}

.school_rank div#pagination ul.pagination li.active a {
  background-color: #ff8c00 !important;
  color: #fff !important;
  border-color: #ff8c00 !important;
}

.school_rank
  div#pagination
  ul.pagination
  li:hover:not(.active):not(.disabled)
  a {
  background-color: #f5f5f5 !important;
}

.school_rank div#pagination ul.pagination li.disabled {
  border: 1px solid #e0e0e0 !important;
  border-radius: 4px !important;
  background-color: #f8f9fa !important;
  cursor: not-allowed !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.school_rank div#pagination ul.pagination li.disabled span {
  display: block !important;
  padding: 4px 8px !important;
  color: #ccc !important;
  background-color: #f8f9fa !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  min-width: 32px !important;
  text-align: center !important;
}

.school_rank div#pagination ul.pagination li.page-count {
  border: none !important;
  background: none !important;
  padding: 8px 15px !important;
  color: #666 !important;
}

.school_rank div#pagination ul.pagination li.page-count span {
  color: #666 !important;
  font-size: 14px !important;
}

.school_rank div#pagination ul.pagination li.ellipsis {
  border: none !important;
  background: none !important;
  padding: 8px 5px !important;
}

.school_rank div#pagination ul.pagination li.ellipsis span {
  color: #666 !important;
  font-size: 14px !important;
}

.school_rank div#pagination ul.pagination li.page-jump {
  border: none !important;
  background: none !important;
  padding: 8px 10px !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.school_rank div#pagination ul.pagination li.page-jump span {
  color: #666 !important;
  font-size: 14px !important;
}

.school_rank div#pagination ul.pagination li.page-jump input {
  width: 50px !important;
  text-align: center !important;
  padding: 4px 6px !important;
  border: 1px solid #ddd !important;
  border-radius: 3px !important;
  font-size: 12px !important;
}

.school_rank div#pagination ul.pagination li.page-jump button {
  padding: 4px 8px !important;
  border: 1px solid #ff8c00 !important;
  border-radius: 3px !important;
  background-color: #ff8c00 !important;
  color: #fff !important;
  font-size: 12px !important;
  cursor: pointer !important;
}

.school_rank div#pagination ul.pagination li.page-jump button:hover {
  background-color: #e67e00 !important;
  border-color: #e67e00 !important;
}

/* 加载动画 */
.school_rank .loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.school_rank .loading-content {
  text-align: center;
  color: #667eea;
}

.school_rank .loading-content i {
  font-size: 36px;
  margin-bottom: 15px;
}

.school_rank .loading-content p {
  font-size: 16px;
  margin: 0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .school_rank .content-wrapper {
    width: 95%;
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .school_rank .school-item {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .school_rank .school-logo {
    margin: 0 auto 15px auto;
  }

  .school_rank .school-ranking {
    width: 100%;
    margin: 15px 0 0 0;
  }

  .school_rank .type-tabs,
  .school_rank .sub-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .school_rank .page-title {
    font-size: 24px;
  }
}
/* 学校排行榜页面样式 - 结束 */

/* 清空按钮样式 (for new_school/index.html) */
.detail_school_new .search-direct .btn.btn-clear {
  background-color: #f8f4ee;
  border: 1px solid #e0d5c0;
  color: #666;
  margin-left: 10px;
  padding: 8px 20px;
  min-height: 36px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.detail_school_new .search-direct .btn.btn-clear:hover {
  background-color: #f0e9df;
  color: #333;
}

/* 章程解读样式 - 保持标题与系统一致，只修改内容区域样式 */
#jianzhang_scan {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif !important;
    color: #333 !important;
    line-height: 1.6 !important;
}

#jianzhang_scan .section-content {
    display: flex !important;
    justify-content: center !important;
}

.janzhang_scan_inner {
    background: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1) !important;
    padding: 30px !important;
    width: 100% !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
}

.janzhang_scan_inner .info-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
}

.janzhang_scan_inner .info-item {
    display: flex !important;
    padding: 12px 15px !important;
    background-color: #f9f9f9 !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
}

.janzhang_scan_inner .info-item:hover {
    background-color: #f0f7ff !important;
    box-shadow: 0 2px 8px rgba(30, 136, 229, 0.1) !important;
}

.janzhang_scan_inner .info-label {
    font-weight: 600 !important;
    color: #555 !important;
    min-width: 120px !important;
    flex-shrink: 0 !important;
}

.janzhang_scan_inner .info-content {
    color: #333 !important;
    flex: 1 !important;
}

@media (max-width: 768px) {
    .janzhang_scan_inner {
        padding: 20px !important;
    }

    .janzhang_scan_inner .info-item {
        flex-direction: column !important;
        gap: 5px !important;
    }

    .janzhang_scan_inner .info-label {
        min-width: 100% !important;
        margin-bottom: 5px !important;
    }
}
