/* ================================================================
   岳西人网 - 新闻资讯页样式 (pressInquiries.css)
   包含：原有样式 + 从内联样式迁移的内容
   ================================================================ */

/* --- 原有样式保留 --- */
.DaoHang-right .adiv {
  color: #fff;
}

#app {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.elTabs {
  margin: auto;
}

.elTabs .el-tabs__item {
  color: #fe6700;
  height: 100px;
  line-height: 100px;
  position: relative;
  font-size: 20px;
  font-weight: bold;
}

.elTabs .el-tabs__nav-prev {
  line-height: 100px;
}

.elTabs .el-tabs__nav-next {
  line-height: 100px;
}

.elTabs .el-tabs__active-bar {
  background-color: #fe6700;
  height: 2px;
}

.tabsContent {
  border: 1px solid #ffffff;
  display: flex;
  height: 620px;
  overflow: hidden;
  border-radius: 30px;
  cursor: pointer;
}

.tabsContent:hover .info-box::after {
  width: 100%;
  border-bottom: 3px solid #fe6700;
}

.tabsContent:hover .info-img img {
  transform: scale(1.2);
}

.tabsContent .info-box {
  width: 50%;
  margin: 97px 100px 80px 73px;
  text-align: left;
  position: relative;
}

.tabsContent .info-box::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  border-bottom: 1px solid #d4d4d4;
}

.tabsContent .info-box::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  transition: all 0.3s ease;
  border-bottom: 3px solid #fe6700;
}

.tabsContent .info-box .tabs-title {
  font-size: 24px;
  font-weight: 400;
  color: #fe6700;
  margin-bottom: 60px;
}

.tabsContent .info-box .date {
  display: flex;
  font-size: 16px;
  font-weight: 400;
  color: #999;
  display: flex;
  align-items: center;
}

.tabsContent .info-box .date .iconfont {
  font-size: 28px;
  margin-right: 5px;
}

.tabsContent .info-box .title {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  margin: 14px 0 20px;
  line-height: 55px;
}

.tabsContent .info-box .content-text {
  font-weight: 600;
  font-size: 16px;
  color: #999;
  line-height: 35px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.tabsContent .info-img {
  width: 50%;
  overflow: hidden;
  cursor: pointer;
}

.tabsContent .info-img img {
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
  object-fit: cover;
}

.search-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5%;
  margin-top: 200px;
  margin-bottom: 80px;
}

.pc_card {
  padding-bottom: 20px;
  background-color: #ffffff;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  border: 1px solid #F0F0F0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: all 0.3s;
}

.pc_card .card-img {
  width: 100%;
  height: 276px;
  object-fit: cover;
}

.pc_card .card-info {
  margin: 32px;
}

.pc_card .card-info .date {
  font-weight: 400;
  font-size: 16px;
  color: #999;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.pc_card .card-info .date .icon-shijian {
  font-size: 30px;
}

.pc_card .card-info .card-title {
  font-size: 24px;
  line-height: 25px;
  color: #666;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 700;
}

.pc_card .card-info .details {
  display: flex;
  align-items: center;
  margin-top: 43px;
  width: 140px;
  height: 40px;
  border: 1px solid #fe6700;
  border-radius: 5px;
  color: #fe6700;
  justify-content: center;
  font-size: 14px;
  font-weight: 400;
  background-color: #ffffff;
  cursor: pointer;
}

.pc_card .card-info .details .icon-xiangyoujiaohuan {
  margin-left: 15px;
  font-weight: bold;
}

.pc_card:hover .card-title {
  color: #FF6B00;
}

.paging-box {
  display: flex;
  justify-content: center;
  margin-bottom: 80px;
}

.paging-box .paging {
  background-color: #fff;
}

.paging-box .paging .el-pager .active {
  background-color: #fe6700 !important;
}

.pagination {
  display: grid;
  gap: 10px;
  padding: 3px 10px;
  border-radius: 5px;
}

.pagination a {
  display: block;
  width: 28px;
  line-height: 28px;
  text-align: center;
  border-radius: 3px;
  cursor: pointer;
  color: #333;
  font-weight: bold;
  background-color: #f4f4f5;
}

.pagination a:hover {
  color: #fe6700;
}

.pagination .active {
  background-color: #fe6700;
  color: #fff !important;
}

.pagination .icon {
  display: block;
  width: 28px;
  line-height: 28px;
  text-align: center;
  border-radius: 3px;
  background-color: #f4f4f5;
  color: #656781;
  font-weight: bold;
  cursor: pointer;
}

.tabs-box {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.tabs-box .tabs {
  display: grid;
  gap: 45px;
  margin: 20px auto 0;
  border-bottom: 1px solid #f0f0f0;
}

.tabs-box .tabs a {
  width: 100%;
  display: flex;
  justify-content: center;
  line-height: 100px;
  position: relative;
  font-size: 20px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
  letter-spacing: 2px;
}

.tabs-box .tabs .selected {
  color: #fe6700;
}

.tabs-box .tabs .selected::before {
  content: '';
  height: 2px;
  background-color: #fe6700;
  position: absolute;
  bottom: 0;
  left: -8%;
  right: -8%;
}

/* ================================================================
   从内联样式迁移的内容
   ================================================================ */

/* --- Tab 导航 --- */
.press-tabs-wrap {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.press-tabs-nav {
  display: flex;
  list-style: none;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  overflow-x: auto;
  gap: 0;
}

.press-tabs-nav li {
  flex-shrink: 0;
  padding: 18px 28px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-3);
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all .25s;
  white-space: nowrap;
}

.press-tabs-nav li:hover {
  color: var(--primary);
}

.press-tabs-nav li.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* --- 主内容 --- */
.press-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px 40px;
}

/* --- 精选文章 --- */
.featured-card {
  display: flex;
  gap: 32px;
  padding: 32px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
  transition: all .3s;
  text-decoration: none;
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.featured-card .card-img {
  width: 260px;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.featured-card .card-info {
  flex: 1;
}

.featured-card .card-tag {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  margin-bottom: 12px;
}

.featured-card .card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 10px;
  line-height: 1.4;
}

.featured-card .card-summary {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.7;
  margin-bottom: 16px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.featured-card .card-meta {
  font-size: 12px;
  color: var(--text-4);
  display: flex;
  align-items: center;
  gap: 16px;
}

.featured-card .card-meta .iconfont {
  margin-right: 4px;
}

.featured-card .card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
}

/* --- 文章列表 --- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.news-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all .3s;
  text-decoration: none;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.news-card .card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-card .card-body {
  padding: 20px;
}

.news-card .card-date {
  font-size: 12px;
  color: var(--text-4);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-card .card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.5;
  margin-bottom: 6px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.news-card .card-summary {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.6;
  margin-bottom: 12px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.news-card .card-btn {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* --- 分页 --- */
.pagination-wrap {
  display: flex;
  justify-content: center;
  padding: 0 0 40px;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination a,
.pagination span {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-3);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
  cursor: pointer;
}

.pagination a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.pagination .active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.pagination .ellipsis {
  border: none;
  cursor: default;
  color: var(--text-4);
}

/* --- 响应式 --- */
@media(max-width: 900px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .featured-card {
    flex-direction: column;
  }
  
  .featured-card .card-img {
    width: 100%;
    height: 200px;
  }
}

@media(max-width: 750px) {
  .elTabs {
    margin: auto;
    width: 100%;
  }
  
  .elTabs .el-tabs__item {
    height: 50px;
    line-height: 50px;
    font-size: 3vw;
  }
  
  .elTabs .el-tabs__nav-prev,
  .elTabs .el-tabs__nav-next {
    line-height: 50px;
  }
  
  .tabsContent {
    display: none;
  }
  
  .search-box {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 0;
    margin-bottom: 0;
  }
  
  .pc_card {
    margin-bottom: 25px;
  }
  
  .pc_card .card-img {
    height: 150px;
  }
  
  .pc_card .card-info {
    margin: 15px 4vw;
  }
  
  .pc_card .card-info .date {
    font-size: 3vw;
  }
  
  .pc_card .card-info .card-title {
    font-size: 4vw;
  }
  
  .mobileCard {
    display: flex;
    margin-top: 40px;
  }
  
  .press-tabs-nav {
    padding: 0 16px;
  }
  
  .press-tabs-nav li {
    padding: 14px;
    font-size: 13px;
  }
  
  .press-main {
    padding: 40px 16px;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 751px) {
  .mobileCard {
    display: none;
  }
  
  .paging-box .paging {
    display: none !important;
  }
}
