/* ================================================
   NEWS DETAIL PAGE — news-detail.css
   TRISTONES AI ROBOTICS LABS LLC
   ================================================ */

/* ── Layout ── */
.news-detail-main {
  padding-top: 72px; /* navbar height */
  min-height: 100vh;
  background: var(--bg-dark, #080c14);
}

/* 新闻详情页：导航栏始终有深色背景，不透明 */
.nd-navbar-solid {
  background: rgba(5,10,21,0.95) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

/* 新闻详情页：导航栏 Logo 尺寸固定小巧 */
.nd-navbar-solid .brand-icon {
  width: 28px !important;
  height: 28px !important;
  object-fit: contain;
  flex-shrink: 0;
}
.nd-navbar-solid .brand-wordmark {
  height: 22px !important;
  width: auto !important;
  object-fit: contain;
  flex-shrink: 0;
}
.nd-navbar-solid .nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Hero Banner ── */
.nd-hero {
  position: relative;
  height: 360px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .nd-hero { height: 260px; }
}

.nd-hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.nd-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,12,20,0.35) 0%,
    rgba(8,12,20,0.6)  50%,
    rgba(8,12,20,0.92) 100%
  );
}

.nd-hero-content {
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 860px;
  padding: 0 24px 40px;
}

/* back link */
.nd-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  margin-bottom: 16px;
  transition: color 0.2s;
}
.nd-back:hover { color: var(--accent, #00d4ff); }

/* category badge */
.nd-category {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cat-color, #0055ff);
  background: rgba(0,85,255,0.12);
  border: 1px solid color-mix(in srgb, var(--cat-color, #0055ff) 40%, transparent);
  padding: 4px 12px; border-radius: 100px;
  margin-bottom: 14px;
  line-height: 1;
}

.nd-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin: 0 0 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.nd-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  margin: 0 0 20px;
  max-width: 680px;
}

.nd-meta {
  display: flex; flex-wrap: wrap; gap: 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.nd-meta i { margin-right: 5px; color: var(--accent, #00d4ff); opacity: 0.7; }

/* ── Article Body ── */
.nd-article {
  max-width: 860px;
  padding-top: 56px;
  padding-bottom: 80px;
}

.nd-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.75);
}

.nd-body p {
  margin: 0 0 1.4em;
}

.nd-body h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin: 2.2em 0 0.8em;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nd-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin: 1.8em 0 0.5em;
}

.nd-body strong {
  color: rgba(255,255,255,0.92);
  font-weight: 700;
}

.nd-body ul {
  padding-left: 1.4em;
  margin-bottom: 1.4em;
}
.nd-body ul li {
  margin-bottom: 0.5em;
}

.nd-body blockquote {
  border-left: 3px solid var(--accent, #00d4ff);
  margin: 1.8em 0;
  padding: 14px 20px;
  background: rgba(0,212,255,0.05);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: rgba(255,255,255,0.7);
}

/* pull quote / highlight box */
.nd-body .nd-highlight {
  background: rgba(0,85,255,0.08);
  border: 1px solid rgba(0,85,255,0.2);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 1.8em 0;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
}

/* ── Tags ── */
.nd-tags {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.nd-tags-label {
  font-size: 0.8rem; font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-right: 4px;
}
.news-detail-tag {
  display: inline-block;
  font-size: 0.75rem; font-weight: 600;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 4px 12px; border-radius: 100px;
  transition: background 0.2s, color 0.2s;
}
.news-detail-tag:hover {
  background: rgba(0,212,255,0.12);
  color: var(--accent, #00d4ff);
}

/* ── Footer Actions ── */
.nd-footer-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 40px;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .nd-hero-content { padding: 0 16px 28px; }
  .nd-article { padding-top: 36px; padding-bottom: 60px; }
  .nd-body { font-size: 1rem; }
  .nd-footer-actions { flex-direction: column; }
}
