@font-face {
  font-family: "CE Source Han Sans";
  src: local("SourceHanSansCN-Bold"),
    url("source-han-sans-cn-bold.otf") format("opentype");
  font-display: swap;
  font-weight: 700 900;
}

@font-face {
  font-family: "CE Source Han Sans";
  src: local("Source Han Sans CN"), local("SourceHanSansCN-Regular"),
    url("source-han-sans-cn.otf") format("opentype");
  font-display: swap;
}

.ce {
  --ce-purple: #801c80;
  --ce-text: #333;
  --ce-muted: #999;
  --ce-line: #d6d6d6;
  --ce-width: min(1204px, max(62.7083%, min(100% - 40px, 720px)));
  --ce-font: "CE Source Han Sans", "Microsoft YaHei", "PingFang SC", sans-serif;
  --ce-title-size: clamp(16px, 1.04167vw, 20px);
  --ce-cover-width: clamp(152px, 11.04167vw, 212px);
  --ce-detail-size: clamp(13px, .83333vw, 16px);
  --ce-toolbar-height: clamp(65px, 4.27083vw, 82px);
  --ce-ribbon-overlap: clamp(28px, 2.5vw, 48px);
  min-width: 0;
  color: var(--ce-text);
  background: #fff;
  font-family: var(--ce-font);
  line-height: 1.5;
}

.ce *, .ce *::before, .ce *::after { box-sizing: border-box; }
.ce [hidden] { display: none !important; }

.ce .ce-inner { width: var(--ce-width); margin-inline: auto; }

.ce .ce-banner {
  width: 100%;
  aspect-ratio: 1920 / 690;
  background: linear-gradient(0deg, rgb(0 0 0 / 57%), transparent 37%),
    url("campus-gate.webp") center / cover no-repeat;
}

.ce .ce-toolbar {
  position: relative;
  background: linear-gradient(90deg, var(--ce-purple), #e4cde3 50%, #fff 90%);
}

.ce .ce-banner ~ .ce-toolbar { background: none; }

.ce .ce-banner ~ .ce-toolbar::before {
  position: absolute;
  inset: calc(-1 * var(--ce-ribbon-overlap)) 0 0;
  background: url("column-ribbon.png") center / 100% 100% no-repeat;
  content: "";
  pointer-events: none;
}

.ce .ce-toolbar-inner {
  position: relative;
  display: flex;
  min-height: var(--ce-toolbar-height);
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
}

.ce .ce-heading {
  display: flex;
  min-width: clamp(149px, 9.89583vw, 190px);
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  margin: 0;
  padding: 5px clamp(10px, .625vw, 12px) 8px;
  color: #fff;
  background: url("column-title.png") center / 100% 100% no-repeat;
  font-size: clamp(21px, 1.45833vw, 28px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
}

.ce .ce-heading small {
  color: inherit;
  font-size: clamp(10px, .625vw, 12px);
  font-weight: 500;
  line-height: 1.5;
}

.ce .ce-views {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-right: clamp(0px, 2.2vw, 44px);
}

.ce .ce-control {
  display: grid;
  width: clamp(44px, 2.8125vw, 54px);
  min-height: 44px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 3px;
  color: var(--ce-purple);
  background: transparent;
  cursor: pointer;
  text-decoration: none;
}

.ce .ce-control:focus-visible,
.ce .ce-entry:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid var(--ce-purple);
  outline-offset: 2px;
}

.ce .ce-control span {
  width: clamp(26px, 2.13542vw, 41px);
  height: 30px;
  background: center / contain no-repeat;
}

.ce .ce-control--cards span { background-image: url("cards.png"); }
.ce .ce-control--titles span { background-image: url("titles.png"); }
.ce .ce-control--cards:is(:hover, :focus-visible, [aria-pressed="true"], [aria-current="true"]) span {
  background-image: url("cards-active.png");
}
.ce .ce-control--titles:is(:hover, :focus-visible, [aria-pressed="true"], [aria-current="true"]) span {
  background-image: url("titles-active.png");
}

.ce .ce-body {
  padding-top: clamp(36px, 2.60417vw, 50px);
  background: linear-gradient(180deg, #f5f5f5, #fff);
}

.ce[data-view="titles"] .ce-body {
  padding-top: clamp(36px, 3.28125vw, 63px);
  background: linear-gradient(180deg, #fff, #fdfdfd 86%, #fff);
}

.ce .ce-results {
  padding: 0;
  margin: 0;
  list-style: none;
  scroll-margin-top: 16px;
}

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

.ce .ce-entry {
  position: relative;
  display: grid;
  grid-template-columns: var(--ce-cover-width) minmax(0, 1fr);
  align-items: stretch;
  column-gap: clamp(18px, 2.44792vw, 47px);
  min-width: 0;
  padding: clamp(12px, .98958vw, 19px) clamp(12px, 2.5vw, 48px) clamp(12px, .98958vw, 19px) 0;
  border-bottom: 1px solid var(--ce-line);
  color: var(--ce-text);
  background: transparent;
  text-decoration: none;
  transition: background-color .2s ease, box-shadow .25s ease;
}

.ce .ce-entry--no-cover { grid-template-columns: minmax(0, 1fr); }

.ce .ce-entry::after {
  position: absolute;
  inset: auto 0 -1px;
  height: 1px;
  background: var(--ce-purple);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}

.ce .ce-entry:hover, .ce .ce-entry:focus-visible {
  z-index: 1;
  color: var(--ce-text);
  background: #fff;
  box-shadow: 0 3px 25px rgb(0 0 0 / 17%);
  text-decoration: none;
}

.ce .ce-entry:is(:hover, :focus-visible)::after { transform: scaleX(1); }

.ce .ce-cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  align-self: start;
  max-width: none;
  object-fit: cover;
  background: #ede8ee;
}

.ce .ce-entry:has(.ce-cover)::before {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: var(--ce-cover-width);
  height: 1px;
  background: #aa65a8;
  content: "";
}

.ce .ce-copy {
  display: grid;
  min-width: 0;
  grid-template-rows: auto auto 1fr;
  row-gap: clamp(6px, .625vw, 12px);
  padding-top: clamp(4px, .9375vw, 18px);
}

.ce .ce-title { min-width: 0; font-size: var(--ce-title-size); line-height: 1.5; overflow-wrap: anywhere; }

.ce .ce-summary {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ce-muted);
  font-size: clamp(12px, .72917vw, 14px);
  line-height: 1.73;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow-wrap: anywhere;
}

.ce .ce-meta {
  display: flex;
  grid-row: 3;
  align-items: flex-end;
  justify-content: space-between;
  column-gap: 12px;
}

.ce .ce-date {
  flex: none;
  color: var(--ce-muted);
  font-size: var(--ce-detail-size);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ce .ce-more {
  margin-inline-start: auto;
  color: var(--ce-purple);
  font-size: var(--ce-detail-size);
  font-weight: 700;
  white-space: nowrap;
}

.ce .ce-category { display: none; color: var(--ce-purple); }

.ce[data-view="titles"] .ce-entry {
  display: block;
  min-height: clamp(60px, 4.16667vw, 80px);
  align-content: center;
  padding-block: 11px;
}

.ce[data-view="titles"] .ce-copy {
  grid-template: auto / minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding-top: 0;
}

.ce[data-view="titles"] .ce-meta { grid-row: auto; }
.ce[data-view="titles"] .ce-category { display: inline; margin-inline-end: .4em; }
.ce[data-view="titles"] .ce-cover,
.ce[data-view="titles"] .ce-entry::before,
.ce[data-view="titles"] .ce-summary,
.ce[data-view="titles"] .ce-more { display: none; }
.ce[data-view="titles"] .ce-entry:is(:hover, :focus-visible) .ce-title { color: var(--ce-purple); font-weight: 700; }

.ce .ce-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding-top: clamp(26px, 1.5625vw, 30px);
  padding-bottom: clamp(24px, 1.875vw, 36px);
  color: var(--ce-purple);
  font-size: var(--ce-detail-size);
  font-variant-numeric: tabular-nums;
}

.ce[data-view="titles"] .ce-pager { padding-top: clamp(26px, 2.8125vw, 54px); }
.ce .ce-page-label { white-space: nowrap; }
.ce .ce-pager .ce-control { width: 38px; }
.ce .ce-pager .ce-control span { width: clamp(22px, 1.61458vw, 31px); height: 31px; }
.ce .ce-control--previous span { background-image: url("previous.png"); }
.ce .ce-control--next span { background-image: url("next.png"); }
.ce .ce-pager .ce-control:disabled,
.ce .ce-pager .ce-control[aria-disabled="true"] { cursor: default; }
.ce .ce-pager .ce-control:not(:disabled, [aria-disabled="true"]):hover { background-color: #f5e8f4; }
.ce .ce-empty { margin: 0; padding: 26px 0 60px; text-align: center; }

@media (min-width: 651px) {
  .ce[data-view="cards"] .ce-entry:not(.ce-entry--no-cover) .ce-copy {
    block-size: calc(var(--ce-cover-width) * .75);
    grid-template-rows: auto minmax(0, 1fr) auto;
    row-gap: clamp(4px, .42vw, 8px);
    padding-top: 0;
  }

  .ce[data-view="cards"] .ce-entry:not(.ce-entry--no-cover) .ce-title {
    display: -webkit-box;
    overflow: hidden;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .ce[data-view="cards"] .ce-entry:not(.ce-entry--no-cover) .ce-summary {
    align-self: start;
    line-height: 1.52;
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 650px) {
  .ce {
    --ce-width: calc(100% - 32px);
    --ce-cover-width: clamp(84px, 23vw, 128px);
    --ce-ribbon-overlap: 26px;
    --ce-muted: #757575;
  }
  .ce .ce-banner { min-height: 205px; }
  .ce .ce-body, .ce[data-view="titles"] .ce-body { padding-top: 13px; }
  .ce .ce-views { gap: 0; }
  .ce .ce-entry { gap: 12px; padding: 15px 0; }
  .ce .ce-copy { padding-top: 0; row-gap: 6px; }
  .ce .ce-title { line-height: 1.45; }
  .ce .ce-summary { -webkit-line-clamp: 2; }
  .ce[data-view="titles"] .ce-copy { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .ce .ce-entry, .ce .ce-entry::after { transition: none; }
}

@media (prefers-contrast: more) {
  .ce { --ce-muted: #676767; --ce-line: #999; }
}

.ce .ce-boda-pager { display: block; text-align: center; }
.ce .ce-boda-pager :is(a, input) { font: inherit; }
.ce .ce-boda-pager a { color: var(--ce-purple); }
.ce .ce-boda-pager a:focus-visible { outline: 2px solid var(--ce-purple); outline-offset: 3px; }
.ce .ce-boda-pager :is(table, form) { max-width: 100%; margin-inline: auto; }

