/* School detail premium redesign - 2026-06-24 */
:root {
  --school-blue: #1769e0;
  --school-blue-dark: #0b2b5d;
  --school-gold: #d99a20;
  --school-red: #ee5142;
  --school-text: #172033;
  --school-muted: #66758a;
  --school-line: #e5edf6;
  --school-card: #ffffff;
  --school-bg: #f4f7fb;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--school-bg) !important;
  color: var(--school-text);
}

#headM,
#body,
#homeM {
  background: transparent !important;
}

#head .center,
#homeM .center,
#footer .center,
.yxxx-header,
.yxxx-nav-box .nav-wrapper {
  box-sizing: border-box;
  max-width: 1320px;
  width: calc(100% - 40px) !important;
}

.yxxx-header-wrapper {
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 216, 133, .34), transparent 28%),
    linear-gradient(135deg, #0a2859 0%, #1769e0 54%, #21a4ef 100%);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .16);
  margin-top: 0;
  overflow: hidden;
  padding: 42px 0 36px;
  position: relative;
}

.yxxx-header-wrapper::before,
.yxxx-header-wrapper::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.yxxx-header-wrapper::before {
  background: linear-gradient(120deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0));
  height: 190px;
  left: 7%;
  opacity: .55;
  top: -70px;
  transform: rotate(-12deg);
  width: 540px;
}

.yxxx-header-wrapper::after {
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  bottom: -128px;
  height: 260px;
  right: 6%;
  width: 260px;
}

.yxxx-header {
  align-items: stretch;
  background: rgba(255, 255, 255, .96) !important;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 10px;
  box-shadow: 0 26px 60px rgba(7, 31, 71, .25);
  display: grid;
  gap: 28px;
  grid-template-columns: 178px minmax(0, 1fr);
  margin: 0 auto;
  min-height: 0 !important;
  padding: 28px;
  position: relative;
  z-index: 1;
}

.yxxx-header-img {
  align-items: center;
  align-self: stretch;
  background: linear-gradient(180deg, #fff, #f7fbff);
  border: 1px solid #dce8f5;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(20, 47, 86, .08);
  display: flex;
  float: none !important;
  height: auto !important;
  justify-content: center;
  margin: 0 !important;
  min-height: 150px;
  overflow: hidden;
  padding: 18px;
  width: auto !important;
}

.yxxx-header-img img {
  display: block;
  height: auto !important;
  max-height: 126px;
  max-width: 100%;
  object-fit: contain;
  transition: transform .28s ease;
  width: auto !important;
}

.yxxx-header:hover .yxxx-header-img img {
  transform: scale(1.04);
}

.yxxx-header-content {
  display: grid;
  float: none !important;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) 230px;
  margin: 0 !important;
  min-width: 0;
  width: auto !important;
}

.yxxx-header-content .content-header,
.yxxx-header-content .content-introduction,
.yxxx-header-content .content-info {
  grid-column: 1;
}

.yxxx-header-content .content-header {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 2px 0 0 !important;
}

.yxxx-header-content .content-header::after {
  background: linear-gradient(135deg, #fff4dd, #ffd781);
  border: 1px solid rgba(217, 154, 32, .28);
  border-radius: 999px;
  color: #9a6200;
  content: "官方院校信息";
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  line-height: 26px;
  padding: 0 12px;
}

.yxxx-header-content .content-header .name,
.yxxx-header-content .content-header .yxmc {
  color: #10213d !important;
  display: block;
  font-size: 34px !important;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.content-introduction {
  align-items: center;
  color: #40506a;
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  line-height: 1.6;
  margin: 0 !important;
}

.content-introduction .department,
.content-introduction .yxtx,
.content-introduction p {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 !important;
}

.content-introduction-item,
.content-introduction-item-other {
  background: #eef7ff !important;
  border: 1px solid #cfe6fb;
  border-radius: 999px;
  color: #1269c7 !important;
  display: inline-flex !important;
  font-size: 13px;
  font-weight: 800;
  line-height: 26px;
  margin: 0 4px 0 0 !important;
  padding: 0 10px;
}

.content-info {
  background: #f7faff;
  border: 1px solid #e4edf7;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  margin: 0 !important;
  padding: 14px 16px;
}

.content-info-item {
  color: #44546a;
  font-size: 14px;
  line-height: 1.75;
  overflow: hidden;
  text-overflow: ellipsis;
}

.content-info-item span,
.content-info-item a {
  color: #1f3556 !important;
  font-weight: 700;
}

.content-info-item a:hover {
  color: var(--school-blue) !important;
}

.yxxx-header-right {
  align-content: start;
  background: linear-gradient(180deg, #102a56, #17478a);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(23, 69, 138, .22);
  display: grid !important;
  float: none !important;
  gap: 10px;
  grid-column: 2;
  grid-row: 1 / span 3;
  margin: 0 !important;
  padding: 18px;
  position: relative !important;
  right: auto !important;
  top: auto !important;
  width: auto !important;
}

.yxxx-header-right::before {
  color: rgba(255, 255, 255, .78);
  content: "快捷服务";
  display: block;
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 2px;
}

.yxxx-header-right .right-btn {
  align-items: center;
  background: rgba(255, 255, 255, .1) !important;
  border: 1px solid rgba(255, 255, 255, .22) !important;
  border-radius: 6px !important;
  box-sizing: border-box;
  color: #fff !important;
  display: flex !important;
  font-size: 14px !important;
  font-weight: 800;
  height: 40px !important;
  justify-content: space-between;
  line-height: 40px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  text-align: left !important;
  transition: all .2s ease;
  width: 100% !important;
}

.yxxx-header-right .right-btn::after {
  color: rgba(255, 255, 255, .78);
  content: ">";
  font-family: Arial, sans-serif;
  font-weight: 900;
}

.yxxx-header-right .right-btn:hover {
  background: linear-gradient(135deg, var(--school-red), #f3a41b) !important;
  border-color: transparent !important;
  box-shadow: 0 10px 22px rgba(238, 81, 66, .28);
  transform: translateY(-2px);
}

.yxxx-nav-box {
  background: rgba(255, 255, 255, .94) !important;
  border-bottom: 1px solid var(--school-line);
  box-shadow: 0 10px 26px rgba(20, 47, 86, .07);
  height: auto !important;
  margin: 0 !important;
  position: sticky;
  top: 0;
  z-index: 20;
}

.yxxx-nav-box .nav-wrapper {
  align-items: center;
  display: flex;
  gap: 8px;
  margin: 0 auto !important;
  min-height: 66px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 0;
  scrollbar-width: none;
  white-space: nowrap;
}

.yxxx-nav-box .nav-wrapper::-webkit-scrollbar {
  display: none;
}

.yxxx-nav-box .nav-wrapper a {
  align-items: center;
  border-radius: 999px;
  color: #34425a !important;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 15px !important;
  font-weight: 800;
  height: 38px !important;
  justify-content: center;
  line-height: 38px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  position: relative;
  transition: all .2s ease;
  width: auto !important;
}

.yxxx-nav-box .nav-wrapper a::after {
  display: none !important;
}

.yxxx-nav-box .nav-wrapper a:hover,
.yxxx-nav-box .nav-wrapper a.selected {
  background: linear-gradient(135deg, #fff2d8, #ffd981) !important;
  box-shadow: 0 8px 18px rgba(217, 154, 32, .22);
  color: #8b5a00 !important;
}

#homeM .center {
  margin: 30px auto 60px !important;
}

#homeM .admi-major,
#homeM .news,
#homeM .zgxx-yxsz,
#homeM .color-sch {
  box-sizing: border-box;
  clear: both;
  margin: 0 0 28px !important;
}

#homeM .admi-major,
#homeM .news .xinwzx,
#homeM .news .zhaoswd,
#homeM .zgxx-yxsz .zgxx,
#homeM .zgxx-yxsz .yxsz,
#homeM .color-sch {
  background: var(--school-card) !important;
  border: 1px solid var(--school-line);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(20, 47, 86, .08);
  box-sizing: border-box;
  overflow: hidden;
  transition: box-shadow .22s ease, transform .22s ease;
}

#homeM .admi-major:hover,
#homeM .news .xinwzx:hover,
#homeM .news .zhaoswd:hover,
#homeM .zgxx-yxsz .zgxx:hover,
#homeM .zgxx-yxsz .yxsz:hover,
#homeM .color-sch:hover {
  box-shadow: 0 22px 52px rgba(20, 47, 86, .12);
  transform: translateY(-2px);
}

#homeM .admi-major {
  min-height: 0 !important;
  padding: 0 26px 24px;
  width: 100% !important;
}

#homeM .news,
#homeM .zgxx-yxsz {
  display: grid !important;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: 100% !important;
}

#homeM .news::after,
#homeM .zgxx-yxsz::after {
  display: none !important;
}

#homeM .news .xinwzx,
#homeM .news .zhaoswd,
#homeM .zgxx-yxsz .zgxx,
#homeM .zgxx-yxsz .yxsz {
  float: none !important;
  min-height: 250px !important;
  padding: 0 24px 24px;
  width: auto !important;
}

#homeM .admi-major .a-title,
#homeM .news .n-title,
#homeM .zgxx-yxsz .zgxx .z-title,
#homeM .zgxx-yxsz .yxsz .y-title,
#homeM .color-sch .c-title {
  border-bottom: 1px solid #edf2f8;
  height: auto !important;
  margin: 0 0 20px !important;
  padding: 22px 0 16px;
}

#homeM .admi-major .a-title p,
#homeM .news .n-title p,
#homeM .zgxx-yxsz .zgxx .z-title p,
#homeM .zgxx-yxsz .yxsz .y-title p,
#homeM .color-sch .c-title p {
  align-items: center;
  color: #111d33 !important;
  display: flex;
  flex-wrap: wrap;
  font-size: 20px !important;
  font-weight: 900;
  gap: 7px;
  height: auto !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  padding: 0 0 0 14px !important;
  position: relative;
}

#homeM .admi-major .a-title p::before,
#homeM .news .n-title p::before,
#homeM .zgxx-yxsz .zgxx .z-title p::before,
#homeM .zgxx-yxsz .yxsz .y-title p::before,
#homeM .color-sch .c-title p::before {
  background: linear-gradient(180deg, var(--school-red), var(--school-gold)) !important;
  border-radius: 999px;
  content: "";
  height: 18px !important;
  left: 0 !important;
  position: absolute;
  top: 4px !important;
  width: 4px !important;
}

#homeM .admi-major .a-title p span,
#homeM .news .n-title p span,
#homeM .zgxx-yxsz .zgxx .z-title p span,
#homeM .zgxx-yxsz .yxsz .y-title p span,
#homeM .color-sch .c-title p span {
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}

#homeM .admi-major .a-title p span:nth-of-type(2),
#homeM .news .n-title p span:nth-of-type(2),
#homeM .zgxx-yxsz .zgxx .z-title p span:nth-of-type(2),
#homeM .zgxx-yxsz .yxsz .y-title p span:nth-of-type(2),
#homeM .color-sch .c-title p span:nth-of-type(2) {
  color: #8da0b7 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .04em;
  text-transform: uppercase;
}

#homeM .admi-major .a-title p a,
#homeM .news .n-title p a,
#homeM .zgxx-yxsz .zgxx .z-title p a,
#homeM .zgxx-yxsz .yxsz .y-title p a,
#homeM .color-sch .c-title p a {
  align-items: center;
  background: #f5f9ff;
  border: 1px solid #dce8f5;
  border-radius: 999px;
  color: #42617f !important;
  display: inline-flex;
  float: none !important;
  font-size: 13px !important;
  font-weight: 800;
  height: 30px;
  line-height: 30px;
  margin-left: auto !important;
  padding: 0 12px;
  transition: all .2s ease;
}

#homeM .admi-major .a-title p a:hover,
#homeM .news .n-title p a:hover,
#homeM .zgxx-yxsz .zgxx .z-title p a:hover,
#homeM .zgxx-yxsz .yxsz .y-title p a:hover,
#homeM .color-sch .c-title p a:hover {
  background: #eef7ff;
  border-color: #c6def5;
  color: var(--school-blue) !important;
}

#homeM .zgxx-yxsz .zgxx .z-title p a img {
  display: none !important;
}

#homeM .admi-major .a-body,
#homeM .news .left,
#homeM .news .right,
#homeM .zgxx-yxsz .zgxx .z-body,
#homeM .zgxx-yxsz .yxsz .y-body {
  min-height: 120px;
}

#homeM .admi-major .a-body ul,
#homeM .zgxx-yxsz .yxsz .y-body ul,
#homeM .zgxx-yxsz .zgxx .z-body ul,
#homeM .zgxx-yxsz .zgxx .z-body ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
}

#homeM .admi-major .a-body ul,
#homeM .zgxx-yxsz .yxsz .y-body ul {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#homeM .admi-major .a-body ul:empty,
#homeM .news .swiper-wrapper:empty,
#homeM .news .tabs-body ol:empty,
#homeM .zgxx-yxsz .zgxx .z-body ul:empty,
#homeM .zgxx-yxsz .zgxx .z-body ol:empty,
#homeM .zgxx-yxsz .yxsz .y-body ul:empty {
  background: linear-gradient(135deg, #f8fbff, #fff);
  border: 1px dashed #dbe8f5;
  border-radius: 8px;
  content: "";
  display: block;
  min-height: 86px;
}

#homeM .admi-major .a-body ul li,
#homeM .zgxx-yxsz .yxsz .y-body ul li {
  background: #f8fbff !important;
  border: 1px solid #e2ebf5;
  border-radius: 8px;
  box-sizing: border-box;
  float: none !important;
  margin: 0 !important;
  min-height: 96px;
  overflow: hidden;
  padding: 14px;
  transition: all .2s ease;
  width: auto !important;
}

#homeM .admi-major .a-body ul li:hover,
#homeM .zgxx-yxsz .yxsz .y-body ul li:hover {
  background: #fff !important;
  border-color: #cfe2f5;
  box-shadow: 0 12px 26px rgba(20, 47, 86, .08);
  transform: translateY(-2px);
}

#homeM .news .xinwzx #swiper2,
#homeM .news .xinwzx #swiper2 .swiper-slide,
.device1 .swiper-container {
  height: 270px !important;
}

#homeM .news .xinwzx #swiper2 .swiper-slide .img,
#homeM .news .xinwzx #swiper2 .swiper-slide .img img {
  border-radius: 8px;
  height: 210px !important;
  object-fit: cover;
  overflow: hidden;
  width: 100% !important;
}

#homeM .news .xinwzx #swiper2 .swiper-slide p {
  color: #1f2937;
  font-size: 15px;
  font-weight: 800;
  line-height: 44px;
}

#homeM .news .zhaoswd .tabs-body,
#homeM .news .zhaoswd .tabs-body > ul,
#homeM .news .zhaoswd .tabs-body > ul > li {
  height: auto !important;
  margin: 0 !important;
  width: 100% !important;
}

#homeM .news .zhaoswd .tabs-body > ul > li ol,
#homeM .zgxx-yxsz .zgxx .z-body ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

#homeM .news .zhaoswd .tabs-body > ul > li ol li,
#homeM .zgxx-yxsz .zgxx .z-body ol li {
  align-items: center;
  border-bottom: 1px dashed #e5edf6;
  display: flex;
  gap: 12px;
  height: auto !important;
  line-height: 1.6 !important;
  padding: 9px 0;
}

#homeM .news .zhaoswd .tabs-body > ul > li ol li span:nth-of-type(1),
#homeM .zgxx-yxsz .zgxx .z-body ol li a p {
  color: #28364a;
  flex: 1 1 auto;
  font-size: 15px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#homeM .zgxx-yxsz .zgxx .z-body ul li,
#homeM .zgxx-yxsz .zgxx .z-body ol li {
  float: none !important;
  margin: 0 !important;
  width: auto !important;
}

#homeM .color-sch {
  margin-bottom: 60px !important;
  padding: 0 26px 28px;
  width: 100% !important;
}

#homeM .color-sch .c-body {
  align-items: stretch;
  display: grid !important;
  gap: 22px;
  grid-template-columns: 230px minmax(0, 1fr);
  height: auto !important;
  width: 100% !important;
}

#homeM .color-sch .c-body .left,
#homeM .color-sch .c-body .right {
  float: none !important;
  height: auto !important;
  width: auto !important;
}

#homeM .color-sch .c-body .left ul {
  display: grid;
  gap: 10px;
  height: auto !important;
  margin: 0;
  padding: 0;
}

#homeM .color-sch .c-body .left ul li {
  background: #f7faff !important;
  border: 1px solid #e1ebf6;
  border-radius: 8px;
  box-sizing: border-box;
  height: auto !important;
  margin: 0 !important;
  min-height: 76px;
  padding: 14px 42px 14px 16px !important;
  position: relative;
  width: 100% !important;
}

#homeM .color-sch .c-body .left ul li.active,
#homeM .color-sch .c-body .left ul li:hover {
  background: linear-gradient(135deg, #fff2d8, #ffd981) !important;
  border-color: #ffd981;
}

#homeM .color-sch .c-body .left ul li img {
  right: 16px !important;
  top: 50% !important;
  transform: translateY(-50%);
}

#homeM .color-sch .c-body .right .scorll-wrap {
  height: auto !important;
  overflow: visible !important;
  width: 100% !important;
}

#homeM .color-sch .c-body .right .scorll-wrap > div {
  display: block;
  height: auto !important;
  width: 100% !important;
}

#homeM .color-sch .c-body .right .scorll-wrap > div .top,
#homeM .color-sch .c-body .right .scorll-wrap > div .bottom {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  height: auto !important;
  margin: 0 0 14px !important;
  width: 100% !important;
}

#homeM .color-sch .c-body .right .scorll-wrap > div .bottom {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#homeM .color-sch .c-body .right .scorll-wrap > div .top div,
#homeM .color-sch .c-body .right .scorll-wrap > div .bottom div,
#homeM .color-sch .c-body .right .scorll-wrap > div .bottom > a {
  border-radius: 8px;
  box-sizing: border-box;
  float: none !important;
  height: auto !important;
  margin: 0 !important;
  min-height: 146px;
  overflow: hidden;
  position: relative;
  width: auto !important;
}

#homeM .color-sch .c-body .right .scorll-wrap > div .top div img,
#homeM .color-sch .c-body .right .scorll-wrap > div .bottom div img {
  display: block;
  height: 100% !important;
  min-height: 146px;
  object-fit: cover;
  transition: transform .28s ease;
  width: 100% !important;
}

#homeM .color-sch .c-body .right .scorll-wrap > div .top div:hover img,
#homeM .color-sch .c-body .right .scorll-wrap > div .bottom div:hover img {
  transform: scale(1.05);
}

#homeM .color-sch .c-body .right .scorll-wrap > div .bottom > a {
  align-items: center;
  background: linear-gradient(135deg, #10305e, #1769e0) !important;
  color: #fff !important;
  display: flex;
  font-size: 18px;
  font-weight: 900;
  justify-content: center;
}

#homeM .color-sch .c-body .right .scorll-wrap > div .bottom > a::before,
#homeM .color-sch .c-body .right .scorll-wrap > div .bottom > a::after {
  display: none !important;
}

@media (max-width: 900px) {
  #head .center,
  #homeM .center,
  #footer .center,
  .yxxx-header,
  .yxxx-nav-box .nav-wrapper {
    width: calc(100% - 24px) !important;
  }

  .yxxx-header-wrapper {
    padding: 24px 0 22px;
  }

  .yxxx-header {
    gap: 16px;
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .yxxx-header-img {
    min-height: 118px;
  }

  .yxxx-header-img img {
    max-height: 96px;
  }

  .yxxx-header-content {
    display: block;
  }

  .yxxx-header-content .content-header .name,
  .yxxx-header-content .content-header .yxmc {
    font-size: 24px !important;
  }

  .content-introduction,
  .content-info,
  .yxxx-header-right {
    margin-top: 12px !important;
  }

  .yxxx-header-right {
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 14px;
  }

  .yxxx-header-right::before {
    grid-column: 1 / -1;
  }

  .yxxx-header-right .right-btn {
    font-size: 13px !important;
    height: 38px !important;
    line-height: 38px !important;
    padding: 0 10px !important;
  }

  .yxxx-nav-box {
    top: 0;
  }

  .yxxx-nav-box .nav-wrapper {
    min-height: 58px;
  }

  .yxxx-nav-box .nav-wrapper a {
    font-size: 14px !important;
    height: 34px !important;
    line-height: 34px !important;
    padding: 0 14px !important;
  }

  #homeM .center {
    margin-top: 18px !important;
  }

  #homeM .admi-major,
  #homeM .news .xinwzx,
  #homeM .news .zhaoswd,
  #homeM .zgxx-yxsz .zgxx,
  #homeM .zgxx-yxsz .yxsz,
  #homeM .color-sch {
    padding-left: 16px;
    padding-right: 16px;
  }

  #homeM .news,
  #homeM .zgxx-yxsz,
  #homeM .color-sch .c-body,
  #homeM .color-sch .c-body .right .scorll-wrap > div .top,
  #homeM .color-sch .c-body .right .scorll-wrap > div .bottom {
    grid-template-columns: 1fr;
  }

  #homeM .admi-major .a-body ul,
  #homeM .zgxx-yxsz .yxsz .y-body ul {
    grid-template-columns: 1fr;
  }

  #homeM .color-sch .c-body .left ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .yxxx-header-right {
    grid-template-columns: 1fr;
  }

  .content-info-item {
    white-space: normal;
  }

  #homeM .admi-major .a-title p a,
  #homeM .news .n-title p a,
  #homeM .zgxx-yxsz .zgxx .z-title p a,
  #homeM .zgxx-yxsz .yxsz .y-title p a,
  #homeM .color-sch .c-title p a {
    margin-left: 0 !important;
  }

  #homeM .color-sch .c-body .left ul {
    grid-template-columns: 1fr;
  }
}

/* Stronger overrides for legacy detail selectors */
#headM .yxxx-header {
  align-items: stretch !important;
  display: grid !important;
  grid-template-columns: 178px minmax(0, 1fr) !important;
}

#headM .yxxx-header .yxxx-header-content {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 230px !important;
}

#headM .yxxx-header .yxxx-header-img,
#headM .yxxx-header .yxxx-header-content,
#headM .yxxx-header .yxxx-header-right {
  float: none !important;
}

@media (max-width: 900px) {
  #headM .yxxx-header,
  #headM .yxxx-header .yxxx-header-content {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
}

/* Keep legacy campus carousel behavior while using the new visual frame */
#homeM .color-sch .c-body .right {
  min-height: 366px;
  overflow: hidden !important;
}

#homeM .color-sch .c-body .right .scorll-wrap {
  height: auto !important;
  overflow: visible !important;
  position: relative;
  transition: top .35s ease;
}

#homeM .color-sch .c-body .right .scorll-wrap > div {
  min-height: 366px;
  padding-bottom: 1px;
}

@media (max-width: 900px) {
  #homeM .color-sch .c-body .right {
    min-height: 816px;
  }

  #homeM .color-sch .c-body .right .scorll-wrap > div {
    min-height: 816px;
  }
}

#homeM .color-sch .c-body .right {
  height: 366px !important;
  min-height: 366px !important;
}

@media (max-width: 900px) {
  #homeM .color-sch .c-body .right {
    height: 816px !important;
    min-height: 816px !important;
  }
}

/* Mobile containment for legacy global header/footer on detail pages */
@media (max-width: 900px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  #head,
  #footer,
  #head .center,
  #footer .center {
    max-width: 100% !important;
  }

  #head .f-right,
  #head .search-inp,
  #head .s-top,
  #head .search-inp .left,
  #head .l-search,
  #head #searchform,
  #head #keyboard {
    box-sizing: border-box;
    float: none !important;
    max-width: 100% !important;
    transform: none !important;
    width: 100% !important;
  }

  #head .f-right {
    display: none !important;
  }

  #head .nav-tabs,
  #head .nav-tabs ul {
    box-sizing: border-box;
    display: flex !important;
    float: none !important;
    max-width: 100% !important;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    white-space: nowrap;
    width: 100% !important;
  }

  #head .nav-tabs::-webkit-scrollbar,
  #head .nav-tabs ul::-webkit-scrollbar {
    display: none;
  }

  #head .nav-tabs li {
    flex: 0 0 auto;
  }

  #footer .bottom .center,
  #footer .bottom .c-left,
  #footer .bottom .c-right,
  #footer .bottom .r-body {
    box-sizing: border-box;
    float: none !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  #footer .bottom .c-right {
    margin-top: 18px;
  }
}

/* Main navigation on school detail: remove blue strip, keep only active highlight */
#head .nav-wrap .nav-box {
  background: #fff !important;
  border-bottom: 1px solid #e5edf6;
  border-top: 1px solid #edf3fa;
  box-shadow: 0 8px 22px rgba(20, 47, 86, .06) !important;
}

#head .nav-wrap .nav-box .center,
#head .nav-wrap .nav-box .menu-wrap,
#head .nav-wrap .nav-box .nav-tabs ul,
#head .nav-wrap .nav-box .nav-tabs ul li {
  background: transparent !important;
}

#head .nav-wrap .nav-box .menu-wrap > .ico {
  display: none !important;
}

#head .nav-wrap .nav-box .menu-wrap > .title > p,
#head .nav-wrap .nav-box .menu-wrap > .title > p a,
#head .nav-wrap .nav-box .nav-tabs ul li > a {
  color: #23344f !important;
}

#head .nav-wrap .nav-box .nav-tabs ul li {
  border: 0 !important;
  position: relative;
}

#head .nav-wrap .nav-box .nav-tabs ul li::after {
  display: none !important;
}

#head .nav-wrap .nav-box .nav-tabs ul li::before,
#head .nav-wrap .nav-box .nav-tabs ul li:first-child::before {
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 999px;
  bottom: 7px;
  box-shadow: none !important;
  content: "";
  left: 8px;
  opacity: 0 !important;
  position: absolute;
  right: 8px;
  top: 7px;
  transform: none !important;
  transition: all .18s ease;
  z-index: 0;
}

#head .nav-wrap .nav-box .nav-tabs ul li.active::before,
#head .nav-wrap .nav-box .nav-tabs ul li:hover::before {
  background: linear-gradient(135deg, #fff4df, #ffe0a3) !important;
  border-color: #ffd486 !important;
  box-shadow: 0 8px 18px rgba(217, 154, 32, .16) !important;
  opacity: 1 !important;
}

#head .nav-wrap .nav-box .nav-tabs ul li.active > a,
#head .nav-wrap .nav-box .nav-tabs ul li:hover > a {
  color: #9a6200 !important;
  position: relative;
  z-index: 1;
}

/* Main navigation category entry on school detail */
#head .nav-wrap .nav-box .menu-wrap,
#head .nav-wrap .nav-box .menu-wrap:hover,
#head .nav-wrap .nav-box .menu-wrap > .title {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

#head .nav-wrap .nav-box .menu-wrap > .title > p {
  align-items: center;
  background: transparent !important;
  border-radius: 999px;
  color: #23344f !important;
  display: flex !important;
  font-size: 16px !important;
  font-weight: 900;
  height: 36px !important;
  justify-content: center;
  line-height: 36px !important;
  margin: 5px 10px !important;
  transition: all .18s ease;
}

#head .nav-wrap .nav-box .menu-wrap:hover > .title > p {
  background: linear-gradient(135deg, #fff4df, #ffe0a3) !important;
  box-shadow: 0 8px 18px rgba(217, 154, 32, .16);
  color: #9a6200 !important;
}

/* Detail page premium refinement - 2026-06-24 21:54 */
body {
  background:
    linear-gradient(180deg, #f7f9fd 0%, #eef3f9 430px, #f6f8fb 100%) !important;
}

.yxxx-header-wrapper {
  background:
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.07) 1px, transparent 1px),
    radial-gradient(circle at 74% 18%, rgba(255, 209, 112, .42), transparent 25%),
    radial-gradient(circle at 14% 88%, rgba(64, 178, 255, .22), transparent 30%),
    linear-gradient(135deg, #061a3d 0%, #0d3d83 44%, #1478dd 100%) !important;
  background-size: 46px 46px, 46px 46px, auto, auto, auto;
  padding: 50px 0 44px !important;
}

.yxxx-header-wrapper::before {
  background: linear-gradient(118deg, rgba(255,255,255,.24), rgba(255,255,255,0) 64%) !important;
  border-radius: 36px;
  height: 260px !important;
  left: 8% !important;
  top: -120px !important;
  width: 700px !important;
}

.yxxx-header-wrapper::after {
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 62%);
  border: 1px solid rgba(255,255,255,.18) !important;
  bottom: -155px !important;
  height: 340px !important;
  right: 5% !important;
  width: 340px !important;
}

.yxxx-header {
  backdrop-filter: blur(16px);
  background: rgba(255,255,255,.93) !important;
  border: 1px solid rgba(255,255,255,.78) !important;
  border-radius: 14px !important;
  box-shadow: 0 34px 78px rgba(3, 20, 50, .31) !important;
  gap: 30px !important;
  grid-template-columns: 192px minmax(0, 1fr) !important;
  padding: 30px !important;
}

#headM .yxxx-header {
  grid-template-columns: 192px minmax(0, 1fr) !important;
}

.yxxx-header::before {
  background: linear-gradient(90deg, #e85042, #f2b544, #2478e8);
  border-radius: 999px;
  content: "";
  height: 4px;
  left: 30px;
  position: absolute;
  right: 30px;
  top: 0;
}

.yxxx-header-img {
  background:
    radial-gradient(circle at 50% 8%, rgba(255,255,255,.95), transparent 48%),
    linear-gradient(180deg, #ffffff, #f1f6fc) !important;
  border-color: #d8e4f1 !important;
  border-radius: 12px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 18px 38px rgba(15, 43, 82, .12) !important;
  min-height: 166px !important;
}

.yxxx-header-content {
  gap: 18px !important;
  grid-template-columns: minmax(0, 1fr) 260px !important;
}

#headM .yxxx-header .yxxx-header-content {
  grid-template-columns: minmax(0, 1fr) 260px !important;
}

.yxxx-header-content .content-header {
  align-items: flex-start !important;
  gap: 10px 14px !important;
}

.yxxx-header-content .content-header .name,
.yxxx-header-content .content-header .yxmc {
  color: #0c1c34 !important;
  font-size: 38px !important;
  letter-spacing: 0 !important;
}

.yxxx-header-content .content-header::after {
  background: linear-gradient(135deg, #fff7e6, #ffd77d) !important;
  border-color: rgba(200, 130, 20, .26) !important;
  box-shadow: 0 8px 18px rgba(217,154,32,.14);
  line-height: 28px !important;
}

.content-introduction {
  gap: 10px 14px !important;
}

.content-introduction .department,
.content-introduction .yxtx {
  align-items: center;
  background: #f7faff;
  border: 1px solid #e4edf7;
  border-radius: 10px;
  display: inline-flex !important;
  min-height: 38px;
  padding: 0 12px;
}

.content-introduction .department p,
.content-introduction .yxtx span:first-child {
  color: #5f6f86;
  font-weight: 700;
}

.content-info {
  background: linear-gradient(180deg, #fbfdff, #f4f8fd) !important;
  border-color: #dfe9f5 !important;
  border-radius: 12px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
  gap: 0 !important;
  padding: 2px 18px !important;
}

.content-info-item {
  align-items: center;
  border-bottom: 1px solid #e8eff7;
  display: flex;
  flex-wrap: wrap;
  min-height: 43px;
  padding: 5px 0;
}

.content-info-item:last-child {
  border-bottom: 0;
}

.yxxx-header-right {
  background:
    radial-gradient(circle at 86% 8%, rgba(255,207,106,.22), transparent 35%),
    linear-gradient(180deg, #091e42, #123f7c 58%, #0d2d5d) !important;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px !important;
  box-shadow: 0 22px 42px rgba(11, 43, 93, .25) !important;
  gap: 12px !important;
  padding: 20px !important;
}

.yxxx-header-right::before {
  color: #fff !important;
  content: "升学服务" !important;
  font-size: 17px !important;
  letter-spacing: 0 !important;
  margin-bottom: 0 !important;
}

.yxxx-header-right::after {
  color: rgba(255,255,255,.62);
  content: "咨询 / 章程 / 专业 / 访谈";
  display: block;
  font-size: 12px;
  line-height: 1.4;
  margin: -8px 0 2px;
}

.yxxx-header-right .right-btn {
  background: rgba(255,255,255,.09) !important;
  border-radius: 9px !important;
  height: 42px !important;
  line-height: 42px !important;
  overflow: hidden;
}

.yxxx-nav-box {
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,.88) !important;
  box-shadow: 0 14px 30px rgba(17, 42, 75, .08) !important;
}

.yxxx-nav-box .nav-wrapper {
  min-height: 70px !important;
}

.yxxx-nav-box .nav-wrapper a {
  background: transparent !important;
  border: 1px solid transparent;
  border-radius: 9px !important;
  color: #25364f !important;
  height: 40px !important;
  line-height: 40px !important;
}

.yxxx-nav-box .nav-wrapper a:hover,
.yxxx-nav-box .nav-wrapper a.selected {
  background: #fff7e7 !important;
  border-color: #f3d39b !important;
  box-shadow: 0 10px 20px rgba(169, 107, 18, .12) !important;
  color: #94600a !important;
}

#homeM .center {
  margin-top: 34px !important;
}

#homeM .admi-major,
#homeM .news .xinwzx,
#homeM .news .zhaoswd,
#homeM .zgxx-yxsz .zgxx,
#homeM .zgxx-yxsz .yxsz,
#homeM .color-sch {
  border: 1px solid rgba(219, 230, 243, .95) !important;
  border-radius: 12px !important;
  box-shadow: 0 18px 48px rgba(20, 47, 86, .08) !important;
}

#homeM .admi-major,
#homeM .color-sch {
  padding: 0 30px 30px !important;
}

#homeM .news .xinwzx,
#homeM .news .zhaoswd,
#homeM .zgxx-yxsz .zgxx,
#homeM .zgxx-yxsz .yxsz {
  min-height: 230px !important;
  padding: 0 28px 26px !important;
}

#homeM .news,
#homeM .zgxx-yxsz {
  gap: 30px !important;
}

#homeM .admi-major .a-title,
#homeM .news .n-title,
#homeM .zgxx-yxsz .zgxx .z-title,
#homeM .zgxx-yxsz .yxsz .y-title,
#homeM .color-sch .c-title {
  background: linear-gradient(180deg, rgba(248,251,255,.98), rgba(255,255,255,0));
  border-bottom: 1px solid #e8eff7 !important;
  margin-left: -30px !important;
  margin-right: -30px !important;
  padding: 24px 30px 18px !important;
}

#homeM .news .n-title,
#homeM .zgxx-yxsz .zgxx .z-title,
#homeM .zgxx-yxsz .yxsz .y-title {
  margin-left: -28px !important;
  margin-right: -28px !important;
  padding-left: 28px !important;
  padding-right: 28px !important;
}

#homeM .admi-major .a-title p,
#homeM .news .n-title p,
#homeM .zgxx-yxsz .zgxx .z-title p,
#homeM .zgxx-yxsz .yxsz .y-title p,
#homeM .color-sch .c-title p {
  font-size: 22px !important;
  letter-spacing: 0 !important;
  padding-left: 16px !important;
}

#homeM .admi-major .a-title p span:nth-of-type(2),
#homeM .news .n-title p span:nth-of-type(2),
#homeM .zgxx-yxsz .zgxx .z-title p span:nth-of-type(2),
#homeM .zgxx-yxsz .yxsz .y-title p span:nth-of-type(2),
#homeM .color-sch .c-title p span:nth-of-type(2) {
  background: #eef5fc;
  border-radius: 999px;
  color: #7c8ea5 !important;
  padding: 4px 9px;
}

#homeM .admi-major .a-body ul:empty,
#homeM .news .swiper-wrapper:empty,
#homeM .news .tabs-body ol:empty,
#homeM .zgxx-yxsz .zgxx .z-body ul:empty,
#homeM .zgxx-yxsz .zgxx .z-body ol:empty,
#homeM .zgxx-yxsz .yxsz .y-body ul:empty {
  background:
    linear-gradient(135deg, rgba(255,255,255,.8), rgba(244,248,253,.88)),
    repeating-linear-gradient(135deg, rgba(205,218,233,.2) 0, rgba(205,218,233,.2) 1px, transparent 1px, transparent 10px) !important;
  border: 1px dashed #d5e2f0 !important;
  border-radius: 10px !important;
  min-height: 72px !important;
}

#homeM .news .swiper-wrapper:empty {
  min-height: 190px !important;
}

#homeM .news .xinwzx #swiper2,
#homeM .news .xinwzx #swiper2 .swiper-slide,
.device1 .swiper-container {
  height: 220px !important;
}

#homeM .color-sch .c-body {
  gap: 26px !important;
  grid-template-columns: 250px minmax(0, 1fr) !important;
}

#homeM .color-sch .c-body .left ul li {
  background: linear-gradient(180deg, #fbfdff, #f3f7fc) !important;
  border-radius: 10px !important;
  min-height: 82px !important;
}

#homeM .color-sch .c-body .left ul li .a1 {
  color: #15243a !important;
  font-size: 16px !important;
  font-weight: 900 !important;
}

#homeM .color-sch .c-body .left ul li .a2 {
  color: #8b9bb0 !important;
  font-size: 11px !important;
  letter-spacing: 0 !important;
  margin-top: 4px !important;
}

#homeM .color-sch .c-body .left ul li.active,
#homeM .color-sch .c-body .left ul li:hover {
  background: linear-gradient(135deg, #0f3670, #1769e0) !important;
  border-color: transparent !important;
  box-shadow: 0 16px 30px rgba(23,105,224,.22);
}

#homeM .color-sch .c-body .left ul li.active .a1,
#homeM .color-sch .c-body .left ul li:hover .a1,
#homeM .color-sch .c-body .left ul li.active .a2,
#homeM .color-sch .c-body .left ul li:hover .a2 {
  color: #fff !important;
}

#homeM .color-sch .c-body .right,
#homeM .color-sch .c-body .right .scorll-wrap > div {
  height: 392px !important;
  min-height: 392px !important;
}

#homeM .color-sch .c-body .right .scorll-wrap > div .top,
#homeM .color-sch .c-body .right .scorll-wrap > div .bottom {
  gap: 16px !important;
  margin-bottom: 16px !important;
}

#homeM .color-sch .c-body .right .scorll-wrap > div .top div,
#homeM .color-sch .c-body .right .scorll-wrap > div .bottom div,
#homeM .color-sch .c-body .right .scorll-wrap > div .bottom > a {
  border-radius: 12px !important;
  min-height: 188px !important;
}

#homeM .color-sch .c-body .right .scorll-wrap > div .top div img,
#homeM .color-sch .c-body .right .scorll-wrap > div .bottom div img {
  min-height: 188px !important;
}

#homeM .color-sch .c-body .right .scorll-wrap > div .top div::after,
#homeM .color-sch .c-body .right .scorll-wrap > div .bottom div::after {
  background: linear-gradient(180deg, transparent 55%, rgba(4,18,40,.26));
  bottom: 0;
  content: "";
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
}

#homeM .color-sch .c-body .right .scorll-wrap > div .bottom > a {
  background:
    radial-gradient(circle at 78% 20%, rgba(255,216,135,.3), transparent 34%),
    linear-gradient(135deg, #091f44, #1769e0) !important;
}

@media (max-width: 900px) {
  .yxxx-header-wrapper {
    padding: 26px 0 24px !important;
  }

  .yxxx-header,
  #headM .yxxx-header {
    border-radius: 12px !important;
    gap: 16px !important;
    grid-template-columns: 1fr !important;
    padding: 18px !important;
  }

  .yxxx-header::before {
    left: 18px;
    right: 18px;
  }

  .yxxx-header-content,
  #headM .yxxx-header .yxxx-header-content {
    grid-template-columns: 1fr !important;
  }

  .yxxx-header-content .content-header .name,
  .yxxx-header-content .content-header .yxmc {
    font-size: 26px !important;
  }

  .content-introduction .department,
  .content-introduction .yxtx {
    width: 100%;
  }

  .content-info {
    padding: 8px 14px !important;
  }

  .content-info-item {
    align-items: flex-start;
    display: block;
    min-height: 0;
    padding: 9px 0;
  }

  .yxxx-header-right {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .yxxx-header-right::before,
  .yxxx-header-right::after {
    grid-column: 1 / -1;
  }

  #homeM .center {
    margin-top: 20px !important;
  }

  #homeM .admi-major,
  #homeM .color-sch {
    padding: 0 16px 20px !important;
  }

  #homeM .news .xinwzx,
  #homeM .news .zhaoswd,
  #homeM .zgxx-yxsz .zgxx,
  #homeM .zgxx-yxsz .yxsz {
    padding: 0 16px 20px !important;
  }

  #homeM .admi-major .a-title,
  #homeM .color-sch .c-title,
  #homeM .news .n-title,
  #homeM .zgxx-yxsz .zgxx .z-title,
  #homeM .zgxx-yxsz .yxsz .y-title {
    margin-left: -16px !important;
    margin-right: -16px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  #homeM .color-sch .c-body {
    grid-template-columns: 1fr !important;
  }

  #homeM .color-sch .c-body .right,
  #homeM .color-sch .c-body .right .scorll-wrap > div {
    height: auto !important;
    min-height: 0 !important;
  }

  #homeM .color-sch .c-body .right .scorll-wrap > div .top,
  #homeM .color-sch .c-body .right .scorll-wrap > div .bottom {
    grid-template-columns: 1fr !important;
  }

  #homeM .color-sch .c-body .right .scorll-wrap > div .top div,
  #homeM .color-sch .c-body .right .scorll-wrap > div .bottom div,
  #homeM .color-sch .c-body .right .scorll-wrap > div .bottom > a,
  #homeM .color-sch .c-body .right .scorll-wrap > div .top div img,
  #homeM .color-sch .c-body .right .scorll-wrap > div .bottom div img {
    min-height: 180px !important;
  }
}

@media (max-width: 520px) {
  .yxxx-header-right {
    grid-template-columns: 1fr !important;
  }

  .yxxx-header-right .right-btn {
    width: 100% !important;
  }

  #homeM .admi-major .a-title p,
  #homeM .news .n-title p,
  #homeM .zgxx-yxsz .zgxx .z-title p,
  #homeM .zgxx-yxsz .yxsz .y-title p,
  #homeM .color-sch .c-title p {
    font-size: 19px !important;
  }
}
