/* 内页：列表 / 文章 */

.inner-main {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 28px;
  padding-bottom: 56px;
}

/* ========== 无图列表 ========== */
.post-row {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  padding: 28px 8px;
  border-bottom: 1px solid #f0f0f0;
}

.post-row:first-child {
  border-top: 1px solid #f0f0f0;
}

.list-date {
  flex-shrink: 0;
  width: 132px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 2px;
}

.ld-day {
  font-size: 52px;
  font-weight: 400;
  color: #c8c8c8;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.ld-slash {
  font-size: 28px;
  font-weight: 300;
  color: #d0d0d0;
  margin: 0 8px 6px 8px;
  line-height: 1;
}

.ld-ym {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  color: #b4b4b4;
  line-height: 1.35;
  padding-top: 6px;
}

.post-row-body {
  min-width: 0;
  flex: 1;
  padding-top: 8px;
}

.post-title {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #2a2a2a;
  line-height: 1.45;
  margin-bottom: 10px;
}

.post-row:hover .post-title,
.post-card:hover .post-title {
  color: var(--red);
}

.post-excerpt {
  font-size: 14px;
  color: #8a8a8a;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== 分页 ========== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  position: relative;
}

.pagination a {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid #ececec;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #777;
  background: #fff;
}

.pagination a:hover {
  color: var(--red);
  border-color: #f3c4c7;
}

.pagination a.is-current {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* 二级菜单样式见 index.css（一级 li 内嵌套 ul.subnav） */

/* ========== 带图列表 ========== */
.card-main {
  max-width: 1180px;
}

.post-card {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 22px 0;
}

.post-card-thumb {
  width: 210px;
  height: 132px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f3f3f3;
}

.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-body {
  min-width: 0;
  flex: 1;
  padding-top: 2px;
}

.post-card-date {
  display: block;
  font-size: 13px;
  color: #b0b0b0;
  margin-bottom: 10px;
}

.post-card .post-title {
  font-size: 16px;
  margin-bottom: 10px;
}

.post-card .post-excerpt {
  font-size: 14px;
  line-height: 1.75;
}

/* ========== 文章 ========== */
.article {
  max-width: 1080px;
  margin: 0 auto;
  padding-top: 36px;
  padding-bottom: 48px;
}

.article-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #222;
  line-height: 1.55;
  margin-bottom: 12px;
}

.article-meta {
  text-align: center;
  font-size: 13px;
  color: #b0b0b0;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.article-cover {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  border-radius: 14px;
  margin: 4px 0 28px;
}

.article-body p {
  font-size: 15px;
  color: #555;
  line-height: 2.05;
  text-indent: 2em;
  text-align: justify;
  margin-bottom: 1.15em;
}

.article-next {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.article-next a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 8px 22px;
  border: 1px solid #ececec;
  border-radius: 22px;
  font-size: 13px;
  color: #888;
  background: #fff;
}

.article-next a:hover {
  color: var(--red);
  border-color: #f3c4c7;
}

.article-next a span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ========== 面包屑 ========== */
.crumb {
  max-width: 1180px;
  margin: 18px auto 8px;
  padding-left: 4px;
  font-size: 13px;
  color: #b0b0b0;
}

.crumb a:hover {
  color: var(--red);
}

/* ========== 学院简介 ========== */
.about {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 0 56px;
}

.about-figure {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 28px;
  background: #f3f3f3;
}

.about-figure img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}

.about-title {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin: 8px 0 22px;
  color: #222;
}

.about-body p {
  font-size: 15px;
  color: #555;
  line-height: 2.05;
  text-indent: 2em;
  text-align: justify;
  margin-bottom: 1.15em;
}

/* ========== 师资介绍（教研室） ========== */
.staff-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 0 64px;
}

.dept {
  padding: 8px 0 36px;
}

.dept + .dept {
  padding-top: 28px;
}

.dept-head {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  gap: 32px 48px;
  align-items: start;
  margin-bottom: 28px;
}

.dept-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.dept-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.dept-head h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.dept-head p {
  font-size: 13px;
  color: #8a8a8a;
  line-height: 1.85;
  text-align: justify;
}

.dept-team {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 14px;
}

.teacher-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 16px;
}

.teacher-tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid var(--red);
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  color: #222;
}

.teacher-tag em {
  font-style: normal;
  font-size: 13px;
  color: #b0b0b0;
  flex-shrink: 0;
}

.teacher-tag:hover {
  background: #fff5f5;
  color: var(--red);
}

/* ========== 硕导列表 ========== */
.faculty-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 0 56px;
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 28px;
}

.faculty-card {
  display: block;
  text-align: center;
}

.faculty-card-photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1a1a;
}

.faculty-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  transform: none;
}

.faculty-card strong {
  display: block;
  margin-top: 14px;
  font-size: 16px;
  font-weight: 700;
  color: #222;
}

.faculty-card:hover strong {
  color: var(--red);
}

/* ========== 硕导详情 ========== */
.profile {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 0 56px;
}

.profile-head {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  padding-bottom: 28px;
}

.profile-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  background: #1a1a1a;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  object-fit: cover;
  object-position: center 32%;
  transform: none;
}

.profile-id {
  padding-top: 6px;
}

.profile-id h1 {
  display: inline;
  font-size: 22px;
  font-weight: 700;
  color: #222;
  margin-right: 14px;
}

.profile-id .meta {
  font-size: 14px;
  color: #888;
}

.profile-dl {
  margin-top: 22px;
  font-size: 14px;
  color: #555;
  line-height: 1.9;
}

.profile-dl p {
  margin-bottom: 8px;
}

.profile-dl a {
  color: var(--red);
}

.profile-block {
  padding: 22px 0 8px;
  border-top: 1px solid #f0f0f0;
}

.profile-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.profile-block h2 {
  font-size: 16px;
  font-weight: 700;
  color: #222;
  margin-bottom: 16px;
}

.profile-block ol {
  padding-left: 1.3em;
  font-size: 14px;
  color: #555;
  line-height: 1.9;
}

.profile-block li {
  margin-bottom: 8px;
}

.profile-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #888;
}

/* ========== 频道列表（党团建设等） ========== */
.channel-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 720;
  max-height: 520px;
  overflow: hidden;
  background: #111;
}

.channel-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.channel-hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.45) 100%);
}

.channel-hero-text {
  position: absolute;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  width: min(1100px, 90%);
  text-align: center;
  color: #fff;
}

.channel-hero-text .eyebrow {
  font-size: 14px;
  letter-spacing: 0.28em;
  opacity: 0.9;
  margin-bottom: 18px;
}

.channel-hero-text h1 {
  font-size: clamp(28px, 3.4vw, 52px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
}

.channel-hero-text h1 em {
  font-style: normal;
  color: #ff3b3b;
}

.channel-hero-text p {
  font-size: 15px;
  opacity: 0.92;
}

.channel-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 36px 0 56px;
}

.channel-item {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 22px 0;
}

.channel-thumb {
  width: 148px;
  height: 92px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: #eee;
}

.channel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.channel-body {
  min-width: 0;
  flex: 1;
  padding-top: 2px;
}

.channel-date {
  display: block;
  font-size: 13px;
  color: #b0b0b0;
  margin-bottom: 8px;
}

.channel-body .post-title {
  margin-bottom: 8px;
  font-size: 16px;
}

.channel-cat {
  color: var(--red);
}

.channel-item .post-excerpt {
  -webkit-line-clamp: 2;
}

/* ========== 响应式 ========== */
@media (max-width: 1200px) {
  .inner-main {
    max-width: 100%;
  }

  .article-title {
    font-size: 20px;
  }
}

@media (max-width: 900px) {
  .inner-main {
    padding-top: 16px;
    padding-bottom: 40px;
  }

  .post-row {
    gap: 20px;
    padding: 20px 0;
  }

  .list-date {
    width: 108px;
  }

  .ld-day {
    font-size: 40px;
  }

  .ld-slash {
    font-size: 22px;
    margin: 0 6px 4px 4px;
  }

  .post-title {
    font-size: 16px;
  }

  .post-card {
    gap: 16px;
  }

  .post-card-thumb {
    width: 160px;
    height: 102px;
    border-radius: 10px;
  }

  .article {
    padding-top: 20px;
  }

  .article-title {
    font-size: 18px;
    text-align: left;
  }

  .article-meta {
    text-align: left;
    font-size: 12px;
  }

  .article-cover {
    max-height: 220px;
    border-radius: 10px;
    margin-bottom: 20px;
  }

  .faculty-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dept-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dept-head h2 {
    font-size: 22px;
  }

  .teacher-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .profile-head {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 20px;
  }

  .profile-cols {
    gap: 20px;
  }

  .channel-hero-text h1 {
    font-size: 28px;
  }

  .article-body p {
    font-size: 15px;
    line-height: 1.9;
  }
}

@media (max-width: 600px) {
  .wrap {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .article,
  .inner-main {
    max-width: 100%;
    overflow-x: hidden;
  }

  .article-body,
  .post-card-body,
  .post-row-body {
    min-width: 0;
    max-width: 100%;
  }

  .post-row {
    flex-direction: column;
    gap: 8px;
    padding: 18px 0;
  }

  .list-date {
    width: auto;
    justify-content: flex-start;
  }

  .ld-day {
    font-size: 32px;
  }

  .post-row-body {
    padding-top: 0;
  }

  .post-card {
    flex-direction: column;
    gap: 12px;
    padding: 16px 0;
  }

  .post-card-thumb {
    width: 100%;
    height: 180px;
  }

  .article {
    padding-right: 12px;
  }

  .article-title {
    font-size: 17px;
  }

  .article-cover {
    max-height: 180px;
  }

  .article-body p {
    font-size: 14px;
    text-align: left;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .post-title,
  .post-excerpt,
  .article-title {
    overflow-wrap: anywhere;
  }

  .article-next a {
    padding: 8px 14px;
    font-size: 12px;
  }

  .faculty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px;
  }

  .teacher-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .teacher-tag {
    padding: 8px 12px;
    font-size: 13px;
  }

  .profile-head,
  .profile-cols,
  .profile-split {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .profile-photo {
    max-width: 240px;
  }

  .channel-hero {
    aspect-ratio: 16 / 9;
    max-height: 280px;
  }

  .channel-hero-text h1 {
    font-size: 22px;
  }

  .channel-item {
    flex-direction: column;
    gap: 12px;
  }

  .channel-thumb {
    width: 100%;
    height: 160px;
  }
}

/* ========== 博达内页组件 ========== */
.vsb-keep {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-nav .navbar,
.site-nav .navbar-default,
.site-nav .global_header_wrap,
.site-nav .navbar-container {
  background: transparent;
  border: 0;
  margin: 0;
  min-height: 0;
  width: 100%;
  box-shadow: none;
}

.site-nav .navbar-header,
.site-nav .navbar-brand,
.site-nav .navbar-toggle,
.site-nav .yuanxun,
.site-nav .caret,
.site-nav .sr-only {
  display: none;
}

.site-nav .navbar-collapse,
.site-nav .collapse {
  display: block;
  height: auto;
  overflow: visible;
  border: 0;
  padding: 0;
  box-shadow: none;
}

.site-nav .nav.navbar-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  float: none;
  margin: 0;
  width: 100%;
}

.site-nav .nav.navbar-nav > li {
  position: relative;
  list-style: none;
  float: none;
}

.site-nav .nav.navbar-nav > li > a {
  display: block;
  padding: 8px 14px;
  font-size: 17px;
  font-weight: 700;
  color: #222;
  background: transparent;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.site-nav .nav.navbar-nav > li > a:hover,
.site-nav .nav.navbar-nav > li > a:focus {
  color: var(--red);
  background: transparent;
}

.site-nav .nav.navbar-nav > li:first-child > a {
  min-width: 90px;
  height: 40px;
  padding: 0 22px;
  line-height: 40px;
  text-align: center;
  color: #fff;
  background: var(--red);
  border-radius: 10px;
}

.site-nav .nav.navbar-nav > li:first-child > a:hover {
  color: #fff;
  background: var(--red-deep);
}

.site-nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 40;
  min-width: 148px;
  margin: 0;
  padding: 8px 0;
  background: #fff;
  border: 1px solid #f2f2f2;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.site-nav .dropdown:hover > .dropdown-menu,
.site-nav .dropdown:focus-within > .dropdown-menu {
  display: block;
}

.site-nav .sub-menu,
.site-nav .dropdown-menu a {
  display: block;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 400;
  color: #444;
  white-space: nowrap;
  background: transparent;
}

.site-nav .sub-menu:hover,
.site-nav .dropdown-menu a:hover {
  color: var(--red);
}

.vsb-crumb,
.college_position {
  margin: 0 0 18px;
  font-size: 13px;
  color: #b0b0b0;
}

.college_position a:hover {
  color: var(--red);
}

.vsb-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vsb-list li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 20px 4px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  color: #b4b4b4;
}

.vsb-list li > a:first-child {
  display: none;
}

.vsb-list li > a {
  flex: 1;
  min-width: 0;
  font-size: 17px;
  font-weight: 700;
  color: #2a2a2a;
  line-height: 1.45;
}

.vsb-list li > a:hover {
  color: var(--red);
}

.vsb-list hr {
  display: none;
}

.pb_sys_common {
  margin-top: 28px;
  text-align: center;
}

.pb_sys_common .p_t {
  display: none;
}

.pb_sys_common .p_pages > span {
  display: inline-block;
  margin: 0 3px;
  vertical-align: middle;
}

.pb_sys_common .p_no a,
.pb_sys_common .p_fun a,
.pb_sys_common .p_no_d,
.pb_sys_common .p_fun_d,
.pb_sys_common .p_first_d,
.pb_sys_common .p_prev_d,
.pb_sys_common .p_dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid #ececec;
  border-radius: 4px;
  font-size: 13px;
  color: #777;
  background: #fff;
}

.pb_sys_common .p_no a:hover,
.pb_sys_common .p_fun a:hover {
  color: var(--red);
  border-color: #f3c4c7;
}

.pb_sys_common .p_no_d {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.vsb-article h1 {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #222;
  line-height: 1.55;
  margin: 8px 0 12px;
}

.vsb-article > div > div[align="center"],
.vsb-article div[align="center"] {
  text-align: center;
  font-size: 13px;
  color: #b0b0b0;
  margin-bottom: 8px;
}

.vsb-article hr {
  border: 0;
  border-top: 1px solid #f0f0f0;
  margin: 12px 0 24px;
}

.vsb-article .v_news_content img,
.about-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.site-header a {
  display: block;
}

@media (max-width: 900px) {
  .site-nav .nav.navbar-nav {
    justify-content: flex-start;
  }

  .site-nav .nav.navbar-nav > li > a {
    font-size: 15px;
    padding: 8px 10px;
  }

  .vsb-list li {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }
}
