/* News listing */

/* ----- Hero: featured + side list (design 1.png) ----- */
.news-hero-split {
  background: var(--color-bg);
  padding: 40px 24px 16px;
}

.news-hero-split-inner {
  width: calc(100% - var(--container-gutter));
  max-width: var(--container-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 32px 36px;
  align-items: stretch;
}

.news-hero-feature {
  margin: 0;
  min-width: 0;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.news-hero-feature-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  color: inherit;
  text-decoration: none;
  border-radius: 12px;
  outline: none;
}

.news-hero-feature-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 140, 255, 0.35);
}

.news-hero-feature-media {
  position: relative;
  flex: 1;
  min-height: 400px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-soft);
}

.news-hero-feature-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-hero-feature-panel {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: flex-end;
  gap: 18px 20px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(15, 35, 55, 0.08);
}

.news-hero-feature-main {
  flex: 1;
  min-width: 0;
}

.news-hero-feature-title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.28;
  color: #2c2f37;
  letter-spacing: -0.02em;
}

.news-hero-meta {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-muted);
}

.news-hero-meta--side {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #666666;
}

.news-hero-meta--side .news-hero-cat {
  font-size: 14px;
  color: var(--color-primary);
}

.news-hero-meta--side .news-hero-meta-sep {
  color: #666666;
}

.news-hero-meta--side time {
  color: #666666;
  font-size: 14px;
}

.news-hero-cat {
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 600;
}

.news-hero-meta-sep {
  color: var(--color-muted);
  font-weight: 400;
}

.news-hero-excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-hero-feature-cta {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 140, 255, 0.35);
}

.news-hero-feature-card:hover .news-hero-feature-cta {
  background: var(--color-primary-hover);
}

.news-hero-side {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  height: 100%;
  min-height: 0;
}

.news-hero-side-item {
  display: flex;
  box-sizing: border-box;
  align-items: stretch;
  gap: 14px;
  min-height: 0;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
  color: inherit;
  text-decoration: none;
  outline: none;
}

.news-hero-side-item:first-child {
  padding-top: 0;
}

.news-hero-side-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.news-hero-side-item:focus-visible {
  border-radius: 8px;
  box-shadow: 0 0 0 2px rgba(0, 140, 255, 0.35);
}

.news-hero-side-item:hover .news-hero-side-title {
  color: var(--color-primary);
}

.news-hero-side-thumb {
  width: 230px;
  min-width: 230px;
  height: 150px;
  flex-shrink: 0;
  align-self: center;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-soft);
}

.news-hero-side-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-hero-side-body {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  min-height: 150px;
}

.news-hero-side-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: #333333;
  transition: color 0.15s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px 32px;
  width: calc(100% - var(--container-gutter));
  max-width: var(--container-max);
  margin-inline: auto;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.filter-chips button {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-muted);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.filter-chips button.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.news-filters--list {
  padding: 12px 24px 24px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}

.news-filters-subscribe {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  font: inherit;
}

/* ----- Main news list (below filters) ----- */
.news-list {
  background: var(--color-bg);
  padding: 0 24px 72px;
}

.news-list-inner {
  width: calc(100% - var(--container-gutter));
  max-width: var(--container-max);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.news-list-inner > .news-list-item {
  flex: 0 0 auto;
}

.news-list-item {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
}

.news-list-item:hover {
  border-bottom-color: var(--color-primary);
}

.news-list-item-cover {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 0;
  outline: none;
}

.news-list-item-cover:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(0, 140, 255, 0.45);
}

.news-list-item-cover:focus:not(:focus-visible) {
  outline: none;
}

.news-list-item:first-child {
  padding-top: 0;
}

.news-list-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.news-list-thumb {
  position: relative;
  flex-shrink: 0;
  width: 230px;
  min-width: 230px;
  height: 150px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-soft);
  outline: none;
  align-self: flex-start;
}

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

.news-list-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.news-list-badge--exhibition {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(15, 35, 55, 0.08);
}

.news-list-badge--company {
  background: rgba(220, 252, 231, 0.95);
  color: #047857;
  box-shadow: 0 2px 8px rgba(15, 35, 55, 0.06);
}

.news-list-body {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  min-height: 150px;
}

.news-list-body-main {
  min-width: 0;
}

.news-list-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-primary);
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.news-list-item:hover .news-list-title {
  opacity: 0.88;
}

.news-list-date {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.4;
  color: #666666;
}

.news-list-excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-muted);
}

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

.news-list-more {
  font-size: 14px;
  font-weight: 700;
  color: #999999;
  text-decoration: none;
  transition: color 0.15s ease;
}

.news-list-item:hover .news-list-more {
  color: var(--color-primary);
}

.news-list-share {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
}

.news-list-share-link {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.92;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}

.news-list-share-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.news-list-share-link img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

@media (max-width: 1440px) {
  .news-hero-split {
    padding: 36px 22px 14px;
  }

  .news-hero-split-inner {
    gap: 28px 32px;
  }

  .news-hero-feature-title {
    font-size: 21px;
  }

  .news-filters {
    padding-inline: 22px;
  }

  .news-filters--list {
    padding-inline: 22px;
  }

  .news-list {
    padding: 0 22px 64px;
  }
}

@media (max-width: 1366px) {
  .news-hero-feature-title {
    font-size: 20px;
  }
}

@media (max-width: 1280px) {
  .news-hero-split {
    padding: 32px 20px 12px;
  }

  .news-hero-split-inner {
    gap: 24px 28px;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  }

  .news-hero-feature-panel {
    padding: 18px 20px;
  }

  .news-hero-side-thumb {
    width: 200px;
    min-width: 200px;
    height: 130px;
  }

  .news-hero-side-body {
    min-height: 130px;
  }

  .news-filters {
    padding-inline: 20px;
  }

  .news-filters--list {
    padding-inline: 20px;
  }

  .news-list {
    padding: 0 20px 56px;
  }

  .news-list-thumb {
    width: 200px;
    min-width: 200px;
    height: 130px;
  }

  .news-list-body {
    min-height: 130px;
  }
}

@media (max-width: 1024px) {
  .news-hero-split-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }

  .news-hero-feature {
    height: auto;
    display: block;
  }

  .news-hero-feature-card {
    display: block;
    flex: none;
    min-height: 0;
  }

  .news-hero-feature-media {
    flex: none;
    aspect-ratio: 16 / 10;
    min-height: 0;
    position: relative;
  }

  .news-hero-feature-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .news-hero-side {
    height: auto;
  }

  .news-hero-side-thumb {
    width: 230px;
    min-width: 230px;
    height: 150px;
  }

  .news-hero-feature-title {
    font-size: 20px;
  }

  .news-list-thumb {
    width: 230px;
    min-width: 230px;
    height: 150px;
  }

  .news-list-body {
    min-height: 150px;
  }
}

@media (max-width: 768px) {
  .news-hero-split {
    padding: 28px 18px 10px;
  }

  /* 与 .news-hero-side-item 一致：左图右文横排 */
  .news-hero-feature-media {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
    min-height: 0;
    flex: none;
    position: static;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    aspect-ratio: unset;
    padding: 20px 0;
    box-sizing: border-box;
  }

  .news-hero-feature-media img {
    position: static;
    inset: auto;
    width: 180px;
    min-width: 180px;
    height: 117px;
    flex-shrink: 0;
    align-self: center;
    object-fit: cover;
    border-radius: var(--radius-md);
  }

  .news-hero-feature-panel {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    min-height: 117px;
    padding: 0;
    gap: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    box-shadow: none;
  }

  .news-hero-feature-main {
    flex: 1;
    min-width: 0;
  }

  .news-hero-feature-panel .news-hero-meta {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: #666666;
  }

  .news-hero-feature-panel .news-hero-meta .news-hero-cat {
    font-size: 14px;
    color: var(--color-primary);
  }

  .news-hero-feature-panel .news-hero-meta .news-hero-meta-sep,
  .news-hero-feature-panel .news-hero-meta time {
    color: #666666;
    font-size: 14px;
  }

  .news-hero-excerpt {
    display: none;
  }

  .news-hero-feature-cta {
    display: none;
  }

  .news-hero-feature-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: #333333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .news-hero-side-item {
    min-height: 0;
    padding: 20px 0;
    gap: 12px;
    align-items: stretch;
  }

  .news-hero-side-thumb {
    width: 180px;
    min-width: 180px;
    height: 117px;
    max-height: none;
    aspect-ratio: unset;
    align-self: center;
  }

  .news-hero-side-body {
    flex: 1 1 0;
    min-width: 0;
    min-height: 117px;
    justify-content: space-between;
    align-items: stretch;
    gap: 0;
  }

  .news-hero-side-title {
    font-size: 16px;
  }

  .news-hero-meta--side,
  .news-hero-meta--side time,
  .news-hero-meta--side .news-hero-cat {
    font-size: 14px;
  }

  .news-list {
    padding: 0 18px 48px;
  }

  .news-list-item {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    align-content: flex-start;
    gap: 16px;
  }

  .news-list-thumb {
    flex: 0 0 auto;
    align-self: flex-start;
    width: 100%;
    max-width: 230px;
    min-width: 0;
    min-height: 0;
    height: auto;
    aspect-ratio: 230 / 150;
    overflow: hidden;
  }

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

  .news-list-body {
    flex: 0 0 auto;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    justify-content: flex-start;
  }

  .news-list-footer {
    margin-top: 14px;
  }
}

@media (max-width: 480px) {
  .news-hero-split {
    padding: 24px 16px 8px;
  }

  .news-hero-feature-media {
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 16px 0;
    gap: 12px;
  }

  .news-hero-feature-media img {
    width: 100%;
    min-width: 100%;
    height: auto;
    align-self: flex-start;
    aspect-ratio: 230 / 150;
    border-radius: var(--radius-md);
  }

  .news-hero-feature-panel {
    flex: 1 1 100%;
    min-width: 0;
    min-height: 0;
    justify-content: flex-start;
    gap: 8px;
  }

  .news-hero-feature-title {
    font-size: 17px;
  }

  .news-hero-excerpt {
    display: none;
  }

  .news-hero-feature-cta {
    display: none;
  }

  .news-hero-side-item {
    flex-wrap: wrap;
    height: auto;
    align-items: flex-start;
  }

  .news-hero-side-body {
    flex: 1 1 100%;
    min-height: 0;
    justify-content: flex-start;
    gap: 8px;
  }

  .news-hero-side-thumb {
    width: 100%;
    min-width: 100%;
    max-height: none;
    height: auto;
    aspect-ratio: 230 / 150;
    align-self: flex-start;
  }

  .news-hero-side-title {
    font-size: 17px;
  }

  .news-list {
    padding: 0 16px 40px;
  }

  .news-list-item {
    gap: 14px;
  }

  .news-list-thumb {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .news-list-body {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
  }

  .news-list-title {
    font-size: 17px;
  }
}

@media (max-width: 375px) {
  .news-hero-feature-title {
    font-size: 16px;
  }

  .news-hero-meta,
  .news-hero-excerpt {
    font-size: 13px;
  }

  .news-hero-side-title {
    font-size: 16px;
  }

  .news-list-title {
    font-size: 16px;
  }
}

.newsletter-bar {
  background: var(--color-primary);
  color: #fff;
  padding: 24px 24px;
}

.newsletter-bar-inner {
  width: calc(100% - var(--container-gutter));
  max-width: var(--container-max);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
}

.newsletter-bar-copy {
  margin: 0;
  flex: 1 1 auto;
  min-width: min(100%, 260px);
  max-width: 56rem;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: #fff;
}

.newsletter-bar-form {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  flex: 0 1 auto;
}

.newsletter-bar-input {
  flex: 1 1 auto;
  min-width: 200px;
  width: 280px;
  max-width: 100%;
  padding: 12px 18px;
  border: 1px solid #fff;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 15px;
  box-sizing: border-box;
  transition:
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.newsletter-bar-input::placeholder {
  color: #fff;
  opacity: 0.9;
}

.newsletter-bar-input:hover {
  border-color: rgba(255, 255, 255, 0.9);
}

.newsletter-bar-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.newsletter-bar-submit {
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  background: #fff;
  color: var(--color-primary);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    opacity 0.2s ease;
}

.newsletter-bar-submit:hover {
  background: rgba(255, 255, 255, 0.92);
}

.newsletter-bar-submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45);
}

@media (max-width: 1440px) {
  .newsletter-bar {
    padding: 22px 22px;
  }
}

@media (max-width: 1280px) {
  .newsletter-bar {
    padding: 22px 20px;
  }

  .newsletter-bar-inner {
    gap: 18px 32px;
  }
}

@media (max-width: 1024px) {
  .newsletter-bar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .newsletter-bar-copy {
    max-width: none;
  }

  .newsletter-bar-form {
    width: 100%;
    max-width: 520px;
  }

  .newsletter-bar-input {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .newsletter-bar {
    padding: 20px 18px;
  }

  .newsletter-bar-copy {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .newsletter-bar {
    padding: 20px 16px;
  }

  .newsletter-bar-form {
    flex-direction: column;
    max-width: none;
  }

  .newsletter-bar-input {
    width: 100%;
  }

  .newsletter-bar-submit {
    width: 100%;
    padding: 13px 24px;
  }
}

@media (max-width: 375px) {
  .newsletter-bar-copy {
    font-size: 14px;
  }
}
