<br />
<b>Warning</b>:  mkdir(): No space left on device in <b>/www/wwwroot/NEW476A36.COM/func.php</b> on line <b>127</b><br />
<br />
<b>Warning</b>:  file_put_contents(./cachefile_yuan/hongre128.com/img/5e/1d658/27e19.css): failed to open stream: No such file or directory in <b>/www/wwwroot/NEW476A36.COM/func.php</b> on line <b>115</b><br />
/* =========================================
   news.css — 新闻列表 & 详情页专属样式
   ========================================= */

/* ---------- News Hero ---------- */
.news-hero {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.news-hero__blob {
  display: none;
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(124, 53, 255, 0.10);
  filter: blur(80px);
  pointer-events: none;
}
.news-hero__blob--tr { top: -60px; right: -60px; }
.news-hero__blob--bl { bottom: -60px; left: -60px; }
.news-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
}
.news-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(124, 53, 255, 0.10);
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}
.news-hero__title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 16px;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.news-hero__title span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.news-hero__desc {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ---------- Category Filter ---------- */
.news-filter {
  margin-bottom: 36px;
  border-bottom: 1px solid var(--color-border);
}
.news-filter__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.news-filter__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.75rem;
  padding: 0 1.25rem;
  border-radius: 0;
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  background: transparent;
  color: var(--color-text-secondary);
  text-decoration: none;
  white-space: nowrap;
}
.news-filter__btn::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.news-filter__btn:hover {
  color: var(--color-accent);
}
.news-filter__btn.is-active {
  color: var(--color-accent);
  font-weight: 600;
}
.news-filter__btn.is-active::after {
  transform: scaleX(1);
}

@media (max-width: 640px) {
  .news-filter__list {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .news-filter__btn {
    height: 40px;
    padding: 0 14px;
    font-size: 0.9375rem;
  }
}

/* section--subtle 的 overflow:hidden 会裁掉 filter 间距，这里覆盖 */
.news-section {
  overflow: visible;
}

/* ---------- News Grid ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* ---------- News Card ---------- */
.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.news-card:hover {
  background: #f8fbff;
  box-shadow: 0 6px 24px rgba(37,99,235,0.08);
  transform: scale(1.01);
}
.news-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--color-bg-muted);
  overflow: hidden;
  flex-shrink: 0;
}
.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-subtle);
  font-size: 13px;
}
.news-card__category {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 500;
}
.news-card__body {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-card__date {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 400;
  margin-bottom: 0.75rem;
}
.news-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.5;
  height: calc(1.25rem * 1.5 * 2);
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.news-card:hover .news-card__title {
  color: var(--color-primary);
}
.news-card__excerpt {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.news-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 0.0625rem solid #f3f4f6;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-accent);
}
.news-card__more svg {
  width: 0.875rem;
  height: 0.875rem;
  transition: transform 0.2s;
}
.news-card:hover .news-card__more svg {
  transform: translateX(3px);
}

/* ---------- Empty State ---------- */
.news-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 0;
  color: var(--color-text-muted);
  font-size: 15px;
}

/* ==========================================
   News Detail
   ========================================== */

/* ---------- Detail Section (min height) ---------- */
.news-detail-section {
  min-height: calc(100vh - var(--navbar-height) - 200px);
}

/* ---------- Detail Hero ---------- */
.news-detail-hero {
  padding: 56px 0 48px;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f0fdfa 100%);
}
.news-detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}
.news-detail-breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.news-detail-breadcrumb a:hover {
  color: var(--color-accent);
}
.news-detail-breadcrumb__sep {
  color: var(--color-border);
}
.news-detail-header {
  max-width: 1000px;
  margin: 0 auto;
}
.news-detail-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}
.news-detail-meta__category {
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(37, 104, 242, 0.1);
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 500;
}
.news-detail-meta__item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 1rem;
  color: var(--color-text-muted);
}
.news-detail-meta__item svg {
  width: 14px;
  height: 14px;
}
.news-detail-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.35;
  margin-bottom: 24px;
}
.news-detail-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.news-detail-author__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.news-detail-author__avatar svg {
  width: 20px;
  height: 20px;
  color: #fff;
}
.news-detail-author__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
}
.news-detail-author__label {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* ---------- Detail Content ---------- */
.news-detail-content-section {
  padding: 56px 0;
  background: #fff;
}
.news-detail-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.news-detail-cover {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  background: var(--color-bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  overflow: hidden;
}
.news-detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-detail-cover__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--color-text-subtle);
}
.news-detail-cover__placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--color-accent);
  opacity: 0.4;
}

/* prose-like content */
.news-prose {
  font-size: 16px;
  line-height: 1.85;
  color: var(--color-text-secondary);
}
.news-prose p {
  margin-bottom: 20px;
}
.news-prose h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 36px 0 16px;
}
.news-prose h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 28px 0 12px;
}
.news-prose blockquote {
  border-left: 3px solid var(--color-accent);
  padding: 12px 20px;
  margin: 24px 0;
  background: rgba(37, 104, 242, 0.04);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--color-text-primary);
  font-style: italic;
}

/* ---------- Share & Back ---------- */
.news-detail-footer {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.news-detail-share {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--color-text-muted);
}
.news-detail-share__btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg-muted);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  color: var(--color-text-secondary);
}
.news-detail-share__btn:hover {
  background: rgba(37, 104, 242, 0.1);
  color: var(--color-accent);
}
.news-detail-share__btn svg {
  width: 16px;
  height: 16px;
}
.news-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border: 1.5px solid var(--color-border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.news-detail-back:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.news-detail-back svg {
  width: 14px;
  height: 14px;
}

/* ---------- Related News ---------- */
.news-related {
  padding: 56px 0;
  background: var(--color-bg-subtle);
}
.news-related__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 32px;
}
.news-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) {
  .news-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .news-related-grid { grid-template-columns: 1fr; }
}

.news-related-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
}
.news-related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.news-related-card__image {
  aspect-ratio: 16 / 9;
  background: var(--color-bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--color-text-subtle);
  overflow: hidden;
}
.news-related-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-related-card__body {
  padding: 16px 18px;
}
.news-related-card__date {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--color-text-subtle);
  margin-bottom: 8px;
}
.news-related-card__date svg {
  width: 12px;
  height: 12px;
}
.news-related-card__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.news-related-card:hover .news-related-card__title {
  color: var(--color-accent);
}

/* ---------- Not Found ---------- */
.news-not-found {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.news-not-found h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 16px;
}

/* ── 移动端补充 ── */
@media (max-width: 480px) {
  .news-hero__title { font-size: 2rem; }
  .news-hero { padding: 48px 0; }
  .news-hero__desc { font-size: .9375rem; }
}
