.tongda-news-list {
  width: 100%;
  padding: 4.125rem 0;
  background: #fafafa;
  font-family: var(--font-family);
}

.tongda-news-list,
.tongda-news-list * {
  box-sizing: border-box;
}

.tongda-news-list .tongda-news-nav {
  width: 100%;
}

.tongda-news-list .tongda-news-tabs {
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  list-style: none;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.tongda-news-list .tongda-news-tabs::-webkit-scrollbar {
  display: none;
}

.tongda-news-list .tabs-item {
  display: flex;
  height: 4.25rem;
  min-width: 17.5rem;
  flex: 0 0 17.5rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #9b9b9b;
  background: #fff;
  border: 0.25rem solid #f8f8f8;
  border-radius: 0.625rem;
}

.tongda-news-list .tabs-item.active {
  min-width: 20rem;
  flex-basis: 20rem;
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.tongda-news-list .tabs-item a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  color: inherit;
  font-family: var(--font-family);
  font-size: var(--font-size-24);
  font-weight: var(--font-weight-md);
  line-height: 1.5;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.tongda-news-list .tabs-item a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -4px;
}

.tongda-news-list .tabs-item.active a:focus-visible {
  outline-color: #fff;
}

.tongda-news-list .news-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 5.5rem;
}

.tongda-news-list .news-item {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border-radius: 0.625rem;
  box-shadow: 0 0.25rem 1.0625rem rgba(0, 0, 0, 0.15);
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.tongda-news-list .news-item:hover {
  box-shadow: 0 0.375rem 1.25rem rgba(0, 0, 0, 0.18);
}

.tongda-news-list .news-card {
  display: flex;
  gap: 1.875rem;
  min-height: 23.75rem;
  padding: 2.5rem 2.375rem;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.tongda-news-list .news-media-wrap {
  width: 31.25rem;
  padding: 0.625rem;
  aspect-ratio: 12 / 7;
  min-width: 0;
  flex-shrink: 0;
}

.tongda-news-list .news-media {
  width: 100%;
  aspect-ratio: 12 / 7;
  overflow: hidden;
  background: #f8f8f8;
  border-radius: 1rem;
}

.tongda-news-list .news-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.tongda-news-list .news-body {
  display: flex;
  gap: 3.125rem;
  min-width: 0;
  flex: 1;
  align-items: start;
}

.tongda-news-list .news-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  flex: 1;
  gap: 1.25rem;
}

.tongda-news-list .news-title {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #4b4b4b;
  font-family: var(--font-family);
  font-size: var(--font-size-36);
  font-weight: var(--font-weight-xl);
  line-height: 1.2222;
  letter-spacing: 0;
  word-break: break-word;
  transition: color 0.3s ease;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.tongda-news-list .news-desc {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #9b9b9b;
  font-family: var(--font-family);
  font-size: var(--font-size-24);
  font-weight: var(--font-weight-md);
  line-height: 1.5;
  letter-spacing: 0;
  word-break: break-word;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.tongda-news-list .news-meta {
  position: relative;
  display: flex;
  padding-left: 3.5625rem;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.625rem;
}

.tongda-news-list .news-meta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 5.25rem;
  background: #ececec;
}

.tongda-news-list .news-date {
  display: block;
  width: 100%;
  padding: 0.625rem;
  color: #8d8887;
  font-family: var(--font-family);
  font-size: var(--font-size-28);
  font-weight: var(--font-weight-md);
  line-height: 1.4286;
  letter-spacing: 0;
  text-align: right;
  white-space: nowrap;
}

.tongda-news-list .news-arrow {
  display: flex;
  width: 1.875rem;
  height: 2.625rem;
  align-items: center;
  justify-content: flex-end;
  color: #9b9b9b;
}

.tongda-news-list .news-arrow svg {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
}

.tongda-news-list .news-item:hover .news-title,
.tongda-news-list .news-card:focus-visible .news-title {
  color: var(--color-primary);
}

.tongda-news-list #pagesize {
  width: 100%;
  margin: 5.875rem 0 0;
  overflow-x: auto;
  overflow-y: hidden;
  text-align: center;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.tongda-news-list #pagesize::-webkit-scrollbar {
  display: none;
}

.tongda-news-list #pagesize ul {
  display: flex;
  width: max-content;
  min-width: 100%;
  justify-content: center;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}

.tongda-news-list #pagesize ul li {
  display: block;
}

.tongda-news-list #pagesize ul li a,
.tongda-news-list #pagesize ul li span {
  display: flex;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: #9b9b9b;
  background: transparent;
  border: 0;
  font-family: var(--font-family);
  font-size: var(--font-size-24);
  font-weight: var(--font-weight-md);
  line-height: 1.5;
  text-decoration: none;
}

.tongda-news-list #pagesize ul li a.active {
  color: var(--color-primary) !important;
  background: transparent;
  border: 0;
  font-weight: var(--font-weight-xl);
}

.tongda-news-list #pagesize ul li a.disabled {
  color: #9b9b9b;
  background: transparent;
  border: 0;
}

.tongda-news-list #pagesize ul li a:hover,
.tongda-news-list #pagesize ul li a:focus-visible {
  color: var(--color-primary) !important;
  background: transparent;
  border: 0;
  box-shadow: none;
  outline: none;
}

.tongda-news-list #pagesize ul li a svg {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
}

.tongda-news-list #pagesize ul li a svg path {
  transition: stroke 0.3s ease;
}

.tongda-news-list #pagesize ul li:first-child a:hover svg path,
.tongda-news-list #pagesize ul li:first-child a:focus-visible svg path,
.tongda-news-list #pagesize ul li:last-child a:hover svg path,
.tongda-news-list #pagesize ul li:last-child a:focus-visible svg path {
  stroke: var(--color-primary);
}

@media screen and (max-width: 1024px) {
  .tongda-news-list {
    padding: 3.75rem 0;
  }

  .tongda-news-list .news-content {
    gap: 1rem;
    margin-top: 3.75rem;
  }

  .tongda-news-list .news-card {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    min-height: 0;
    padding: 1.5rem;
  }

  .tongda-news-list .news-media-wrap {
    width: 100%;
    padding: 0.5rem;
    flex-basis: auto;
  }

  .tongda-news-list .news-body {
    width: 100%;
    gap: 1.5rem;
  }

  .tongda-news-list .news-copy {
    gap: 1rem;
  }

  .tongda-news-list .news-meta {
    padding-left: 1.25rem;
  }

  .tongda-news-list #pagesize {
    margin-top: 3.75rem;
  }
}

@media screen and (max-width: 768px) {
  .tongda-news-list {
    padding: 3rem 0;
  }

  .tongda-news-list .news-content {
    margin-top: 3rem;
  }

  .tongda-news-list .news-card {
    gap: 1.25rem;
    padding: 1.25rem;
  }

  .tongda-news-list .news-body {
    flex-direction: column;
    gap: 1.25rem;
  }

  .tongda-news-list .news-meta {
    width: 100%;
    padding: 1rem 0 0;
    flex-direction: row;
    align-items: center;
    border-top: 1px solid #ececec;
  }

  .tongda-news-list .news-meta::before {
    display: none;
  }

  .tongda-news-list .news-date {
    width: auto;
    padding: 0;
    text-align: left;
  }

  .tongda-news-list .news-arrow {
    height: 1.5rem;
  }

  .tongda-news-list #pagesize {
    margin-top: 3rem;
  }
}

@media screen and (max-width: 576px) {
  .tongda-news-list {
    padding: 2.5rem 0;
  }

  .tongda-news-list .tongda-news-tabs {
    gap: 1rem;
  }

  .tongda-news-list .tabs-item {
    height: 3.5rem;
    min-width: 12rem;
    flex-basis: 12rem;
    border-width: 2px;
  }

  .tongda-news-list .tabs-item.active {
    min-width: 14rem;
    flex-basis: 14rem;
  }

  .tongda-news-list .tabs-item a {
    padding: 0 1rem;
    font-size: var(--font-size-18);
  }

  .tongda-news-list .news-content {
    gap: 1rem;
    margin-top: 2.5rem;
  }

  .tongda-news-list .news-card {
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .tongda-news-list .news-media-wrap {
    width: 100%;
    padding: 0;
    flex-basis: auto;
  }

  .tongda-news-list .news-media {
    border-radius: 0.625rem;
  }

  .tongda-news-list .news-body {
    width: 100%;
  }

  .tongda-news-list .news-copy {
    gap: 0.75rem;
  }

  .tongda-news-list .news-title {
    line-height: 1.3;
  }

  .tongda-news-list .news-meta {
    padding-top: 0.75rem;
  }

  .tongda-news-list #pagesize {
    margin-top: 2.5rem;
  }

  .tongda-news-list #pagesize ul {
    gap: 1rem;
  }

  .tongda-news-list #pagesize ul li a,
  .tongda-news-list #pagesize ul li span {
    width: 2rem;
    height: 2rem;
    font-size: var(--font-size-20);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tongda-news-list .wow {
    visibility: visible !important;
    animation: none !important;
  }
}
