@charset "utf-8";
/* ============================================
   fdetu.com - Neo-Brutalist 新粗野主义
   风格: 大色块、粗边框、高对比度
   ============================================ */

:root {
  --primary: #FF4D00;
  --secondary: #2D2D2D;
  --accent: #FFD600;
  --light: #F5F5F5;
  --white: #FFFFFF;
  --dark: #1A1A1A;
  --gray: #888888;
  --border: 4px solid var(--secondary);
  --shadow: 8px 8px 0 var(--secondary);
  --shadow-hover: 12px 12px 0 var(--secondary);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--light);
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
  color: var(--dark);
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
ul, li { list-style: none; }
img { max-width: 100%; height: auto; }

/* ============================================
   头部 - 粗野风格
   ============================================ */
.header { background: var(--white); border-bottom: var(--border); position: sticky; top: 0; z-index: 100; }
.top_header { max-width: 1400px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: flex-start; gap: 15px; }
.top_header a#logo { display: flex; align-items: center; gap: 15px; } .top_header a#logo img { height: 100px; width: 100px; object-fit: cover; border-radius: 10px; } .top_header a#logo .site-name { font-size: 1.25rem; font-weight: 700; color: #1a1a1a; }

.nav-warp { background: var(--secondary); }
.nav-container { max-width: 1400px; margin: 0 auto; padding: 0 40px; display: flex; }
.nav-item { display: inline-block; padding: 20px 32px; font-size: 14px; font-weight: 700; color: var(--white); letter-spacing: 2px; text-transform: uppercase; border-right: 2px solid #444; transition: all 0.2s ease; }
.nav-item:first-child { border-left: 2px solid #444; }
.nav-item:hover { background: var(--primary); color: var(--white); }

/* ============================================
   主视觉区 - 大色块
   ============================================ */
.hero-section { background: var(--primary); padding: 80px 40px; position: relative; overflow: hidden; }
.hero-section::before { content: 'NEWS'; position: absolute; right: -40px; top: 50%; transform: translateY(-50%) rotate(-90deg); font-size: 200px; font-weight: 900; color: rgba(0,0,0,0.1); letter-spacing: -10px; }
.hero-container { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: center; }

.hero-content { }
.hero-badge { display: inline-block; background: var(--dark); color: var(--white); padding: 8px 20px; font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 24px; }
.hero-title { font-size: 56px; font-weight: 900; color: var(--white); line-height: 1.1; margin-bottom: 24px; letter-spacing: -2px; }
.hero-title:hover { color: var(--accent); }
.hero-desc { font-size: 18px; color: rgba(255,255,255,0.9); line-height: 1.8; margin-bottom: 32px; max-width: 600px; }
.hero-meta { display: flex; gap: 32px; font-size: 14px; color: rgba(255,255,255,0.8); font-weight: 600; letter-spacing: 1px; }
.hero-meta i { margin-right: 8px; }

.hero-image { position: relative; }
.hero-img-box { background: var(--white); padding: 16px; box-shadow: var(--shadow); }
.hero-img-box img { width: 100%; height: 360px; object-fit: cover; display: block; }
.hero-img-label { background: var(--accent); color: var(--dark); padding: 12px 20px; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; display: inline-block; margin-top: 16px; }

/* ============================================
   卡片网格 - 粗野风格
   ============================================ */
.cards-section { padding: 80px 40px; background: var(--light); }
.cards-container { max-width: 1400px; margin: 0 auto; }
.section-header { display: flex; align-items: center; gap: 24px; margin-bottom: 48px; }
.section-header h2 { font-size: 36px; font-weight: 900; color: var(--dark); letter-spacing: -1px; }
.section-header .line { flex: 1; height: 4px; background: var(--secondary); }
.section-header .tag { background: var(--primary); color: var(--white); padding: 8px 20px; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.brutal-card { background: var(--white); border: var(--border); box-shadow: var(--shadow); transition: all 0.2s ease; position: relative; overflow: hidden; }
.brutal-card:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow-hover); }
.brutal-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 8px; background: var(--primary); }
.brutal-card-img { height: 200px; background-size: cover; background-position: center; border-bottom: var(--border); }
.brutal-card-body { padding: 28px; }
.brutal-card-category { display: inline-block; background: var(--dark); color: var(--white); padding: 4px 12px; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.brutal-card-title { font-size: 22px; font-weight: 800; color: var(--dark); line-height: 1.3; margin-bottom: 16px; letter-spacing: -0.5px; }
.brutal-card-title:hover { color: var(--primary); }
.brutal-card-desc { font-size: 14px; color: var(--gray); line-height: 1.7; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.brutal-card-footer { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--gray); font-weight: 600; letter-spacing: 1px; border-top: 2px dashed #ddd; padding-top: 16px; }

/* ============================================
   双栏列表 - 左右布局
   ============================================ */
.split-section { padding: 80px 40px; background: var(--white); border-top: var(--border); border-bottom: var(--border); }
.split-container { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }

.split-block { }
.split-header { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; padding-bottom: 20px; border-bottom: var(--border); }
.split-header i { font-size: 28px; color: var(--primary); }
.split-header h3 { font-size: 24px; font-weight: 900; color: var(--dark); letter-spacing: 1px; text-transform: uppercase; }

.split-list { }
.split-item { display: flex; gap: 20px; padding: 24px 0; border-bottom: 2px dashed #ddd; transition: all 0.2s ease; }
.split-item:hover { background: var(--light); margin: 0 -20px; padding: 24px 20px; }
.split-item:hover .split-num { background: var(--primary); color: var(--white); }
.split-num { width: 48px; height: 48px; background: var(--dark); color: var(--white); font-size: 20px; font-weight: 900; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.2s ease; }
.split-info { flex: 1; }
.split-title { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 8px; line-height: 1.4; }
.split-title:hover { color: var(--primary); }
.split-meta { font-size: 12px; color: var(--gray); letter-spacing: 1px; }
.split-thumb { width: 120px; height: 80px; background-size: cover; background-position: center; border: 2px solid var(--secondary); flex-shrink: 0; }

/* ============================================
   全宽横幅
   ============================================ */
.fullbanner-section { background: var(--dark); padding: 60px 40px; text-align: center; position: relative; overflow: hidden; }
.fullbanner-section::before { content: '★'; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 400px; color: rgba(255,255,255,0.03); }
.fullbanner-content { position: relative; z-index: 1; }
.fullbanner-section h2 { font-size: 48px; font-weight: 900; color: var(--white); letter-spacing: 4px; text-transform: uppercase; margin-bottom: 16px; }
.fullbanner-section h2 span { color: var(--primary); }
.fullbanner-section p { font-size: 18px; color: rgba(255,255,255,0.6); letter-spacing: 2px; }

/* ============================================
   标签云
   ============================================ */
.tags-section { padding: 80px 40px; background: var(--light); }
.tags-container { max-width: 1400px; margin: 0 auto; }
.tags-header { text-align: center; margin-bottom: 48px; }
.tags-header h2 { font-size: 36px; font-weight: 900; color: var(--dark); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.tags-header p { font-size: 14px; color: var(--gray); letter-spacing: 3px; }

.tags-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.tag-item { padding: 14px 28px; background: var(--white); color: var(--dark); font-size: 14px; font-weight: 700; border: 3px solid var(--secondary); box-shadow: 4px 4px 0 var(--secondary); transition: all 0.2s ease; text-transform: uppercase; letter-spacing: 1px; }
.tag-item:hover { background: var(--primary); color: var(--white); border-color: var(--primary); box-shadow: 4px 4px 0 var(--dark); transform: translate(-2px, -2px); }

/* ============================================
   页脚
   ============================================ */
.footer { background: var(--secondary); padding: 60px 40px; text-align: center; border-top: var(--border); }
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-logo { font-size: 32px; font-weight: 900; color: var(--white); letter-spacing: 4px; text-transform: uppercase; margin-bottom: 20px; }
.footer-copy { font-size: 14px; color: rgba(255,255,255,0.6); letter-spacing: 2px; }
.footer-copy a { color: var(--primary); }
.footer-copy a:hover { color: var(--accent); }

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1200px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .split-container { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero-title { font-size: 36px; }
  .cards-grid { grid-template-columns: 1fr; }
  .top_header { padding: 16px 20px; }
  .nav-container { padding: 0 20px; flex-wrap: wrap; }
  .nav-item { padding: 16px 20px; font-size: 12px; }
  .section-header h2 { font-size: 28px; }
  .fullbanner-section h2 { font-size: 32px; }
}

/* ============================================
   列表页样式
   ============================================ */
.list-page-wrapper { max-width: 1200px; margin: 0 auto; padding: 60px 40px; display: grid; grid-template-columns: 1fr 300px; gap: 60px; }
.list-main { min-width: 0; }
.list-articles { display: flex; flex-direction: column; gap: 32px; }

.list-article-item { display: flex; gap: 28px; background: var(--white); border: var(--border); box-shadow: var(--shadow); transition: all 0.2s ease; }
.list-article-item:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow-hover); }
.list-article-img { width: 280px; height: 200px; background-size: cover; background-position: center; flex-shrink: 0; border-right: var(--border); }
.list-article-info { flex: 1; padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.list-article-info h3 { font-size: 22px; font-weight: 800; color: var(--dark); margin-bottom: 12px; line-height: 1.3; letter-spacing: -0.5px; }
.list-article-info h3:hover { color: var(--primary); }
.list-article-info p { font-size: 14px; color: var(--gray); line-height: 1.7; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.list-article-meta { display: flex; gap: 24px; font-size: 12px; color: var(--gray); font-weight: 600; letter-spacing: 1px; }

.list-sidebar { }
.sidebar-card { background: var(--white); border: var(--border); box-shadow: var(--shadow); margin-bottom: 32px; }
.sidebar-card h4 { background: var(--dark); color: var(--white); padding: 16px 20px; font-size: 14px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.sidebar-list { padding: 20px; }
.sidebar-list li { padding: 14px 0; border-bottom: 2px dashed #ddd; }
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; color: var(--dark); transition: color 0.2s ease; }
.sidebar-list a:hover { color: var(--primary); }
.sidebar-list .count { background: var(--light); padding: 4px 12px; font-size: 12px; font-weight: 800; }

.pagination { display: flex; justify-content: center; gap: 12px; margin-top: 60px; }
.pagination a, .pagination span { padding: 14px 24px; background: var(--white); border: 3px solid var(--secondary); font-size: 14px; font-weight: 800; color: var(--dark); letter-spacing: 1px; transition: all 0.2s ease; box-shadow: 4px 4px 0 var(--secondary); }
.pagination a:hover, .pagination .active { background: var(--primary); color: var(--white); border-color: var(--primary); box-shadow: 4px 4px 0 var(--dark); transform: translate(-2px, -2px); }

.page-header { background: var(--dark); padding: 60px 40px; border-bottom: var(--border); }
.page-header .container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.page-title { font-size: 36px; font-weight: 900; color: var(--white); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px; }
.page-breadcrumb { font-size: 14px; color: rgba(255,255,255,0.6); letter-spacing: 1px; }
.page-breadcrumb a { color: var(--primary); }
.page-breadcrumb a:hover { color: var(--accent); }
.content-wrapper { background: var(--light); padding: 60px 0; }
.content-wrapper .container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

.article-detail { background: var(--white); padding: 48px; margin-bottom: 40px; border: var(--border); box-shadow: var(--shadow); }
.detail-header { margin-bottom: 40px; padding-bottom: 32px; border-bottom: var(--border); }
.detail-category { display: inline-block; background: var(--primary); color: var(--white); padding: 8px 20px; font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; }
.detail-title { font-size: 36px; font-weight: 900; color: var(--dark); line-height: 1.2; margin-bottom: 20px; letter-spacing: -1px; }
.detail-meta { display: flex; gap: 32px; font-size: 14px; color: var(--gray); font-weight: 600; letter-spacing: 1px; }
.detail-meta i { margin-right: 6px; color: var(--primary); }
.detail-content { font-size: 16px; line-height: 2; color: var(--dark); }
.detail-content p { margin-bottom: 20px; }
.detail-content img { max-width: 100%; height: auto; margin: 24px 0; border: var(--border); }
.detail-content h2, .detail-content h3 { font-size: 24px; font-weight: 800; color: var(--dark); margin: 40px 0 20px; letter-spacing: 1px; text-transform: uppercase; }
.detail-tags { margin-top: 40px; padding-top: 24px; border-top: var(--border); font-size: 14px; color: var(--gray); display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-weight: 600; letter-spacing: 1px; }
.detail-tags i { color: var(--primary); margin-right: 8px; }
.detail-tags a { padding: 8px 16px; background: var(--light); color: var(--dark); border: 2px solid var(--secondary); font-size: 12px; font-weight: 700; text-transform: uppercase; transition: all 0.2s ease; }
.detail-tags a:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

.related-articles { background: var(--white); padding: 40px; border: var(--border); box-shadow: var(--shadow); }
.related-title { font-size: 20px; font-weight: 900; color: var(--dark); margin-bottom: 24px; padding-bottom: 16px; border-bottom: var(--border); letter-spacing: 2px; text-transform: uppercase; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related-card { border: var(--border); transition: all 0.2s ease; }
.related-card:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow-hover); }
.related-img { height: 140px; background-size: cover; background-position: center; border-bottom: var(--border); }
.related-info { padding: 20px; background: var(--white); }
.related-info h4 { font-size: 14px; font-weight: 800; color: var(--dark); margin-bottom: 8px; line-height: 1.4; letter-spacing: -0.5px; }
.related-info h4:hover { color: var(--primary); }
.related-info span { font-size: 12px; color: var(--gray); letter-spacing: 1px; }
.related-info span i { margin-right: 4px; color: var(--primary); }

@media (max-width: 1024px) {
  .list-page-wrapper { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .list-article-item { flex-direction: column; }
  .list-article-img { width: 100%; height: 200px; }
  .related-grid { grid-template-columns: 1fr; }
  .article-detail { padding: 32px; }
  .detail-title { font-size: 28px; }
}
