@charset "utf-8";
.company-news {
  padding: 0.16rem 0 0.32rem;
}
.company-news .w1200 {
  width: 100%;
  padding: 0 0.16rem;
  box-sizing: border-box;
}
.company-news .search-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.08rem;
  padding-top: 0.16rem;
  margin-bottom: 0.16rem;
}
.company-news .search-input,
.company-news .date-input {
  align-items: center;
  height: 0.4rem;
  margin-right: 0;
  padding: 0.1rem 0.14rem;
  border-radius: 0.04rem;
  background: #fff;
  box-sizing: border-box;
  color: #292F41;
}
.company-news .search-input {
  flex: 1 1 100%;
  width: 100%;
}
.company-news .date-input {
  position: relative;
  flex: 1 1 0;
  width: auto;
  min-width: 0;
}
.company-news .date-input + .date-input::before {
  content: "-";
  position: absolute;
  left: -0.1rem;
  top: 50%;
  color: rgba(11, 12, 51, 0.45);
  font-size: 0.14rem;
  line-height: 1;
  transform: translate(-50%, -50%);
}
.company-news .search-box img,
.company-news .search-box svg {
  flex-shrink: 0;
  width: 0.16rem;
  height: 0.16rem;
  margin-right: 0.06rem;
  color: rgba(11, 12, 51, 0.45);
}
.company-news .search-box input {
  flex: 1;
  width: auto;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 0.13rem;
  line-height: 0.2rem;
}
.company-news .search-box .btn {
  flex: 0 0 0.64rem;
  width: 0.64rem;
  height: 0.36rem;
  border-radius: 0.04rem;
  font-size: 0.14rem;
}
.company-news .cotent-box li {
  margin-bottom: 0.12rem;
  box-shadow: none;
}
.company-news .cotent-box a {
  align-items: center;
  height: auto;
  padding: 0.06rem;
  background: #fff;
}
.company-news .cotent-box a .date {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 0.83rem;
  height: 0.97rem;
  margin-right: 0.18rem;
  padding: 0;
  background: none;
  padding-right: 0.12rem;
}
.company-news .cotent-box a .date .day {
  font-size: 0.42rem;
  font-weight: 600;
  line-height: 0.42rem;
  color: #005096;
}
.company-news .cotent-box a .date .year {
  margin-top: 0.12rem;
  font-size: 0.13rem;
  line-height: 0.13rem;
  text-align: center;
  color: #005096;
}
.company-news .cotent-box a .content {
  flex: 1;
  min-width: 0;
  margin-right: 0;
}
.company-news .cotent-box a .content .title {
  font-size: 0.19rem;
  font-weight: 600;
  line-height: 0.27rem;
  color: #0B0C33;
  margin: 0;
}
.company-news .cotent-box a .content .summary {
  font-size: 0.14rem;
  line-height: 0.21rem;
  color: #0B0C33;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  word-break: break-all;
}
.company-news .cotent-box a .other {
  display: none;
}
.company-news .cotent-box a:hover .date,
.company-news .cotent-box a:active .date {
  background: #fff;
}
.company-news .cotent-box a:hover .date::before,
.company-news .cotent-box a:active .date::before,
.company-news .cotent-box a:hover .date::after,
.company-news .cotent-box a:active .date::after {
  content: "";
  position: absolute;
  right: 0;
  z-index: 1;
  width: 0;
  height: 0;
  border-left: 0.16rem solid transparent;
}
.company-news .cotent-box a:hover .date::before,
.company-news .cotent-box a:active .date::before {
  top: 0;
  border-top: 0.485rem solid #005096;
}
.company-news .cotent-box a:hover .date::after,
.company-news .cotent-box a:active .date::after {
  bottom: 0;
  border-bottom: 0.485rem solid #005096;
}
.company-news .cotent-box a .date .day,
.company-news .cotent-box a .date .year {
  position: relative;
  z-index: 2;
}
.company-news .cotent-box a:hover .summary,
.company-news .cotent-box a:active .summary,
.company-news .cotent-box a:hover .content .title {
  color: #FFFFFF;
}
.company-news .pagination {
  padding: 0.2rem 0 0.04rem;
}
.company-news .pagination a {
  width: 0.32rem;
  height: 0.32rem;
  font-size: 0.12rem;
  line-height: 0.32rem;
}

/* ===== H5: Company News list titles wrap fully (mobile only) ===== */
@media (max-width: 768px) {
  .company-news .cotent-box a .content .title {
    display: block;
    height: auto;
    overflow: visible;
    text-overflow: clip;
    -webkit-line-clamp: none;
    line-clamp: none;
  }
}
