/* 搜索专用样式文件 - 统一层级管理 */

/* ===== 主色调变量定义 ===== */
:root {
  --main-color: #0067B5;
  --main-color-dark: #005a9e;
  --main-color-light: #2196f3;
  --main-color-lighter: #e3f2fd;
  --accent-color: #ff6b35;
  --accent-color-dark: #e55a2b;
}

/* 层级定义 - 避免冲突 */
/* 导航栏: z-index 1000-1001 */
/* 搜索区域: z-index 100-110 */
/* Banner: z-index 1 */

/* 导航栏样式 - 固定定位 */
.header {
    position: fixed !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: #fff !important;
    box-shadow: 0px 15px 10px -15px rgba(0,0,0,0.1);
  }
  
  .headerMain {
    z-index: 1001 !important;
  }
  
  /* Banner区域样式 - 加高设计，为轮播图提供背景 */
  .tbanner {
    position: relative !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    overflow: hidden;
    z-index: 1 !important;
    min-height: 600px !important;
    height: 600px !important;
  }
  
  .tbanner img {
    width: 100% !important;
    height: 100% !important;
    display: block;
    min-height: 600px;
    object-fit: cover;
  }
  
  /* 叠加在banner上的搜索区域 - 调整到中间偏上位置 */
  .home-search {
    position: absolute !important;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-60%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100 !important;
    pointer-events: none; /* 避免遮挡banner图片的点击 */
  }
  
  .search-wrapper {
    pointer-events: auto; /* 恢复搜索区域的交互 */
    max-width: 800px;
    text-align: center;
    padding: 0 20px;
  }
  
  .search-title {
    color: #fff;
    font-size: 36px;
    font-weight: 600;
    margin: 0 0 40px 0;
    text-shadow: 2px 2px 12px rgba(0,0,0,0.9);
    letter-spacing: 1px;
  }
  
  /* 搜索框容器 */
  .search-box {
    margin-bottom: 25px;
    position: relative;
  }
  
  /* 搜索输入组 */
  .search-input-group {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255,255,255,0.9);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    backdrop-filter: blur(8px);
  }
  
  .search-input {
    flex: 1;
    height: 54px;
    padding: 0 24px;
    border: none;
    outline: none;
    font-size: 16px;
    color: #333;
    background: transparent;
  }
  
  .search-input::placeholder {
    color: #999;
  }
  
  .search-button {
    width: 120px;
    height: 54px;
    background: var(--accent-color);
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .search-button:hover {
    background: var(--accent-color-dark);
  }
  
  /* 搜索建议 */
  .search-suggestions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 120px;
    background: rgba(255,255,255,0.95);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    backdrop-filter: blur(8px);
    z-index: 110;
  }
  
  .search-suggestions.show {
    display: block;
  }
  
  .suggestion-item {
    display: block;
    padding: 12px 24px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
  }
  
  .suggestion-item:last-child {
    border-bottom: none;
  }
  
  .suggestion-item:hover {
    background: #f8f9fa;
  }

/* 热门城市 */
  .hot-cities {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .hot-label {
    color: #fff;
    font-size: 14px;
    margin-right: 12px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
    font-weight: 500;
  }
  
  .city-tag {
    background: rgba(255,255,255,0.8);
    color: #333;
    padding: 5px 14px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
  }
  
  .city-tag:hover {
    background: rgba(255,255,255,0.95);
    color: var(--accent-color);
    transform: translateY(-1px);
  }
  
  /* ========== 响应式设计 ========== */
  
  /* 平板设备适配 */
  @media (min-width: 769px) and (max-width: 1024px) {
    .search-title {
      font-size: 28px;
      margin-bottom: 35px;
    }
    
    .search-input-group {
      max-width: 90%;
    }
    
    .tbanner {
      min-height: 350px !important;
    }
    
    .tbanner img {
      min-height: 350px;
    }
    
    /* 平板端 Swiper 已自动处理响应式，无需额外样式 */
  }
  
  /* 移动端统一适配 - 平板和手机 */
  @media (max-width: 768px) {
    .home-search {
      display: none !important;
    }
    
    .tbanner {
      display: none !important;
    }
    
    /* 移动端 Swiper 已自动处理响应式，无需额外样式 */
    
    /* 重置轮播图叠加效果 */
    .loop.hui:first-of-type {
      background: #F4F4F4 !important;
      margin-top: 0 !important;
      z-index: auto !important;
    }
    
    body .loop.hui:first-of-type,
    .tbanner + .loop.hui:first-of-type {
      margin-top: 0 !important;
    }
    
    .loop.hui:first-of-type .special {
      box-shadow: none !important;
      border: none !important;
    }
    
    .loop.hui:first-of-type + .loop {
      margin-top: 0 !important;
    }
    
    /* 移动端图片比例保持4:3 */
    .sgpic li a {
      padding-bottom: 75% !important;
    }
    
    /* 移动端通用列表项图片比例控制 */
    .item li a.img,
    .xlist li a.img {
      position: relative !important;
      display: block !important;
      width: 100% !important;
      padding-bottom: 75% !important; /* 4:3 比例 */
      overflow: hidden !important;
    }
  
    .item li a.img img,
    .xlist li a.img img {
      position: absolute !important;
      top: 0 !important;
      left: 0 !important;
      width: 100% !important;
      height: 100% !important;
      object-fit: cover !important;
      transition: transform 0.4s ease !important;
    }
  
    /* 保持hover效果和遮罩层效果 */
    .item li a.img::before,
    .xlist li a.img::before {
      position: absolute !important;
      top: 0 !important;
      left: 0 !important;
      width: 100% !important;
      height: 100% !important;
      z-index: 1 !important;
    }
  
    .item li a.img em,
    .xlist li a.img em {
      position: absolute !important;
      top: 50% !important;
      left: 50% !important;
      z-index: 2 !important;
    }
  
    .item li a.img i,
    .xlist li a.img i {
      position: absolute !important;
      top: 50% !important;
      left: 50% !important;
      transform: translate(-50%, -50%) !important;
      z-index: 3 !important;
    }
    
    /* 移动端新闻列表图片比例控制 */
    .newslist a.img {
      position: relative !important;
      display: block !important;
      width: 100% !important;
      padding-bottom: 75% !important; /* 4:3 比例 */
      overflow: hidden !important;
    }
  
    .newslist a.img img {
      position: absolute !important;
      top: 0 !important;
      left: 0 !important;
      width: 100% !important;
      height: 100% !important;
      object-fit: cover !important;
    }
    
    /* 移动端热门推荐图片比例控制 */
    .hotbox .hd {
      position: relative !important;
      width: 100% !important;
      padding-bottom: 25% !important; /* 4:3 比例 */
      overflow: hidden !important;
    }
  
    .hotbox .hd img {
      position: absolute !important;
      top: 0 !important;
      left: 0 !important;
      width: 100% !important;
      height: 100% !important;
      object-fit: cover !important;
    }
  
    /* 热门推荐标题层保持原有样式 */
    .hotbox .hd h3 {
      position: absolute !important;
      top: 50% !important;
      left: 50% !important;
      z-index: 2 !important;
    }
  
    .hotbox .hd p {
      position: absolute !important;
      bottom: 10px !important;
      left: 10% !important;
      z-index: 2 !important;
    }
  
    /* 隐藏推荐展会 */
    .recommended-exhibitions {
      display: none !important;
    }
  
    /* 隐藏最新展会 */
    .latest-exhibitions {
      display: none !important;
    }
  }

/* 大屏幕优化 */
@media (min-width: 1200px) {
    .search-wrapper {
      max-width: 900px;
    }
    
    .search-title {
      font-size: 42px;
      margin-bottom: 50px;
    }
    
    .search-input-group {
      max-width: 700px;
    }
    
    .search-input {
      height: 60px;
      font-size: 17px;
      padding: 0 28px;
    }
    
    .search-button {
      width: 140px;
      height: 60px;
      font-size: 17px;
    }
    
    .tbanner {
      min-height: 450px !important;
    }
    
    .tbanner img {
      min-height: 450px;
    }
  }
  
  /* ========== 轮播图叠加在banner下半部分 ========== */
  
  /* 简单直接的叠加方法 - 轮播图一半叠加在banner上 */
  .loop.hui:first-of-type {
    background: transparent !important;
    margin-top: -150px !important;
    position: relative !important;
    z-index: 50 !important;
  }
  
  /* 强制优先级 - 确保轮播图叠加效果 */
  body .loop.hui:first-of-type {
    margin-top: -150px !important;
  }
  
  .tbanner + .loop.hui:first-of-type {
    margin-top: -150px !important;
  }
  
  /* 轮播图容器样式增强 */
  .loop.hui:first-of-type .special {
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
    border: 3px solid rgba(255,255,255,0.9) !important;
    background: #fff !important;
  }
  
  /* 后续内容正常间距 */
  .loop.hui:first-of-type + .loop {
    margin-top: 50px !important;
  }
  
  /* ========== Swiper 轮播图样式 ========== */
  
  /* Swiper 容器样式 */
  .special.swiper-container {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
  }
  
  /* Swiper slide 样式 */
  .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    height: 100%;
    
    /* 居中显示内容 */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
  }
  
  .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  /* 悬停效果 */
  .swiper-slide:hover img {
    transform: scale(1.05);
  }
  
  /* 自定义导航按钮样式 */
  .special .swiper-button-next,
  .special .swiper-button-prev {
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,.4);
    border-radius: 50%;
    color: #fff;
  }
  
  .special .swiper-button-next:after,
  .special .swiper-button-prev:after {
    font-size: 20px;
  }
  
  .special .swiper-button-next {
    right: 10px;
  }
  
  .special .swiper-button-prev {
    left: 10px;
  }
  
  /* 自定义分页器样式 */
  .special .swiper-pagination {
    bottom: 10px;
  }
  
  .special .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #fff;
    opacity: 0.5;
  }
  
  .special .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--accent-color);
  }
  
  /* 响应式样式调整 */
  @media (max-width: 1024px) {
    /* 平板和手机端轮播图高度调整 */
    .special.swiper-container {
      height: 300px;
    }
  
    /* 隐藏行业分类区域 */
    .topnav {
      display: none !important;
    }
}

@media (max-width: 768px) {
    /* 手机端样式 */
    .special.swiper-container {
      height: 235px;
      margin-top: 110px;
    }
    
    .special .swiper-button-next,
    .special .swiper-button-prev {
      width: 40px;
      height: 40px;
    }
    
    .special .swiper-button-next:after,
    .special .swiper-button-prev:after {
      font-size: 16px;
    }
    
    /* 手机端隐藏导航按钮，使用触摸滑动 */
    .special .swiper-button-next,
    .special .swiper-button-prev {
      display: none;
    }
  
    /* 隐藏推荐展会 */
    .recommended-exhibitions {
      display: none !important;
    }
  
    /* 隐藏最新展会 */
    .latest-exhibitions {
      display: none !important;
    }
  }
  
  
  
  
  
  /* ========== 图片4:3比例统一控制 ========== */
  
  /* 展会卡片样式由 style.css 统一管理，不在此处覆盖 */
  
  
  
  
  
  
  
  /* ========== 侧边栏热门展会样式 ========== */
  .hot-expo {
    margin-bottom: 20px;
  }
  
  .expo-sidebar {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .expo-sidebar-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
  }
  
  .expo-sidebar-item:last-child {
    border-bottom: none;
  }
  
  .expo-sidebar-item:hover {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 8px 4px;
    margin: 0 -4px;
  }
  
  .expo-thumb {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 3px;
    overflow: hidden;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
  }
  
  .expo-thumb a {
    display: block;
    width: 100%;
    height: 100%;
  }
  
  .expo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .expo-sidebar-item:hover .expo-thumb img {
    transform: scale(1.05);
  }
  
  .expo-content {
    flex: 1;
    min-width: 0;
    padding-top: 0;
  }
  
  .expo-content h4 {
    margin: 0 0 6px 0;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;
  }
  
  .expo-content h4 a {
    color: #333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
  }
  
  .expo-sidebar-item:hover .expo-content h4 a {
    color: var(--main-color);
  }
  
  .expo-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #999;
    margin-top: 2px;
  }
  
  .expo-time {
    color: #666;
    font-size: 13px;
  }
  
  .expo-hot {
    color: var(--accent-color);
    font-weight: 500;
    font-size: 13px;
  }
  
  /* ========== 手机端专用卡片区域 ========== */
  
  /* 默认隐藏，只在手机端显示 */
  .mobile-expo-cards,
  .mobile-article-cards {
    display: none;
    background: #f8f9fa;
    padding: 20px 0;
  }
  
  /* 只在手机端显示 */
  @media (max-width: 768px) {
    .mobile-expo-cards {
      display: block !important;
      margin-top: 0;
      background: #f5f7fa;
    }
    
    /* 列表页手机端卡片特殊样式 */
    .mobile-list-cards {
      background: #fff;
      padding: 20px 0;
    }
    
    .mobile-list-cards .mobile-expo-list {
      padding: 0 15px;
    }
    
    .mobile-expo-list {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    
    .mobile-expo-item {
      background: white;
      border-radius: 12px;
      padding: 16px;
      display: flex;
      align-items: center;
      gap: 12px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
      border: 1px solid #f0f0f0;
      transition: all 0.3s ease;
    }
    
    .mobile-expo-item:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 16px rgba(0, 103, 181, 0.1);
      border-color: var(--main-color);
    }
    
    .mobile-expo-logo {
      width: 60px;
      height: 60px;
      flex-shrink: 0;
      border-radius: 8px;
      overflow: hidden;
      background: #f8f9fa;
    }
    
    .mobile-expo-logo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    
    .mobile-expo-info {
      flex: 1;
      min-width: 0;
    }
    
    .mobile-expo-title {
      margin: 0 0 8px 0;
      font-size: 14px;
      font-weight: 600;
      line-height: 1.3;
      color: #2c3e50;
    }
    
    .mobile-expo-title a {
      color: inherit;
      text-decoration: none;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    
    .mobile-expo-title a:hover {
      color: var(--main-color);
    }
    
    .mobile-expo-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 6px;
      font-size: 11px;
    }
    
    .mobile-expo-hot {
      color: var(--accent-color);
      font-weight: 500;
    }
    
    .mobile-expo-days {
      color: var(--main-color);
      font-weight: 600;
      background: var(--main-color-lighter);
      padding: 2px 6px;
      border-radius: 10px;
      font-size: 10px;
    }
    
    .mobile-expo-date {
      font-size: 12px;
      color: #6c757d;
      margin-bottom: 0;
      flex: 1;
      line-height: 28px;
    }
    
    .mobile-expo-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 8px;
    }
    
    .mobile-register-btn {
      background: linear-gradient(135deg, var(--main-color) 0%, var(--main-color-light) 100%);
      color: white;
      border: none;
      padding: 6px 16px;
      border-radius: 15px;
      font-size: 11px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 2px 6px rgba(0, 103, 181, 0.3);
      flex-shrink: 0;
    }
    
    .mobile-register-btn:hover {
      background: linear-gradient(135deg, var(--main-color-dark) 0%, var(--main-color) 100%);
      transform: translateY(-1px);
      box-shadow: 0 4px 10px rgba(0, 103, 181, 0.4);
    }
    
    .mobile-register-btn:active {
      transform: translateY(0);
      box-shadow: 0 2px 4px rgba(0, 103, 181, 0.3);
    }
    
    /* 在列表页隐藏桌面端展会卡片 */
    .expo-cards {
      display: none !important;
    }
    
    /* 隐藏桌面端分页 */
    .loop .pages {
      display: none !important;
    }
    
    /* 手机端分页样式 */
    .mobile-pagination {
      padding: 15px;
      text-align: center;
      background: white;
      border-top: 1px solid #f0f0f0;
    }
    
    .mobile-pagination .pages {
      display: flex !important;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
      padding: 0;
    }
    
    .mobile-pagination .pages a,
    .mobile-pagination .pages b {
      padding: 8px 12px;
      font-size: 13px;
      min-width: 32px;
      height: 32px;
      line-height: 16px;
      border-radius: 6px;
      background: #f8f9fa;
      color: #495057;
      text-decoration: none;
      display: flex;
      align-items: center;
      justify-content: center;
      box-sizing: border-box;
      border: 1px solid #e9ecef;
      transition: all 0.2s ease;
      font-weight: 500;
    }
    
    /* 当前页样式 */
    .mobile-pagination .pages b {
      background: var(--main-color);
      color: white;
      font-weight: 600;
      border-color: var(--main-color);
      box-shadow: 0 2px 4px rgba(0, 103, 181, 0.2);
    }
    
    /* 悬停效果 */
    .mobile-pagination .pages a:hover {
      background: var(--main-color-lighter);
      color: var(--main-color);
      border-color: var(--main-color);
      transform: translateY(-1px);
      box-shadow: 0 2px 4px rgba(0, 103, 181, 0.15);
    }
    
    /* 首页、末页等文字按钮稍微宽一些 */
    .mobile-pagination .pages a:first-child,
    .mobile-pagination .pages a:last-child {
      min-width: 44px;
    }
    
    /* 数字页码按钮保持正方形 */
    .mobile-pagination .pages a[href*="page="],
    .mobile-pagination .pages b {
      min-width: 32px;
      width: 32px;
    }
    
    /* 列表页筛选区域手机端适配 */
    .screen {
      padding: 10px 15px;
      background: white;
      margin: 0 -15px;
    }
    
    .screen dl {
      margin-bottom: 10px;
    }
    
    .screen dt {
      font-size: 13px;
      margin-bottom: 5px;
      color: #666;
    }
    
    .screen dd {
      margin-left: 0;
    }
    
    .screen dd a {
      display: inline-block;
      padding: 4px 8px;
      margin: 2px 4px 2px 0;
      font-size: 12px;
      background: #f8f9fa;
      border-radius: 4px;
      color: #666;
      text-decoration: none;
    }
    
    .screen dd a.curr,
    .screen dd a:hover {
      background: var(--main-color);
      color: white;
    }
    
    .location {
      padding: 0px 15px;
      font-size: 12px;
      color: #999;
      background: #f8f9fa;
      margin: 0 -15px 10px -15px;
    }
    
    /* 列表页标题区域适配 */
    .loop-list .title {
      padding: 15px;
      margin: 0 -15px 0 -15px;
      background: white;
      border-bottom: 1px solid #f0f0f0;
    }
    
    .loop-list .title b {
      font-size: 16px;
      color: #333;
    }
    
    /* 文章列表页手机端样式适配 */
    .mobile-article-cards {
      display: block !important;
      margin: 20px 0;
      background: #f5f7fa;
      padding: 20px 0;
    }
    
    /* 只在文章列表页隐藏桌面端内容 - 使用兄弟选择器 */
    .mobile-article-cards ~ .view {
      display: none !important;
    }
    
    /* 特别针对文章列表页面的桌面端内容隐藏 */
    .mobile-article-cards ~ .view .newslist {
      display: none !important;
    }
    
    .mobile-article-cards ~ .view .vbox {
      display: none !important;
    }
    
    .mobile-article-cards ~ .view .col {
      display: none !important;
    }
    
    .mobile-article-cards ~ .view .side {
      display: none !important;
    }
    
    .mobile-article-list {
      padding: 0 15px;
      display: flex;
      flex-direction: column;
      gap: 15px;
    }
    
    .mobile-article-item {
      background: white;
      border-radius: 12px;
      padding: 16px;
      display: flex;
      gap: 12px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
      border: 1px solid #f0f0f0;
      transition: all 0.3s ease;
    }
    
    .mobile-article-item:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 16px rgba(0,0,0,0.1);
      border-color: var(--main-color);
    }
    
    .mobile-article-image {
      width: 80px;
      height: 80px;
      flex-shrink: 0;
      border-radius: 8px;
      overflow: hidden;
      background: #f8f9fa;
    }
    
    .mobile-article-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    
    .mobile-article-info {
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    
    .mobile-article-title {
      margin: 0 0 8px 0;
      font-size: 15px;
      font-weight: 600;
      line-height: 1.4;
      color: #2c3e50;
    }
    
    .mobile-article-title a {
      color: inherit;
      text-decoration: none;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    
    .mobile-article-title a:hover {
      color: var(--main-color);
    }
    
    .mobile-article-desc {
      font-size: 13px;
      color: #6c757d;
      line-height: 1.4;
      margin-bottom: 8px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    
    .mobile-article-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 12px;
    }
    
    .mobile-article-category {
      background: var(--main-color-lighter);
      color: var(--main-color);
      padding: 2px 8px;
      border-radius: 10px;
      font-weight: 500;
    }
    
    .mobile-article-date {
      color: #999;
    }
    
    /* 手机端热门展会适配 */
    @media (max-width: 768px) {
      .hot-expo {
        margin-top: 20px;
        padding: 15px;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
      }
      
      .expo-sidebar-item {
        padding: 15px 0;
      }
      
      .expo-sidebar-item:hover {
        background: #f8f9fa;
        border-radius: 8px;
        padding: 15px 10px;
        margin: 0 -10px;
      }
      
      .expo-thumb {
        width: 70px;
        height: 50px;
      }
      
      .expo-content h4 {
        font-size: 15px;
        margin-bottom: 8px;
      }
      
      .expo-meta {
        font-size: 13px;
      }
    }
    
    /* 详情页"更多报名"手机端样式适配 */
    .mobile-detail-cards {
      display: block !important;
      margin: 20px 0;
      background: #f5f7fa;
      padding: 20px 0;
    }
    
    .mobile-detail-cards .mobile-expo-list {
      padding: 0 15px;
    }
    
    /* 详情页隐藏桌面端展会卡片 */
    .mobile-detail-cards ~ .expo-cards {
      display: none !important;
    }
    
    /* 单页手机端适配 */
    #main .location {
      padding: 10px 15px;
      font-size: 12px;
      color: #999;
      background: #f8f9fa;
      margin: 0 -15px 15px -15px;
    }
    
    #main .view {
      display: block !important;
    }
    
    #main .view .col {
      width: 100% !important;
      float: none !important;
    }
    
    #main .view .side {
      display: none !important;
    }
    
    #main .vbox {
      padding: 0;
      background: white;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
      margin-bottom: 20px;
    }
    
    #main .hd.newhd {
      padding: 20px 20px 15px 20px;
      border-bottom: 1px solid #f0f0f0;
    }
    
    #main .hd.newhd h1 {
      font-size: 18px;
      line-height: 1.4;
      margin: 0;
      color: #2c3e50;
      font-weight: 600;
    }
    
    #main .endtext {
      padding: 20px;
      font-size: 15px;
      line-height: 1.6;
      color: #333;
    }
    
    #main .endtext img {
      max-width: 100% !important;
      height: auto !important;
      border-radius: 6px;
      margin: 10px 0;
    }
    
    #main .endtext p {
      margin-bottom: 15px;
    }
    
    #main .endtext h2,
    #main .endtext h3,
    #main .endtext h4 {
      margin-top: 25px;
      margin-bottom: 15px;
      color: #2c3e50;
    }
    
    #main .endtext h2 {
      font-size: 17px;
    }
    
    #main .endtext h3 {
      font-size: 16px;
    }
    
    #main .endtext h4 {
      font-size: 15px;
    }
    
    /* 文章详情页手机端适配 */
    #main .auor {
      padding: 12px 20px;
      background: #f8f9fa;
      font-size: 12px !important;
      color: #666 !important;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: nowrap;
      gap: 15px;
      border-radius: 0;
    }
    
    #main .auor span {
      font-size: 12px;
      color: #666;
      white-space: nowrap;
      flex-shrink: 0;
    }
    
    #main .auor span:first-child {
      min-width: 0;
    }
    
    #main .auor span:nth-child(2) {
      text-align: center;
      min-width: 60px;
    }
    
    #main .auor span:last-child {
      display: none !important;
    }
    
    #main .auor em {
      color: var(--main-color);
      font-weight: 500;
      font-style: normal;
    }
    
    #main .auor a {
      color: #666;
      text-decoration: none;
      padding: 3px 6px;
      border-radius: 3px;
      background: #fff;
      border: 1px solid #ddd;
      font-size: 11px;
      margin: 0 1px;
      transition: all 0.2s ease;
      display: inline-block;
    }
    
    #main .auor a:hover {
      background: var(--main-color);
      color: white;
      border-color: var(--main-color);
    }
    
    #main .diggtop {
      padding: 15px 20px;
      text-align: center;
      border-top: 1px solid #f0f0f0;
      border-bottom: 1px solid #f0f0f0;
      background: #fafbfc;
    }
    
    #main .titleurl {
      padding: 15px 20px;
      font-size: 13px;
      color: #666;
      background: #f8f9fa;
      border-radius: 0 0 8px 8px;
    }
    
    #main .titleurl .copyurl {
      color: var(--main-color);
      text-decoration: none;
      font-weight: 500;
    }
    
    #main .titleurl span {
      display: block;
      margin-top: 8px;
      font-size: 12px;
      color: #999;
    }
    
    #main .tag-page {
      padding: 15px 20px;
      background: white;
      margin-top: 15px;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    
    #main .tag-page a {
      display: inline-block;
      padding: 4px 10px;
      margin: 3px 6px 3px 0;
      background: var(--main-color-lighter);
      color: var(--main-color);
      text-decoration: none;
      border-radius: 12px;
      font-size: 12px;
      font-weight: 500;
    }
    
    #main .tag-page a:hover {
      background: var(--main-color);
      color: white;
    }
    
    /* 相关阅读推荐手机端适配 */
    #main .olink {
      background: white;
      border-radius: 8px;
      padding: 15px;
      margin-top: 15px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    
    #main .olink h4 {
      font-size: 16px;
      margin-bottom: 15px;
      color: #2c3e50;
      font-weight: 600;
      padding-bottom: 8px;
      border-bottom: 1px solid #f0f0f0;
    }
    
    #main .olink ul {
      display: block !important;
      list-style: none !important;
      padding: 0 !important;
      margin: 0 !important;
      width: 100% !important;
    }
    
  
    
    #main .olink li {
      display: block !important;
      width: 100% !important;
      margin-bottom: 15px !important;
      padding-bottom: 15px !important;
      border-bottom: 1px solid #f0f0f0 !important;
      list-style: none !important;
      float: none !important;
    }
    
    #main .olink li:last-child {
      border-bottom: none !important;
      margin-bottom: 0 !important;
      padding-bottom: 0 !important;
    }
    
    #main .olink li a {
      display: block !important;
      padding: 0 !important;
      text-decoration: none !important;
      color: #333 !important;
      transition: all 0.2s ease !important;
      position: relative !important;
      min-height: 70px !important;
      overflow: hidden !important;
    }
    
    #main .olink li a::after {
      content: "" !important;
      display: table !important;
      clear: both !important;
    }
    
    #main .olink li a:hover {
      transform: translateX(2px);
    }
    
    #main .olink li img {
      float: left !important;
      width: 80px !important;
      height: 60px !important;
      object-fit: cover !important;
      border-radius: 6px !important;
      background: #f8f9fa !important;
      display: block !important;
      margin-right: 12px !important;
    }
    
    #main .olink li p {
      margin: 0 0 4px 92px !important;
      padding: 0 !important;
      font-size: 14px !important;
      line-height: 1.4 !important;
      color: #2c3e50 !important;
      font-weight: 500 !important;
      display: block !important;
      overflow: visible !important;
      word-break: break-word !important;
      opacity: 1 !important;
      visibility: visible !important;
      height: auto !important;
      max-height: 2.8em !important;
      overflow: hidden !important;
    }
    
    #main .olink li span {
      display: block !important;
      margin-left: 92px !important;
      font-size: 12px !important;
      color: #999 !important;
      line-height: 1.2 !important;
      opacity: 1 !important;
      visibility: visible !important;
    }
  
    /* ========== 展会详情页 (view_download.htm) 手机端适配 ========== */
    .activity-header {
      background-image: var(--bg-image) !important;
      background-size: cover !important;
      background-position: center center !important;
      position: relative !important;
      z-index: 1;
      overflow: hidden;
      padding: 40px 15px !important;
      display: flex;
      flex-direction: column;
      justify-content: center;
      min-height: 300px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }
  
    .activity-header::before {
      content: '';
      position: absolute;
      top: 0; right: 0; bottom: 0; left: 0;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
      backdrop-filter: blur(2px);
      z-index: -1;
    }
  
    .activity-header .activity-info {
      flex-direction: column !important;
      gap: 20px !important;
    }
  
    .activity-header .activity-logo {
      display: none !important;
    }
  
    .activity-header .activity-details {
      text-align: center;
    }
  
    .activity-header .activity-badge {
      margin: 0 auto 15px auto !important;
      background: rgba(255, 255, 255, 0.15) !important;
      border: 1px solid rgba(255, 255, 255, 0.2);
      backdrop-filter: blur(5px);
    }
  
    .activity-header .activity-details h1 {
      font-size: 24px !important;
      margin: 0 0 20px 0 !important;
      line-height: 1.4 !important;
      text-shadow: 0 2px 5px rgba(0,0,0,0.6);
    }
  
    .activity-header .activity-meta {
      display: block !important;
      margin-bottom: 25px !important;
      text-align: center;
      color: #f0f0f0;
      text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    }
  
    .activity-header .meta-item {
      font-size: 14px;
      margin-bottom: 10px;
    }
  
    .activity-header .meta-item:last-child {
      margin-bottom: 0;
    }
  
    .activity-header .meta-item strong {
      color: #fff;
      font-weight: 600;
    }
  
    .activity-header .meta-item a {
        color: #fff !important;
        text-decoration: underline !important;
    }
  
    .activity-header .activity-actions {
      justify-content: center !important;
      margin-top: 15px !important;
      flex-direction: column;
      align-items: center;
    }
  
    .activity-header .action-btn.secondary {
      display: none !important;
    }
  
    .activity-header .action-btn.primary {
      width: 100%;
      max-width: 300px;
      padding: 14px 20px !important;
      font-size: 16px !important;
      border-radius: 30px !important;
    }
  
    .activity-header .rating-card {
      display: none !important;
    }
  
    /* --- 详情页内容区域适配 --- */
    .activity-tabs {
        margin-bottom: 20px !important;
    }
  
    .activity-tabs .tab-nav {
      overflow-x: auto;
      white-space: nowrap;
      -webkit-overflow-scrolling: touch;
      padding-bottom: 10px;
      margin-bottom: -12px;
      border-bottom: none !important;
    }
  
    .activity-tabs .tab-nav::-webkit-scrollbar {
      height: 0;
      display: none;
    }
  
    .activity-tabs .tab-link {
      padding: 10px 15px !important;
      font-size: 15px !important;
      flex-shrink: 0;
      display: inline-block;
      border-bottom: 3px solid transparent !important;
    }
  
    .activity-tabs .tab-link[style*="border-bottom: 3px solid #4c83ff"] {
      color: var(--main-color) !important;
    }
  
    .content-section {
      scroll-margin-top: 80px;
      margin-bottom: 25px !important;
    }
  
    #main .vbox {
      padding: 15px !important;
      border-radius: 12px !important;
      background: #fff;
    }
  
    .endtext {
        padding: 15px 0 !important;
    }
  
    .endtext > div {
        font-size: 15px !important;
        line-height: 1.7 !important;
    }
  }
  
   