/*
Theme Name: 好体育 - haotiyuworldcupcenter.com
Theme URI: https://haotiyuworldcupcenter.com/
Author: 好体育
Description: 世界杯中心主题。核心词：好体育世界杯。内置 API-Football v3 数据层、联赛白名单、DeepSeek 数据中文化、虚拟栏目路由、JSON-LD 与 IndexNow，全站北京时间（UTC+8）。
Version: 1.6.3
Requires at least: 6.0
Requires PHP: 8.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: haotiyuworldcupcenter-com
Tags: sports, football, news, custom-menu, translation-ready
*/

*{box-sizing:border-box}
body{margin:0;background:#eef4fb;color:#0b2545;font-family:"PingFang SC",system-ui,sans-serif;line-height:1.62}
a{color:inherit}
img{max-width:100%;height:auto}
.wc-shell{max-width:1120px;margin:0 auto;padding:0 18px}
.wc-top{background:#0b2545;border-bottom:1px solid #d3e0ee}
.wc-top .wc-shell{display:flex;align-items:center;justify-content:space-between;min-height:60px}
.wc-mark{font-size:19px;font-weight:800;text-decoration:none;color:#ffffff;letter-spacing:.3px}
.wc-mark i{font-style:normal;color:#00a878}
.wc-lead h1{font-size:clamp(23px,3.4vw,34px);margin:0 0 10px;letter-spacing:-.4px}
.wc-lead p{margin:0;color:#5b7590;max-width:700px}
.wc-copy{max-width:780px;margin:0 auto 40px;padding:0 18px}
.wc-copy h2{font-size:19px;margin:26px 0 8px}
.wc-copy p{margin:0 0 10px;color:#5b7590}
.wc-copy details{border-bottom:1px solid #d3e0ee;padding:11px 0}
.wc-copy summary{cursor:pointer;font-weight:600;color:#0b2545}
.wc-stamp{font-size:13px;color:#5b7590;border-top:1px solid #d3e0ee;padding-top:10px;margin-top:18px}
.wc-chips{display:flex;flex-wrap:wrap;gap:8px;max-width:1120px;margin:0 auto 26px;padding:0 18px}
.wc-chips a{font-size:13px;padding:7px 13px;border:1px solid #d3e0ee;border-radius:14px;text-decoration:none;background:#ffffff}
.wc-chips a:hover{border-color:#00a878;color:#00a878}
.wc-tb{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums}
.wc-tb th{text-align:left;font-size:12px;color:#5b7590;font-weight:500;padding:10px 8px;border-bottom:1px solid #d3e0ee}
.wc-tb td{padding:11px 8px;border-bottom:1px solid #d3e0ee}
.wc-hl{font-weight:700;color:#00a878}
.wc-end{background:#0b2545;color:#5b7590;font-size:13px;padding:24px 0;margin-top:36px;border-top:1px solid #d3e0ee}
.wc-end a{color:#ffffff;opacity:.85}

.wc-hero{background:#0b2545;color:#fff;padding:40px 0 58px}
.wc-hero h1{font-size:clamp(25px,4vw,38px);margin:0 0 12px}
.wc-hero p{color:rgba(255,255,255,.78);max-width:660px;margin:0}
.wc-nums{display:inline-flex;gap:20px;margin-top:20px;padding:12px 20px;border:1px solid rgba(255,255,255,.2);border-radius:14px}
.wc-nums div{text-align:center}
.wc-nums b{display:block;font-size:24px;color:#00a878;font-variant-numeric:tabular-nums}
.wc-nums span{font-size:12px;color:rgba(255,255,255,.7)}
.wc-box{max-width:1000px;margin:-32px auto 30px;padding:0 18px;display:flex;flex-direction:column;gap:10px}
.wc-panel{background:#ffffff;border:1px solid #d3e0ee;border-radius:14px;padding:18px 20px}
.wc-panel h2{margin:0 0 14px;font-size:18px}


/* ---------- 通用文章模块（列表 / 正文 / 搜索 / 404） ---------- */
.hwc-list,.hwc-single{max-width:820px;margin:0 auto;padding:26px 18px 40px}
.hwc-title{font-size:clamp(22px,3vw,30px);line-height:1.35;margin:0 0 14px}
.hwc-card{padding:16px 0;border-bottom:1px solid rgba(128,128,128,.25)}
.hwc-h2{font-size:19px;margin:0 0 6px;line-height:1.4}
.hwc-h2 a{color:inherit;text-decoration:none}
.hwc-h2 a:hover{text-decoration:underline}
.hwc-meta{font-size:13px;opacity:.7;margin:0 0 8px}
.hwc-sum{font-size:15px;opacity:.85;margin:0}
.hwc-crumb{font-size:12px;opacity:.7;margin-bottom:10px}
.hwc-crumb a{color:inherit}
.hwc-thumb{margin:0 0 18px}
.hwc-content{font-size:16px;line-height:1.8}
.hwc-content h2{font-size:21px;margin:26px 0 10px}
.hwc-content h3{font-size:18px;margin:20px 0 8px}
.hwc-content p{margin:0 0 12px}
.hwc-content table{width:100%;border-collapse:collapse;margin:14px 0}
.hwc-content th,.hwc-content td{border:1px solid rgba(128,128,128,.3);padding:8px 10px}
.hwc-content blockquote{margin:16px 0;padding-left:14px;border-left:3px solid rgba(128,128,128,.45);opacity:.9}
.hwc-tags{font-size:13px;opacity:.75;margin-top:20px}
.hwc-adj{display:flex;justify-content:space-between;gap:16px;font-size:14px;padding:18px 0;border-top:1px solid rgba(128,128,128,.25)}
.hwc-adj a{color:inherit;text-decoration:none}
.hwc-pager{margin-top:20px;font-size:14px}
.hwc-search{display:flex;gap:8px;margin:14px 0}
.hwc-search input{flex:1;padding:9px 12px;border:1px solid rgba(128,128,128,.4);border-radius:6px;background:transparent;color:inherit;font-size:14px}
.hwc-search button{padding:9px 18px;border:0;border-radius:6px;cursor:pointer;font-size:14px}
.hwc-comments{max-width:820px;margin:0 auto;padding:0 18px 40px}
.hwc-commentlist{list-style:none;padding:0}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
:focus-visible{outline:2px solid currentColor;outline-offset:2px}


/* ---------- 顶栏固定 ---------- */
.hwc-sticky{position:sticky;top:0;z-index:9000;background:#0b2545}

/* ---------- 主导航：桌面横排 / 手机汉堡 ---------- */
.hwc-navroot{position:relative;display:flex;align-items:center}
.hwc-menu{display:flex;align-items:center;gap:18px}
.hwc-menu-nav{display:flex;align-items:center;gap:18px;flex-wrap:nowrap}
.hwc-menu-nav a.hwc-menu-link{font-size:14px;line-height:1;text-decoration:none;color:#ffffff !important;white-space:nowrap;padding:6px 0}
.hwc-menu-nav a.hwc-menu-link:hover,.hwc-menu-nav a.hwc-menu-link[aria-current]{color:#00a878 !important}
.hwc-auth{display:flex;align-items:center;gap:8px;margin-left:14px}
/* 用 .auth a.btn 提高优先级，压过主题里 ".xxx a{color:...}" 这类 0-1-1 的规则 */
.hwc-auth a.hwc-btn{display:inline-block;font-size:13px;line-height:1;white-space:nowrap;padding:8px 14px;border-radius:14px;text-decoration:none;font-weight:500}
.hwc-auth a.hwc-btn-ghost{color:#ffffff !important;background:transparent;border:1px solid #d3e0ee}
.hwc-auth a.hwc-btn-solid{color:#ffffff !important;background:#00835d;border:1px solid #00835d}
.hwc-auth a.hwc-btn:hover{opacity:.86}
.hwc-burger{display:none;flex-direction:column;justify-content:center;gap:5px;width:42px;height:38px;padding:0 9px;border:1px solid #d3e0ee;border-radius:8px;background:transparent;cursor:pointer}
.hwc-burger-bar{display:block;height:2px;width:100%;background:#ffffff;border-radius:2px}

@media (max-width:900px){
	/* logo 一行、汉堡在右；登录注册单独一行、居中，不进汉堡菜单 */
	.wc-top .wc-shell{flex-wrap:wrap;min-height:0;padding-top:10px;padding-bottom:10px}
	.hwc-navroot{order:2;margin-left:auto}
	.hwc-auth{order:3;flex-basis:100%;justify-content:center;margin:10px 0 2px;gap:12px}
	.hwc-auth a.hwc-btn{min-width:104px;text-align:center;padding:10px 0;font-size:14px}
	.hwc-burger{display:inline-flex}
	.hwc-menu{display:none;position:absolute;right:0;top:calc(100% + 10px);z-index:9500;flex-direction:column;align-items:stretch;gap:0;min-width:min(80vw,260px);padding:6px 8px;border:1px solid #d3e0ee;border-radius:12px;background:#ffffff;box-shadow:0 12px 30px rgba(0,0,0,.22)}
	.hwc-menu.is-open{display:flex}
	.hwc-menu.is-open .hwc-menu-nav{display:flex}
	.hwc-menu-nav{flex-direction:column;align-items:stretch;gap:0}
	.hwc-menu-nav a.hwc-menu-link{padding:12px;border-bottom:1px solid #d3e0ee;font-size:15px}
	.hwc-menu-nav a.hwc-menu-link:last-child{border-bottom:0}
}


/* ---------- 栏目页 ---------- */
.hwc-rt{max-width:980px;margin:0 auto;padding:26px 18px 44px}
.hwc-rt-crumb{font-size:12px;opacity:.7;margin-bottom:10px}
.hwc-rt-crumb a{color:inherit}
.hwc-rt-h1{font-size:clamp(22px,3vw,30px);line-height:1.35;margin:0 0 10px}
.hwc-rt-h2{font-size:19px;margin:28px 0 10px}
.hwc-rt-lede{font-size:15px;opacity:.85;margin:0 0 18px;max-width:760px}
.hwc-rt-table{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums;margin:0 0 18px}
.hwc-rt-table th,.hwc-rt-table td{padding:10px 8px;border-bottom:1px solid #d3e0ee;text-align:left}
.hwc-rt-table thead th{font-size:12px;opacity:.7;font-weight:500}
.hwc-rt-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.hwc-rt-chips a{display:inline-block;font-size:13px;padding:7px 13px;border:1px solid #d3e0ee;border-radius:8px;text-decoration:none;color:inherit}
.hwc-rt-chips a:hover{border-color:#00a878;color:#00a878}
.hwc-rt-item{padding:14px 0;border-bottom:1px solid #d3e0ee}
.hwc-rt-item h2{font-size:18px;margin:0 0 6px}
.hwc-rt-item h2 a{color:inherit;text-decoration:none}
.hwc-rt-text{font-size:15px;line-height:1.85;max-width:760px}
.hwc-rt-meta{font-size:13px;opacity:.7;margin-top:18px}
@media (max-width:640px){.hwc-rt-table{font-size:13px}.hwc-rt-table th,.hwc-rt-table td{padding:8px 5px}}
