* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: '微软雅黑', sans-serif;
}

a {
  text-decoration: none;
}

/* 顶部样式 */
.site-header {
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
}

.welcome-text {
  font-size: 14px;
  color: #333;
}

.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  width: 19px;
  height: 19px;
  margin-right: 10px;
}

.logo-text {
  font-size: 14px;
  color: #999999;
  font-weight: bold;
}

/* Banner样式 */
.banner {
  width: 100%;
}

.banner img {
  width: 100%;
  display: block;
}

/* 导航模块样式 */
.bygj-nav {
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 0 15px; */
}

/* 面包屑导航 */
.crumb-container {
  padding: 15px 0;
}

.crumb-path {
  font-size: 16px;
  color: #918f8f;
}
.crumb-path a{
  font-size: 16px;
  color: #918f8f;
}

.crumb-item {
  display: inline-block;
  vertical-align: middle;
}

.crumb-separator {
  display: inline-block;
  margin: 0 8px;
  color: #999;
  vertical-align: middle;
}

.crumb-item.active {
  color: #ce0101;
}

/* 选项卡导航 */
.bygj-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0;
  border-radius: 0;
  overflow: hidden;
}

.tab-container {
  display: flex;
  flex-grow: 1;
  max-width: 1050px;
  margin: 0;
  font-size: 24px;
}

.tab-item {
  flex: 1;
  text-align: center;
  /* font-size: 18px; */
  height: 65px;
  line-height: 65px;
  background-color: #ffecec;
  color: #e74c4d;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  margin: 0;
}

.tab-item.active {
  background-color: #e64545;
  color: #fff;
}

.tab-item:not(.active):hover {
  background-color: #ffd5d5;
}

.tab-arrow {
  width: 60px;
  height: 65px;
  line-height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ff7a7a;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: 0;
  padding: 0;
  border: none;
}

.tab-arrow:hover {
  background-color: #e64545;
}

/* 中央媒体重庆行 */
.media-container {
  max-width: 1200px;
  margin: 30px auto;
}

.title-img {
  width: 100%;
  display: block;
  margin-bottom: 60px;
  margin-top: 60px;
}

.content-box {
  display: flex;
  justify-content: space-between;
}

/* 左侧内容区域 */
.content-text {
  background-color: #fff;
  padding: 15px;
  box-sizing: border-box;
  padding-right: 80px;
  /* padding-top: 0; */
}

.content-text .title {
  cursor: pointer;
  font-weight: 500;
  font-size: 24px;
  color: #2f2e2e;
  line-height: 33px;
  margin-bottom: 10px;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 1;
}

.text-box {
  display: flex;
  align-items: center;
  /* margin-bottom: 15px; */
}

.content-icon {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #918f8f;
  margin-right: 10px;
  flex-shrink: 0;
}

.text-item {
  font-size: 20px;
  color: #2f2e2e;
  height: 40px;
  line-height: 50px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.text-item:hover {
  color: #e74c4d;
}

/* 右侧轮播区域 */
.dynamicState_content {
  width: 670px;
  position: relative;
}

.content-box > div:first-child {
  width: 520px;
}

.carousel-box {
  height: 100%;
  overflow: hidden;
  position: relative;
}
.el-carousel {
  height: 100%;
}

.el-carousel__container {
  position: relative;
  height: 100%;
}

.el-carousel__item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: inline-block;
  overflow: hidden;
  z-index: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.el-carousel__item.is-active {
  z-index: 1;
}

.img-carousel {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.simp-box {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #d82f2fe6;
  color: #fff;
  padding: 20px 12px;
  margin: 0;
  font-size: 18px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 轮播指示器 */
.el-carousel__indicators {
  position: absolute;
  bottom: 25px;
  right: 15px;
  margin: 0;
  padding: 0;
  z-index: 2;
  list-style: none;
}

.el-carousel__indicator {
  display: inline-block;
  padding: 0 4px;
}

.el-carousel__button {
  display: block;
  width: 10px;
  height: 10px;
  background-color: #fff;
  border: none;
  border-radius: 50%;
  padding: 0;
  margin: 0;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s;
}

.el-carousel__indicator.is-active .el-carousel__button {
  opacity: 1;
}

.el-carousel__button:hover {
  transform: scale(1.2);
  opacity: 1;
}

/* 第一届巴渝工匠 */
.bygj-section {
  max-width: 1200px;
  margin: 30px auto;
}

.bygj-content {
  display: flex;
  justify-content: space-between;
}

.bygj-left {
  width: 350px;
}

.bygj-right {
  width: 860px;
  margin-left: 30px;
}

/* 标题样式 */
.artisan-title {
  width: 150px;
  height: 40px;
  line-height: 40px;
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  background-color: #bc1906;
  text-align: center;
}

/* 左侧轮播图 */
.artisan-carousel {
  position: relative;
  height: 540px;
  overflow: hidden;
  background-color: #f8f8f8;
}

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

.artisan-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #2f2e2eb3;
  color: #fff;
  padding: 15px;
  margin: 0;
  font-size: 18px;
  text-align: left;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 长方形指示器 */
.artisan-indicators {
  position: absolute;
  bottom: 5px;
  right: 50%;
  transform: translateX(50%);
  margin: 0;
  padding: 0;
  z-index: 2;
  list-style: none;
  display: flex;
}

.artisan-indicator {
  display: inline-block;
  margin: 0 5px;
}

.artisan-button {
  display: block;
  width: 13px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.6);
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.artisan-indicator.is-active .artisan-button {
  background-color: #fff;
}

/* 右侧相关报道 */
.report-box {
  height: 540px;
  background-color: #fff;
  overflow: hidden;
  box-shadow: 0 0 8px 2px #c7c7c780;
}

.report-top {
  display: flex;
  width: 96%;
  padding: 20px 0;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #eee;
  margin: 0 auto;
}

.report-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  margin-right: 20px;
}

.report-top-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
}

.report-top-title {
  font-weight: 500;
  font-size: 20px;
  color: #2f2e2e;
  padding-bottom: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.report-top-text {
  font-size: 16px;
  color: #2f2e2e;
  line-height: 37px;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 2;
  margin-bottom: 16px;
}

.report-top-time {
  font-size: 16px;
  color: #999;
  text-align: left;
}

.report-bottom {
  padding: 10px 20px;
}

.report-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: inherit;
}

.report-item:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.report-icon {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #918f8f;
  margin-right: 10px;
  flex-shrink: 0;
}

.report-text-box {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.text-left {
  font-size: 18px;
  color: #2f2e2e;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-right {
  font-size: 18px;
  color: #2f2e2e;
  margin-left: 20px;
}

/* 轮播图链接样式 */
.artisan-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
}

/* 报道链接样式 */
.report-top-link {
  display: flex;
  text-decoration: none;
  color: inherit;
}

.report-item:hover .text-left {
  color: #bc1906;
}

.report-top-link:hover .report-top-title {
  color: #bc1906;
}

/* 第二届巴渝工匠 */
.artisan-title-box {
  margin-bottom: 20px;
  margin-top: 20px;
  border-bottom: 1px solid #bc1906;
}

.photo-box {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.photo-item {
  width: 20%;
  height: 200px;
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: #fff;
}

.photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.overlay p {
  color: #fff;
  text-align: center;
  padding: 10px;
  margin: 0;
  font-size: 16px;
}

.photo-item:hover .overlay {
  opacity: 1;
}

.photo-item:hover .photo-img {
  transform: scale(1.1);
}

/* 第二届巴渝工匠 - 相关报道 */
.detail-box {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 20px;
}

.detail-item {
  width: 50%;
  padding: 15px;
  display: flex;
  text-decoration: none;
  color: #333;
  /* border-bottom: 1px solid #eee; */
  transition: background-color 0.3s ease;
}

.detail-item:hover {
  background-color: #f9f9f9;
}

.detail-item:hover .detail-text {
  color: #bc1906;
}

.detail-image-box {
  width: 240px;
  height: 160px;
  margin-right: 15px;
  overflow: hidden;
}

.detail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.detail-item:hover .detail-image {
  transform: scale(1.05);
}

.detail-text-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.detail-text {
  font-size: 20px;
  color: #2f2e2e;
  line-height: 35px;
  max-height: 105px;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin-bottom: 32px;
}

.detail-time {
  font-size: 18px;
  color: #939393;
  line-height: 35px;
}

/* 分页 */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 50px 0;
  font-size: 16px;
}

.pagination-info {
  margin-right: 15px;
  color: #666;
}

.pagination-select {
  margin-right: 15px;
  position: relative;
}

.pagination-select select {
  height: 36px;
  line-height: 36px;
  border: 1px solid #ddd;
  padding: 0 25px 0 10px;
  color: #333;
  background-color: #fff;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  outline: none;
}

.pagination-select:after {
  content: '';
  position: absolute;
  right: 10px;
  top: 50%;
  margin-top: -2px;
  border-top: 6px solid #666;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  pointer-events: none;
}

.pagination-nav {
  display: flex;
  align-items: center;
}

.page-item,
.page-arrow,
.page-more {
  display: inline-block;
  min-width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  margin: 0 4px;
  border: 1px solid #ddd;
  color: #666;
  text-decoration: none;
  transition: all 0.3s;
}

.page-item:hover,
.page-arrow:hover {
  border-color: #bc1906;
  color: #bc1906;
}

.page-item.active {
  background-color: #bc1906;
  border-color: #bc1906;
  color: #fff;
  cursor: default;
}

.page-more {
  border: none;
}

/* 页脚 */
.site-footer {
  background-color: #bc1906;
  color: #fff;
  padding: 30px 0;
  text-align: center;
  margin-top: 60px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  line-height: 1.8;
}

.copyright,
.address,
.icp {
  margin-bottom: 5px;
}

@media screen and (max-width: 1000px) {
  .bygj-nav {
    padding: 0 15px !important;
  }
  .tab-container {
    font-size: 10px;
    margin: 0 10px;
  }
  .tab-arrow {
    width: 50px;
  }
  .media-container {
    padding: 0 15px;
    width: 100%;
  }
  .content-box {
    display: flex;
    flex-direction: column;
  }
  .content-box > div:first-child {
    width: 100%;
  }
  .content-text .title {
    font-size: 20px;
  }
  .text-item {
    font-size: 16px;
  }
  .content-text {
    padding: 10px 0px;
  }
  .bygj-section {
    padding: 0 15px;
    width: 100%;
  }
  .bygj-content {
    display: flex;
    flex-direction: column;
  }
  .bygj-left {
    width: 100%;
  }
  .bygj-right {
    width: 100%;
    margin-left: 0px;
    margin-top: 20px;
  }
  .report-box {
    padding: 15px;
  }
  .report-top {
    width: 100%;
  }
  .report-bottom {
    padding: 0px;
    width: 100%;
    overflow: hidden;
  }
  .text-left {
    font-size: 16px;
    width: 200px;
  }
  .text-right {
    font-size: 16px;
    margin-left: 10px;
  }
  .report-top-link {
    width: 100%;
    overflow: hidden;
  }
  .photo-item {
    width: 33.1%;
    height: auto;
  }
  .detail-box {
    display: flex;
    flex-direction: column;
  }
  .detail-item {
    width: 100%;
    padding: 0px;
    margin-bottom: 10px;
  }
  .detail-image-box {
    width: 160px;
    height: 110px;
  }
  .detail-text {
    font-size: 18px;
    margin-bottom: 15px;
  }
  .detail-time {
    font-size: 16px;
  }
  .pagination {
    width: 100%;
    overflow: hidden;
  }
}

.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  margin-bottom: 30px;
}
.news-pagination-info {
  margin-right: 20px;
  color: #666;
  font-size: 14px;
}
.news-pagination-select {
  margin-right: 20px;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 3px;
}
.news-pagination-buttons {
  display: flex;
  align-items: center;
}
.news-pagination-button {
  display: flex;
  font-size: 14px;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0 5px;
  border-radius: 4px;
  border: 1px solid #ddd;
  color: #666;
  text-decoration: none;
  cursor: pointer;
}
.news-pagination-button.active {
  background-color: #bc1906;
  color: #fff;
  border-color: #bc1906;
}
.news-pagination-button.ellipsis {
  border: none;
}


