
/* 成人资讯 - 核心响应式样式表 */
:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  --bg-canvas: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --border-hairline: #e2e8f0;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --accent-primary: #0f172a;
  --accent-hover: #334155;
  --accent-red: #b91c1c;
  --accent-blue: #1d4ed8;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--accent-red); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-hairline);
}
.site-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.site-brand {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.brand-num {
  background: var(--text-main);
  color: #fff;
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  overflow-x: auto;
}
.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a.active {
  color: var(--text-main);
  border-bottom-color: var(--accent-red);
}
.header-action { display: flex; align-items: center; }
.header-cta {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  color: var(--text-main);
}
.header-cta:hover { background: var(--bg-subtle); color: var(--text-main); }

/* Main Container */
.main-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  min-height: calc(100vh - 400px);
}

/* Breadcrumb */
.breadcrumb-bar {
  margin-bottom: 1.5rem;
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  font-size: 0.825rem;
  color: var(--text-muted);
}
.breadcrumb-item .sep { margin-left: 0.4rem; color: var(--text-light); }
.breadcrumb-item .current { color: var(--text-main); font-weight: 500; }

/* Grid Layouts */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}
.article-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.article-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.04);
}
.card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.card-title {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.65rem;
  color: var(--text-main);
}
.card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.card-footer {
  padding-top: 0.75rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Page Headers */
.page-header-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  margin-bottom: 2.5rem;
}
.page-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 1rem;
}
.page-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 860px;
  line-height: 1.7;
}

/* Article Detail */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 980px) {
  .article-layout { grid-template-columns: 1fr; }
}
.article-main {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
}
.article-header { margin-bottom: 2rem; border-bottom: 1px solid var(--border-hairline); padding-bottom: 1.5rem; }
.article-h1 {
  font-size: 2.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 1rem;
}
.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.article-body h2 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 2rem 0 1rem;
}
.article-body p {
  font-size: 1rem;
  color: #334155;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.callout-box {
  background: #f8fafc;
  border-left: 4px solid var(--text-main);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
}
.callout-title { font-weight: 600; margin-bottom: 0.35rem; color: var(--text-main); font-size: 0.95rem; }
.callout-text { font-size: 0.9rem; color: #475569; }

.legal-notice-banner {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  color: #92400e;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Sidebar */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.sidebar-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.sidebar-box-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-hairline);
  padding-bottom: 0.65rem;
}
.sidebar-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.sidebar-list a { font-size: 0.875rem; color: #334155; line-height: 1.45; }
.sidebar-list a:hover { color: var(--accent-red); }

/* Footer */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 4rem 1.5rem 2.5rem;
  border-top: 1px solid #1e293b;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-title { color: #f8fafc; font-size: 0.95rem; font-weight: 600; margin-bottom: 1.2rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.85rem; }
.footer-links a:hover { color: #ffffff; }
.footer-desc { font-size: 0.85rem; line-height: 1.7; margin-bottom: 1rem; color: #94a3b8; }
.footer-badge {
  display: inline-block;
  font-size: 0.75rem;
  color: #38bdf8;
  border: 1px solid #0369a1;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
}
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #1e293b;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #64748b;
}
