@charset "UTF-8";

.foot-bg {
  border-width: 0px;
  position: absolute;
  width: 100%;
  height: 120px;
  background-color: rgba(51, 51, 51, 1);
  color: #999999;
  margin: 0 auto;
  font-size: 14px !important;
  display: flex;
  justify-content: center;
  padding: 0;
}

.wai-href {
  margin-left: 60px;
  padding-top: 30px;
  display: flex;
  justify-content: center;
  font-size: 12px !important;
}

.icon-href {
  width: 80px;
  text-align: center;
  line-height: 40px;
}

.icon-href-item {
  width: 24px;
  height: 24px;
  margin: 0 auto;
  background-size: 100% 100%;
  cursor: pointer;
}

.search-input {
  border-radius: 15px;
  padding-left: 15px;
  border: 1px solid rgba(128, 128, 128, 0.486);
}

.box-border-top {
  /* border-top: 1px solid gray; */
}

.zhiboing {
  width: 75px;
  height: 30px;
  background: #ff8707;
  position: absolute;
  top: 0;
  right: 0;
  color: white;
  line-height: 30px;
  text-align: center;
}

.lunbo-pic-size {
  height: 306px;
}

.zhibo-img-size {
  width: 100%;
  height: 189px;
}

.left-left-title {
  border-left: 4px solid #0065cc;
  padding-left: 15px;
  line-height: 30px;
}

.left-cont-top {
  max-height: 610px;
  overflow: hidden;
}

.left-cont-top-item {
  border-bottom: 1px solid rgba(128, 128, 128, 0.679);
  padding-bottom: 15px;
}

.left-cont-top-item-img {
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
}

.left-cont-top-item-text {
  font-size: 14px;
  color: #999999;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  padding-top: 15px;
}

.left-cont-bot {
  max-height: 600px;
  overflow: hidden;
}

.left-cont-bot-item {
  position: relative;
}

.left-cont-bot-item-img {
  height: 168px;
  overflow: hidden;
}

.left-cont-bot-item-text {
  background-color: #161616bf;
  font-size: 14px;
  color: white;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  position: absolute;
  bottom: 0;
  z-index: 999;
  width: 100%;
  height: 35px;
  line-height: 35px;
  padding-left: 10px;
  box-sizing: border-box;
}

.lunbo-bot-text {
  background: rgba(92, 86, 86, 0.552);
  width: 100%;
  position: absolute;
  top: 265px;
  z-index: 10;
  height: 40px;
  line-height: 40px;
  color: #fff;
  text-align: left;
  padding-left: 20px;
  font-size: 16px;
}

.carousel-indicators-new {
  position: absolute;
  right: 0;
  z-index: 15;
  display: -ms-flexbox;
  -ms-flex-pack: center;
  justify-content: center;
  list-style: none;
  height: 100%;
  overflow: hidden;
}

.carousel-indicators-new li {
  font-size: 16px;
  box-sizing: content-box;
  -ms-flex: 0 1 auto;
  flex: 0 1 auto;
  width: 70px;
  height: 39px;
  line-height: 35px;
  cursor: pointer;
  background-color: #000000a8;
  color: white;
  background-clip: prgb(33, 32, 32)x;
  /* border-top: 10px solid transparent;
  border-bottom: 10px solid transparent; */
  /* opacity: .5; */
  transition: opacity 0.6s ease;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .carousel-indicators-new li {
    transition: none;
  }
}

.carousel-indicators-new .active {
  background-color: #025ebc;
  opacity: 1;
}

.center-item {
  padding: 10px 0 10px 0;
  height: 140px;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(128, 128, 128, 0.679);
  display: flex;
}

.center-item-img {
  width: 40%;
  height: 100%;
  border-radius: 15px;
  overflow: hidden
}

.center-item-text {
  width: 60%;
  height: 100%;
  padding-left: 20px;
  box-sizing: border-box;
}

.center-item-tl {
  color: black;
  height: 42px;
}

.center-item-subtl {
  color: gray;
}

.center-item-from {
  color: gray;
}

.center-item-icon {
  width: 100%;
  height: 30px;
  box-sizing: border-box;
  justify-content: end;
}

.white-text-link {
  color: #fff;
}

.white-text-link:hover {
  cursor: pointer;
  color: rgba(255, 255, 255, 0.788);
}

.bottom-items {
  border-bottom: 1px solid rgba(128, 128, 128, 0.679);
}

.center-center-title {
  width: 100%;
  /* height: 70px; */
  /* background: gray; */
  overflow: hidden;
  border-top: 2px solid #0065cc;
  box-sizing: border-box;
}

.center-list {
  list-style: none;
  overflow: hidden;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 35px;
  display: flex;
  flex-wrap: wrap;
}

.center-list div {
  height: 100%;
  width: 60px;
  overflow: hidden;
  font-size: 12px;
  padding: 0 3px;
  box-sizing: border-box;
  cursor: pointer;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (prefers-reduced-motion: reduce) {
  .center-list li {
    transition: none;
  }
}

.center-list .active {
  background-color: #0065cc;
  opacity: 1;
  color: #fff;
}

/* 首页顶部悬浮框 */
.hover-search-container {
  position: relative;
  display: inline-block;
}

/* 弹出层样式 */
.search-dropdown-panel {
  display: none;
  /* 默认隐藏 */
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  width: 250px;
  /* 弹出层宽度 */
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  padding: 1rem;
  margin-top: 2px;
}

/* 触发a标签样式优化 */
.hover-trigger {
  text-decoration: none;
  display: inline-block;
  color: #0d6efd;
}

.hover-trigger:hover {
  color: #0a58ca;
  text-decoration: underline;
}

/* 分类选项样式 */
.category-item {
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  transition: background-color 0.2s;
  font-size: 12px;
}

.category-item.active {
  background-color: #0d6efd;
  color: #fff;
}

.category-item:hover:not(.active) {
  background-color: #e9ecef;
}

/* 数据列表项样式 */
.data-item {
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  transition: background-color 0.2s;
  font-size: 12px;
}

.data-item:hover {
  background-color: #e9ecef;
}

/* 搜索框聚焦样式 */
#searchInput:focus {
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
  border-color: #86b7fe;
}

.left-bar {
  border-width: 0px;
  width: 100%;
  border: none;
  border-radius: 0px;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  font-family: '微软雅黑';
  font-weight: 400;
  font-style: normal;
  text-align: center;
  cursor: pointer;
}

.zhengce-list {
  background-color: rgba(245, 245, 245, 1);
  color: #666666;
  line-height: 20px;
  text-align: center;
}

.left-bar .active {
  background-color: #0065CC;
  opacity: 1;
  color: #fff;
}

#dateContainer {
  text-align: center;
  color: #666666;
  width: 100%;
  font-family: '微软雅黑 Bold', '微软雅黑 Regular', '微软雅黑';
  font-weight: 700;
  font-style: normal;
  font-size: 22px;
  line-height: 32px;
  box-sizing: border-box;
}

.btn-container {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  font-size: 14px;
  color: #999999;
}

.btn {
  padding: 4px 12px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  color: #999999;
  font-size: 12px;
}

.btn.active {
  color: #007bff;
  border-color: #007bff;
}

.refresh-area {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.title-view .center-item-img {
  display: none;
}

.lunbo-bottom-text {
  background: rgba(92, 86, 86, 0.552);
  width: 100%;
  position: absolute;
  bottom: 0;
  z-index: 10;
  height: 40px;
  line-height: 40px;
  color: #fff;
  text-align: left;
  padding-left: 20px;
  font-weight: 700;
  font-size: 18px;
}

.hand-icon {
  position: absolute;
  right: 15px;
  bottom: 0;
  width: 24px;
  height: 24px;
  background-size: 100% 100%;
  cursor: pointer;
  animation: shake-left-right 1s ease-in-out infinite;
}

/* 左右摇动动画：仅使用translateX实现水平位移 */
@keyframes shake-left-right {
  0% {
    transform: translateX(0);
    /* 初始位置 */
  }

  25% {
    transform: translateX(-8px);
    /* 向左晃动（幅度可调整） */
  }

  50% {
    transform: translateX(0);
    /* 回正 */
  }

  75% {
    transform: translateX(8px);
    /* 向右晃动（幅度可调整） */
  }

  100% {
    transform: translateX(0);
    /* 回到初始位置 */
  }
}


.wenku-lanmu-title {
  border-top: 3px solid rgba(0, 101, 204, 1);
  cursor: pointer;
}

.wenku-lanmu-title:hover {
  color: #007bff;
}


/* 左侧导航 */
.sidebar {
  width: 120px;
  background-color: #f5f5f5;
  transition: position 0.3s ease, top 0.3s ease;
  margin-top: 20px;
  position: fixed;
  left: calc((100% - 1140px) / 2 - 145px);
}

.sidebar div {
  display: block;
  text-align: center;
  height: 50px;
  line-height: 50px;
  font-size: 16px;
  border-left: 1px solid #f0f0f0;
  border-right: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  color: #000;
}

.sidebar.fixed {
  position: fixed;
  top: 0;
  left: calc((100% - 1140px) / 2 - 140px);
  margin-top: 0;
}

.zhibo-home {
  cursor: pointer;
  color: black !important;
}

.zhibo-home:hover {
  color: #007bff;
}

.xiaoshou-site {
  width: 21px;
  height: 21px;
  background-size: 100% 100%;
  animation: shake-left-right 1s ease-in-out infinite;
  margin-left: 10px;
}

.chanye-mulu {
  text-align: center;
  height: 40px;
  line-height: 40px;
  color: #000;
}

.chanye-mulu:hover {
  color: #fff !important;
  /* background-color: #0065cc; */
  cursor: pointer;
}

.vertical-title {
  writing-mode: vertical-lr;
  text-orientation: upright;
  flex-shrink: 0;
  margin-right: 20px;
  line-height: 1.8;
  letter-spacing: 4px;
  top: auto !important;
}

/* 城市之星 */
.tag-container {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  width: fit-content;
}

.tag {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

/* 默认选中“全部”的样式 */
.tag.active {
  background: #0066cc;
  color: #fff;
}

.tag:not(.active):hover {
  background: #f5f5f5;
}

.tag-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  /* 继承文字颜色 */
}

.tag-more {
  color: #999;
}

/* 移动端适配样式 */
@media (max-width: 768px) {

  /* 内容区域移动端适配 */
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .center-item {
    height: auto;
    padding: 15px 0;
    /* flex-direction: column; */
  }

  .center-item-img {
    width: 40%;
    height: 110px;
    margin-bottom: 10px;
    margin-right: 10px;
  }

  .center-item-text {
    width: 100% !important;
    padding-left: 0;
  }

  /* 左侧栏移动端适配 */
  .left-left-title {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .left-cont-top-item-img {
    height: 120px;
  }

  .left-cont-bot-item-img {
    height: 140px;
  }

  /* 搜索框移动端适配 */
  .search-input {
    width: 100%;
    margin-bottom: 10px;
  }

  /* 导航栏移动端适配 */
  .navbar-nav-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .navbar-nav {
    flex-wrap: nowrap;
  }

  .nav-item {
    white-space: nowrap;
  }

  /* 右侧栏移动端显示 */
  .col-sm-4.pl-4.d-none.d-lg-block {
    display: block !important;
    margin-top: 20px;
    padding-left: 15px !important;
  }

  /* 顶部导航移动端适配 */
  /* .cm-top-navbar .row {
    flex-direction: column;
  } */

  .cm-top-navbar .col-md-5,
  .cm-top-navbar .col-md-2 {
    width: 100%;
    text-align: center !important;
    margin-bottom: 10px;
  }

  /* 直播基地移动端适配 */
  .zhibo-img-size {
    height: 150px;
  }

  /* 侧边栏移动端隐藏 */
  .sidebar {
    display: none;
  }
}

@media (max-width: 1199px) {
  .search-input {
    width: 110px !important;
  }

  .left-bar {
    width: 100%;
    display: flex !important;
    justify-content: space-around;
    padding: 0 15px;
  }

  .zhengce-list {
    width: 16.6% !important;
  }
}

/* 移动端交互优化 */
@media (max-width: 768px) {

  /* 触摸优化 */
  .nav-link,
  .btn,
  .center-item,
  .left-cont-top-item,
  .left-cont-bot-item {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    touch-action: manipulation;
  }

  /* 点击反馈效果 */
  .center-item:active,
  .left-cont-top-item:active,
  .left-cont-bot-item:active {
    background-color: rgba(0, 101, 204, 0.05);
    transition: background-color 0.1s;
  }

  /* 轮播图滑动支持 */
  .carousel-inner {
    touch-action: pan-y;
  }

  /* 导航栏滑动支持 */
  .navbar-nav-scroll {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
  }

  .navbar-nav-scroll::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Edge */
  }

  /* 移动端图片加载优化 */
  img {
    max-width: 100%;
    height: auto;
  }

  /* 移动端链接点击区域扩大 */
  .nav-link,
  .zhibo-home {
    padding: 8px 12px;
    display: inline-block;
  }

  /* 移动端下拉菜单优化 */
  .dropdown-menu {
    position: fixed !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    max-height: 50vh;
    overflow-y: auto;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  }

  /* 移动端表单优化 */
  .form-control {
    font-size: 16px;
    /* 防止iOS缩放 */
    padding: 12px;
  }
}

.header-none {
  display: flex;
}