
/* ================= 头部样式 ================= */
.site-header {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* LOGO + 导航 + 操作区 */
.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  gap: 30px;
}

.header-logo {
  flex-shrink: 0;
}

.header-logo a {
  text-decoration: none;
  display: inline-block;
}

.header-logo .logo-img {
  height: 45px;
  width: auto;
}

.header-logo .logo-text {
  font-size: 22px;
  font-weight: bold;
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 50%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  transition: all 0.3s ease;
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
}

.header-logo .logo-text:hover {
  animation-duration: 1s;
  filter: brightness(1.1);
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ================= PC 导航 ================= */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin: 0;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 12px 8px;
  color: #333;
  font-size: 15px;
  position: relative;
  transition: color 0.3s;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: #007bff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #007bff;
}

/* ================= 右侧操作区 ================= */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.search-link {
  display: flex;
  align-items: center;
  padding: 8px;
  color: #333;
  transition: color 0.3s;
}

.search-link:hover {
  color: #007bff;
}

/* ================= 移动端菜单按钮 ================= */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 2px solid #007bff;
  border-radius: 4px;
  cursor: pointer;
  padding: 10px;
  transition: all 0.3s;
  position: relative;
  z-index: 10;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  touch-action: manipulation;
  min-width: 44px;
  min-height: 44px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #007bff;
  transition: all 0.3s;
  border-radius: 2px;
}

.mobile-menu-toggle:hover {
  background: #007bff;
}

.mobile-menu-toggle:hover span {
  background: #fff;
}

/* ================= 移动端菜单 ================= */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s;
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
  background: #f8f9fa;
}

.mobile-menu-title {
  font-size: 18px;
  font-weight: bold;
}

.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  color: #666;
}

/* 搜索 */
.mobile-menu-search {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  background: #f8f9fa;
}

.mobile-search-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  background: #007bff;
  color: #fff;
  border-radius: 6px;
}

/* 菜单列表 */
.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-item {
  border-bottom: 1px solid #eee;
}

.mobile-nav-link {
  display: block;
  padding: 15px 20px;
  color: #333;
  font-size: 16px;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: #f0f7ff;
  color: #007bff;
  padding-left: 25px;
}

.mobile-sub-nav-list {
  list-style: none;
  background: #f8f9fa;
}

.mobile-sub-nav-link {
  display: block;
  padding: 12px 20px 12px 40px;
  color: #666;
  font-size: 14px;
}

.mobile-sub-nav-link:hover,
.mobile-sub-nav-link.active {
  background: #e8f4ff;
  color: #007bff;
  padding-left: 45px;
}

/* ================= 响应式 ================= */
@media (max-width: 768px) {
  /* 隐藏面包屑导航 */
  .breadcrumb-nav {
    display: none;
  }
  
  .main-nav {
    display: none;
  }

  .header-actions .search-link {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-main {
    gap: 15px;
  }
}

/* ================= 基础样式 ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.site-h1 {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  background: #f5f5f5;
}

/* ================= 面包屑导航 ================= */
.breadcrumb-nav {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 12px 0;
  font-size: 13px;
}

.breadcrumb-nav .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.breadcrumb-nav span {
  color: #666;
}

.breadcrumb-nav a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
  color: #004499;
  text-decoration: underline;
}

a {
  color: #007bff;
  text-decoration: none;
}

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

/* ================= 主容器 ================= */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 15px;
}

.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
}

.main-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
}

.sidebar {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
}

/* ================= 栏目头 ================= */
.channel-header {
  margin-bottom: 20px;
}

.channel-title-section h1 {
  font-size: 24px;
  margin-bottom: 10px;
}

.sub-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 15px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.sub-channel-link {
  display: inline-block;
  padding: 6px 16px;
  font-size: 14px;
  color: #666;
  text-decoration: none;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.sub-channel-link:hover {
  color: #007bff;
  border-color: #007bff;
  background: #f0f7ff;
}

.sub-channel-link.active {
  color: #fff;
  background: #007bff;
  border-color: #007bff;
  font-weight: 500;
}

/* ================= 筛选 ================= */
.filter-section {
  background: #f5f5f5;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.filter-group {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.filter-label {
  min-width: 60px;
  font-weight: 500;
}

.filter-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-option {
  padding: 5px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
  color: #666;
}

.filter-option.active {
  background: #d32f2f;
  color: #fff;
  border-color: #d32f2f;
}

/* ================= 核心：栏目 Grid ================= */
.article-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)); /* PC：5列 */
  gap: 16px;
  margin-top: 15px;
}

.article-grid .article-item {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: transform .2s;
}

.article-grid .article-item:hover {
  transform: translateY(-4px);
}

/* 封面 */
.article-grid .article-thumb {
  position: relative;
  width: 100%;
  padding-top: 140%;
  background: #eee;
}

.article-grid .article-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 信息 */
.article-grid .article-info {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
}

.article-grid .article-title {
  font-size: 14px;
  line-height: 1.4;
  height: 2.8em;
  overflow: hidden;
  margin-bottom: 4px;
}

.article-grid .detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #999;
}

.article-grid .detail-row span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ================= 分页 ================= */
.pagination-wrapper {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.pagination {
  display: flex;
  gap: 6px;
  list-style: none;
}

.page-link {
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.page-item.active .page-link {
  background: #007bff;
  color: #fff;
}

/* ================= 播放列表 ================= */
.playlist-box {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.playlist-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

.playlist-tab {
  padding: 8px 20px;
  background: #f5f5f5;
  border: none;
  border-radius: 6px 6px 0 0;
  cursor: pointer;
  color: #666;
  font-size: 14px;
  transition: all 0.3s ease;
}

.playlist-tab:hover {
  background: #e8e8e8;
  color: #333;
}

.playlist-tab.active {
  background: #007bff;
  color: #fff;
  font-weight: 500;
}

.playlist-content {
  position: relative;
}

.playlist-panel {
  display: none;
}

.playlist-panel.active {
  display: block;
}

.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
}

.episode-btn {
  display: block;
  padding: 10px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  color: #333;
  font-size: 13px;
  transition: all 0.2s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.episode-btn:hover {
  background: #e9ecef;
  border-color: #adb5bd;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.episode-btn.current {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
  font-weight: 500;
}

/* 章节列表（小说/漫画）*/
.chapter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}

.chapter-btn {
  display: block;
  padding: 10px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  color: #333;
  font-size: 13px;
  transition: all 0.2s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chapter-btn:hover {
  background: #e9ecef;
  border-color: #adb5bd;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.chapter-btn.current {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
  font-weight: 500;
}

/* ================= 文章导航（上一条/下一条）================= */
.article-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
}

.article-nav .nav-item {
  display: flex;
  align-items: baseline;
  flex: 1;
  min-width: 0;
}

.article-nav .nav-item.nav-prev {
  justify-content: flex-start;
}

.article-nav .nav-item.nav-next {
  justify-content: flex-end;
}

.article-nav .nav-label {
  color: #666;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 500;
}

.article-nav .nav-label::after {
  content: '：';
}

.article-nav .nav-link,
.article-nav .nav-empty {
  color: #007bff;
  margin-left: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.article-nav .nav-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

.article-nav .nav-empty {
  color: #999;
  font-style: italic;
}

/* ================= 详情页样式 ================= */
.article-main-title {
  font-size: 24px;
  margin-bottom: 12px;
  margin-top: 0;
  line-height: 1.4;
  color: #222;
}

.article-info {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 13px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
  color: #999;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.info-item i {
  font-size: 12px;
}

.article-detail-box {
  display: flex;
  gap: 25px;
  margin-bottom: 30px;
}

.detail-cover {
  flex-shrink: 0;
  width: 200px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.detail-info {
  flex: 1;
  min-width: 0;
}

.meta-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.meta-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  line-height: 1.6;
}

.meta-label {
  min-width: 70px;
  flex-shrink: 0;
  color: #666;
  font-weight: 500;
}

.meta-value {
  flex: 1;
  color: #333;
  line-height: 1.6;
}

.meta-link {
  color: #007bff;
  text-decoration: none;
  margin-right: 8px;
}

.meta-link:hover {
  text-decoration: underline;
}

.content-box {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.content-box h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 18px;
  color: #333;
  padding-bottom: 10px;
  border-bottom: 2px solid #007bff;
}

/* ================= 响应式断点 ================= */

/* 平板：3 列 */
@media (max-width: 1024px) {
  .content-wrapper {
    grid-template-columns: 1fr;
  }

  .article-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* 手机：2 列 */
@media (max-width: 768px) {
  .main-content {
    padding: 12px;
  }

  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .article-grid .article-title {
    font-size: 13px;
  }
  
  /* 播放列表移动端优化 */
  .playlist-box {
    padding: 15px;
    margin-left: -15px;
    margin-right: -15px;
    border-radius: 0;
  }
  
  .playlist-tabs {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .playlist-tab {
    flex: 0 0 auto;
    padding: 6px 15px;
    font-size: 13px;
  }
  
  .episode-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
  }
  
  .episode-btn {
    padding: 8px 5px;
    font-size: 12px;
  }
  
  .chapter-grid {
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 8px;
  }
  
  .chapter-btn {
    padding: 8px 5px;
    font-size: 12px;
  }
  
  /* 文章导航移动端优化 */
  .article-nav {
    flex-direction: column;
    gap: 12px;
    padding: 12px;
    margin-bottom: 20px;
  }
  
  .article-nav .nav-item {
    width: 100%;
    justify-content: space-between !important;
  }
  
  .article-nav .nav-label {
    font-size: 13px;
  }
  
  .article-nav .nav-link,
  .article-nav .nav-empty {
    font-size: 13px;
    max-width: calc(100% - 70px);
  }
  
  /* 详情页移动端优化 */
  .article-main-title {
    font-size: 20px;
  }
  
  .article-detail-box {
    flex-direction: column;
  }
  
  .detail-cover {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .meta-row {
    flex-direction: column;
    gap: 5px;
  }
  
  .meta-label {
    min-width: auto;
    font-size: 13px;
  }
  
  .meta-value {
    font-size: 13px;
  }
  
  .content-box {
    padding: 15px;
  }
  
  .content-box h3 {
    font-size: 16px;
  }
}

/* 超小屏兜底 */
@media (max-width: 360px) {
  .article-grid {
    gap: 8px;
  }
}

/* ================= 底部 ================= */
.site-footer {
  background: #fff;
  border-top: 1px solid #eee;
  padding: 30px 0;
  margin-top: 40px;
}
/* ================= 右侧排行榜图片缩小 ================= */

/* 整体 item 对齐 */
.rank-item {
  align-items: flex-start;
}

/* 缩小封面图 */
.rank-thumb {
  width: 70px;          /* 控制宽度（关键） */
  height: 100px;        /* 竖版比例 */
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #f5f5f5;
}

/* 图片填充 */
.rank-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 右侧文字区 */
.rank-info {
  flex: 1;
  min-width: 0;
}

/* 标题限制行数，防止把 sidebar 撑高 */
.rank-title {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;   /* 最多 2 行 */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ================= 搜索页面样式 ================= */
/* 搜索框 */
.search-box-wrapper {
  margin-bottom: 30px;
  padding: 30px 0;
  background: #fff;
  border-radius: 8px;
}

.search-form {
  display: flex;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
}

.search-input {
  flex: 1;
  padding: 12px 16px;
  font-size: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  outline: none;
  transition: all 0.3s ease;
}

.search-input:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.search-btn {
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  background: #007bff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.search-btn:hover {
  background: #0056b3;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.search-btn:active {
  transform: translateY(0);
}

/* 搜索结果头部 */
.search-result-header {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.search-result-header h2 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #333;
}

.result-count {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* 搜索结果列表 */
.search-result-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.search-result-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.search-result-item:hover {
  border-color: #007bff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.result-thumb {
  flex-shrink: 0;
  width: 150px;
  height: 200px;
  border-radius: 6px;
  overflow: hidden;
  background: #f5f5f5;
}

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

.result-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.result-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}

.result-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}

.result-title a:hover {
  color: #007bff;
}

.result-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.result-desc a {
  color: #666;
  text-decoration: none;
}

.result-meta {
  display: flex;
  gap: 15px;
  font-size: 13px;
  color: #999;
  margin-top: auto;
}

.meta-channel a {
  color: #007bff;
  text-decoration: none;
}

.meta-channel a:hover {
  text-decoration: underline;
}

/* 空搜索状态 */
.empty-search {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  font-size: 16px;
}

/* 侧边栏区块 */
.sidebar-box {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.sidebar-box:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.sidebar-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
  padding-bottom: 10px;
  border-bottom: 2px solid #007bff;
}

/* 热门标签 */
.hot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hot-tag {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  color: #666;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hot-tag:hover {
  color: #fff;
  background: #007bff;
  border-color: #007bff;
  transform: translateY(-1px);
}

.empty-tip {
  font-size: 13px;
  color: #999;
  margin: 0;
  text-align: center;
  padding: 20px 0;
}

/* 隐藏标签（用于无障碍） */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* 搜索结果区块 */
.search-result-section {
  margin-top: 20px;
}

/* 搜索页面响应式 */
@media (max-width: 768px) {
  .search-box-wrapper {
    padding: 20px 15px;
  }
  
  .search-form {
    flex-direction: column;
    max-width: 100%;
  }
  
  .search-input {
    width: 100%;
  }
  
  .search-btn {
    width: 100%;
  }
  
  .search-result-item {
    flex-direction: column;
    padding: 15px;
  }
  
  .result-thumb {
    width: 100%;
    height: 200px;
  }
  
  .result-title {
    font-size: 16px;
  }
  
  .result-meta {
    flex-direction: column;
    gap: 8px;
  }
}
