/* ========================================
   珠海艺术职业学院 · 新闻网
   设计风格参考：华南师范大学新闻网
   ======================================== */

:root {
  --color-primary: #8c1c1c;
  --color-primary-dark: #6b1414;
  --color-primary-light: #a83232;
  --color-gold: #c9a227;
  --color-text: #333;
  --color-text-light: #666;
  --color-text-muted: #999;
  --color-border: #e5e5e5;
  --color-bg: #fff;
  --color-bg-gray: #f7f7f7;
  --color-bg-pink: #faf5f3;
  --font-serif: "STSong", "SimSun", "Songti SC", serif;
  --font-xingshu: "STXingkai", "华文行楷", "Xingkai SC", "FZYaoti", "FZShuTi", "行楷", "KaiTi", serif;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --container-width: 1200px;
  --site-max-width: 1600px;
  --header-height: auto;
  --hero-gutter: 100px;
  --hero-img-height: 380px;
  --hero-overhang: 40px;
  --hero-control-height: 40px;
  --featured-media-height: 340px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== Header ========== */
.site-header {
  position: relative;
  background: #fff;
}

/* 红色背景底层 */
.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-primary);
  z-index: 0;
  pointer-events: none;
}

/* 中式园林线稿装饰层 - 简洁亭台楼阁风格 */
.header-garden-deco {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  background:
    url("../images/header-garden-left.svg") left bottom / 240px auto no-repeat,
    url("../images/header-garden-right.svg") right bottom / 240px auto no-repeat,
    url("../images/header-garden.svg") center bottom / min(1200px, 100%) 28% no-repeat;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
}

.header-top {
  padding: 18px 0 12px;
  position: relative;
  z-index: 2;
}

.site-header-inner {
  width: 100%;
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 var(--hero-gutter);
  box-sizing: border-box;
}

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
}

.header-brand:hover {
  color: inherit;
}

.logo-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.3);
}

.logo-mark span {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: bold;
  color: var(--color-primary);
}

.logo-mark.small {
  width: 48px;
  height: 48px;
}

.logo-mark.small span {
  font-size: 22px;
}

.brand-text h1 {
  font-family: var(--font-xingshu);
  font-size: 32px;
  font-weight: normal;
  color: #fff;
  letter-spacing: 4px;
}

.brand-text p {
  font-family: var(--font-xingshu);
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  letter-spacing: 2px;
  margin-top: 4px;
}

.header-utils {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
}

.header-utils a:hover {
  color: #fff;
}

.header-utils .divider {
  opacity: 0.4;
}

.search-form {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.95);
  border-radius: 20px;
  overflow: hidden;
  margin-left: 8px;
  position: relative;
}

.search-form input {
  border: none;
  outline: none;
  padding: 6px 14px;
  font-size: 12px;
  width: 160px;
  background: transparent;
}

.search-form button {
  border: none;
  background: transparent;
  padding: 6px 12px;
  cursor: pointer;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
}

.search-form button:hover {
  color: var(--color-primary);
}

.searchBox {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.searchBox-items {
  background: #fff;
  padding: 0 16px;
  border-radius: 16px;
  width: 600px;
}

.searchBox-btn {
  margin-top: 16px;
  padding: 9px 16px;
  background: var(--color-primary);
  color: #fff;
  border: 1px solid var(--color-primary);
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
}

.searchBox-items a {
  padding: 10px 0;
  border-bottom: 1px solid #ccc;
  display: block;
}

.searchBox-title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 2px;
}

.searchBox-cate span {
  font-size: 12px;
  color: #999;
  margin-right: 10px;
}

.shide {
  display: none;
}

.main-nav {
  border-top: 1px solid rgba(255,255,255,0.15);
  position: relative;
  z-index: 20;
}

.main-nav > .site-header-inner > ul {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.main-nav > .site-header-inner > ul > li {
  position: relative;
}

.nav-dropdown {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: auto;
  min-width: 200px;
  max-height: min(420px, 70vh);
  overflow-y: auto;
  background: var(--color-primary-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 2px solid var(--color-gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 200;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-item.has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-dropdown li:last-child {
  border-bottom: none;
}

.nav-dropdown a {
  display: block;
  padding: 11px 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  text-align: left;
  white-space: nowrap;
}

.nav-dropdown a:hover,
.nav-dropdown a.active {
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
}

.nav-dropdown a.active::after {
  display: none;
}

.main-nav a {
  display: block;
  padding: 12px 26px;
  color: rgba(255,255,255,0.9);
  font-size: 15px;
  letter-spacing: 1px;
  text-align: center;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: #fff;
  background: rgba(0,0,0,0.15);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background: var(--color-gold);
}

/* ========== Hero Banner（嵌入 Header） ========== */
.hero-banner {
  position: relative;
  z-index: 1;
  padding: 16px 0 0;
}

/* Banner 两侧红色留白园林线稿 */
.hero-garden-side {
  position: absolute;
  top: 16px;
  bottom: 0;
  width: var(--hero-gutter);
  z-index: 1;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: auto 75%;
  opacity: 0.95;
}

.hero-garden-side--left {
  left: 0;
  background-image: url("../images/header-garden-left.svg");
}

.hero-garden-side--right {
  right: 0;
  background-image: url("../images/header-garden-right.svg");
}

.hero-banner-inner {
  position: relative;
  width: 100%;
  max-width: var(--site-max-width);
  margin: 0 auto calc(-1 * var(--hero-overhang));
  padding: 0 var(--hero-gutter);
  box-sizing: border-box;
  z-index: 2;
}

.hero-slide {
  position: relative;
  line-height: 0;
  width: 100%;
  max-width: calc(var(--site-max-width) - var(--hero-gutter) * 2);
  margin: 0 auto;
}

.hero-slide img {
  width: 100%;
  height: calc(var(--hero-img-height) + var(--hero-overhang));
  object-fit: cover;
  object-position: center center;
  display: block;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* 底部浅黑切换条：与 Banner 图同宽，受 1600px 容器限制 */
.hero-control-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100%;
  height: var(--hero-control-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
  box-sizing: border-box;
}

.hero-caption {
  flex: 1;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.hero-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.hero-tab {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.25s ease, border-radius 0.25s ease, background 0.25s ease;
}

.hero-tab:hover {
  background: rgba(255, 255, 255, 0.75);
}

.hero-tab.active {
  width: 28px;
  border-radius: 5px;
  background: var(--color-gold);
}

main {
  position: relative;
  z-index: 0;
  background: #fff;
}

.section-highlights {
  position: relative;
  background: #fff;
  overflow: hidden;
}

.section-highlights > .container {
  position: relative;
  z-index: 1;
  max-width: var(--site-max-width);
  width: 100%;
  margin: 0 auto;
  padding-left: var(--hero-gutter);
  padding-right: var(--hero-gutter);
  box-sizing: border-box;
}

/* 艺院要闻背景线稿：不规则大小半圆 */
.highlights-bg-deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    url("../images/highlights-deco-semicircles-1.svg") -48px -20px / 340px no-repeat,
    url("../images/highlights-deco-semicircles-2.svg") right -36px bottom -24px / 300px no-repeat,
    url("../images/highlights-deco-semicircles-3.svg") 62% 12% / 180px no-repeat,
    url("../images/highlights-deco-semicircles-3.svg") 8% 68% / 140px no-repeat,
    url("../images/highlights-deco-semicircles-1.svg") 78% 55% / 120px no-repeat,
    url("../images/highlights-deco-semicircles-2.svg") 28% -40px / 200px no-repeat;
  opacity: 0.85;
}

/* ========== 艺院要闻 ========== */
.highlights-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.highlights-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: bold;
  color: #333;
  letter-spacing: 2px;
}

.highlights-seal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--color-primary);
  color: #fff;
  flex-shrink: 0;
}

.highlights-more {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.highlights-more:hover {
  color: var(--color-primary);
}

.highlights-more-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
  position: relative;
}

.highlights-more-dot::after {
  content: "›";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  line-height: 1;
}

.highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.featured-news,
.highlights-news-cols {
  height: calc(var(--featured-media-height) + 44px);
  min-height: calc(var(--featured-media-height) + 44px);
}

/* 左侧头条轮播 */
.featured-slider {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.featured-slide-link {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.featured-img-wrap {
  flex: 1 1 auto;
  overflow: hidden;
  min-height: var(--featured-media-height);
  line-height: 0;
}

.featured-slide-img {
  width: 100%;
  height: 100%;
  min-height: var(--featured-media-height);
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.35s ease;
}

.featured-slide-link:hover .featured-slide-img {
  transform: scale(1.02);
}

.featured-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--color-primary);
  padding: 0 16px;
  height: 44px;
  flex-shrink: 0;
  margin-top: 0;
}

.featured-bar-text {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.featured-nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.featured-nav-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s, border-color 0.2s;
}

.featured-nav-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

/* 右侧双栏新闻列表 */
.highlights-news-cols {
  display: flex;
  gap: 28px;
  align-self: stretch;
}

.highlights-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  height: 100%;
}

.hl-news-item {
  border-bottom: 1px solid #ebebeb;
  padding-bottom: 14px;
  flex: 0 0 auto;
}

.hl-news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hl-news-item a {
  display: block;
}

.hl-news-item a:hover h4 {
  color: var(--color-primary);
}

.hl-thumb {
  overflow: hidden;
  line-height: 0;
  margin-bottom: 12px;
}

.hl-thumb img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.hl-news-item a:hover .hl-thumb img {
  transform: scale(1.03);
}

.hl-news-item h4 {
  font-size: 15px;
  font-weight: normal;
  line-height: 1.6;
  color: #333;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.hl-news-item time {
  font-size: 13px;
  color: #aaa;
}

.hl-news-item--text h4 {
  -webkit-line-clamp: 2;
}
.section {
  padding: 36px 0;
}

.section.section-highlights {
  padding-top: calc(56px + var(--hero-overhang));
  padding-bottom: 56px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: normal;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 2px;
}

.title-icon {
  display: inline-block;
  width: 6px;
  height: 20px;
  background: var(--color-primary);
  border-radius: 1px;
}

.title-icon.light {
  background: rgba(255,255,255,0.8);
}

.more-link {
  font-size: 13px;
  color: var(--color-text-muted);
}

.more-link:hover {
  color: var(--color-primary);
}

.more-link.light {
  color: rgba(255,255,255,0.7);
}

.more-link.light:hover {
  color: #fff;
}

/* ========== 装饰分隔 ========== */
.deco-divider {
  position: relative;
  padding: 32px 0;
  overflow: hidden;
  background: linear-gradient(180deg, #faf7f2 0%, #f0ebe3 45%, #f5f1ea 100%);
  border-top: 1px solid rgba(140, 28, 28, 0.12);
  border-bottom: 1px solid rgba(140, 28, 28, 0.12);
}

.deco-divider::before,
.deco-divider::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--color-primary) 20%, var(--color-gold) 50%, var(--color-primary) 80%, transparent 100%);
  opacity: 0.35;
  pointer-events: none;
}

.deco-divider::before {
  top: 0;
}

.deco-divider::after {
  bottom: 0;
}

.deco-divider-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    url("../images/highlights-deco-semicircles-3.svg") left -30px center / 200px no-repeat,
    url("../images/highlights-deco-semicircles-3.svg") right -30px center / 200px no-repeat,
    url("../images/deco-divider-pattern.svg") center center / 600px auto no-repeat;
  opacity: 0.7;
}

.deco-divider-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  max-width: var(--site-max-width);
}

.deco-phrase {
  display: flex;
  align-items: center;
  gap: 20px;
}

.deco-line {
  display: block;
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary) 50%, transparent);
  opacity: 0.45;
  position: relative;
}

.deco-line::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 6px;
  height: 6px;
  border: 1px solid var(--color-primary);
  background: #faf7f2;
  opacity: 0.8;
}

.deco-mid {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 30%, #f5ebe3 100%);
  border: 1px solid rgba(140, 28, 28, 0.25);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.12);
  color: var(--color-gold);
  flex-shrink: 0;
}

.deco-text {
  font-family: var(--font-xingshu);
  font-size: 32px;
  font-weight: bold;
  color: var(--color-primary);
  letter-spacing: 10px;
  opacity: 0.95;
  -webkit-text-stroke: 0.4px var(--color-primary);
  text-shadow: 0.5px 0 0 var(--color-primary), -0.5px 0 0 var(--color-primary);
  white-space: nowrap;
}

/* ========== 两栏布局 ========== */
.two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

/* ========== 综合新闻 ========== */
.news-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.news-card-img {
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 10px;
}

.news-card-img img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.3s;
}

.news-card:hover .news-card-img img {
  transform: scale(1.03);
}

.news-card h4 {
  font-size: 14px;
  font-weight: normal;
  line-height: 1.5;
}

.news-list li,
.notice-list li,
.academic-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--color-border);
}

.news-list li a,
.notice-list li a,
.academic-list li a {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.news-list li time,
.notice-list li time,
.academic-list li time {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--color-text-muted);
}

/* ========== 媒体关注 ========== */
.section-media-academic {
  background: var(--color-bg-gray);
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.media-card {
  background: #fff;
  padding: 16px;
  border-radius: 2px;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.2s;
}

.media-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.media-logo {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--color-primary);
  margin-bottom: 8px;
  font-weight: bold;
}

.media-card p {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== 名师 + 校友 ========== */
.section-people > .container {
  max-width: var(--site-max-width);
  width: 100%;
  margin: 0 auto;
  padding-left: var(--hero-gutter);
  padding-right: var(--hero-gutter);
  box-sizing: border-box;
}

.people-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.teacher-panel {
  background: var(--color-bg-pink);
  padding: 36px 32px;
}

.alumni-panel {
  background: var(--color-primary);
  padding: 36px 32px;
}

.teacher-panel .section-header,
.alumni-panel .section-header {
  border-bottom-color: rgba(140,28,28,0.3);
}

.alumni-panel .section-header {
  border-bottom-color: rgba(255,255,255,0.2);
}

.alumni-panel .section-title {
  color: #fff;
}

.teacher-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.teacher-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(140, 28, 28, 0.08);
  border-radius: 4px;
  transition: box-shadow 0.25s, border-color 0.25s;
}

.teacher-card:hover {
  border-color: rgba(140, 28, 28, 0.18);
  box-shadow: 0 6px 20px rgba(140, 28, 28, 0.08);
}

.teacher-portrait {
  flex-shrink: 0;
  width: 96px;
  height: 124px;
  border-radius: 50% 50% 0 0;
  overflow: hidden;
  border: 3px solid rgba(140,28,28,0.2);
  margin-bottom: 12px;
}

.teacher-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-name {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--color-primary);
  font-weight: normal;
  margin-bottom: 4px;
}

.teacher-title {
  font-size: 12px;
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.teacher-bio {
  font-size: 12px;
  color: var(--color-text-light);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.carousel-dots {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  justify-content: center;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(140,28,28,0.2);
  cursor: pointer;
}

.carousel-dots .dot.active {
  background: var(--color-primary);
}

.alumni-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  line-height: 1.7;
}

.alumni-list li:last-child {
  border-bottom: none;
}

.alumni-avatar {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.alumni-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.alumni-content {
  flex: 1;
  min-width: 0;
}

.alumni-list strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 18px;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: 2px;
}

.alumni-list span {
  color: rgba(255,255,255,0.75);
}

/* ========== 光影 + 视频 ========== */
.section-multimedia > .container {
  max-width: var(--site-max-width);
  width: 100%;
  margin: 0 auto;
  padding-left: var(--hero-gutter);
  padding-right: var(--hero-gutter);
  box-sizing: border-box;
}

.multimedia-grid {
  position: relative;
  z-index: 1;
}

.multimedia-grid.two-col {
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.photo-list-wrap {
  max-height: calc(var(--featured-media-height) + 112px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(140, 28, 28, 0.25) transparent;
}

.photo-list-wrap::-webkit-scrollbar {
  width: 4px;
}

.photo-list-wrap::-webkit-scrollbar-thumb {
  background: rgba(140, 28, 28, 0.25);
  border-radius: 2px;
}

.photo-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.photo-item-link {
  display: flex;
  align-items: stretch;
  color: inherit;
  overflow: hidden;
  transition: box-shadow 0.25s;
}

.photo-item-link:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.photo-item-thumb {
  flex-shrink: 0;
  width: 42%;
  max-width: 210px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  line-height: 0;
}

.photo-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.photo-item-link:hover .photo-item-thumb img {
  transform: scale(1.03);
}

.photo-item-main {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 0;
  background: #f7f7f7;
}

.photo-item-content {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
}

.photo-item-title {
  font-size: 15px;
  font-weight: bold;
  line-height: 1.5;
  color: #222;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.photo-item-link:hover .photo-item-title {
  color: var(--color-primary);
}

.photo-item-summary {
  font-size: 12px;
  line-height: 1.65;
  color: #999;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.photo-item-more {
  font-size: 13px;
  color: var(--color-primary);
  letter-spacing: 0.5px;
}

.photo-item-date {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding: 14px 18px 14px 8px;
  text-align: right;
}

.photo-item-date-md {
  font-size: 26px;
  font-weight: bold;
  color: var(--color-primary);
  line-height: 1.1;
  letter-spacing: 1px;
}

.photo-item-date-y {
  font-size: 12px;
  color: #ccc;
  margin-top: 4px;
}

.video-main {
  margin-bottom: 12px;
}

.video-player {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  height: var(--featured-media-height);
}

.video-player img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  color: var(--color-gold);
  transition: background 0.2s;
}

.video-player:hover .play-btn {
  background: rgba(0,0,0,0.5);
}

.video-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.video-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.video-thumb img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.video-thumb span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 11px;
  padding: 4px 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ========== 快速通道 ========== */
.section-quickaccess {
  padding: 48px 0 56px;
  background: #fff;
}

.section-quickaccess > .container {
  max-width: var(--site-max-width);
  width: 100%;
  margin: 0 auto;
  padding-left: var(--hero-gutter);
  padding-right: var(--hero-gutter);
  box-sizing: border-box;
}

.quick-access-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.quick-access-card {
  position: relative;
  display: flex;
  align-items: center;
  aspect-ratio: 3 / 1;
  padding: 0 28px;
  border-radius: 4px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  color: #fff;
  transition: transform 0.25s, box-shadow 0.25s;
}

.quick-access-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.15) 100%);
  transition: background 0.25s;
}

.quick-access-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(140, 28, 28, 0.18);
  color: #fff;
}

.quick-access-card:hover::before {
  background: linear-gradient(90deg, rgba(140, 28, 28, 0.75) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.2) 100%);
}

.quick-access-card-inner {
  position: relative;
  z-index: 1;
  text-align: left;
}

.quick-access-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: normal;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.quick-access-desc {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  max-width: 90%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ========== Footer ========== */
.site-footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.85);
  position: relative;
  overflow: hidden;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1.5fr;
  gap: 40px;
  padding: 40px 20px;
  align-items: center;
  position: relative;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand strong {
  font-family: var(--font-serif);
  font-size: 18px;
  color: #fff;
  letter-spacing: 2px;
}

.footer-brand p {
  font-size: 11px;
  opacity: 0.6;
  margin-top: 2px;
}

.footer-qr {
  display: flex;
  gap: 24px;
}

.qr-item {
  text-align: center;
}

.qr-placeholder {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
}

.qr-item span {
  font-size: 11px;
  opacity: 0.7;
}

.footer-contact p {
  font-size: 12px;
  line-height: 2;
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 14px 0;
  text-align: center;
  font-size: 12px;
  opacity: 0.6;
}

/* ========== Nav toggle (mobile) ========== */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
  z-index: 5;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile-utils {
  display: none !important;
}

/* ========== Responsive ========== */
@media (max-width: 992px) {
  .highlights-grid,
  .highlights-news-cols,
  .two-col,
  .people-split {
    grid-template-columns: 1fr;
  }

  .quick-access-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-img-wrap,
  .featured-slide-img {
    min-height: 240px;
  }

  .featured-news,
  .highlights-news-cols {
    height: auto;
    min-height: 0;
  }

  .highlights-news-cols {
    flex-direction: column;
    gap: 0;
  }

  .highlights-col {
    justify-content: flex-start;
    height: auto;
    min-height: 0;
  }

  .hl-news-item:not(:last-child) {
    margin-bottom: 16px;
    padding-bottom: 16px;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-qr {
    justify-content: center;
  }

  /* —— H5 顶栏：品牌左 + 汉堡右 —— */
  .header-top {
    padding: 12px 0;
  }

  .header-top-inner {
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
  }

  .header-brand {
    flex: 1;
    min-width: 0;
    gap: 10px;
  }

  .logo-mark {
    width: 44px;
    height: 44px;
  }

  .logo-mark span {
    font-size: 22px;
  }

  .brand-text h1 {
    font-size: 22px;
    letter-spacing: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-text p {
    font-size: 10px;
    letter-spacing: 1px;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-utils {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px 8px;
    font-size: 12px;
    order: 3;
    flex: 1 1 100%;
    margin-top: 2px;
  }

  .header-utils .search-form {
    display: none;
  }

  .header-top-inner {
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
  }

  .nav-toggle {
    display: flex;
    order: 2;
  }

  .header-brand {
    order: 1;
  }

  /* —— 主导航默认收起 —— */
  .main-nav {
    display: none;
    padding: 0 0 12px;
    position: relative;
    z-index: 4;
  }

  body.nav-open .main-nav {
    display: block;
  }

  .main-nav > .site-header-inner > ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(0, 0, 0, 0.18);
    border-radius: 10px;
    overflow: hidden;
    padding: 6px 0;
  }

  .main-nav > .site-header-inner > ul > li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav > .site-header-inner > ul > li:last-child {
    border-bottom: none;
  }

  .main-nav a {
    display: block;
    padding: 14px 18px;
    font-size: 15px;
    text-align: left;
  }

  .main-nav a.active::after {
    display: none;
  }

  .main-nav a.active {
    background: rgba(0, 0, 0, 0.2);
  }

  .nav-item.has-dropdown {
    width: 100%;
  }

  .nav-item.has-dropdown > a::after {
    content: "";
    float: right;
    width: 8px;
    height: 8px;
    margin-top: 6px;
    border-right: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
  }

  .nav-item.has-dropdown.open > a::after {
    transform: rotate(-135deg);
    margin-top: 10px;
  }

  .nav-dropdown {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: 100%;
    min-width: 0;
    box-shadow: none;
    border: none;
    border-top: none;
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 0 8px;
  }

  .nav-item.has-dropdown.open .nav-dropdown {
    display: block;
  }

  .nav-item.has-dropdown:hover .nav-dropdown {
    display: none;
  }

  .nav-item.has-dropdown.open:hover .nav-dropdown {
    display: block;
  }

  .nav-dropdown a {
    padding: 10px 18px 10px 32px;
    font-size: 14px;
    opacity: 0.92;
  }

  /* Banner：手机端收窄两侧留白 */
  :root {
    --hero-gutter: 16px;
    --hero-img-height: 200px;
    --hero-overhang: 24px;
    --hero-control-height: 36px;
  }

  .hero-banner {
    padding-top: 8px;
  }

  .hero-garden-side {
    display: none;
  }

  .deco-divider-inner {
    flex-direction: column;
    gap: 20px;
  }

  .deco-phrase {
    gap: 14px;
  }

  .deco-line {
    width: 36px;
  }

  .deco-text {
    font-size: 24px;
    letter-spacing: 6px;
  }

  .section {
    padding-top: 36px;
    padding-bottom: 36px;
  }
}

@media (max-width: 640px) {
  :root {
    --hero-gutter: 12px;
    --hero-img-height: 180px;
    --hero-overhang: 20px;
    --hero-control-height: 34px;
  }

  .container {
    padding: 0 14px;
  }

  .site-header-inner,
  .hero-banner-inner {
    padding-left: var(--hero-gutter);
    padding-right: var(--hero-gutter);
  }

  .brand-text h1 {
    font-size: 18px;
    letter-spacing: 1px;
  }

  .brand-text p {
    display: none;
  }

  .logo-mark {
    width: 40px;
    height: 40px;
  }

  .logo-mark span {
    font-size: 20px;
  }

  .header-garden-deco {
    background-size: 120px auto, 120px auto, min(800px, 100%) 22%;
    opacity: 0.55;
  }

  .news-cards-row {
    grid-template-columns: 1fr;
  }

  .quick-access-grid {
    grid-template-columns: 1fr;
  }

  .photo-item-thumb {
    width: 36%;
    max-width: 140px;
  }

  .photo-item-title {
    font-size: 14px;
  }

  .photo-item-summary {
    -webkit-line-clamp: 1;
    margin-bottom: 6px;
  }

  .photo-item-date-md {
    font-size: 20px;
  }

  .photo-item-date {
    padding-right: 12px;
  }

  .teacher-showcase {
    grid-template-columns: 1fr;
  }

  .hero-caption {
    font-size: 12px;
  }

  .hero-control-bar {
    padding: 0 12px;
  }

  .section-title {
    font-size: 20px;
  }

  .footer-bottom {
    font-size: 11px;
    line-height: 1.6;
  }
}
