/* ==============================================
   全局变量与基础样式
   ============================================== */
:root {
  --primary-color: #4a6fa5;
  --secondary-color: #166088;
  --text-color: #333;
  --light-bg: #f8f9fa;
  --border-color: #e1e8ed;
  --success-color: #28a745;
  --error-color: #dc3545;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--light-bg);
  background-image: radial-gradient(#e0e0e0 1px, transparent 1px);
  background-size: 20px 20px;
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

a {
  text-decoration: none;
}

li {
  list-style-type: none;
}

/* ==============================================
   加载动画
   ============================================== */
#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #166088 0%, #4a6fa5 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader {
  position: relative;
  text-align: center;
}

.orbit {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  animation: orbit-rotate 6s linear infinite;
}

.satellite {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  animation: satellite-pulse 2s ease-in-out infinite alternate;
}

.logo-text {
  margin-top: 30px;
  font-size: 28px;
  font-weight: 600;
  color: white;
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  animation: text-fade 3s ease-in-out infinite alternate;
}

/* 加载动画 - 关键帧 */
@keyframes orbit-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes satellite-pulse {
  0% { box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); }
  100% { box-shadow: 0 0 25px rgba(255, 255, 255, 0.8); }
}

@keyframes text-fade {
  0% { opacity: 0.7; }
  100% { opacity: 1; }
}

.loaded #loading-overlay {
  opacity: 0;
  visibility: hidden;
}

/* ==============================================
   导航栏
   ============================================== */
.main-nav {
  background: linear-gradient(135deg, #166088 0%, #4a6fa5 100%);
  color: white;
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 101;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 1.5rem;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  transition: color 0.3s;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a:hover {
  color: white;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ==============================================
   搜索区域
   ============================================== */
.search-section {
  padding: 1.5rem 0;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 50px; /* 导航栏高度 */
  z-index: 100;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              box-shadow 0.4s ease;
}

.search-container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  gap: 1rem;
}

.search-box {
  flex: 1;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1.5rem 0.75rem 3rem;
  border: 1px solid var(--border-color);
  border-radius: 30px;
  font-size: 1rem;
  transition: all 0.3s;
  background: var(--light-bg);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(74, 111, 165, 0.25);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
}

.search-btn {
  padding: 0.75rem 1.5rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
}

.search-btn:hover {
  background: var(--secondary-color);
}

#reset-search {
  background-color: #dc3545;
}

#reset-search:hover {
  background-color: #c82333;
}

.search-status {
  text-align: center;
  margin-top: 0.5rem;
  color: var(--success-color);
  font-size: 0.9rem;
  min-height: 1.5rem;
}

.error {
  color: var(--error-color) !important;
}

.search-section.hidden {
  transform: translateY(-100%);
  box-shadow: none;
}

/* ==============================================
   主内容区域
   ============================================== */
.main-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem auto;
  align-items: flex-start;
}

/* ==============================================
   侧边栏
   ============================================== */
.sidebar {
  flex: 0 0 280px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  padding: 1.5rem;
  align-self: flex-start;
  order: 1;
}

.profile {
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--primary-color);
}

.name {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.bio {
  color: #666;
  margin-bottom: 1rem;
}

.about-me {
  margin: 1.5rem 0;
  line-height: 1.7;
}

.skills {
  margin: 2rem 0;
}

.skills h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: var(--secondary-color);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  background: #e6f2f8;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
}

/* ==============================================
   内容区域
   ============================================== */
.content {
  flex: 1;
  min-width: 300px;
  order: 3;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  position: relative;
  padding-bottom: 0.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
}

/* ==============================================
   文章网格
   ============================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-article-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.grid-article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(74, 111, 165, 0.3);
}

.grid-article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(74, 111, 165, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.grid-article-card:hover::before {
  opacity: 1;
}

/* 文章封面 */
.grid-article-cover {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(120deg, 
    rgba(245, 247, 250, 0.7) 25%, 
    rgba(228, 231, 235, 0.8) 50%, 
    rgba(245, 247, 250, 0.7) 75%);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
  transition: transform 0.3s ease-out;
}

.grid-article-cover img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 
    transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1),
    opacity 0.8s ease;
  will-change: transform, opacity;
  opacity: 0;
  transform: scale(1.03);
  filter: brightness(0.95);
}

.grid-article-cover img.loaded {
  opacity: 1;
  transform: scale(1);
  filter: brightness(1);
}

.grid-article-cover::before,
.grid-article-cover::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.grid-article-cover::before {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, 
    rgba(0,0,0,0.1) 0%, 
    rgba(0,0,0,0.05) 50%,
    rgba(0,0,0,0.01) 100%);
  opacity: 0.5;
  transition: opacity 0.6s ease;
}

.grid-article-cover::after {
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 8px;
  background: radial-gradient(ellipse at top, 
    rgba(0,0,0,0.1) 0%, 
    rgba(0,0,0,0) 90%);
  opacity: 0.7;
  transition: opacity 0.6s ease;
}

.grid-article-card:hover .grid-article-cover::before {
  opacity: 0.3;
}

.grid-article-card:hover .grid-article-cover::after {
  opacity: 0.9;
}

/* 文章内容 */
.grid-article-body {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.grid-article-title {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
  line-height: 1.4;
  transition: all 0.3s ease;
  transform-origin: left;
}

.grid-article-card:hover .grid-article-title {
  transform: scale(1.05);
  color: #166088;
}

.grid-article-meta {
  display: flex;
  margin-bottom: 1.2rem;
  color: #666;
  font-size: 0.85rem;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.grid-article-date, 
.grid-article-category {
  margin-right: 1rem;
}

.grid-read-more {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s;
  margin-top: auto;
  align-self: flex-start;
  position: relative;
  z-index: 3;
}

.grid-article-card:hover .grid-read-more {
  background-color: #166088;
  transform: translateX(5px);
}

/* ==============================================
   分页控件
   ============================================== */
.pagination {
  display: flex;
  justify-content: center;
  margin: 3rem 0 1rem;
  gap: 0.5rem;
}

.pagination-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  color: var(--text-color);
  background-color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  border: 1px solid var(--border-color);
  cursor: pointer;
}

.pagination-item:hover {
  background-color: #d5e6f7;
  color: var(--primary-color);
  border-color: #d5e6f7;
}

.pagination-item.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.pagination-item.active:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.pagination-arrow {
  transition: transform 0.2s ease;
}

.pagination-arrow:hover {
  transform: scale(1.2);
}

.pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #6c757d;
  user-select: none;
}

/* ==============================================
   日历卡片
   ============================================== */
.calendar-card {
  width: 280px;
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(22, 96, 136, 0.1);
  align-self: flex-start;
  order: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.calendar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.calendar-card h3 {
  color: var(--secondary-color);
  margin-bottom: 1.2rem;
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.calendar-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px;
}

.calendar-date {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.digital-clock {
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--secondary-color);
  display: flex;
  justify-content: center;
  gap: 0.2rem;
  background: linear-gradient(to right, 
              rgba(22, 96, 136, 0.05), 
              rgba(74, 111, 165, 0.05));
  padding: 0.8rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  position: relative;
  z-index: 2;
}

.calendar-weekday {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--primary-color);
  position: relative;
  z-index: 2;
}

.calendar-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, 
              rgba(74, 111, 165, 0.1) 0%, 
              transparent 60%);
  z-index: 1;
  pointer-events: none;
  animation: rotate-gradient 20s linear infinite;
}

/* ==============================================
   页脚
   ============================================== */
.site-footer {
  background: linear-gradient(135deg, #166088 0%, #4a6fa5 100%);
  color: white;
  padding: 1.5rem 0;
  margin-top: 3rem;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.copyright {
  flex: 1;
}

.icp-info a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.3s ease;
}

.icp-info a:hover {
  color: white;
  text-decoration: underline;
}

.links a {
  color: rgba(255,255,255,0.85);
  margin-left: 1.5rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.links a:hover {
  color: white;
  text-decoration: underline;
}

/* ==============================================
   SVG图标
   ============================================== */
.svg-icon {
  vertical-align: middle;
  margin-right: 0.3rem;
  display: inline-block;
  width: 1em;
  height: 1em;
}

.search-box .svg-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.grid-article-date .svg-icon,
.grid-article-category .svg-icon {
  vertical-align: middle;
  position: relative;
  top: -0.15em;
}

/* ==============================================
   汉堡菜单
   ============================================== */
.hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 12px;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 102;
  transition: transform 0.3s ease;
}

.hamburger:hover {
  transform: translateY(-50%) scale(1.1);
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 4px 0;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.no-scroll {
  overflow: hidden;
}

/* 汉堡菜单动画状态 */
.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==============================================
   动画关键帧
   ============================================== */
@keyframes placeholderShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes rotate-gradient {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes shimmer {
  0% { background-position: 150% 0; }
  100% { background-position: -50% 0; }
}

/* ==============================================
   响应式设计
   ============================================== */
@media (max-width: 992px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-article-cover {
    height: 180px;
  }
  
  .calendar-card {
    width: 100%;
    max-width: 500px;
    margin: 1.5rem auto;
    order: 3;
  }
  
  .digital-clock {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
  }
  
  .sidebar,
  .calendar-card,
  .content {
    width: 100%;
    max-width: 100%;
  }
  
  .calendar-card {
    padding: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    order: 2;
  }
  
  .digital-clock {
    font-size: 1.8rem;
  }
  
  .calendar-card h3 {
    font-size: 1.2rem;
  }
  
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    padding-right: 60px;
  }
  
  .nav-links {
    margin-top: 1rem;
    flex-direction: column;
    width: 100%;
  }
  
  .nav-links li {
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .nav-links a {
    display: block;
    padding: 0.8rem 0;
  }
  
  .hamburger {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 75%;
    height: 100vh;
    background: linear-gradient(135deg, #166088 0%, #4a6fa5 100%);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 20px 20px;
    transition: left 0.4s cubic-bezier(0.65, 0.05, 0.36, 1);
    z-index: 101;
    margin: 0;
    box-shadow: 5px 0 15px rgba(0,0,0,0.2);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .copyright,
  .icp-info,
  .links {
    margin-bottom: 0.8rem;
  }
  
  .links a {
    margin: 0 0.75rem;
  }
  
  .search-container {
    flex-direction: column;
  }
  
  .search-container .search-btn,
  .search-container #reset-search {
    width: 100%;
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  .pagination-item {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
  
  .grid-article-cover {
    height: 150px;
  }

  .grid-article-cover img {
    transition: 
      transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1),
      opacity 0.6s ease;
  }
  
  .grid-article-body {
    padding: 1.2rem;
  }
  
  .digital-clock {
    font-size: 1.6rem;
  }
  
  .calendar-date {
    font-size: 1rem;
  }
  
  .calendar-weekday {
    font-size: 1rem;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }
}


/* ==============================================
   新增侧边栏图片样式
   ============================================== */
.sidebar-image {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(22, 96, 136, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-image:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.sidebar-image h3 {
  color: var(--secondary-color);
  margin-bottom: 1.2rem;
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.sidebar-image h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px;
}

/* 图片链接样式 */
.image-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
}

.image-link:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.image-link:hover .image-container {
  transform: none; /* 取消内部容器的transform，避免双重效果 */
}

.image-container {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.promo-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.image-link:hover .promo-image {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(22, 96, 136, 0.1) 0%,
    rgba(74, 111, 165, 0.3) 50%,
    rgba(22, 96, 136, 0.7) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 1rem;
}

.image-link:hover .image-overlay {
  opacity: 1;
}

.image-overlay p {
  color: white;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  text-align: center;
}

.image-btn {
  background: rgba(255, 255, 255, 0.9);
  color: var(--secondary-color);
  padding: 0.5rem 1.2rem;
  border-radius: 25px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  display: inline-block;
}

.image-link:hover .image-btn {
  background: white;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* 图片描述文字 */
.image-description {
  margin-top: 1rem;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
}

/* 为链接添加点击反馈 */
.image-link:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* 响应式设计调整 */
@media (max-width: 768px) {
  .sidebar-image {
    padding: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .sidebar-image h3 {
    font-size: 1.2rem;
  }
  
  .image-overlay p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .sidebar-image h3 {
    font-size: 1.1rem;
  }
  
  .image-overlay p {
    font-size: 0.9rem;
  }
  
  .image-btn {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
  }
}