/* ===== 资讯动态 / 公众号最新资讯（轮播版，蓝白商务风） ===== */
.news-section {
  padding: 4.5rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #eef4fb 100%);
  border-top: 1px solid #e6edf7;
}
.news-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.news-header {
  text-align: center;
  margin-bottom: 2.75rem;
}
.news-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.08);
  padding: 0.3rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.news-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.75rem;
  line-height: 1.3;
}
.news-subtitle {
  color: #64748b;
  font-size: 1rem;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ===== 轮播容器 ===== */
.news-carousel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}
.news-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(15, 42, 82, 0.13);
}
.news-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.news-slide {
  flex: 0 0 100%;
  display: flex;
  min-height: 320px;
  text-decoration: none;
  color: inherit;
}
.news-slide-cover {
  flex: 0 0 48%;
  background: #eef2f8;
  overflow: hidden;
}
.news-slide-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 16 / 9;
}
.news-slide-cover--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dbe7fb, #eef2f8);
}
.news-slide-cover--empty::after {
  content: "三是科技";
  color: #94a3b8;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
}

/* 右侧文字区（复用卡片文字样式） */
.news-card-body {
  padding: 2.1rem 2.3rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-card-date {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 0.55rem;
}
.news-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.75rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-digest {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.7;
  margin: 0 0 1.1rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.news-card-more {
  font-size: 0.85rem;
  color: #2563eb;
  font-weight: 600;
  margin-top: auto;
}

/* ===== 左右箭头 ===== */
.news-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.85);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(15, 42, 82, 0.25);
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 3;
}
.news-arrow:hover { background: #1d4ed8; }
.news-arrow:active { transform: translateY(-50%) scale(0.94); }
.news-arrow--prev { left: 16px; }
.news-arrow--next { right: 16px; }

/* ===== 圆点指示 ===== */
.news-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 1.3rem;
}
.news-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: #c7d2e8;
  cursor: pointer;
  transition: all 0.25s ease;
}
.news-dot.is-active {
  width: 28px;
  background: #2563eb;
}

/* ===== 空数据兜底 ===== */
.news-empty {
  text-align: center;
  color: #94a3b8;
  padding: 3rem 0;
  font-size: 0.95rem;
}

.news-source {
  text-align: center;
  margin: 2.25rem 0 0;
  font-size: 0.78rem;
  color: #94a3b8;
}

/* ===== 响应式 ===== */
@media (max-width: 760px) {
  .news-section { padding: 3rem 0; }
  .news-title { font-size: 1.5rem; }
  .news-slide { flex-direction: column; min-height: 0; }
  .news-slide-cover { flex: none; width: 100%; aspect-ratio: 16 / 9; }
  .news-slide-cover img { aspect-ratio: auto; height: 100%; }
  .news-card-body { padding: 1.4rem 1.5rem 1.7rem; }
  .news-card-title { font-size: 1.2rem; }
  .news-arrow { width: 38px; height: 38px; font-size: 0.95rem; }
  .news-arrow--prev { left: 10px; }
  .news-arrow--next { right: 10px; }
}

/* ===== 首页：了解更多资讯按钮 ===== */
.news-more-wrap {
  text-align: center;
  margin-top: 1.6rem;
}
.news-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.8rem;
  border: 1px solid #2563eb;
  color: #2563eb;
  background: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.news-more-btn:hover {
  background: #2563eb;
  color: #fff;
}

/* ===== 资讯中心页（news-center.html）===== */
.nc-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e6edf7;
}
.nc-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.nc-logo {
  font-weight: 700;
  font-size: 1.05rem;
  color: #1d4ed8;
  text-decoration: none;
}
.nc-crumb {
  color: #94a3b8;
  font-size: 0.9rem;
}
.nc-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
}
.nc-hero {
  text-align: center;
  margin-bottom: 2rem;
}
.nc-hero .news-tag {
  margin-bottom: 0.9rem;
}
.nc-h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.6rem;
}
.nc-sub {
  color: #64748b;
  font-size: 1rem;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

.nc-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  background: #fff;
  border: 1px solid #e6edf7;
  border-radius: 14px;
  padding: 1.1rem 1.3rem;
  box-shadow: 0 6px 22px rgba(15, 42, 82, 0.06);
  margin-bottom: 1.1rem;
}
.nc-search {
  flex: 1 1 260px;
}
.nc-search input,
.nc-dates input[type="date"] {
  width: 100%;
  padding: 0.6rem 0.9rem;
  font-size: 0.95rem;
  border: 1px solid #d6e0f0;
  border-radius: 9px;
  color: #0f172a;
  background: #fafcff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.nc-search input:focus,
.nc-dates input[type="date"]:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.nc-dates {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nc-dates label {
  font-size: 0.8rem;
  color: #64748b;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.nc-sep {
  color: #94a3b8;
  padding-top: 1.1rem;
}
.nc-actions {
  display: flex;
  gap: 0.6rem;
}
.nc-btn {
  padding: 0.6rem 1.3rem;
  font-size: 0.92rem;
  border-radius: 9px;
  cursor: pointer;
  border: 1px solid transparent;
  font-weight: 600;
  transition: all 0.2s;
}
.nc-btn--primary {
  background: #2563eb;
  color: #fff;
}
.nc-btn--primary:hover {
  background: #1d4ed8;
}
.nc-btn--ghost {
  background: #fff;
  color: #475569;
  border-color: #d6e0f0;
}
.nc-btn--ghost:hover {
  background: #f1f5fb;
}

.nc-count {
  color: #64748b;
  font-size: 0.85rem;
  margin: 0 0 1.1rem;
}

.nc-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.nc-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #eef2f8;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(15, 42, 82, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}
.nc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(15, 42, 82, 0.12);
}
.nc-card-cover {
  aspect-ratio: 16 / 9;
  background: #eef2f8;
  overflow: hidden;
}
.nc-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nc-card-cover--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dbe7fb, #eef2f8);
}
.nc-card-cover--empty::after {
  content: "三是科技";
  color: #94a3b8;
  letter-spacing: 0.18em;
}
.nc-card-body {
  padding: 1.1rem 1.25rem 1.3rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.nc-card-date {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}
.nc-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.6rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nc-card-digest {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.65;
  margin: 0 0 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.nc-card-more {
  font-size: 0.85rem;
  color: #2563eb;
  font-weight: 600;
  margin-top: auto;
}
.nc-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #94a3b8;
  padding: 3rem 0;
  font-size: 0.95rem;
}

.nc-footer {
  text-align: center;
  color: #94a3b8;
  font-size: 0.8rem;
  padding: 2rem 1rem 3rem;
}

@media (max-width: 900px) {
  .nc-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .nc-list { grid-template-columns: 1fr; }
  .nc-toolbar { flex-direction: column; align-items: stretch; }
  .nc-dates { justify-content: space-between; }
  .nc-sep { display: none; }
  .nc-actions { justify-content: flex-end; }
}
