/* HubHTH Sports Theme - 华体会风格 */
/* 参考: hub-hth-sport.com.cn */
/* 主色: 深蓝#0f172a/#1e3a5f, 强调蓝#3b82f6, 警告黄#fbbf24/#f59e0b */

/* === Global === */
body { background: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: #1e293b; }
a { transition: color .2s; }

/* === Header (white bg, dark text) === */
.hh-header { background: #fff!important; border-bottom: 1px solid #e5e7eb; }
.hh-header .navbar { padding: .5rem 0; }
.hh-header .navbar-brand img { max-height: 52px; max-width: 120px; border-radius: 14px; }
.hh-header .nav-link { color: #374151!important; font-weight: 500; font-size: .95rem; padding: .5rem 1rem!important; transition: color .2s; }
.hh-header .nav-link:hover, .hh-header .nav-link.active { color: #3b82f6!important; }
.hh-header .btn-outline-hh { border: 1px solid #3b82f6; color: #3b82f6; border-radius: 6px; font-size: .875rem; padding: .4rem 1rem; }
.hh-header .btn-outline-hh:hover { background: #3b82f6; color: #fff; }
.hh-nav-toggle { cursor: pointer; padding: .4rem .6rem; border: 1px solid #e5e7eb; border-radius: 50%; background: #f9fafb; }
.hh-nav-toggle .navbar-toggler-icon { filter: none; }

/* === Notice Bar === */
.hh-notice { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #1e293b; font-weight: 500; padding: .5rem 0; position: relative; }
.hh-notice a { color: #1e293b; text-decoration: none; font-weight: 600; }
.hh-notice .pulse-dot { width: 10px; height: 10px; position: relative; display: inline-block; }
.hh-notice .pulse-dot::before, .hh-notice .pulse-dot::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 50%; background: #ef4444; }
.hh-notice .pulse-dot::before { animation: hhPulse 2s infinite; }
@keyframes hhPulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(2.5); opacity: 0; } }

/* === Hero Section === */
.hh-hero { background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 40%, #3b82f6 100%); color: #fff; padding: 3.5rem 0; position: relative; overflow: hidden; }
.hh-hero .hero-glow { position: absolute; top: 0; right: 0; width: 400px; height: 400px; background: radial-gradient(circle, rgba(251,191,36,.4) 0%, transparent 70%); filter: blur(60px); opacity: .25; }
.hh-hero h1 { font-size: 1.8rem; font-weight: 700; line-height: 1.3; }
.hh-hero h2 { font-size: 1rem; color: rgba(255,255,255,.5); font-weight: 400; }
.hh-hero .hero-desc { color: rgba(255,255,255,.75); max-width: 550px; margin-top: .5rem; }
.hh-hero .hero-sub { color: rgba(255,255,255,.5); font-size: .875rem; margin-top: .5rem; }
.hh-hero .btn-hero-primary { background: #fbbf24; color: #1e293b; border: none; border-radius: 50px; padding: .5rem 1.5rem; font-weight: 600; white-space: nowrap; }
.hh-hero .btn-hero-primary:hover { background: #f59e0b; }
.hh-hero .btn-hero-outline { border: 1px solid rgba(255,255,255,.5); color: #fff; border-radius: 50px; padding: .5rem 1.5rem; font-weight: 500; white-space: nowrap; }
.hh-hero .btn-hero-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }
.hh-hero-img { border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,.3); max-height: 320px; }

/* === Stats Bar === */
.hh-stats { background: linear-gradient(135deg, #1e293b, #334155); padding: 1.5rem 0; }
.hh-stats-item { text-align: center; }
.hh-stats-item .stats-num { font-size: 1.75rem; font-weight: 700; color: #fbbf24; }
.hh-stats-item .stats-label { color: rgba(255,255,255,.5); font-size: .8rem; }

/* === Why Us Section === */
.hh-why-card { border: 1px solid #e5e7eb; border-radius: 16px; padding: 1.25rem; margin-bottom: 1rem; display: flex; gap: 1rem; transition: box-shadow .2s; }
.hh-why-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.hh-why-num { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: #3b82f6; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; }
.hh-why-card h5 { font-weight: 700; margin-bottom: .25rem; color: #1e293b; }
.hh-why-card p { color: #6b7280; font-size: .9rem; margin-bottom: 0; }

/* === Article Cards === */
.hh-article-card { background: #fff; border: none; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.1); overflow: hidden; transition: box-shadow .2s; }
.hh-article-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.hh-article-card .hh-card-img { position: relative; overflow: hidden; min-height: 180px; background: #e5e7eb; }
.hh-article-card .hh-card-img mip-img { width: 100%; height: 100%; object-fit: cover; }
.hh-article-card .hh-card-body { padding: 1.5rem; }
.hh-article-card .hh-badge { background: #fbbf24; color: #1e293b; font-size: .75rem; font-weight: 600; padding: .25rem .75rem; border-radius: 4px; text-decoration: none; display: inline-block; margin-bottom: .5rem; }
.hh-article-card .hh-card-title { font-size: 1.1rem; font-weight: 700; line-height: 1.5; margin-bottom: .5rem; }
.hh-article-card .hh-card-title a { color: #1e293b; text-decoration: none; }
.hh-article-card .hh-card-title a:hover { color: #3b82f6; }
.hh-article-card .hh-card-excerpt { color: #6b7280; font-size: .9rem; line-height: 1.7; margin-bottom: .75rem; }
.hh-article-card .hh-card-meta { display: flex; justify-content: space-between; align-items: center; }
.hh-article-card .hh-card-meta time { color: #6b7280; font-size: .8rem; }
.hh-btn-read { background: transparent; border: 1px solid #f59e0b; color: #f59e0b; border-radius: 4px; font-size: .8rem; padding: .3rem .75rem; text-decoration: none; font-weight: 500; }
.hh-btn-read:hover { background: #f59e0b; color: #1e293b; border-color: #f59e0b; }

/* === Section Titles === */
.hh-section-label { color: #3b82f6; font-weight: 700; font-size: .9rem; margin-bottom: .25rem; }
.hh-section-title { font-size: 1.5rem; font-weight: 700; color: #1e293b; }

/* === CTA Banner === */
.hh-cta { background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%); color: #fff; position: relative; overflow: hidden; border-radius: 16px; }
.hh-cta .cta-watermark { position: absolute; right: -30px; bottom: -30px; opacity: .08; font-size: 15rem; transform: rotate(-15deg); }
.hh-cta .badge-cta { background: #fbbf24; color: #1e293b; font-weight: 600; padding: .5rem 1.25rem; border-radius: 50px; font-size: 1rem; }
.hh-cta .btn-cta-primary { background: #fbbf24; color: #1e293b; border: none; border-radius: 50px; font-weight: 600; padding: .6rem 2.5rem; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.hh-cta .btn-cta-primary:hover { background: #f59e0b; }
.hh-cta .btn-cta-outline { border: 1px solid rgba(255,255,255,.5); color: #fff; border-radius: 50px; font-weight: 500; padding: .55rem 2.5rem; }
.hh-cta .btn-cta-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }

/* === Category Grid === */
.hh-cat-card { background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.1); padding: 1.25rem; }
.hh-cat-card h3 { font-size: 1rem; font-weight: 700; color: #1e293b; margin-bottom: .75rem; padding-bottom: .5rem; border-bottom: 2px solid #3b82f6; }
.hh-cat-list { list-style: none; padding: 0; margin: 0; }
.hh-cat-list li { padding: .4rem 0; border-bottom: 1px dashed #f3f4f6; }
.hh-cat-list li:last-child { border-bottom: none; }
.hh-cat-list li a { color: #374151; text-decoration: none; font-size: .9rem; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hh-cat-list li a:hover { color: #3b82f6; }
.hh-cat-list li time { float: right; color: #9ca3af; font-size: .8rem; }

/* === Detail Page === */
.hh-detail-header { padding: 1.5rem 0; border-bottom: 1px solid #e5e7eb; }
.hh-detail-title { font-size: 1.6rem; font-weight: 700; color: #1e293b; line-height: 1.4; margin-bottom: .75rem; }
.hh-detail-meta { color: #6b7280; font-size: .85rem; }
.hh-detail-meta span { margin-right: 1.25rem; }
.hh-detail-meta i { color: #3b82f6; margin-right: .25rem; }
.hh-detail-body { padding: 1.5rem 0; line-height: 1.9; color: #374151; font-size: 1rem; }
.hh-detail-body mip-img { display: block; max-width: 100%; margin: 1rem auto; border-radius: 8px; }
.hh-detail-body h2, .hh-detail-body h3 { color: #1e293b; font-weight: 700; margin: 1.5rem 0 .75rem; }
.hh-detail-body p { margin-bottom: 1rem; }
.hh-tag-item { display: inline-block; background: #f3f4f6; color: #374151; padding: .2rem .6rem; border-radius: 4px; font-size: .8rem; margin-right: .4rem; margin-bottom: .3rem; text-decoration: none; }
.hh-tag-item:hover { background: #fbbf24; color: #1e293b; }

/* === Sidebar === */
.hh-sidebar-box { background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.1); padding: 1.25rem; margin-bottom: 1.5rem; }
.hh-sidebar-title { font-size: 1rem; font-weight: 700; color: #1e293b; padding-bottom: .75rem; border-bottom: 2px solid #3b82f6; margin-bottom: .75rem; }
.hh-sidebar-title i { color: #3b82f6; margin-right: .4rem; }
.hh-sidebar-list { list-style: none; padding: 0; margin: 0; }
.hh-sidebar-list li { padding: .5rem 0; border-bottom: 1px dashed #f3f4f6; }
.hh-sidebar-list li:last-child { border-bottom: none; }
.hh-sidebar-list li a { color: #374151; text-decoration: none; font-size: .9rem; }
.hh-sidebar-list li a:hover { color: #3b82f6; }
.hh-sidebar-list li time { float: right; color: #9ca3af; font-size: .8rem; }

/* === Prev/Next Nav === */
.hh-detail-nav { border-top: 1px solid #e5e7eb; padding-top: 1rem; margin-top: 1.5rem; }
.hh-detail-nav ul { list-style: none; padding: 0; margin: 0; }
.hh-detail-nav li { padding: .5rem 0; }
.hh-detail-nav li span { color: #3b82f6; font-weight: 600; font-size: .85rem; margin-right: .5rem; }
.hh-detail-nav li a { color: #374151; text-decoration: none; font-size: .9rem; }
.hh-detail-nav li a:hover { color: #3b82f6; }

/* === Related Articles === */
.hh-related { margin-top: 2rem; }
.hh-related h3 { font-size: 1.1rem; font-weight: 700; color: #1e293b; margin-bottom: 1rem; }
.hh-related h3 i { color: #3b82f6; }

/* === Breadcrumb === */
.hh-breadcrumb { padding: .75rem 0; font-size: .85rem; list-style: none; }
.hh-breadcrumb li { display: inline; }
.hh-breadcrumb a { color: #6b7280; text-decoration: none; }
.hh-breadcrumb a:hover { color: #3b82f6; }
.hh-breadcrumb .separator { margin: 0 .4rem; color: #9ca3af; }

/* === Footer (centered, bg image) === */
.hh-footer { background: #1e293b; color: rgba(255,255,255,.7); position: relative; text-align: center; }
.hh-footer::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.45); z-index: 1; }
.hh-footer > .container { position: relative; z-index: 2; }
.hh-footer a { color: rgba(255,255,255,.6); text-decoration: none; }
.hh-footer a:hover { color: #fbbf24; }
.hh-footer .footer-logo { height: 40px; max-width: 120px; object-fit: contain; border-radius: 8px; margin-bottom: .75rem; }
.hh-footer .footer-desc { font-size: .85rem; line-height: 1.7; color: rgba(255,255,255,.5); max-width: 500px; margin: 0 auto; }
.hh-footer .footer-divider { border-color: rgba(255,255,255,.2); max-width: 100px; margin: 1rem auto; opacity: .5; }
.hh-footer .footer-links { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; padding: .75rem 0; }
.hh-footer .footer-links a { font-size: .85rem; }
.hh-footer .footer-contact { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; padding: .75rem 0; font-size: .85rem; color: rgba(255,255,255,.5); }
.hh-footer .footer-contact i { color: #06b6d4; margin-right: .25rem; }
.hh-footer .footer-friendlink { border-top: 1px solid rgba(255,255,255,.1); padding-top: .75rem; }
.hh-footer .friendlink-badge { background: rgba(0,0,0,.5); color: #fff; padding: .25rem .5rem; border-radius: 4px; font-size: .8rem; text-decoration: none; display: inline-block; margin: .15rem; }
.hh-footer .friendlink-badge:hover { background: rgba(255,255,255,.1); color: #fff; }
.hh-footer .footer-copyright { border-top: 1px solid rgba(255,255,255,.1); padding-top: .75rem; font-size: .8rem; color: rgba(255,255,255,.4); }

/* === Search Page === */
.hh-search-box { background: #fff; border-radius: 12px; padding: 2rem; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.hh-search-input { border: 2px solid #e5e7eb; border-radius: 50px; padding: .6rem 1.25rem; font-size: .95rem; }
.hh-search-input:focus { border-color: #3b82f6; box-shadow: 0 0 0 .2rem rgba(59,130,246,.15); }
.hh-search-btn { background: #3b82f6; color: #fff; border: none; border-radius: 50px; padding: .6rem 1.5rem; font-weight: 600; }
.hh-search-btn:hover { background: #2563eb; }

/* === Go Top === */
.hh-gotop { background: #3b82f6; color: #fff; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.15); cursor: pointer; }

/* === Pagination === */
.hh-pagination .pagination .active .page-link { background: #3b82f6; border-color: #3b82f6; color: #fff; }
.hh-pagination .page-link { color: #374151; border-color: #e5e7eb; }
.hh-pagination .page-link:hover { background: #eff6ff; border-color: #3b82f6; color: #3b82f6; }

/* === Responsive === */
@media (max-width: 768px) {
    .hh-hero h1 { font-size: 1.4rem; }
    .hh-hero { padding: 2.5rem 0 2rem; }
    .hh-detail-title { font-size: 1.3rem; }
    .hh-cta { border-radius: 10px; }
    .hh-stats-item .stats-num { font-size: 1.3rem; }
}
