/*
 * 乐一番官网新闻列表样式文件

 * @author: zhuzl<me@zhuzhilong.com>
 * @date: 2025-05-16 17:59:47
 */
 .common-page-nav {
    bottom: 0;
    position: sticky;
    z-index: 1;
    background-color: #fff;
    padding-top: 48px;
    margin-top: 0;
 }
.block-banner {
  position: relative;
  z-index: 0;
  height: 400px;
  display: flex;
  align-items: center;
  background: url(https://cms-image.leyifan.cn/resources/image/2026/08/30/843299073433669.png) center center / cover no-repeat;
}

.channel-name {
    position: absolute;
    top: 190px;
    left: 240px;
    font-size: 48px;
    font-weight: 600;
    line-height: 62px;
    color: #FFFFFF;
    text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.3);
}

.page-main{
  display: block;
  background-color: #F6F8F9;
}

.channel-list-wrap {
  background-color: #fff;
  height: 72px;
  position: sticky;
  top: 64px;
  z-index: 10;
  display: flex;
  justify-content: center;
}

.channel-list-wrap .container {
  margin: 0;
  padding: 0;
  width: 1440px;
  overflow-x: auto;
   scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 和 Edge */
}
.channel-list-wrap .container::-webkit-scrollbar {
  display: none;
}

.channel-list-wrap .channel-item {
  flex: 1;
  text-align: center;
  margin-bottom: 0;
  height: 72px;
  min-width: 100px;
}

.channel-list-wrap .channel-item a {
  font-size: 16px;
  display: inline-block;
  line-height: 72px;
  color: #666666;
  position: relative;
}
.channel-list-wrap .channel-item a:hover,
.channel-list-wrap .channel-item.active a {
  font-weight: bold;
  color: #222222;
}
.channel-list-wrap .channel-item.active a::after {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-content{
  padding: 24px  0 48px 0;
}

.doc-list-wrap {
  background: #F6F8F9;
  margin-top: 24px;
  display: flex;
  justify-content: center;
}
.doc-list-wrap .container {
  width: 1440px;
  background-color: #FFFFFF;
  border-radius: 20px;
  padding: 48px;
}

/* 没有更多数据提示 */
.no-more-data {
  padding: 24px 0;
  font-family: "San Francisco Text", "PingFang SC", sans-serif;
  font-size: 16px;
  font-weight: normal;
  line-height: 22px;
  text-align: center;
  color: #999999;
}

.doc-list h4 {
  font-size: 32px;
  font-weight: bold;
  line-height: 42px;
  color: #222222;
  margin-bottom: 32px;
}

.doc-list .doc-item {
  margin-bottom: 32px;
  display: flex;
  flex-direction: row;
  gap: 24px;
}
.doc-list .doc-item:last-child {
  margin-bottom: 0;
}
.doc-item__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.doc-item__date .date-day {
  font-family: Helvetica Neue;
  font-size: 24px;
  font-weight: bold;
  line-height: 24px;
  text-align: center;
  letter-spacing: normal;
  color: #222222;
}
.doc-item__date .date-month {
  font-family: PingFang SC;
  font-size: 12px;
  font-weight: 500;
  line-height: 12px;
  text-align: center;
  letter-spacing: normal;
  color: #222222;
}
.doc-item__title {
  flex: 1;
  border-bottom: solid 1px #EEEEEE;
  display: flex;
  align-items: center;
  position: relative;
  margin-left: 8px;
  padding-right: 32px;
  padding-bottom: 12px;
}
.doc-item__title a {
  font-family: San Francisco Text;
  font-size: 14px;
  font-weight: normal;
  line-height: 22px;
  display: flex;
  align-items: center;
  letter-spacing: normal;
  color: #222222;
}
.doc-item__title a:hover {
  color:var(--primary-color)
}
.doc-item__title a::after {
  content:  "\e6e0";
  font-family: "lyfFont" !important;
  font-size: 12px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  color:#aaa;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: block;
}

/* 搜索区 */
.yundan-search-wrapper {
  position: relative;
  width: 1440px;
  height: 48px;
  margin: auto;
  background: #FFFFFF;
  border-radius: 24px;
  margin-bottom: 24px;
}
.search-input-group{
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  z-index: 0;
}
.yundan-search-wrapper .form-control {
  padding-left: 24px;
  padding-right: 64px;
  border: none;
  border-radius: 24px;
  height: 48px;

  font-family: PingFang SC;
  font-size: 14px;
  font-weight: normal;
  line-height: 14px;
  letter-spacing: normal;
}
.yundan-search-wrapper .form-control:focus {
  box-shadow: none;
  color: var(--text-color-dark);
}
.yundan-search-wrapper .form-control::placeholder {
  font-family: PingFang SC;
  font-size: 14px;
  font-weight: normal;
  line-height: 14px;
  letter-spacing: normal;
  color: #999999;
}
.search-icon-wrapper {
  border: none;
  position: absolute;
  right: 24px;
  top: 8px;
  width: 32px;
  height: 32px;
  background: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-link-icon .lyfFont {
  color: #fff;
}
.lyfFont.lyf-search {
  color: red;
}

/* 年份筛选区 - 自定义下拉 */
.year-filter-wrap {
  position: relative;
  user-select: none;
}
/* 触发器 */
.year-filter-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 220px;
  height: 68px;
  padding: 18px 32px;
  border-radius: 48px;
  background: #F9F9F9;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background 0.2s ease;
}
.year-filter-trigger:hover {
  background: #F0F0F0;
}
/* 去掉任何 focus 边框 */
.year-filter-trigger:focus,
.year-filter-trigger:focus-visible {
  outline: none;
  box-shadow: none;
}
/* 选中年份文字 */
.year-filter-value {
  font-family: "San Francisco Text", "PingFang SC", sans-serif;
  font-size: 24px;
  font-weight: bold;
  line-height: 32px;
  text-align: center;
  color: #222222;
}
/* 箭头图标 - 默认朝下，展开时旋转 90° */
.year-filter-arrow {
  display: inline-block;
  font-size: 12px;
  color: #999;
  transition: transform 0.25s ease;
}
.year-filter-wrap.open .year-filter-arrow {
  transform: rotate(90deg);
}
/* 下拉菜单 */
.year-filter-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  padding: 8px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 2000;
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.year-filter-wrap.open .year-filter-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* 下拉选项 */
.year-filter-option {
  padding: 10px 32px;
  font-size: 16px;
  font-weight: 500;
  color: #666666;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.year-filter-option:hover {
  background: #F6F8F9;
  color: #222222;
}
.year-filter-option.active {
  color: var(--primary-color);
  font-weight: 600;
  background: #FFF5F5;
}

@media (min-width: 1440px) and (max-width:1919px) {
  .channel-list-wrap .container {
    width: clamp(1392px, calc(1392px + (100vw - 1440px) * 48 / 480), 1440px);
  }
  .doc-list-wrap .container {
    width: clamp(1392px, calc(1392px + (100vw - 1440px) * 48 / 480), 1440px);
  }
  .yundan-search-wrapper {
    width: clamp(1392px, calc(1392px + (100vw - 1440px) * 48 / 480), 1440px);
  }
}

@media (min-width: 1280px) and (max-width:1439px) {
    .block-banner {
        height: clamp(355px, calc(355px + (100vw - 1280px) * 45 / 160), 400px);
    }
    .channel-name {
        top: clamp(167px, calc(167px + (100vw - 1280px) * 23 / 160), 190px);
    }
    .channel-list-wrap .container {
        width: calc(100% - 48px);
    }
    .doc-list-wrap .container {
      width: calc(100% - 48px);
    }
    .yundan-search-wrapper {
      width: calc(100% - 48px);
    }
}

@media (min-width: 1024px) and (max-width:1279px) {
    .block-banner {
        height: clamp(284px, calc(284px + (100vw - 1024px) * 71 / 256), 355px);
    }
    .channel-name {
        top: clamp(143px, calc(143px + (100vw - 1024px) * 24 / 256), 167px);
        left: clamp(80px, calc(80px + (100vw - 1024px) * 160 / 256), 240px);
        font-size: clamp(32px, calc(32px + (100vw - 1024px) * 16 / 256), 48px);
        line-height: clamp(42px, calc(42px + (100vw - 1024px) * 20 / 256), 62px);
    }

    .channel-list-wrap .container {
      width: calc(100% - 48px);
    }
    .doc-list-wrap .container {
      width: calc(100% - 48px);
      padding: clamp(32px, calc(32px + (100vw - 1024px) * 16 / 256), 48px);
    }
    .yundan-search-wrapper {
      width: calc(100% - 48px);
    }
    .year-filter-trigger {
        height: clamp(56px, calc(56px + (100vw - 1024px) * 12 / 256), 68px);
        padding: clamp(12px, calc(12px + (100vw - 1024px) * 6 / 256), 18px) 32px;
    }
}

@media (min-width: 960px) and (max-width:1023px) {
    .block-banner {
        height: clamp(266px, calc(266px + (100vw - 960px) * 18 / 64), 284px);
    }
    .channel-name {
        top: clamp(134px, calc(134px + (100vw - 960px) * 9 / 64), 143px);
        left: 80px;
        font-size: 32px;
        line-height: 42px;
    }
    .page-main {
      flex-direction: column;
    }

    .channel-list-wrap .container {
      width: calc(100% - 48px);
    }
    .doc-list-wrap .container {
      width: calc(100% - 48px);
      padding: 32px;
    }
    .yundan-search-wrapper {
      width: calc(100% - 48px);
    }
    .year-filter-trigger {
        height: 56px;
        padding: 12px 32px;
    }
}

@media (min-width: 840px) and (max-width:959px) {
    .block-banner {
        height: clamp(233px, calc(233px + (100vw - 840px) * 33 / 120), 266px);
    }
    .channel-name {
        top: clamp(117px, calc(117px + (100vw - 840px) * 17 / 120), 134px);
        left: 80px;
        font-size: 32px;
        line-height: 42px;
    }
    .page-main {
      flex-direction: column;
    }

    .channel-list-wrap .container {
      width: calc(100% - 48px);
    }
    .doc-list-wrap .container {
      width: calc(100% - 48px);
      padding: 32px;
    }
    .yundan-search-wrapper {
      width: calc(100% - 48px);
    }
    .year-filter-trigger {
        height: 56px;
        padding: 12px 32px;
    }
}

@media (min-width: 768px) and (max-width:839px) {
    .block-banner {
        height: 400px;
        margin-top: 96px;
    }
    .channel-name {
        top: 201px;
        left: 24px;
        font-size: 32px;
        line-height: 42px;
    }
    .page-main {
      flex-direction: column;
    }
    .channel-list-wrap .container {
      width: calc(100% - 48px);
    }
    .doc-list-wrap .container {
      width: calc(100% - 48px);
      padding: clamp(24px, calc(24px + (100vw - 768px) * 8 / 72), 32px);
    }
    .yundan-search-wrapper {
      width: calc(100% - 48px);
    }
    .year-filter-trigger {
        height: 56px;
        padding: 12px 32px;
    }
}

@media (min-width: 600px) and (max-width:767px) {
    .block-banner {
        height: clamp(312px, calc(312px + (100vw - 600px) * 88 / 168), 400px);
        margin-top: 96px;
    }
    .channel-name {
        top: clamp(157px, calc(157px + (100vw - 600px) * 44 / 168), 201px);
        left: 24px;
        font-size: 32px;
        line-height: 42px;
    }
    .page-main {
      flex-direction: column;
    }
    .channel-list-wrap .container {
      width: calc(100% - 48px);
    }
    .doc-list-wrap .container {
      width: calc(100% - 48px);
      padding: 24px;
    }
    .yundan-search-wrapper {
      width: calc(100% - 48px);
    }
    .year-filter-trigger {
        height: 56px;
        padding: 12px 32px;
    }
}

@media (min-width: 480px) and (max-width:599px) {
    .block-banner {
        height: clamp(250px, calc(250px + (100vw - 480px) * 62 / 120), 312px);
        margin-top: 96px;
    }
    .channel-name {
        top: clamp(126px, calc(126px + (100vw - 480px) * 31 / 120), 157px);
        left: 24px;
        font-size: clamp(30px, calc(30px + (100vw - 480px) * 2 / 120), 32px);
        line-height: clamp(40px, calc(40px + (100vw - 480px) * 2 / 120), 42px);
    }
    .page-main {
      flex-direction: column;
    }
    .channel-list-wrap .container {
      width: calc(100% - clamp(32px, calc(32px + (100vw - 480px) * 16 / 120), 48px));
    }
    .doc-list-wrap .container {
      width: calc(100% - clamp(32px, calc(32px + (100vw - 480px) * 16 / 120), 48px));
      padding: 24px clamp(16px, calc(16px + (100vw - 480px) * 8 / 120), 24px);
    }
    .yundan-search-wrapper {
      width: calc(100% - clamp(32px, calc(32px + (100vw - 480px) * 16 / 120), 48px));
    }
    .year-filter-trigger {
        height: 56px;
        padding: 12px 32px;
    }
}

@media (max-width:479px) {
    .block-banner {
        height: clamp(187px, calc(187px + (100vw - 360px) * 63 / 120), 250px);
        margin-top: 96px;
    }
    .channel-name {
        top: clamp(95px, calc(95px + (100vw - 360px) * 31 / 120), 126px);
        left: 24px;
        font-size: 30px;
        line-height: 40px;
    }
    .page-main {
      flex-direction: column;
    }

    .channel-list-wrap .container {
      width: calc(100% - 32px);
    }
    .doc-list-wrap .container {
      width: calc(100% - 32px);
      padding: 24px 16px;
    }
    .yundan-search-wrapper {
      width: calc(100% - 32px);
    }
    .year-filter-trigger {
        height: 56px;
        padding: 12px 32px;
    }
}