/*
Theme: World Cup 2026
Description: Trang tin tức World Cup 2026
Version: 1.0
*/

* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: 'PingFang SC','Microsoft YaHei',sans-serif; font-size:14px; color:#333; background:#f0f2f5; }

a { color:#1a8a3f; text-decoration:none; }
a:hover { color:#0f5c2a; }

/* Header */
.header { background:linear-gradient(135deg, #0f5c2a 0%, #1a8a3f 50%, #2db85c 100%); color:#fff; padding:0; position:relative; }
.header-top { background:rgba(0,0,0,0.2); padding:8px 0; font-size:12px; }
.header-top .wrap { display:flex; justify-content:space-between; align-items:center; }
.header-top a { color:rgba(255,255,255,0.8); }
.header-main { padding:20px 0; text-align:center; }
.header-main .logo { font-size:36px; font-weight:bold; color:#fff; text-shadow:2px 2px 4px rgba(0,0,0,0.3); }
.header-main .logo a { color:#fff; }
.header-main .logo img { max-height:60px; }
.header-main .subname { font-size:16px; color:rgba(255,255,255,0.85); margin-top:5px; }

/* Navigation */
.nav { background:#0f5c2a; border-top:3px solid #f5c518; box-shadow:0 2px 4px rgba(0,0,0,0.1); }
.nav ul { list-style:none; display:flex; justify-content:center; flex-wrap:wrap; }
.nav li { position:relative; }
.nav li a { display:block; padding:12px 20px; color:#fff; font-size:15px; font-weight:500; transition:all 0.3s; }
.nav li a:hover { background:#1a8a3f; color:#f5c518; }
.nav li.active a { background:#1a8a3f; color:#f5c518; }
.nav li .subnav { display:none; position:absolute; top:100%; left:0; min-width:180px; background:#fff; box-shadow:0 4px 12px rgba(0,0,0,0.15); z-index:100; border-radius:0 0 4px 4px; }
.nav li:hover .subnav { display:block; }
.nav li .subnav a { padding:10px 16px; color:#333; border-bottom:1px solid #eee; font-size:13px; }
.nav li .subnav a:hover { background:#e8f5e9; color:#1a8a3f; }

/* Container */
.wrap { width:1200px; margin:0 auto; max-width:100%; padding:0 15px; }

/* Main content area */
.main { display:flex; gap:20px; margin:20px auto; max-width:1200px; padding:0 15px; }
.content { flex:1; min-width:0; }
.sidebar { width:320px; flex-shrink:0; }

@media (max-width:968px) {
    .main { flex-direction:column; }
    .sidebar { width:100%; }
    .nav ul { flex-direction:column; }
    .nav li .subnav { position:static; box-shadow:none; }
}

/* Article list */
.post { background:#fff; border-radius:8px; overflow:hidden; margin-bottom:20px; box-shadow:0 1px 3px rgba(0,0,0,0.08); transition:box-shadow 0.3s; display:flex; }
.post:hover { box-shadow:0 4px 12px rgba(0,0,0,0.12); }
.post-img { width:220px; min-height:150px; flex-shrink:0; overflow:hidden; }
.post-img img { width:100%; height:100%; object-fit:cover; transition:transform 0.5s; }
.post:hover .post-img img { transform:scale(1.05); }
.post-body { padding:18px 20px; flex:1; display:flex; flex-direction:column; justify-content:center; }
.post-body h2 { font-size:18px; font-weight:600; margin-bottom:8px; line-height:1.4; }
.post-body h2 a { color:#222; }
.post-body h2 a:hover { color:#1a8a3f; }
.post-meta { font-size:12px; color:#999; margin-bottom:10px; }
.post-meta span { margin-right:12px; }
.post-meta .cate a { color:#1a8a3f; }
.post-intro { font-size:14px; color:#666; line-height:1.6; margin-bottom:8px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.post .readmore a { color:#1a8a3f; font-size:13px; font-weight:500; }

@media (max-width:600px) {
    .post { flex-direction:column; }
    .post-img { width:100%; height:180px; }
}

/* Sidebar widgets */
.sidebox { background:#fff; border-radius:8px; padding:18px; margin-bottom:20px; box-shadow:0 1px 3px rgba(0,0,0,0.08); }
.sidebox dt { font-size:16px; font-weight:600; color:#222; padding-bottom:10px; margin-bottom:12px; border-bottom:2px solid #1a8a3f; }
.sidebox dt::before { content:'⚽ '; }
.sidebox dd { line-height:2; }
.sidebox dd a { color:#555; font-size:13px; }
.sidebox dd a:hover { color:#1a8a3f; }
.sidebox dd li { border-bottom:1px dashed #eee; padding:3px 0; }

/* Category tree styling */
.sidebox dd ul { list-style:none; }
.sidebox dd ul.ul-subcates { padding-left:15px; }

/* Featured / Hot section */
.featured-box { background:linear-gradient(135deg, #1a8a3f, #0f5c2a); border-radius:8px; padding:18px; margin-bottom:20px; color:#fff; }
.featured-box dt { font-size:16px; font-weight:600; border-bottom:2px solid rgba(255,255,255,0.3); padding-bottom:10px; margin-bottom:12px; color:#f5c518; }
.featured-box dd a { color:rgba(255,255,255,0.9); display:block; padding:5px 0; border-bottom:1px solid rgba(255,255,255,0.1); }
.featured-box dd a:hover { color:#f5c518; }

/* Pagebar */
.pagebar { text-align:center; padding:15px 0; }
.pagebar a, .pagebar .now-page { display:inline-block; padding:6px 14px; margin:0 3px; border-radius:4px; font-size:13px; }
.pagebar a { background:#fff; color:#333; border:1px solid #ddd; }
.pagebar a:hover { background:#1a8a3f; color:#fff; border-color:#1a8a3f; }
.pagebar .now-page { background:#1a8a3f; color:#fff; border:1px solid #1a8a3f; }

/* Footer */
.footer { background:#0f5c2a; color:rgba(255,255,255,0.7); text-align:center; padding:25px 15px; font-size:13px; margin-top:30px; }
.footer a { color:rgba(255,255,255,0.8); }
.footer a:hover { color:#f5c518; }

/* Single article page */
.single-post { background:#fff; border-radius:8px; padding:25px; margin-bottom:20px; box-shadow:0 1px 3px rgba(0,0,0,0.08); }
.single-post h1 { font-size:24px; color:#222; margin-bottom:12px; }
.single-post .post-meta { margin-bottom:20px; padding-bottom:15px; border-bottom:1px solid #eee; }
.single-post .single { font-size:15px; line-height:1.8; color:#444; }
.single-post .single p { margin-bottom:1em; text-align:justify; }
.single-post .single img { max-width:100%; height:auto; margin:10px 0; border-radius:4px; }

/* Hero Banner - Homepage */
.hero-banner {
  background: linear-gradient(135deg, #0a3d1f 0%, #1a8a3f 40%, #2db85c 70%, #f5c518 100%);
  color: #fff;
  text-align: center;
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(245,197,24,0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(255,255,255,0.1) 0%, transparent 40%),
              radial-gradient(circle at 50% 80%, rgba(0,0,0,0.1) 0%, transparent 50%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-5%, -5%); }
}
.hero-banner .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 60px 20px;
}
.hero-banner .hero-trophy {
  font-size: 72px;
  display: block;
  margin-bottom: 10px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
  animation: trophyFloat 3s ease-in-out infinite;
}
@keyframes trophyFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-banner h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 8px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  letter-spacing: 2px;
}
.hero-banner .hero-sub {
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 8px;
  letter-spacing: 4px;
}
.hero-banner .hero-date {
  display: inline-block;
  background: rgba(0,0,0,0.2);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,0.2);
}
.hero-banner .hero-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 15px 0 20px;
}
.hero-banner .hero-stat {
  text-align: center;
}
.hero-banner .hero-stat .num {
  font-size: 28px;
  font-weight: 700;
  color: #f5c518;
  display: block;
}
.hero-banner .hero-stat .label {
  font-size: 12px;
  opacity: 0.8;
}
.hero-banner .hero-btn {
  display: inline-block;
  background: #f5c518;
  color: #0a3d1f;
  padding: 12px 36px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(245,197,24,0.4);
}
.hero-banner .hero-btn:hover {
  background: #fff;
  color: #0a3d1f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,255,255,0.3);
}

/* Sidebar Banner/Promo Card */
.sidebar-banner {
  background: linear-gradient(135deg, #1a8a3f, #0f5c2a);
  border-radius: 12px;
  padding: 25px 20px;
  margin-bottom: 20px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(26,138,63,0.3);
}
.sidebar-banner::after {
  content: '⚽';
  position: absolute;
  right: -10px;
  bottom: -10px;
  font-size: 80px;
  opacity: 0.1;
}
.sidebar-banner .banner-icon { font-size: 36px; display: block; margin-bottom: 8px; }
.sidebar-banner h3 { font-size: 16px; margin-bottom: 6px; color: #f5c518; }
.sidebar-banner p { font-size: 13px; opacity: 0.85; line-height: 1.5; }
.sidebar-banner .banner-btn {
  display: inline-block;
  margin-top: 10px;
  background: #f5c518;
  color: #0f5c2a;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s;
}
.sidebar-banner .banner-btn:hover {
  background: #fff;
  color: #0f5c2a;
}

/* Category list with tree-line */
.sidebox .cate-tree li { padding: 4px 0; border: none; }
.sidebox .cate-tree li a { font-size: 14px; font-weight: 500; }
.sidebox .cate-tree li ul { padding-left: 18px; margin-top: 2px; }
.sidebox .cate-tree li ul li { border: none; }
.sidebox .cate-tree li ul li a { font-size: 13px; font-weight: normal; color: #666; }
.sidebox .cate-tree li ul li a:hover { color: #1a8a3f; }

/* Article meta with better spacing */
.post-meta .author { color: #1a8a3f; }

/* Category banner */
.cate-banner { background:linear-gradient(135deg, #0f5c2a, #1a8a3f); color:#fff; padding:25px 20px; border-radius:8px; margin-bottom:20px; }
.cate-banner h1 { font-size:22px; margin-bottom:5px; }
.cate-banner p { font-size:14px; opacity:0.85; }

/* Hot content number */
.hot-num { display:inline-block; width:20px; height:20px; line-height:20px; text-align:center; background:#1a8a3f; color:#fff; border-radius:50%; font-size:11px; margin-right:6px; font-style:normal; }
.hot-num.top1 { background:#f5c518; }
.hot-num.top2 { background:#e67e22; }
.hot-num.top3 { background:#e74c3c; }

/* Search */
.search-box { margin-bottom:20px; }
.search-box input { width:100%; padding:10px 15px; border:2px solid #1a8a3f; border-radius:30px; font-size:14px; outline:none; }
.search-box input:focus { border-color:#0f5c2a; }
.search-box button { display:none; }
