/* 通用 */
.max-width-1200 {
  max-width: 1200px;
  margin: 0 auto;
}

.horizontal-section {
  margin-top: 20px;
  padding: 0 20px;
}

/* 主区域 */
.main-content {
  position: relative;
}

/* 搜索区 */
.search-section {
  min-height: 410px;
  background-color: #0a59ce;
  background-image: url(/static/Public/images/new_home/27.png);
  background-size: auto 400px;
  background-position-x: center;
  background-position-y: 0px;
  background-repeat: no-repeat;
  padding-bottom: 76px;
}

/* 功能入口区 */
.feature-entries {
  margin-top: -50px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.feature-entries__item {
  position: relative;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  width: 292px;
  height: 100px;
  padding: 20px 20px 20px 10px;
  border-radius: 5px;
  box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.16);
  background-color: #FFF;
  background-blend-mode: overlay;
  column-gap: 8px;
  cursor: pointer;
  overflow: hidden;
}

.feature-entries__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(/static/Public/images/new_home/22.png);
  background-size: 100% 100%; 
  background-position: center;
  opacity: 0; 
  z-index: 0; 
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-entries__item > * {
  position: relative;
  z-index: 1; 
}

.feature-entries__item:hover {
  background-blend-mode: darken;
}

.feature-entries__item:hover::before {
  opacity: 1;
  background-size: 110% 110%;
  transform: scale(1);
}

.feature-entries__icon {
  width: 70px;
  height: 70px;
}

.feature-entries__icon img {
  width: 100%;
  height: 100%;
  transition: 0.3s ease-in-out;
}

.feature-entries__item:hover .feature-entries__icon img {
  transform: scale(1.15);
}

.feature-entries__text {
  display: flex;
  flex-direction: column;
  row-gap: 4px;
  padding: 4px 0 9px;
}

.feature-entries__title {
  color: #333;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.445;
  letter-spacing: 0px;
  text-align: left;
}

.feature-entries__describe {
  color: #999;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.417;
  letter-spacing: 0px;
  text-align: left;
  white-space: nowrap;
}

.feature-entries__button {
  width: 70px;
  line-height: 28px;
  border-radius: 4px;
  color: var(--color-primary-product);
  border: 1px solid#ebf1fe;
  background: #ebf1fe;
  transition: all 0.1s ease-in-out;
}

.feature-entries__item:hover .feature-entries__button {
  color: #FFF;
  background: var(--color-primary-product);
}

/* 数据应用 */
.data-overview {
  border-radius: 5px;
  background: #FFF;
}

.data-overview__header {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #ededed;
}

.data-overview__title {
  color: #333;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0px;
  text-align: center;
}

.data-overview__summary {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.data-summary__total,
.data-summary__new {
  color: #666;
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 4px;
  line-height: 20px;
}

.data-summary__total img,
.data-summary__new img {
  height: 20px;
}

.data-summary__total span,
.data-summary__new span {
  color: #fa8919;
  font-weight: 600;
  display: inline-flex;
  line-height: 20px;
}

.data-overview__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  padding: 20px 15px;
}

.data-overview__grid .data-grid__item {
  width: calc(16.66% - 8.3333px);
  height: 80px;
  border-radius: 8px;
  background: #f9f9f7;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  row-gap: 6px;
  transition: all 0.3s ease;
}

.data-overview__grid .data-grid__item:hover {
  border-radius: 8px;
  box-shadow: 0px 3px 21px 0px rgba(193, 199, 198, 0.9);
  background: rgba(248, 248, 245, 0.8);
  cursor: pointer;
}

.data-overview__grid .data-grid__label {
  color: #333;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0px;
  text-align: left;
}

.data-overview__grid .data-grid__label.skeleton {
  background: #eeeeee;
  width: 70px;
  height: 24px;
}

.data-overview__grid .data-grid__value {
  color: #f68a38;
  font-size: 16px;
  font-weight: 600;
  line-height: 30px;
  letter-spacing: 0px;
  text-align: left;
}

.data-overview__grid .data-grid__value.skeleton {
  background: #f4f4f4;
  width: 150px;
  height: 24px;
}

/* 办案工具 */
.tools-section {
  border-radius: 5px;
  background: #FFF;
}

.tools-section__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #ededed;
  transition: all 0.3s;
}

.tools-section__title {
  color: #333;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0px;
  text-align: center;
  display: flex;
  align-items: center;
}

.tools-section__title span {
  font-size: 14px;
  font-weight: 400;
  color: var(--theme-light-text-color);
  padding-left: 12px;
}

.tools-section__manage {
  display: inline-flex;
  column-gap: 10px;
  align-items: center;
}

.tools-section__manage-btn {
  width: 48px;
  height: 24px;
  border: 0;
  font-weight: 400;
  font-size: 12px;
  color: #666666;
  background: #EFEFEF;
  border-radius: 4px;
  margin-left: 0;
  margin-top: -4px;
  position: relative;
  transform: translateY(2px);
}

.tools-section__manage-btn--confirm {
  background: var(--color-primary-product);
  color: #fff;
}

.tools-section__manage-btn--confirm:hover {
  background: var(--ms-color-secondary);
}

/* 宣传图 */
.banner-section {
  padding: 0;
  border-radius: 5px;
  background: #FFF;
}

.banner-section__cotainer {
  display: flex;
}

.banner-section__item {
  display: flex;
  position: relative;
}

.banner-section__label {
  position: absolute;
  left: -3px;
  top: -3px;
  width: 80px;
  height: 80px;
  pointer-events: none;
}

.banner-section__label img {
  width: 100%;
  height: 100%;
}

.banner-section__bg {
  width: 100%;
  height: 120px;
  border-radius: 5px;
  pointer-events: none;
}

.banner-section__btn {
  display: block;
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 168px;
  height: 50px;
}

.banner-section__btn img {
  width: 100%;
  transition: 0.15s ease-in-out;
}

.banner-section__btn img:hover {
  transform: scale(1.025)
}

/* 资讯区 */
.news-section {
  display: flex;
  justify-content: space-between;
  padding: 0;
  column-gap: 20px;
}

.section-item__container {
  border-radius: 5px;
  background: #FFF;
  padding: 12px 20px;
}

.news-container {
  width: 778px;
}

.news-container__header {
  padding: 12px 0;
}

.news-container__tabs {
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 5px;
  border-radius: 5px;
  background: rgba(238, 243, 246, 1);
}

.news-container__tab {
  flex: 1;
  color: #9c9e9f;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  height: 28px;
  cursor: pointer;
  transition: all 0.3s ease-in;
}

.news-container__tab:hover {
  color: var(--theme-medium-text-color);
}

.news-container__tab.news-container__tab--active {
  color: var(--theme-dark-text-color);
  background: #fff;
}

.news-container__tab.news-container__tab--active:hover {
  transform: scale(0.99);
  box-shadow: 0px 1px 6px 2px #efefef;
  transition: all 0.3s ease-in-out;
}

.news-container__body {
  position: relative;
}

.news-container__tabs-content {
  display: none;
  overflow: hidden;
  transition: all .1s cubic-bezier(0, 0, 1, 1);
  max-height: 750px;
}

.news-container__tabs-content.is-active {
  display: block;
  opacity: 1;
  overflow: visible auto;
}

.news-container__list {
  display: block;
  padding-bottom: 40px;
}

.news-container__item {
  transition: background .3s;
  position: relative;
  padding: 16px 20px;
  background: #fff;
}

.news-container__item::after {
  content: " ";
  position: absolute;
  width: calc(100% - 70px);
  height: 1px;
  border-bottom: 1px solid #ededed;
  /* top: 0px; */
  bottom: 0px;
  left: 40px;
  z-index: 1;
}

.news-container__item.law-item {
  padding: 16px 0;
}

.news-container__item.law-item::after {
  width: 100%;
  left: 0;
}

.news-container__item.case-item {
  padding: 16px 0;
}

.news-container__item.case-item::after {
  width: 100%;
  left: 0;
}

.news-container__timeline:after {
  content: " ";
  position: absolute;
  width: 1px;
  border-left: 1px dashed #b6cff8;
  top: 0px;
  bottom: 0px;
  left: 12px;
}

.news-container__item:first-of-type .news-container__timeline::after {
  top: 20px;
}

.news-container__timeline-dot.tdot {
  width: 13px;
  height: 13px;
  background: #FFF;
  border: 4px solid var(--color-primary-product);
  border-radius: 50%;
  position: absolute;
  top: 20px;
  left: 6px;
  z-index: 2;
}

.news-container__timeline-time.time {
  position: absolute;
  top: 15px;
  left: 34px;
  color: var(--theme-dark-text-color);
  font-size: 14px;
  line-height: 20px;
}

.news-container__content-wrap {
  display: table;
  width: 100%;
  padding-left: 14px;
}

.case-item .news-container__content-wrap,
.law-item .news-container__content-wrap {
  padding-left: 0;
  padding-right: 10px;
}

.news-container__title {
  font-size: 18px;
  color: #333;
  max-height: 60px;
  margin-bottom: 6px;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.5714;
  /* padding-right: 65px; */
  margin-top: 32px;
}

.news-container__title span {
  font-size: inherit;
  cursor: pointer;
}

.news-container__title span:hover,
.news-container__title span:active,
.news-container__title span:focus{
  color: var(--color-primary-product);
}

.news-container__casetitle,
.news-container__lawtitle {
  font-size: 18px;
  color: #333;
  max-height: 60px;
  margin-bottom: 6px;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.5714;
  /* padding-right: 65px; */
}

.news-container__casetitle span,
.news-container__lawtitle span {
  font-size: inherit;
  cursor: pointer;
}

.news-container__casetitle span:hover,
.news-container__casetitle span:active,
.news-container__casetitle span:focus,
.news-container__lawtitle span:hover,
.news-container__lawtitle span:active,
.news-container__lawtitle span:focus {
  color: var(--color-primary-product);
}

.news-container__content {
  color: #666;
  font-size: 16px;
  line-height: 1.5714;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.case-item .news-container__content {
  margin-bottom: 12px;
}

.news-container__tags {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  column-gap: 8px;
}

.news-container__tag {
  font-size: 14px;
  height: 24px;
  line-height: 24px;
  padding: 0 7px;
  border-radius: 2px;
  background: #eee;
}

.news-container__tag.sxx {
  color: #de9011;
  background: #f7e7c5;
}

.news-container__tag.dxal {
  color: var(--color-primary-product);
  background: #e6eefc;
}

.news-container__labels {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-container__label {
  font-size: 16px;
  color: #999;
}

.news-container__label em {
  color: #333;
}

.news-container__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 30px 0 ;
}

.news-container__loading img {
  width: 30px;
  height:30px;
}

/* 类案专题库 */
.case-container {
  width: calc(100% - 798px);
}

.case-library__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.case-library__title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 24px;
}

.case-library__search {
  position: relative;
  width: 184px;
}

.case-library__search-input {
  width: 100%;
  padding: 0px 40px 0px 12px;
  border: 1px solid #f5f5f8;
  line-height: 32px;
  font-size: 14px;
  transition: all 0.3s;
  border-radius: 5px;
  background: #f5f5f8;
}

.case-library__search-input:focus {
  outline: none;
  border-color: #4285f4;
  box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}

.case-library__search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #333;
}

.case-library__tabs {
  display: flex;
  margin-bottom: 30px;
  border-bottom: 1px solid #eaeef2;
}

.case-library__tab {
  padding: 12px 0;
  font-size: 16px;
  color: #657180;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  text-align: left;
  margin-right: 24px;
}

.case-library__tab:hover {
  color: var(--color-primary-product);
}

.case-library__tab--active {
  color: var(--theme-dark-text-color);
  font-weight: 500;
}

.case-library__tab--active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--color-primary-product);
  border-radius: 3px 3px 0 0;
}

.case-library__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.case-library__item {
  background: #FFF;
  border: 1px solid #d4d4dd;
  border-radius: 4px;
  padding: 8px 12px;
  transition: all 0.3s;
  cursor: pointer;
  width: 112px;
}

.case-library__item:hover {
  /* transform: translateY(-1px); */
  border-color: #f1f6fe;
  background-color: #f1f6fe;
  color: var(--color-primary-product);
}

.case-library__item-title {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: inherit;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.case-library__tab-content {
  display: none;
}

.case-library__tab-content--active {
  display: block;
}

.case-library__footer {
  display: flex;
  justify-content: flex-end;
}

.case-library__more {
  display: inline-flex;
  align-items: center;
  color: #4285f4;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
}

.case-library__more:hover {
  color: #2b6de9;
}

.case-library__more-icon {
  margin-left: 5px;
  transition: transform 0.3s;
}

.case-library__more:hover .case-library__more-icon {
  transform: translateX(3px);
}

.case-library__search ul {
  position: absolute;
  top: 37px;
  left: 0px;
  z-index: 990;
  background: #fff;
  border-radius: 5px;
  border: 1px solid #ddd;
  width: 100%;
  max-height: 336px;
  overflow-y: auto;
  display: none;
}

.case-library__search li {
  padding: 10px;
  border-top: 1px dashed #ddd;
  cursor: pointer;
  font-size: 14px;
}

.case-library__search li:first-child {
  border: 0px;
}

.case-library__search li:hover {
  background: #f4f8fc;
}

.case-library__search li font {
  margin-right: 6px;
  text-align: center;
  display: inline-block;
  color: #fff;
  background: #0052d9;
  font-size: 12px;
  border-radius: 4px;
  padding: 2px 5px;
  float: left;
}

.case-library__search li i {
  float: right;
  color: #71d040;
  background: #fff;
  border: 1px solid;
  padding: 0 3px;
  font-size: 12px;
}

.case-library__search li font.co_1 {
  background: #0052d9;
}

.case-library__search li font.co_2 {
  background: #11c0cf;
}

.case-library__search li font.co_3 {
  background: #ff8a00;
}

.case-library__search li font.co_4 {
  background: #0c60d8;
}

.case-library__search li font.co_5 {
  background: #00b0f0;
}

.case-library__search li font.co_6 {
  background: #359656;
}

.case-library__search li font.co_7 {
  background: #e82800;
}

.case-library__search li span {
  display: block;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}