/* ==========================================================================
   LIUTONG FOUNTAIN - news-content page styles (split from content.css)
   ========================================================================== */

/* ==========================================================================
   News Content (Detail) Page Styles
   ========================================================================== */

/* ---------- Detail Breadcrumb ---------- */
.detail-breadcrumb {
  padding: 16px 0;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.detail-breadcrumb a {
  color: var(--muted);
  transition: color 0.2s;
}
.detail-breadcrumb a:hover {
  color: var(--brand-3);
}
.detail-breadcrumb .sep {
  margin: 0 8px;
  color: rgba(100,116,139,0.4);
}
.detail-breadcrumb .current {
  color: var(--text);
}

/* ---------- Article Layout ---------- */
.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 860px;
  margin: 0 auto;
}
.article-header {
  margin-bottom: 36px;
}
.article-header .tag {
  margin-bottom: 14px;
}
.article-header h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 3.5vw, 36px);
  color: var(--brand);
  line-height: 1.25;
  margin: 0 0 16px;
  letter-spacing: -0.3px;
}
.article-meta {
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 16px;
}
.article-meta .meta-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted);
}
.article-featured-img {
  margin-bottom: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.article-featured-img img {
  width: 100%;
  display: block;
}

/* ---------- Article Body ---------- */
.article-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}
.article-body h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--brand);
  margin: 48px 0 16px;
  letter-spacing: -0.2px;
}
.article-body h2:first-child {
  margin-top: 0;
}
.article-body p {
  margin: 0 0 20px;
  color: #475569;
}
.article-body .article-img {
  margin: 36px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.article-body .article-img img {
  width: 100%;
  display: block;
}
.article-body .article-img figcaption {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  padding: 10px 0 0;
}

/* ---------- Article Nav (Prev / Next) ---------- */
.article-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.article-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  transition: all 0.25s var(--ease);
  cursor: pointer;
  text-decoration: none;
}
.article-nav-link:hover {
  border-color: var(--brand-3);
  color: var(--brand-3);
  background: rgba(0,136,255,0.04);
}
.article-nav-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.article-nav-link .nav-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}
.article-nav-link .nav-title {
  display: block;
  margin-top: 2px;
}@media (max-width: 768px) {
.article-nav {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
.article-nav-link {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Article Sidebar Layout (design ref) - article main + right aside
   ========================================================================== */
.article-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  max-width: none;
}
.article-main { min-width: 0; }
.article-aside {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-self: start;
  position: sticky;
  top: 110px;
}
.aside-title {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 8px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--brand-3);
}
.recent-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  align-items: center;
}
.recent-thumb {
  flex: 0 0 84px;
  width: 84px;
  height: 84px;
  border-radius: 10px;
  overflow: hidden;
}
.recent-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.recent-body { min-width: 0; }
.recent-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
  transition: color .2s;
}
.recent-item:hover .recent-title { color: var(--brand-3); }
.recent-date { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; }
.expert-card {
  background: linear-gradient(150deg, #1840c4 0%, #0c1c60 100%);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 36px 28px;
  box-shadow: 0 18px 40px rgba(12,28,96,0.35);
}
.expert-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  margin: 0 0 24px;
}
.expert-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  background: #fff;
  color: #0c1c60;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s, box-shadow .3s;
}
.expert-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; gap: 48px; }
  .article-aside { position: static; }
}
