/* ============================================
   糖心Vlog 官方资讯门户 - 主样式文件
   ============================================ */

/* ---- CSS Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  color: #2d2d2d;
  background: #f7f8fa;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: #e84393; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- CSS Variables ---- */
:root {
  --primary: #e84393;
  --primary-dark: #c2316f;
  --primary-light: #fce4f0;
  --secondary: #ff6b35;
  --accent: #7c3aed;
  --text: #2d2d2d;
  --text-light: #666;
  --text-muted: #999;
  --bg: #f7f8fa;
  --bg-white: #fff;
  --border: #e8e8e8;
  --shadow: 0 2px 12px rgba(0,0,0,.08);
  --shadow-hover: 0 6px 24px rgba(232,67,147,.15);
  --radius: 10px;
  --radius-sm: 6px;
  --container: 1200px;
  --header-h: 70px;
}

/* ---- Container ---- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}
.site-logo a { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}
.logo-text em { color: var(--primary); font-style: normal; }
.logo-sub { font-size: 0.7rem; color: var(--text-muted); letter-spacing: 1px; }

/* Nav */
.main-nav { flex: 1; display: flex; justify-content: flex-end; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: block;
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all .2s;
}
.nav-list > li > a:hover, .nav-list > li.active > a {
  color: var(--primary);
  background: var(--primary-light);
}
.sub-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: var(--radius-sm);
  min-width: 140px;
  padding: 6px 0;
  z-index: 100;
}
.has-sub:hover .sub-nav { display: block; }
.sub-nav li a {
  display: block;
  padding: 8px 16px;
  font-size: 0.88rem;
  color: var(--text);
  white-space: nowrap;
}
.sub-nav li a:hover { color: var(--primary); background: var(--primary-light); }
.nav-toggle { display: none; font-size: 1.4rem; color: var(--text); padding: 6px; }

/* Search */
.header-search { padding: 8px 0 10px; position: relative; }
.search-form {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  transition: border-color .2s;
}
.search-form:focus-within { border-color: var(--primary); }
.search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 9px 16px;
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  min-width: 0;
}
.search-btn {
  padding: 9px 16px;
  color: var(--primary);
  background: transparent;
  display: flex;
  align-items: center;
}
.search-tips {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
  box-shadow: var(--shadow);
  z-index: 200;
}
.search-tips a { color: var(--primary); margin: 0 4px; }
.search-tips a:hover { text-decoration: underline; }

/* Breadcrumb */
.breadcrumb-bar { background: #fff; border-bottom: 1px solid var(--border); padding: 8px 0; }
.breadcrumb { font-size: 0.85rem; color: var(--text-muted); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.bc-sep { color: var(--border); }

/* ============================================
   HERO BANNER
   ============================================ */
.hero-banner {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 8s ease;
}
.hero-banner:hover .hero-bg { transform: scale(1.05); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,10,20,.75) 0%, rgba(100,20,60,.5) 60%, rgba(0,0,0,.3) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 60px 0;
}
.hero-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 50px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.hero-title span { color: #ffd6ec; display: block; font-size: 0.6em; font-weight: 600; }
.hero-sub { font-size: 1rem; opacity: .9; margin-bottom: 28px; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 32px; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 1.4rem; font-weight: 800; }
.stat span { font-size: 0.82rem; opacity: .8; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all .2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(232,67,147,.4); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.15); color: #fff; }
.btn-full { width: 100%; }
.btn-follow {
  display: inline-block;
  padding: 5px 16px;
  background: var(--primary);
  color: #fff;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all .2s;
}
.btn-follow:hover { background: var(--primary-dark); color: #fff; }

/* ============================================
   SECTION BLOCKS
   ============================================ */
.section-block { padding: 48px 0; }
.section-block:nth-child(even) { background: #fff; }
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.section-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
}
.title-mark { color: var(--primary); }
.more-link {
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 500;
}
.more-link:hover { text-decoration: underline; }
.update-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 50px;
  font-weight: 600;
}

/* ============================================
   HEADLINE SECTION
   ============================================ */
.headline-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; }
.headline-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all .25s; }
.headline-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.headline-big { flex-direction: column; }
.headline-small { flex-direction: row; }
.headline-side { display: flex; flex-direction: column; gap: 14px; }
.hc-img { position: relative; overflow: hidden; flex-shrink: 0; }
.headline-big .hc-img { height: 240px; }
.headline-small .hc-img { width: 120px; height: 80px; }
.hc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.headline-card:hover .hc-img img { transform: scale(1.05); }
.video-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(232,67,147,.9);
  color: #fff;
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.hc-body { padding: 14px; flex: 1; }
.hc-cat {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  font-weight: 600;
}
.hc-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; line-height: 1.4; color: var(--text); }
.hc-body h4 { font-size: 0.88rem; font-weight: 600; line-height: 1.4; color: var(--text); }
.hc-body p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hc-meta { display: flex; align-items: center; gap: 10px; font-size: 0.78rem; color: var(--text-muted); flex-wrap: wrap; }
.hc-meta .author { color: var(--primary); font-weight: 500; }

/* ============================================
   VIDEO CARDS
   ============================================ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.video-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all .25s;
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.vc-thumb-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.vc-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.video-card:hover .vc-thumb { transform: scale(1.06); }
.vc-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s;
}
.vc-play-btn svg { width: 60px; height: 60px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.4)); }
.video-card:hover .vc-play-btn { opacity: 1; }
.vc-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,.75);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 600;
}
.vc-quality {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}
.vc-info { padding: 14px; }
.vc-title { font-size: 0.92rem; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.vc-title a { color: var(--text); }
.vc-title a:hover { color: var(--primary); }
.vc-meta { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--text-muted); flex-wrap: wrap; margin-bottom: 8px; }
.vc-author { color: var(--primary); font-weight: 500; }
.vc-tags { display: flex; gap: 6px; flex-wrap: wrap; }

/* Tags */
.tag {
  display: inline-block;
  background: var(--bg);
  color: var(--text-light);
  font-size: 0.75rem;
  padding: 3px 9px;
  border-radius: 50px;
  border: 1px solid var(--border);
  transition: all .2s;
}
.tag:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }

/* Tab Nav */
.tab-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.tab-btn {
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: all .2s;
}
.tab-btn.active, .tab-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Filter Bar */
.filter-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; background: #fff; padding: 14px 18px; border-radius: var(--radius); box-shadow: var(--shadow); }
.filter-label { font-size: 0.88rem; color: var(--text-muted); font-weight: 500; white-space: nowrap; }
.filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-btn {
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  color: var(--text-light);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: all .2s;
}
.filter-btn.active, .filter-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ============================================
   INDUSTRY SECTION
   ============================================ */
.industry-grid { display: flex; flex-direction: column; gap: 20px; }
.industry-card {
  display: flex;
  gap: 20px;
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  transition: all .25s;
  align-items: flex-start;
}
.industry-card:hover { transform: translateX(4px); box-shadow: var(--shadow-hover); }
.ic-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-light);
  line-height: 1;
  flex-shrink: 0;
  width: 50px;
}
.ic-cat {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  font-weight: 600;
}
.ic-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.ic-body h3 a { color: var(--text); }
.ic-body h3 a:hover { color: var(--primary); }
.ic-body p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; margin-bottom: 10px; }
.ic-meta { display: flex; gap: 12px; font-size: 0.78rem; color: var(--text-muted); flex-wrap: wrap; }

/* ============================================
   SPECIAL SECTION
   ============================================ */
.special-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.special-grid-lg { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.special-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all .25s;
  display: block;
}
.special-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.sc-img { aspect-ratio: 16/9; overflow: hidden; }
.sc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.special-card:hover .sc-img img { transform: scale(1.06); }
.sc-body { padding: 16px; }
.sc-tag {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  font-weight: 600;
}
.sc-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.sc-body p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sc-count { font-size: 0.8rem; color: var(--primary); font-weight: 500; }
.sc-meta { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-muted); }

/* ============================================
   HOT + AUTHOR SECTION
   ============================================ */
.hot-author-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.hot-list { display: flex; flex-direction: column; gap: 12px; }
.hot-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px; background: #fff; border-radius: var(--radius-sm); transition: all .2s; }
.hot-item:hover { background: var(--primary-light); }
.hot-rank {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rank-1 { background: #ff4444; color: #fff; }
.rank-2 { background: #ff8800; color: #fff; }
.rank-3 { background: #ffc107; color: #fff; }
.hot-info { flex: 1; }
.hot-info a { font-size: 0.9rem; color: var(--text); font-weight: 500; line-height: 1.4; display: block; margin-bottom: 4px; }
.hot-info a:hover { color: var(--primary); }
.hot-meta { font-size: 0.75rem; color: var(--text-muted); }
.author-list { display: flex; flex-direction: column; gap: 16px; }
.author-card {
  display: flex;
  gap: 14px;
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  align-items: flex-start;
}
.author-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid var(--primary-light); }
.author-info { flex: 1; }
.author-name { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.author-name a:hover { color: var(--primary); }
.author-bio { font-size: 0.82rem; color: var(--text-light); margin-bottom: 8px; line-height: 1.5; }
.author-stats { display: flex; gap: 12px; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 8px; }

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section { background: #fff; }
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all .2s;
}
.faq-q::after { content: '+'; font-size: 1.2rem; color: var(--primary); font-weight: 400; transition: transform .2s; }
.faq-item.open .faq-q { color: var(--primary); background: var(--primary-light); }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { display: none; padding: 0 20px 16px; font-size: 0.9rem; color: var(--text-light); line-height: 1.8; }
.faq-item.open .faq-a { display: block; }

/* ============================================
   REVIEW SECTION
   ============================================ */
.rating-summary { display: flex; align-items: center; gap: 10px; }
.rating-score { font-size: 2rem; font-weight: 900; color: var(--primary); }
.rating-stars { color: #ffc107; font-size: 1.1rem; }
.rating-count { font-size: 0.82rem; color: var(--text-muted); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.review-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}
.rv-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rv-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.rv-user { flex: 1; }
.rv-user strong { display: block; font-size: 0.92rem; }
.rv-stars { color: #ffc107; font-size: 0.85rem; }
.rv-time { font-size: 0.78rem; color: var(--text-muted); }
.rv-text { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; margin-bottom: 10px; }
.rv-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.rv-tags span { background: var(--primary-light); color: var(--primary); font-size: 0.72rem; padding: 2px 8px; border-radius: 50px; }
.rv-stats { font-size: 0.78rem; color: var(--text-muted); }

/* ============================================
   CONTACT CTA
   ============================================ */
.contact-cta-section { background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%); }
.contact-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 10px 0; }
.cta-text h2 { font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.cta-text p { font-size: 0.9rem; color: rgba(255,255,255,.85); max-width: 560px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-actions .btn-primary { background: #fff; color: var(--primary); }
.cta-actions .btn-primary:hover { background: var(--primary-light); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: #1a1a2e; color: rgba(255,255,255,.75); padding: 48px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 32px; margin-bottom: 32px; }
.footer-logo .logo-text { color: #fff; font-size: 1.4rem; }
.footer-logo .logo-text em { color: var(--primary); }
.footer-desc { font-size: 0.85rem; line-height: 1.7; margin: 12px 0; color: rgba(255,255,255,.6); }
.footer-domain { font-size: 0.82rem; color: rgba(255,255,255,.5); }
.footer-col h4 { color: #fff; font-size: 0.95rem; font-weight: 700; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 0.85rem; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.footer-tags .tag { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.65); }
.footer-tags .tag:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.copyright { font-size: 0.82rem; color: rgba(255,255,255,.45); }
.update-time { font-size: 0.82rem; color: rgba(255,255,255,.45); }

/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b4e 50%, #1a1a2e 100%);
  padding: 60px 0;
  text-align: center;
}
.page-hero-sm { padding: 36px 0; }
.page-hero-title { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 900; color: #fff; margin-bottom: 10px; }
.page-hero-title span { color: var(--primary); }
.page-hero-sub { font-size: 0.95rem; color: rgba(255,255,255,.7); }

/* ============================================
   CONTENT LAYOUT (MAIN + SIDEBAR)
   ============================================ */
.main-content { padding: 40px 0; }
.content-layout { display: grid; grid-template-columns: 1fr 300px; gap: 28px; }
.content-sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-widget { background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.widget-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); color: var(--text); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.sidebar-authors { display: flex; flex-direction: column; gap: 12px; }
.sa-item { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: var(--radius-sm); transition: background .2s; }
.sa-item:hover { background: var(--primary-light); }
.sa-item img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.sa-item div { display: flex; flex-direction: column; }
.sa-item strong { font-size: 0.88rem; color: var(--text); }
.sa-item span { font-size: 0.75rem; color: var(--text-muted); }
.sidebar-videos { display: flex; flex-direction: column; gap: 10px; }
.sv-item { display: flex; gap: 10px; align-items: flex-start; }
.sv-item img { width: 80px; height: 50px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.sv-item span { font-size: 0.82rem; color: var(--text); line-height: 1.4; }
.sv-item:hover span { color: var(--primary); }

/* ============================================
   PAGINATION
   ============================================ */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text);
  transition: all .2s;
}
.page-btn.active, .page-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.page-btn.next { width: auto; padding: 0 14px; }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-layout { max-width: 900px; margin: 0 auto; }
.about-banner { border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; box-shadow: var(--shadow); }
.about-banner img { width: 100%; height: 320px; object-fit: cover; }
.about-intro { margin-bottom: 32px; }
.about-intro h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 14px; color: var(--text); }
.about-intro p { font-size: 0.95rem; color: var(--text-light); line-height: 1.8; margin-bottom: 12px; }
.about-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.about-stat { background: #fff; border-radius: var(--radius); padding: 20px; text-align: center; box-shadow: var(--shadow); }
.about-stat strong { display: block; font-size: 1.6rem; font-weight: 900; color: var(--primary); margin-bottom: 4px; }
.about-stat span { font-size: 0.85rem; color: var(--text-muted); }
.about-mission { margin-bottom: 40px; }
.about-mission h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 20px; }
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mission-card { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); text-align: center; }
.mc-icon { font-size: 2rem; margin-bottom: 12px; }
.mission-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.mission-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; }
.about-timeline h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 20px; }
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ''; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px; background: var(--primary-light); }
.tl-item { position: relative; margin-bottom: 24px; }
.tl-item::before { content: ''; position: absolute; left: -24px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); border: 2px solid #fff; box-shadow: 0 0 0 3px var(--primary-light); }
.tl-year { font-size: 0.8rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.tl-content h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.tl-content p { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 14px; }
.contact-info > p { font-size: 0.92rem; color: var(--text-light); line-height: 1.7; margin-bottom: 24px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-card { background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); text-align: center; }
.cc-icon { font-size: 1.8rem; margin-bottom: 10px; }
.contact-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.contact-card p { font-size: 0.82rem; color: var(--text-light); line-height: 1.6; margin-bottom: 12px; }
.contact-card .btn-outline { color: var(--primary); border-color: var(--primary); background: transparent; font-size: 0.82rem; padding: 7px 16px; }
.contact-card .btn-outline:hover { background: var(--primary); color: #fff; }
.contact-form-wrap h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 20px; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.req { color: var(--primary); }
.form-group input, .form-group select, .form-group textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ============================================
   ARTICLE PAGE
   ============================================ */
.article-detail { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.article-header { margin-bottom: 20px; }
.article-cat { display: inline-block; background: var(--primary-light); color: var(--primary); font-size: 0.78rem; padding: 3px 10px; border-radius: 4px; margin-bottom: 10px; font-weight: 600; }
.article-title { font-size: 1.5rem; font-weight: 800; line-height: 1.4; margin-bottom: 12px; }
.article-meta { display: flex; gap: 12px; font-size: 0.82rem; color: var(--text-muted); flex-wrap: wrap; }
.article-thumb { border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 20px; }
.article-thumb img { width: 100%; max-height: 360px; object-fit: cover; }
.article-body { font-size: 0.95rem; line-height: 1.9; color: var(--text-light); margin-bottom: 20px; }
.article-body p { margin-bottom: 14px; }
.article-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; font-size: 0.85rem; color: var(--text-muted); }
.related-articles h3 { font-size: 1rem; font-weight: 700; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--primary); }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.related-card { display: flex; flex-direction: column; gap: 8px; }
.related-card img { border-radius: var(--radius-sm); height: 100px; object-fit: cover; }
.related-card span { font-size: 0.85rem; color: var(--text); line-height: 1.4; }
.related-card:hover span { color: var(--primary); }

/* ============================================
   AUTHOR PAGE
   ============================================ */
.author-grid-page { display: flex; flex-direction: column; gap: 20px; }
.author-page-card { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.apc-header { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 12px; }
.apc-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary-light); flex-shrink: 0; }
.apc-basic { flex: 1; }
.apc-name { font-size: 1.1rem; font-weight: 800; margin-bottom: 6px; }
.apc-name a:hover { color: var(--primary); }
.apc-stats { display: flex; gap: 14px; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 8px; }
.apc-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.apc-bio { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

/* ============================================
   CATEGORY NAV
   ============================================ */
.cat-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; padding: 16px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.cat-nav-btn {
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 0.88rem;
  color: var(--text-light);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: all .2s;
  font-weight: 500;
}
.cat-nav-btn.active, .cat-nav-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ============================================
   SEARCH PAGE
   ============================================ */
.search-notice { text-align: center; padding: 60px 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.sn-icon { font-size: 3rem; margin-bottom: 16px; }
.search-notice h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 12px; }
.search-notice p { font-size: 0.95rem; color: var(--text-light); margin-bottom: 10px; }
.sn-links { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.sn-links .btn-outline { color: var(--primary); border-color: var(--primary); background: transparent; }
.sn-links .btn-outline:hover { background: var(--primary); color: #fff; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .headline-grid { grid-template-columns: 1fr; }
  .headline-side { flex-direction: row; flex-wrap: wrap; }
  .headline-small { width: calc(50% - 7px); }
  .hot-author-grid { grid-template-columns: 1fr; }
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .nav-toggle { display: block; }
  .main-nav { position: relative; }
  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    flex-direction: column;
    padding: 10px 0;
    min-width: 200px;
    z-index: 200;
  }
  .nav-list.open { display: flex; }
  .nav-list > li > a { padding: 10px 20px; }
  .sub-nav { position: static; box-shadow: none; padding-left: 20px; }
  .has-sub:hover .sub-nav { display: none; }
  .hero-banner { min-height: 360px; }
  .hero-stats { gap: 16px; }
  .special-grid { grid-template-columns: 1fr; }
  .content-layout { grid-template-columns: 1fr; }
  .content-sidebar { order: -1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .headline-small { width: 100%; }
  .related-grid { grid-template-columns: 1fr; }
  .apc-header { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; }
  .contact-cta-inner { flex-direction: column; text-align: center; }
  .about-stats-grid { grid-template-columns: 1fr 1fr; }
}
