/* ============================================
   资讯动态 · 独立页面 (方案 1: 主推大图+瀑布)
   ============================================ */

.news-page {
  background: linear-gradient(180deg, #FFFDF8 0%, #FFF6EA 100%);
  min-height: 100vh;
}

.news-page-hero {
  padding: 60px 0 40px;
  text-align: center;
}

.news-page-title {
  font-size: 40px;
  font-weight: 800;
  color: #1F1F1F;
  margin: 8px 0 12px;
}

.news-page-subtitle {
  font-size: 15.5px;
  color: #666;
  margin: 0 0 32px;
}

.news-page-search {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}

.news-page-search input {
  width: 100%;
  padding: 16px 48px 16px 52px;
  font-size: 15px;
  border: 2px solid rgba(255, 168, 76, 0.2);
  border-radius: 14px;
  background: #FFFFFF;
  outline: none;
  transition: all 0.25s;
  box-shadow: 0 8px 24px -12px rgba(255, 132, 34, 0.15);
}

.news-page-search input:focus {
  border-color: #FF8422;
  box-shadow: 0 8px 24px -8px rgba(255, 132, 34, 0.35);
}

.news-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #FF8422;
  pointer-events: none;
}

#newsSearchClear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: none;
  background: rgba(255, 168, 76, 0.15);
  color: #FF8422;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}

/* Body */
.news-page-body {
  padding: 16px 0 60px;
}

.news-page-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

/* 分类 Tabs */
.news-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.news-cat-tab {
  padding: 10px 18px;
  background: #FFFFFF;
  border: 1.5px solid rgba(255, 168, 76, 0.2);
  border-radius: 999px;
  font-size: 14px;
  color: #4A4A4A;
  cursor: pointer;
  transition: all 0.25s;
  font-weight: 500;
  white-space: nowrap;
}

.news-cat-tab:hover {
  border-color: #FF8422;
  color: #FF8422;
}

.news-cat-tab.is-active {
  background: linear-gradient(135deg, #FF8422 0%, #FFA84C 100%);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 6px 16px -6px rgba(255, 132, 34, 0.4);
}

.news-cat-tab .cat-count {
  margin-left: 6px;
  font-size: 12px;
  opacity: 0.75;
}

.news-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #666;
}

.news-sort select {
  padding: 8px 12px;
  border: 1.5px solid rgba(255, 168, 76, 0.2);
  border-radius: 8px;
  background: #FFFFFF;
  font-size: 14px;
  cursor: pointer;
  color: #1F1F1F;
}

/* 状态提示 */
.news-page-status {
  text-align: center;
  padding: 40px 20px;
  color: #999;
  font-size: 15px;
  background: #FFFFFF;
  border-radius: 16px;
}

/* ===== 左右分栏容器 ===== */
.news-page-split {
  display: grid;
  grid-template-columns: 35fr 65fr;
  gap: 28px;
  align-items: start;
  margin-top: 8px;
}

/* ===== 左侧精选大图栏 ===== */
.news-page-featured {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 24px 22px 28px;
  border: 1px solid rgba(255, 168, 76, 0.1);
  box-shadow: 0 12px 40px -20px rgba(255, 132, 34, 0.15);
  position: sticky;
  top: 20px;
}

.news-page-featured-title {
  margin: 0 0 18px;
  font-size: 17px;
  font-weight: 700;
  color: #1F1F1F;
}

.news-page-featured-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-featured-card {
  background: #FFFDF8;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 168, 76, 0.1);
  transition: all 0.28s;
  position: relative;
}

.news-featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -14px rgba(255, 132, 34, 0.3);
  border-color: rgba(255, 132, 34, 0.25);
}

.news-featured-cover {
  height: 130px;
  background: linear-gradient(135deg, #FF8422 0%, #FFA84C 100%);
  position: relative;
}

.news-featured-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.12), transparent 60%);
}

.news-featured-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-cat-chip {
  align-self: flex-start;
  padding: 3px 9px;
  color: #FFFFFF;
  border-radius: 5px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1;
}

.news-featured-t {
  margin: 2px 0 0;
  font-size: 14.5px;
  font-weight: 600;
  color: #1F1F1F;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
}

.news-featured-meta {
  display: flex;
  justify-content: space-between;
  color: #999;
  font-size: 11.5px;
  margin-top: 4px;
  padding-top: 6px;
  border-top: 1px dashed rgba(255, 168, 76, 0.15);
}

.news-featured-card.is-hot::before {
  content: "🔥";
  position: absolute;
  top: 8px;
  right: 8px;
  background: #FFFFFF;
  color: #FF4444;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.news-featured-empty {
  color: #999;
  font-size: 13px;
  text-align: center;
  padding: 40px 0;
}

/* ===== 右侧标题长列表栏 ===== */
.news-page-list-wrap {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 24px 28px 28px;
  border: 1px solid rgba(255, 168, 76, 0.1);
  box-shadow: 0 12px 40px -20px rgba(255, 132, 34, 0.15);
}

.news-page-list-title {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  color: #1F1F1F;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 168, 76, 0.15);
}

.news-page-list-count {
  font-size: 13px;
  color: #999;
  font-weight: 400;
  margin-left: 8px;
}

.news-page-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-page-list li {
  border-bottom: 1px solid rgba(255, 168, 76, 0.08);
}

.news-page-list li:last-child { border-bottom: none; }

.news-page-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
  min-height: 42px;
}

.news-page-item:hover {
  background: rgba(255, 168, 76, 0.05);
  padding-left: 12px;
  padding-right: 12px;
  border-radius: 8px;
}

.news-page-item:hover .news-page-item-title {
  color: #FF8422;
}

.news-page-num {
  flex-shrink: 0;
  width: 30px;
  font-family: 'Georgia', serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 132, 34, 0.55);
  text-align: center;
}

.news-page-cat-chip {
  flex-shrink: 0;
  padding: 3px 8px;
  color: #FFFFFF;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.news-page-item-title {
  flex: 1;
  font-size: 14.5px;
  color: #1F1F1F;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s;
}

.news-page-item-date {
  flex-shrink: 0;
  font-size: 12px;
  color: #999;
  font-family: 'Georgia', serif;
}

/* 搜索关键词高亮(全局) */
.news-page-list mark,
.news-featured-t mark {
  background: #FFE7B8;
  color: #C86400;
  padding: 0 2px;
  border-radius: 2px;
}

/* 分页 */
.news-page-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.news-page-pagination button {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1.5px solid rgba(255, 168, 76, 0.2);
  background: #FFFFFF;
  border-radius: 8px;
  color: #4A4A4A;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
}

.news-page-pagination button:hover:not(:disabled) {
  border-color: #FF8422;
  color: #FF8422;
}

.news-page-pagination button.is-active {
  background: linear-gradient(135deg, #FF8422 0%, #FFA84C 100%);
  color: #FFFFFF;
  border-color: transparent;
}

.news-page-pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.news-page-pagination .page-info {
  color: #999;
  font-size: 13px;
  margin: 0 8px;
}

/* 底部 CTA (复用 faq-cta 的样式,但换类名) */
.news-page-cta {
  padding: 20px 0 80px;
}

.news-cta-card {
  background: linear-gradient(135deg, #FF8422 0%, #FFA84C 100%);
  border-radius: 20px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: #FFFFFF;
  box-shadow: 0 20px 50px -20px rgba(255, 132, 34, 0.4);
}

.news-cta-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
}

.news-cta-card p {
  margin: 0;
  opacity: 0.92;
  font-size: 15px;
  line-height: 1.6;
}

.news-cta-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.news-cta-card .btn-primary {
  background: #FFFFFF;
  color: #FF8422;
}

.news-cta-card .btn-primary:hover { background: #FFF5E8; }

.news-cta-card .btn-ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #FFFFFF;
}

.news-cta-card .btn-ghost:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
}

/* 响应式 */
@media (max-width: 1080px) {
  .news-page-split {
    grid-template-columns: 40fr 60fr;
    gap: 20px;
  }
  .news-page-featured { padding: 20px 18px 22px; }
  .news-page-list-wrap { padding: 20px 20px 24px; }
}

@media (max-width: 900px) {
  .news-page-hero { padding: 40px 0 24px; }
  .news-page-title { font-size: 30px; }
  .news-page-split {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .news-page-featured {
    position: static;
  }
  .news-page-featured-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .news-page-toolbar { flex-direction: column; align-items: stretch; }
  .news-cta-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
}

@media (max-width: 560px) {
  .news-page-featured-list {
    grid-template-columns: 1fr;
  }
  .news-page-item {
    padding: 10px 4px;
    gap: 8px;
  }
  .news-page-num { display: none; }
  .news-page-item-title { font-size: 13.5px; }
}
