/* ========== 足球外围 - zuqiuwai.com ==========
   Design Read: 体育博彩资讯站, 华语外围玩家, 编辑/资讯风格
   Dial: DESIGN_VARIANCE=7, MOTION_INTENSITY=3, VISUAL_DENSITY=6
   版式: 双栏首页 + 单栏文章页, 深绿+金色主色调
   ============================================ */

/* --- Reset & Base --- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:"PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;background:#f4f6f8;color:#1a1f2e;line-height:1.7;min-height:100dvh}
a{color:inherit;text-decoration:none}
ul{list-style:none}
img{max-width:100%;height:auto;display:block}
::selection{background:#1b5e20;color:#fff}

/* --- Colors --- */
:root{--green:#1b5e20;--gold:#c8a951;--gold-light:#e8d48b;--dark:#0d1117;--card:#fff;--gray:#6b7280;--gray-light:#e5e7eb;--bg:#f4f6f8;--radius:10px;--shadow:0 2px 12px rgba(0,0,0,.06);--max-w:1200px;--header-h:68px}

/* --- Header --- */
.header{background:linear-gradient(135deg,#0d4720,#1b5e20);position:sticky;top:0;z-index:100;height:var(--header-h);box-shadow:0 2px 8px rgba(0,0,0,.12)}
.header-inner{max-width:var(--max-w);margin:0 auto;padding:0 20px;height:100%;display:flex;align-items:center;justify-content:space-between}
.logo{display:flex;align-items:center;gap:10px;font-size:0}
.logo img{height:34px;width:auto}
.logo span{font-size:1.25rem;font-weight:700;color:#fff;letter-spacing:1px}
.nav{display:flex;gap:6px}
.nav a{color:rgba(255,255,255,.85);font-size:.875rem;padding:8px 14px;border-radius:6px;transition:.2s;font-weight:500}
.nav a:hover,.nav a.active{background:rgba(255,255,255,.12);color:#fff}

/* --- Main Layout --- */
.wrapper{max-width:var(--max-w);margin:0 auto;padding:24px 20px 40px}

/* --- Hero --- */
.hero{position:relative;border-radius:var(--radius);overflow:hidden;margin-bottom:32px;min-height:360px;background:linear-gradient(135deg,#0d4720,#1b5e20)}
.hero img{width:100%;height:360px;object-fit:cover;opacity:.3}
.hero-overlay{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:40px 20px}
.hero-overlay h1{font-size:2.2rem;font-weight:800;color:#fff;margin-bottom:12px;letter-spacing:2px;text-shadow:0 2px 8px rgba(0,0,0,.3)}
.hero-overlay p{font-size:1.05rem;color:rgba(255,255,255,.9);max-width:600px;line-height:1.6}
.hero-cta{display:inline-block;margin-top:20px;padding:12px 32px;background:var(--gold);color:var(--dark);border-radius:8px;font-weight:700;font-size:.95rem;transition:.2s}
.hero-cta:hover{background:var(--gold-light);transform:translateY(-2px)}

/* --- Home Two-Column --- */
.home-grid{display:grid;grid-template-columns:1fr 340px;gap:28px}

/* --- Section Title --- */
.section-title{font-size:1.35rem;font-weight:700;color:var(--green);margin-bottom:18px;padding-bottom:10px;border-bottom:3px solid var(--gold);display:flex;align-items:center;gap:8px}

/* --- Featured Article Cards (Left Column) --- */
.featured-list{display:flex;flex-direction:column;gap:20px}
.post-card{background:var(--card);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column;transition:.2s}
.post-card:hover{box-shadow:0 4px 20px rgba(0,0,0,.1);transform:translateY(-2px)}
.post-card img{width:100%;height:200px;object-fit:cover}
.post-card-body{padding:18px 20px 20px}
.post-card-body h2{font-size:1.15rem;font-weight:700;margin-bottom:8px;line-height:1.4}
.post-card-body h2 a{color:var(--dark);transition:.2s}
.post-card-body h2 a:hover{color:var(--green)}
.post-meta{font-size:.8rem;color:var(--gray);margin-bottom:8px;display:flex;gap:12px;align-items:center}
.post-meta .cat{background:var(--green);color:#fff;padding:1px 8px;border-radius:4px;font-size:.75rem}
.post-excerpt{font-size:.88rem;color:#4a4f5e;line-height:1.6;margin-bottom:10px}
.read-more{font-size:.82rem;color:var(--green);font-weight:600;transition:.2s}
.read-more:hover{color:var(--gold)}

/* --- Sidebar (Right Column) --- */
.sidebar{display:flex;flex-direction:column;gap:22px}
.sidebar-card{background:var(--card);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow)}
.sidebar-card h3{font-size:1rem;font-weight:700;color:var(--green);margin-bottom:14px;padding-bottom:8px;border-bottom:2px solid var(--gold)}
.sidebar-links{display:flex;flex-direction:column;gap:6px}
.sidebar-links a{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:6px;font-size:.88rem;color:#333;transition:.15s;font-weight:500}
.sidebar-links a:hover{background:#f0f4f0;color:var(--green)}
.sidebar-links a::before{content:"";width:4px;height:4px;border-radius:50%;background:var(--gold);flex-shrink:0}
.popular-list{display:flex;flex-direction:column;gap:8px}
.popular-item{font-size:.85rem;padding:8px 0;border-bottom:1px solid var(--gray-light);line-height:1.4}
.popular-item:last-child{border-bottom:none}
.popular-item a{color:#333;transition:.15s}
.popular-item a:hover{color:var(--green)}

/* --- Categories Section --- */
.categories-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:32px}
.cat-card{background:var(--card);border-radius:var(--radius);padding:24px 18px;text-align:center;box-shadow:var(--shadow);transition:.2s;border-top:4px solid var(--green)}
.cat-card:hover{transform:translateY(-3px);box-shadow:0 6px 24px rgba(0,0,0,.08)}
.cat-card .icon{font-size:2rem;margin-bottom:8px;display:block}
.cat-card h3{font-size:1.05rem;font-weight:700;margin-bottom:4px}
.cat-card p{font-size:.82rem;color:var(--gray)}

/* --- Article Page (Single) --- */
.article-container{max-width:820px;margin:0 auto}
.article-header{margin-bottom:24px}
.article-header h1{font-size:1.8rem;font-weight:800;line-height:1.35;margin-bottom:10px;color:var(--dark)}
.article-header .meta{font-size:.85rem;color:var(--gray);display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.article-header .meta .cat{background:var(--green);color:#fff;padding:2px 10px;border-radius:4px;font-size:.78rem}
.article-featured{width:100%;border-radius:var(--radius);margin-bottom:24px}
.article-content{font-size:1rem;line-height:1.85;color:#2a2f3e}
.article-content h2{font-size:1.35rem;font-weight:700;color:var(--green);margin:28px 0 12px;padding-left:12px;border-left:4px solid var(--gold)}
.article-content h3{font-size:1.1rem;font-weight:700;margin:20px 0 10px;color:#333}
.article-content p{margin-bottom:14px}
.article-content ul,.article-content ol{padding-left:24px;margin-bottom:14px}
.article-content li{margin-bottom:6px}
.article-content img{border-radius:8px;margin:16px 0}
.article-content blockquote{border-left:4px solid var(--gold);background:#faf9f5;padding:12px 20px;margin:16px 0;border-radius:0 8px 8px 0;color:#555;font-style:italic}

/* --- Related Articles (Sidebar on Article) --- */
.related-wrapper{margin-top:36px;padding-top:24px;border-top:2px solid var(--gray-light)}
.related-wrapper h3{font-size:1.1rem;font-weight:700;color:var(--green);margin-bottom:16px}
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.related-item{background:var(--card);border-radius:8px;overflow:hidden;box-shadow:var(--shadow)}
.related-item img{height:120px;width:100%;object-fit:cover}
.related-item-body{padding:12px}
.related-item-body h4{font-size:.82rem;font-weight:600;line-height:1.4}
.related-item-body h4 a{color:#333}
.related-item-body h4 a:hover{color:var(--green)}

/* --- Footer --- */
.footer{background:var(--dark);color:rgba(255,255,255,.7);padding:32px 20px;margin-top:40px}
.footer-inner{max-width:var(--max-w);margin:0 auto;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;font-size:.82rem}
.footer-links{display:flex;gap:16px}
.footer-links a{color:rgba(255,255,255,.6);transition:.2s}
.footer-links a:hover{color:var(--gold)}

/* --- Responsive --- */
@media(max-width:768px){
  .hero img{height:240px}
  .hero-overlay h1{font-size:1.5rem}
  .hero-cta{padding:10px 24px}
  .home-grid{grid-template-columns:1fr}
  .categories-grid{grid-template-columns:1fr 1fr}
  .related-grid{grid-template-columns:1fr 1fr}
  .article-header h1{font-size:1.4rem}
  .footer-inner{flex-direction:column;text-align:center}
}
@media(max-width:480px){
  .nav{gap:4px}
  .nav a{padding:6px 10px;font-size:.78rem}
  .categories-grid{grid-template-columns:1fr}
  .related-grid{grid-template-columns:1fr}
  .article-header h1{font-size:1.25rem}
}