/* 高级质感红色主色 */
:root {
  --main-red: #c53030;
  --main-red-dark: #9b2c2c;
  --main-red-light: #fff5f5;
  --main-red-gradient: linear-gradient(135deg, #c53030 0%, #e53e3e 100%);
  --accent-blue: #3182ce;
  --accent-blue-light: #ebf8ff;
  --text-primary: #1a202c;
  --text-secondary: #2d3748;
  --bg-light: #fff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
}

/* 顶部横幅美化 */
.small-banner {
  width: 100%;
  height: 390px;
  background: url('../images/zhonglou.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 40px;
  box-shadow: 0 4px 32px rgba(197,48,48,0.15);
  overflow: hidden;
}

.small-banner .tit {
  text-align: center;
  color: #fff;
  width: 100%;
  padding: 0 20px;
}

.small-banner .tit h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* 面包屑导航样式 */
.mianbao {
  display: inline-flex;
  /* background: rgba(255, 255, 255, 0.15); */
  background: rgb(10 8 178 / 69%);
  padding: 12px 32px;
  border-radius: 50px;
  backdrop-filter: blur(8px);
  margin: 0 auto;
}

.mianbao div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.mianbao img {
  width: 16px;
  height: 16px;
  opacity: 0.9;
  filter: brightness(0) invert(1);
}

.mianbao a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 4px 8px;
  border-radius: 4px;
}

.mianbao a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.mianbao span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1em;
  margin: 0 2px;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .small-banner {
    height: 280px;
  }
  
  .small-banner .tit h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
  }
  
  .mianbao {
    padding: 10px 24px;
  }
  
  .mianbao div {
    font-size: 0.9rem;
    gap: 6px;
  }
  
  .mianbao img {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 480px) {
  .small-banner {
    height: 220px;
  }
  
  .small-banner .tit h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }
  
  .mianbao {
    padding: 8px 20px;
  }
  
  .mianbao div {
    font-size: 0.85rem;
    gap: 4px;
  }
  
  .mianbao img {
    width: 12px;
    height: 12px;
  }
}

/* 文章列表页整体布局优化 */
.article-list-layout {
  display: flex;
  gap: 36px;
  max-width: 1400px;
  margin: 0 auto 48px auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}

/* 侧边导航红色风格 */
.sidebar-nav {
  flex: 0 0 280px;
  background: var(--bg-light);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 38px 0;
  min-width: 240px;
  transition: all 0.3s ease;
  height: fit-content;
}

.sidebar-nav h2 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 28px;
  text-align: center;
  color: var(--main-red);
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(197,48,48,0.1);
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-nav > ul > li {
  margin: 0 0 6px 0;
  transition: transform 0.18s;
}

.sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  color: var(--text-primary);
  text-decoration: none;
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
  font-size: 1.04rem;
  border-radius: 0 22px 22px 0;
  position: relative;
  font-weight: 500;
}

/* 展开/收起按钮样式 */
.sidebar-nav li.has-submenu > a::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-primary);
  border-bottom: 2px solid var(--text-primary);
  transform: rotate(45deg);
  margin-left: auto;
  transition: transform 0.3s ease;
  opacity: 0.6;
}

.sidebar-nav li.has-submenu.expanded > a::after {
  transform: rotate(-135deg);
}

/* 二级菜单样式 */
.sidebar-nav .submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: var(--main-red-light);
  margin: 0;
  padding: 0;
}

.sidebar-nav .submenu li {
  margin: 0;
}

.sidebar-nav .submenu li a {
  padding-left: 48px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-left: 4px solid transparent;
}

.sidebar-nav .submenu li a:hover {
  color: var(--main-red);
  background: rgba(197, 48, 48, 0.1);
}

.sidebar-nav .submenu li a.active2 {
  color: var(--main-red);
  font-weight: 600;
  border-left-color: var(--main-red);
  background: rgba(197, 48, 48, 0.15);
}

/* 激活状态样式 */
.sidebar-nav li.active > a {
  background: var(--main-red-light);
  color: var(--main-red);
  border-left: 4px solid var(--main-red);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.sidebar-nav li.active > a::after {
  border-color: var(--main-red);
  opacity: 1;
}

.sidebar-nav li:not(.has-submenu) a:hover {
  background: var(--main-red-light);
  color: var(--main-red);
  border-left: 4px solid var(--main-red);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

/* 展开状态下的二级菜单 */
.sidebar-nav li.expanded > .submenu {
  max-height: 500px;
  transition: max-height 0.5s ease-in;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .sidebar-nav {
    padding: 24px 0;
  }
  
  .sidebar-nav h2 {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }
  
  .sidebar-nav li a {
    padding: 12px 24px;
    font-size: 1rem;
  }
  
  .sidebar-nav .submenu li a {
    padding-left: 36px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .sidebar-nav {
    padding: 20px 0;
  }
  
  .sidebar-nav h2 {
    font-size: 1rem;
    margin-bottom: 16px;
  }
  
  .sidebar-nav li a {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
  
  .sidebar-nav .submenu li a {
    padding-left: 32px;
    font-size: 0.85rem;
  }
}

/* 文章列表区域 */
.article-list-section {
  flex: 1 1 0%;
  background: var(--bg-light);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 42px 42px 32px 42px;
  min-width: 0;
  max-width: calc(100% - 316px);
}

.article-list-section-h1 {
  font-size: 1.38rem;
  font-weight: 800;
  margin-bottom: 32px;
  color: var(--main-red);
  letter-spacing: 1.5px;
  text-shadow: 0 2px 8px rgba(197,48,48,0.1);
  border-bottom: 3px solid var(--main-red);
  display: inline-block;
  padding-bottom: 4px;
}

.article-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.article-list li {
  border: none;
  transition: all 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
}
.article-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--main-red);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}
.article-list li:hover::before,
.article-list li:focus-within::before {
  transform: scaleY(1);
}
.article-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px 18px 24px;
  color: var(--text-primary);
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform 0.18s;
  border-radius: 10px;
  min-height: 60px;
  position: relative;
  width: 100%;
}
.article-list li:hover,
.article-list li:focus-within {
  transform: translateX(8px);
  box-shadow: var(--shadow-lg);
  background: var(--main-red-light);
}
.article-title {
  font-size: 1.08rem;
  font-weight: 500;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  transition: color 0.3s;
}
.article-list li:hover .article-title,
.article-list li:focus-within .article-title {
  color: var(--main-red);
}
.article-title::before {
  content: '\1F4C4';
  color: #b3c7f7;
  font-size: 1.1em;
  margin-right: 2px;
}
.article-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
  margin-left: 24px;
}
.article-meta-date {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  background: var(--main-red-gradient);
  border-radius: 10px;
  padding: 6px 16px 2px 16px;
  margin-bottom: 2px;
  box-shadow: 0 2px 8px rgba(197,48,48,0.2), 0 1.5px 0 #fff inset;
  line-height: 1.4;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(155,44,44,0.2);
  transition: background 0.2s, box-shadow 0.2s;
}
.article-list li:hover .article-meta-date,
.article-list li:focus-within .article-meta-date {
  background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
  box-shadow: 0 4px 16px rgba(197,48,48,0.3), 0 1.5px 0 #fff inset;
}
.article-meta-month {
  font-size: 0.95rem;
  color: var(--main-red-dark);
  margin-top: 0;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* 响应式布局优化 */
@media (min-width: 1600px) {
  .article-list-layout {
    max-width: 1600px;
    gap: 48px;
  }
  
  .sidebar-nav {
    flex: 0 0 320px;
  }
  
  .article-list-section {
    max-width: calc(100% - 368px);
  }
}

@media (max-width: 1400px) {
  .article-list-layout {
    max-width: 1200px;
    gap: 32px;
  }
  
  .sidebar-nav {
    flex: 0 0 260px;
  }
  
  .article-list-section {
    max-width: calc(100% - 292px);
  }
}

@media (max-width: 1200px) {
  .article-list-layout {
    max-width: 1000px;
    gap: 28px;
  }
  
  .sidebar-nav {
    flex: 0 0 240px;
  }
  
  .article-list-section {
    max-width: calc(100% - 268px);
    padding: 36px 36px 28px 36px;
  }
}

@media (max-width: 1100px) {
  .article-list-layout {
    gap: 24px;
    padding: 0 20px;
  }
  
  .article-list-section {
    padding: 32px 32px 24px 32px;
  }
  
  .sidebar-nav {
    padding: 32px 0;
  }
}

@media (max-width: 900px) {
  .article-list-layout {
    flex-direction: column;
    gap: 24px;
    padding: 0 16px;
  }
  
  .sidebar-nav {
    flex: none;
    width: 100%;
    min-width: 0;
    margin-bottom: 0;
  }
  
  .article-list-section {
    max-width: 100%;
    padding: 24px 24px 20px 24px;
  }
  
  .small-banner {
    height: 200px;
  }
  
  .mianbao {
    padding: 10px 16px;
    margin-top: 12px;
  }
}

@media (max-width: 600px) {
  .article-list-layout {
    padding: 0 12px;
    gap: 16px;
  }
  
  .sidebar-nav {
    padding: 24px 0;
  }
  
  .sidebar-nav h2 {
    font-size: 1.1rem;
  }
  
  .article-list-section {
    padding: 20px 20px 16px 20px;
  }
  
  .article-list-section h1 {
    font-size: 1.2rem;
  }
  
  .article-title {
    font-size: 0.95rem;
  }
  
  .article-meta-date {
    font-size: 1.1rem;
    padding: 4px 12px;
  }
  
  .article-meta-month {
    font-size: 0.85rem;
  }
  
  .small-banner {
    height: 160px;
  }
  
  .mianbao {
    padding: 8px 12px;
    margin-top: 8px;
  }
  
  .mianbao div {
    font-size: 0.85rem;
    gap: 4px;
  }
  
  .mianbao img {
    width: 12px;
    height: 12px;
  }
  
  .article-list-section {
    padding: 16px 16px 12px 16px;
  }
}

/* 翻页组件 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 32px 0 0 0;
  user-select: none;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  font-size: 1rem;
  color: var(--main-red);
  background: var(--main-red-light);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}
.page-btn:hover,
.page-btn:focus {
  background: #fed7d7;
  color: var(--main-red-dark);
  box-shadow: var(--shadow-md);
}
.page-btn.active {
  background: var(--main-red);
  color: #fff;
  box-shadow: var(--shadow-md);
  cursor: default;
}
.page-btn.prev,
.page-btn.next {
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--main-red-light);
  color: var(--main-red);
}
.page-btn.prev:hover,
.page-btn.next:hover {
  background: #fed7d7;
  color: var(--main-red-dark);
}
@media (max-width: 600px) {
  .pagination {
    gap: 4px;
  }
  .page-btn {
    min-width: 28px;
    height: 28px;
    font-size: 0.92rem;
    padding: 0 4px;
    border-radius: 6px;
  }
}

/* 文章内容页样式 */
.article-meta-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e2e8f0;
}

.article-meta-info h1 {
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  max-width: 800px;
}

.article-meta-info .meta-row {
  display: flex;
  gap: 32px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.article-meta-info span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-meta-info span::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--main-red);
  border-radius: 50%;
}

.article-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 48px;
  /* max-width: 800px;
  margin-left: auto;
  margin-right: auto; */
}

.article-content p {
  margin-bottom: 1.5em;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5em 0;
}

.article-navigation {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
  /* max-width: 800px;
  margin-left: auto;
  margin-right: auto; */
}

.prev-article,
.next-article {
  display: flex;
  align-items: center;
  padding: 16px;
  margin-bottom: 16px;
  background: var(--bg-light);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.prev-article:hover,
.next-article:hover {
  background: var(--main-red-light);
  transform: translateX(8px);
}

.nav-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
  min-width: 80px;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1rem;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--main-red);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .article-meta-info h1 {
    font-size: 1.6rem;
  }
  
  .article-meta-info .meta-row {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  
  .article-content {
    font-size: 1rem;
    padding: 0 16px;
  }
  
  .prev-article,
  .next-article {
    padding: 12px;
  }
  
  .nav-label {
    min-width: 70px;
  }
}

@media (max-width: 480px) {
  .article-list-section h1 {
    font-size: 1.2rem;
  }
  
  .article-meta-info h1 {
    font-size: 1.4rem;
  }
  
  .article-meta-info {
    font-size: 0.9rem;
  }
  
  .nav-label {
    min-width: 60px;
    font-size: 0.9rem;
  }
  
  .nav-link {
    font-size: 0.95rem;
  }
}

/* 回到主页按钮 */
.home-button {
  position: fixed;
  right: 40px;
  bottom: 40px;
  width: 48px;
  height: 48px;
  background: var(--main-red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(197,48,48,0.3);
  transition: all 0.3s ease;
  z-index: 1000;
  opacity: 0.9;
}

.home-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(197,48,48,0.4);
  opacity: 1;
}

.home-button svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.home-button:hover svg {
  transform: scale(1.1);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .home-button {
    right: 24px;
    bottom: 24px;
    width: 40px;
    height: 40px;
  }
  
  .home-button svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .home-button {
    right: 16px;
    bottom: 16px;
    width: 36px;
    height: 36px;
  }
  
  .home-button svg {
    width: 18px;
    height: 18px;
  }
}

/* 教师图片列表样式 */
.teacher-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.teacher-item {
  background: var(--bg-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.teacher-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.teacher-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}

.teacher-info {
  padding: 16px;
  text-align: center;
}

.teacher-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.teacher-title {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.teacher-research {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

/* 响应式调整 */
@media (max-width: 1200px) {
  .teacher-list {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .teacher-list {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
  }
  
  .teacher-info {
    padding: 12px;
  }
  
  .teacher-name {
    font-size: 1.1rem;
  }
  
  .teacher-title {
    font-size: 0.9rem;
  }
  
  .teacher-research {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .teacher-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .teacher-info {
    padding: 10px;
  }
  
  .teacher-name {
    font-size: 1rem;
    margin-bottom: 6px;
  }
  
  .teacher-title {
    font-size: 0.85rem;
    margin-bottom: 8px;
  }
  
  .teacher-research {
    font-size: 0.8rem;
    -webkit-line-clamp: 1;
  }
}

/* 毕业照片网格布局 */
.image2-list-section {
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--main-red);
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--main-red);
    display: inline-block;
}

.grad-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.grad-photo-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
}

.grad-photo-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.photo-container {
    position: relative;
    width: 100%;
    padding-top: 66.67%; /* 3:2 宽高比，更适合合影照片 */
    overflow: hidden;
}

.photo-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.grad-photo-item:hover .photo-container img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    opacity: 0.9;
    transition: all 0.3s ease;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button svg {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.grad-photo-item:hover .play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
    background: #fff;
}

.photo-info {
    padding: 16px;
    background: #fff;
}

.photo-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
}

.photo-date {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* 响应式调整 */
@media (min-width: 1400px) {
    .grad-photo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 1200px) {
    .image2-list-section {
        padding: 25px;
    }

    .grad-photo-grid {
        gap: 20px;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
}

@media (max-width: 992px) {
    .grad-photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .photo-info h3 {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .image2-list-section {
        padding: 20px;
    }

    .section-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .grad-photo-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .photo-container {
        padding-top: 56.25%; /* 16:9 比例，在手机上更合适 */
    }

    .play-button {
        width: 40px;
        height: 40px;
    }

    .play-button svg {
        width: 20px;
        height: 20px;
    }

    .photo-info {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .image2-list-section {
        padding: 15px;
    }

    .section-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .grad-photo-grid {
        gap: 12px;
    }

    .photo-info h3 {
        font-size: 0.95rem;
    }

    .photo-date {
        font-size: 0.85rem;
    }

    .play-button {
        width: 36px;
        height: 36px;
    }

    .play-button svg {
        width: 18px;
        height: 18px;
    }
}

/* 修复边距和布局问题 */
.article-list-layout {
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
}

@media (max-width: 992px) {
    .article-list-layout {
        padding: 0 15px;
        gap: 20px;
        flex-direction: column;
    }

    .sidebar-nav {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .article-list-layout {
        padding: 0 10px;
        gap: 15px;
    }
}

/* 可折叠教师名录样式 */
.teacher-category {
    margin-bottom: 20px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.category-header {
    padding: 20px 24px;
    background: var(--bg-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.category-header:hover {
    background: var(--main-red-light);
    border-left-color: var(--main-red);
}

.category-header.active {
    background: var(--main-red-light);
    border-left-color: var(--main-red);
}

.category-header h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    transition: color 0.3s ease;
}

.category-header:hover h2,
.category-header.active h2 {
    color: var(--main-red);
}

.toggle-btn {
    width: 24px;
    height: 24px;
    background: var(--main-red);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.category-header:hover .toggle-btn {
    transform: scale(1.1);
}

.category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fff;
}

.teacher-links {
    padding: 20px 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.teacher-link {
    color: var(--text-primary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: var(--main-red-light);
    font-size: 1rem;
}

.teacher-link:hover {
    color: #fff;
    background: var(--main-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .category-header {
        padding: 15px 20px;
    }

    .category-header h2 {
        font-size: 1.1rem;
    }

    .toggle-btn {
        width: 20px;
        height: 20px;
        font-size: 16px;
    }

    .teacher-links {
        padding: 15px 20px;
        gap: 12px;
    }

    .teacher-link {
        padding: 6px 12px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .category-header {
        padding: 12px 16px;
    }

    .category-header h2 {
        font-size: 1rem;
    }

    .toggle-btn {
        width: 18px;
        height: 18px;
        font-size: 14px;
    }

    .teacher-links {
        padding: 12px 16px;
        gap: 8px;
    }

    .teacher-link {
        padding: 5px 10px;
        font-size: 0.9rem;
    }
}

/* 教师列表主标题样式 */
.teacher-list-section h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 30px 0;
    padding-bottom: 15px;
    position: relative;
    display: inline-block;
}

.teacher-list-section h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--main-red-gradient);
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(197,48,48,0.2);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .teacher-list-section h1 {
        font-size: 1.8rem;
        margin-bottom: 25px;
        padding-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .teacher-list-section h1 {
        font-size: 1.5rem;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }
    
    .teacher-list-section h1::after {
        height: 3px;
    }
}