@font-face {
  font-family: "AlibabaPuHuiTiRegular";
  src: url(https://www.igo.cn/font/Alibaba-PuHuiTi/AlibabaPuHuiTiRegular.ttf);
}
@font-face {
  font-family: "AlibabaPuHuiTiBold";
  src: url(https://www.igo.cn/font/Alibaba-PuHuiTi/Alibaba-PuHuiTi-Bold_0.ttf);
}
:root {
  --brand: #ff123f;
  --brand-dark: #c5000f;
  --brand-light: #fff1f1;
  --text: #333;
  --text-weak: #999;
  --line: #ebebeb;
  --radius: 6px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font:
    14px/1.6 "PingFang SC",
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-family: "AlibabaPuHuiTiRegular";
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  /* padding: 0 16px; */
}
.school-detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 13px;
  height: 50px;
  border-bottom: 1px solid var(--brand);
}
.school-detail-breadcrumb > div {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  gap: 13px;
}
.school-detail-breadcrumb p {
  font-family: "AlibabaPuHuiTiBold";
  font-size: 20px;
  line-height: 20px;
  color: #ff123f;
}
.school-detail-breadcrumb-list {
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 14px;
  color: #999999;
}
.school-detail-breadcrumb-list a {
  color: #999999;
}

.site-header {
  background: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  /* height: 64px; */
  gap: 24px;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.main-nav {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 30px;
  flex: none;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 15px;
  color: #333;
}

.nav-item:hover {
  color: var(--brand);
}

.nav-item.active {
  font-size: 18px;
  font-family: "AlibabaPuHuiTiBold";
  color: #111;
}

.nav-item.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 28px;
  height: 5px;
  margin-left: -14px;
  border-radius: 6px;
  background: var(--brand);
}

.header-search {
  display: flex;
  flex: none;
  width: 320px;
  height: 40px;
  margin-left: auto;
}

.header-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  padding: 0 16px;
  font-size: 13px;
  color: #333;
  background: #f5f5f5;
  border-radius: 4px 0 0 4px;
}

.header-search input::placeholder {
  color: #b5b5b5;
}

.header-search button {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 92px;
  border: 0;
  border-radius: 0 4px 4px 0;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
}

.header-search button:hover {
  background: var(--brand-dark);
}

.ico-search {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.page-body {
  display: flex;
  align-items: stretch;
  gap: 50px;
  padding-top: 25px;
  padding-bottom: 40px;min-width: 1200px;
}

.page-main {
  flex: 1;
  min-width: 0;
}

.page-side {
  flex: none;
  width: 310px;
  display: flex;
  flex-direction: column;
  gap: 16px;

}

.filter-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 20px 16px;
}

.filter-row {
  display: flex;
  padding: 10px 0;
}

.filter-label {
  flex: none;
  min-width: 40px;
  margin-right: 14px;
  color: #888;
  font-size: 14px;
  line-height: 24px;
  text-align: justify;
  text-align-last: justify;
  white-space: nowrap;
}

.filter-label-note {
  display: block;
  font-style: normal;
  font-size: 12px;
  line-height: 16px;
  color: #c0c0c0;
  text-align: left;
}

.filter-options {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.filter-option {
  border: 0;
  background: none;
  padding: 0;
  font-size: 14px;
  line-height: 24px;
  color: #333;
  white-space: nowrap;
}

.filter-option:hover {
  color: var(--brand);
}

.filter-option.active {
  padding: 0 12px;
  border-radius: 3px;
  background: var(--brand);
  color: #fff;
}

.filter-option.selected {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  border-radius: 3px;
  background: #fdeaea;
  color: var(--brand);
}

.opt-close {
  font-style: normal;
  font-size: 14px;
  line-height: 1;
}

.opt-count {
  margin-left: 1px;
  font-style: normal;
  font-size: 12px;
  color: #b5b5b5;
}

.filter-option.active .opt-count {
  color: rgba(255, 255, 255, 0.85);
}

.filter-more {
  border: 0;
  background: none;
  padding: 0;
  font-size: 14px;
  line-height: 24px;
  color: var(--text-weak);
  white-space: nowrap;
}

.filter-more:hover {
  color: var(--brand);
}

.result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 2px 12px;
  font-size: 13px;
  color: var(--text-weak);
}

.result-count b {
  padding: 0 3px;
  color: var(--brand);
  font-size: 14px;
  font-family: "AlibabaPuHuiTiBold";
}

.result-active {
  color: #c4c4c4;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.school-list {
  background: #fff;
  /* border: 1px solid var(--line); */
  border-radius: var(--radius);
  /* padding: 0 20px; */
}

.school-item {
  display: flex;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid #f2f2f2;
  cursor: pointer;
}

.school-item:hover .school-name {
  color: var(--brand);
}

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

.school-logo {
  position: relative;
  flex: none;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  /* background: #f2f3f5; */
  box-shadow: 3px 4px 10px 0px rgba(0, 0, 0, 0.15);
  border: solid 2px #ffffff;
  padding: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.school-logo img {
  position: relative;
  z-index: 1;
  width: 90%;
  background: #fff;
}

.logo-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c8ccd4;
  font-family: "AlibabaPuHuiTiBold";
  font-size: 24px;
}

.logo-fallback .ico-school {
  width: 34px;
  height: 34px;
  fill: #d5d8df;
}

.school-main {
  flex: 1;
  min-width: 0;
}

.school-name {
  margin: 0;
  font-size: 18px;
  font-family: "AlibabaPuHuiTiBold";
  line-height: 1.4;
  color: #222;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.school-item:hover .school-name {
  color: var(--brand);
}

.school-en-name {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--text-weak);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.school-location {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 10px 0 0;
  font-size: 13px;
  color: #888;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ico-pin {
  flex: none;
  width: 12px;
  height: 12px;
  fill: #c0c4cc;
}

.school-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.school-chips + .school-chips {
  margin-top: 8px;
}

.school-chip {
  padding: 2px 8px;
  border-radius: 3px;
  background: #f6f7f9;
  font-size: 12px;
  line-height: 18px;
  color: var(--text-weak);
}

.school-chip b {
  font-family: "AlibabaPuHuiTiBold";
  color: #666;
  color: var(--brand);
}

.school-chip b.hi {
  color: var(--brand);
}

.school-links {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--text-weak);
}

.school-links a {
  color: var(--text-weak);
}

.school-links a:hover {
  color: var(--brand);
}

.school-links i {
  font-style: normal;
  margin: 0 8px;
  color: #e0e0e0;
}

.school-links i::before {
  content: "|";
}

.school-actions {
  flex: none;
  width: 92px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
}

.btn {
  display: block;
  height: 32px;
  line-height: 30px;
  text-align: center;
  border: 1px solid var(--brand);
  border-radius: 16px;
  font-size: 13px;
}

.btn-ghost {
  color: var(--brand);
  background: #fff;
}

.btn-ghost:hover {
  background: var(--brand-light);
}

.btn-primary {
  color: #fff;
  background: var(--brand);
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.list-empty {
  padding: 60px 20px;
  text-align: center;
  color: var(--text-weak);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px 0 8px;
}

.page-btn {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  background: #fff;
  color: #666;
  font-size: 14px;
  text-align: center;
  line-height: 34px;
}

.page-btn:hover:not(:disabled) {
  border-color: var(--brand);
  color: var(--brand);
}

.page-btn.active {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.page-btn:disabled {
  color: #c8c8c8;
  cursor: not-allowed;
}

.page-nav {
  margin: 0 10px;
  padding: 0 12px;
  font-size: 16px;
  line-height: 32px;
}

.page-ellipsis {
  padding: 0 2px;
  color: var(--text-weak);
}

.side-card {
  background: #fff;
  /* border: 1px solid var(--line); */
  border-radius: var(--radius);
  /* padding: 16px; */
}

.side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.side-title {
  position: relative;
  margin: 0;
  padding-left: 14px;
  font-size: 20px;
  font-family: "AlibabaPuHuiTiBold";
  color: #222;
  font-family: "AlibabaPuHuiTiBold";
  line-height: 20px;
}

.side-title::before {
  content: "";
  position: absolute;
  left: 0;
  width: 6px;
  height: 20px;
  background-color: #ff123f;
  border-radius: 3px;
  background: var(--brand);
}

.side-more {
  font-size: 12px;
  color: var(--text-weak);
}

.side-more:hover {
  color: var(--brand);
}

.side-rank-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed #ebebeb;
  cursor: pointer;
}


.side-rank-icon {
  flex: none;
   width: 100px;
  height: 50px;
background: url(../images/rank-icon.png) no-repeat;
}

.side-rank-icon#QS {
  background-position: -0px -0px;
}
.side-rank-icon#TIMES {
  background-position: -100px -0px;
}
.side-rank-icon#US {
  background-position: -200px -0px;
}
.side-rank-icon#THE {
  background-position: -300px -0px;
}
.side-rank-icon#ARWU {
  background-position: -400px -0px;
}
.side-rank-icon#jy {
  background-position: -500px -0px;
}

.side-rank-name {
  min-width: 0;
  font-size: 14px;
  color: #272727;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-rank-list li:hover .side-rank-name {
  color: var(--brand);
}

.side-card-promo {
  padding: 12px 16px;
  background: #fafafa;
}

.side-promo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  color: #666;
}

.side-promo-badge {
  flex: none;
  padding: 1px 6px;
  border-radius: 3px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
}

.side-promo-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-promo-join {
  flex: none;
  color: var(--brand);
  font-family: "AlibabaPuHuiTiBold";
}

.scoped-school-wechat {
  position: sticky;
  top: 60px;
  width: 100%;
  height: 360px;
  background: #ffffff url(https://www.igo.cn/news/list-wechat.png) no-repeat;
  background-size: 94%;
  background-position: center 3px;
}

.scoped-school-wechat #currentTime {
  color: #999999;
  font-size: 12px;
  position: absolute;
  top: 21px;
  right: 11px;
}

.scoped-school-wechat #freashnews {
  color: #737373;
  font-size: 13px;
  position: absolute;
  top: 49px;
  left: 74px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 225px;
  line-height: 15px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  color: var(--text-weak);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}