/* 荒野熊官网 共享样式 v3.0 — 国际化设计语言 */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --green: #14352b; --green-lt: #2e5e4e; --orange: #d97b3f; --orange-dk: #c05a2e;
  --paper: #f7f5ef; --cream: #efece1; --line: #e6e0d0; --gray: #6a6a6a;
  --ink: #1c2620;
}
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; background: var(--paper); color: var(--ink); line-height: 1.85; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
img { max-width: 100%; display: block; }
a { text-decoration: none; }
::selection { background: var(--orange); color: #fff; }

/* 全站公告条（site-data.js 控制） */
.notice-bar { background: var(--orange); color: #fff; text-align: center; font-size: 13.5px; letter-spacing: 1px; padding: 9px 16px; position: relative; z-index: 100; }

/* 导航 */
nav { background: rgba(20,53,43,.96); position: sticky; top: 0; z-index: 99; backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,.08); }
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; }
nav .logo { color: #fff; font-size: 21px; font-weight: 800; letter-spacing: 4px; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
nav .logo sup { font-size: 10px; }
nav .logo img { height: 50px; width: auto; display: block; }
nav .logo .school-name { font-size: 18px; color: #fff; letter-spacing: 3px; font-weight: 900; -webkit-text-stroke: .6px #fff; margin-left: 14px; opacity: .97; white-space: nowrap; }
nav .logo .school-name sup { font-size: 13px; vertical-align: 14px; letter-spacing: 0; margin-left: 2px; -webkit-text-stroke: 0; font-weight: 700; opacity: .95; }
@media (max-width: 1100px) { nav .logo .school-name { display: none; } }
footer .brand-line { color: #fff; font-size: 20px; font-weight: 800; letter-spacing: 4px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
footer .brand-line img { height: 84px; width: auto; display: block; }
nav .links { display: flex; gap: 20px; align-items: center; flex: 0 1 auto; min-width: 0; }
nav .links a { white-space: nowrap; color: #cfe0d6; font-size: 13.5px; letter-spacing: 2px; transition: color .2s; position: relative; padding: 4px 0; text-transform: uppercase; }
nav .links a:hover, nav .links a.on { color: #fff; }
nav .links a.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--orange); }
nav .links a.hot { background: transparent; color: #f6d8c0; padding: 6px 17px; border-radius: 999px; border: 1px solid rgba(226,138,74,.72); font-size: 13px; letter-spacing: 1.5px; transition: background .22s, color .22s, border-color .22s, box-shadow .22s; }
nav .links a.hot:hover { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(217,123,63,.32); }
nav .links a.hot::after { display: none; }
@media (max-width: 860px) { nav .links a:not(.hot) { display: none; } }

/* 内页 banner — 大气版 */
.page-banner { background: linear-gradient(160deg, #14352b 0%, #1d4536 60%, #24523f 100%); text-align: center; padding: 110px 24px 96px; position: relative; overflow: hidden; }
.page-banner::before { content: attr(data-word); position: absolute; left: 50%; top: 46%; transform: translate(-50%,-50%); font-size: clamp(120px, 22vw, 300px); font-weight: 900; color: rgba(255,255,255,.035); letter-spacing: 20px; white-space: nowrap; pointer-events: none; }
.page-banner .kick { color: #ffb27d; font-size: 12px; letter-spacing: 8px; text-transform: uppercase; }
.page-banner h1 { color: #fff; font-size: clamp(38px, 6vw, 60px); letter-spacing: 4px; margin: 14px 0 16px; font-weight: 800; line-height: 1.25; }
.page-banner p { color: #b9d0c4; font-size: 16px; letter-spacing: 2px; }
.page-banner .ban-rule { width: 64px; height: 3px; background: var(--orange); margin: 26px auto 0; }
@media (max-width: 720px) { .page-banner { padding: 80px 24px 66px; } }

/* 区块 — 编辑排版风 */
section { padding: 96px 0 20px; }
@media (max-width: 720px) { section { padding: 64px 0 16px; } }
h2.sec { font-size: clamp(30px, 4.2vw, 46px); color: var(--green); letter-spacing: 2px; font-weight: 800; line-height: 1.3; }
h2.sec .en { display: block; font-size: 12px; color: #b0aa97; letter-spacing: 6px; font-weight: normal; margin-top: 10px; text-transform: uppercase; }
.slogan-inline { display: inline-block; height: 1.35em; vertical-align: -.22em; margin-left: 14px; filter: drop-shadow(0 2px 5px rgba(31,63,53,.16)); }
.rule { width: 64px; height: 3px; background: var(--orange); margin: 22px 0 34px; }
.rule.center { margin-left: auto; margin-right: auto; }
.sec-intro { font-size: 15.5px; color: var(--gray); margin-bottom: 34px; max-width: 720px; }
.sec-head-split { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
.sec-head-split .more { font-size: 13px; letter-spacing: 2px; color: var(--green-lt); border-bottom: 1px solid var(--green-lt); padding-bottom: 3px; white-space: nowrap; }

/* 按钮 — 方角国际版 */
.btn { display: inline-block; font-size: 14.5px; font-weight: bold; padding: 16px 46px; border-radius: 3px; letter-spacing: 3px; transition: transform .15s, box-shadow .25s, background .2s, color .2s; cursor: pointer; border: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(20,53,43,.22); }
.btn.primary { background: var(--orange); color: #fff; }
.btn.primary:hover { background: var(--orange-dk); }
.btn.ghost { background: transparent; color: var(--green); border: 1.5px solid var(--green); }
.btn.ghost:hover { background: var(--green); color: #fff; }
.btn.block { display: block; width: 100%; text-align: center; }
.btn.dark { background: var(--green); color: #fff; }
.btn .ar { font-weight: normal; letter-spacing: 0; }

/* 卡片 */
.card { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: 0 18px 44px rgba(20,53,43,.13); transform: translateY(-4px); }
.card img { width: 100%; }
.card .pad { padding: 26px 28px 24px; }
.tag { display: inline-block; background: var(--orange); color: #fff; font-size: 12px; padding: 3px 14px; border-radius: 2px; letter-spacing: 2px; }
.tag.alt { background: var(--green-lt); }
.card h3 { font-size: 20px; color: var(--green); margin: 12px 0 8px; letter-spacing: 1px; }
.card p { font-size: 14px; color: var(--gray); }
.meta { margin-top: 12px; font-size: 14.5px; color: var(--green); font-weight: bold; }
.meta small { color: #a8a8a8; font-weight: normal; }

/* 筛选标签 */
.filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 34px; }
.filters .f { background: transparent; color: var(--gray); font-size: 13.5px; padding: 8px 22px; border-radius: 2px; cursor: pointer; border: 1px solid var(--line); transition: all .2s; }
.filters .f.on { background: var(--green); color: #fff; border-color: var(--green); }

/* 导师 */
.coach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
@media (max-width: 860px) { .coach-grid { grid-template-columns: repeat(2, 1fr); } }
.coach-card .ava { width: 124px; height: 124px; border-radius: 50%; margin: 0 auto; overflow: hidden; border: 4px solid #fff; box-shadow: 0 10px 26px rgba(20,53,43,.15); display: flex; align-items: center; justify-content: center; font-size: 44px; background: var(--cream); }
.coach-card .ava.pending { color: #b9b3a2; font-size: 13px; text-align: center; line-height: 1.6; border: 4px dashed var(--line); }
.coach-card h4 { font-size: 17px; color: var(--green); margin-top: 16px; }
.coach-card .role { font-size: 12.5px; color: var(--orange-dk); font-weight: bold; margin-top: 2px; }
.coach-card .desc { font-size: 12.5px; color: #999; margin-top: 4px; }
.certs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.certs span { font-size: 11.5px; color: var(--green-lt); background: #eef3ee; border-radius: 2px; padding: 3px 12px; }

/* FAQ */
details.faq { background: #fff; border: 1px solid var(--line); border-radius: 4px; margin-bottom: 12px; overflow: hidden; }
details.faq summary { cursor: pointer; padding: 18px 24px; font-size: 15.5px; font-weight: bold; color: var(--green); list-style: none; position: relative; }
details.faq summary::after { content: '+'; position: absolute; right: 24px; color: var(--orange); font-size: 22px; }
details.faq[open] summary::after { content: '–'; }
details.faq .a { padding: 0 24px 18px; font-size: 14px; color: var(--gray); }

/* 表单 */
.form-box { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 34px; }
.form-box label { display: block; font-size: 13.5px; color: var(--green); font-weight: bold; margin: 18px 0 6px; }
.form-box label small { color: var(--orange-dk); }
.form-box input, .form-box select { width: 100%; padding: 13px 15px; border: 1px solid #ddd5c4; border-radius: 3px; font-size: 14.5px; font-family: inherit; background: var(--paper); }
.form-box input:focus, .form-box select:focus { outline: 2px solid rgba(217,123,63,.35); }
.contact-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.contact-item .ico { flex: none; width: 46px; height: 46px; border-radius: 3px; background: #eef3ee; display: flex; align-items: center; justify-content: center; font-size: 19px; }
.contact-item b { display: block; font-size: 17px; color: var(--green); }
.contact-item span { font-size: 13px; color: #999; }

/* 页脚 */
footer { background: var(--green); color: #a8bfb4; margin-top: 90px; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 60px 0 36px; }
@media (max-width: 860px) { footer .cols { grid-template-columns: 1fr; } }
footer h5 { color: #fff; font-size: 14px; letter-spacing: 3px; margin-bottom: 14px; text-transform: uppercase; }
footer .slog { font-size: 13px; line-height: 1.9; }
footer a { color: #cfe0d6; font-size: 13.5px; display: block; padding: 3px 0; }
footer a:hover { color: #fff; }
footer .btm { border-top: 1px solid rgba(255,255,255,.12); text-align: center; padding: 18px 0 22px; font-size: 12px; color: #7f9c8e; }
footer .btm a { display: inline; color: #a8bfb4; }

/* ============ 内容保护（配合 assets/protect.js） ============ */
body { -webkit-user-select: none; -moz-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea, select, [contenteditable="true"] { -webkit-user-select: text; user-select: text; }
img { -webkit-user-drag: none; user-select: none; }

/* ============ 导航栏站内搜索 ============ */
.ns { position: relative; margin-left: 18px; flex: 0 0 auto; }
.ns-form { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 11px 0 12px; border-radius: 999px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16); cursor: text; transition: background .2s, border-color .2s; }
.ns-form:hover { background: rgba(255,255,255,.14); }
.ns-form.focus { background: rgba(255,255,255,.17); border-color: rgba(255,178,125,.75); }
.ns-ico { width: 15px; height: 15px; flex: 0 0 auto; fill: none; stroke: #cfe0d6; stroke-width: 2; stroke-linecap: round; }
.ns-input { width: 110px; border: 0; outline: 0; background: none; color: #fff; font: inherit; font-size: 13px; letter-spacing: .5px; transition: width .22s; }
.ns-input::placeholder { color: rgba(255,255,255,.45); }
.ns-input::-webkit-search-cancel-button { display: none; }
.ns-form.focus .ns-input { width: 146px; }
.ns-clear { display: none; border: 0; background: none; color: rgba(255,255,255,.55); font-size: 16px; line-height: 1; cursor: pointer; padding: 0 2px; }
.ns-clear:hover { color: #fff; }
.ns.has-q .ns-clear { display: block; }

.ns-panel { position: absolute; right: 0; top: calc(100% + 12px); width: 440px; max-height: 66vh; overflow-y: auto; background: #fff; border: 1px solid #ebeae5; border-radius: 12px; box-shadow: 0 24px 60px rgba(20,53,43,.24); padding: 8px; z-index: 210; }
.ns-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12px; color: #8c8c84; padding: 9px 12px 10px; border-bottom: 1px solid #f2f1ec; letter-spacing: .5px; }
.ns-head b { color: var(--orange); }
.ns-tip { color: #b5b4ac; font-size: 11px; white-space: nowrap; }
.ns-item { display: block; padding: 11px 12px; border-radius: 8px; transition: background .15s; }
.ns-item:hover, .ns-item.on { background: #f7f8f5; }
.ns-cat { display: inline-block; font-size: 10.5px; letter-spacing: 1px; color: #8d9a8e; background: #f2f5f0; border: 1px solid #e6ece4; border-radius: 999px; padding: 2px 9px; margin-bottom: 7px; }
.ns-tt { display: block; font-size: 14px; font-weight: 700; color: var(--green); line-height: 1.5; letter-spacing: .3px; }
.ns-ss { display: block; font-size: 12.5px; color: #8a8d86; line-height: 1.7; margin-top: 4px; }
.ns-tt mark, .ns-ss mark { background: #ffe6d2; color: #b2591a; padding: 0 1px; border-radius: 2px; }
.ns-empty { padding: 18px 14px; font-size: 13px; color: #8a8d86; line-height: 1.9; }
.ns-hot { padding: 12px 12px 10px; }
.ns-hot + .ns-hot { border-top: 1px solid #f2f1ec; }
.ns-hot h6 { font-size: 11px; letter-spacing: 2px; color: #b5b4ac; font-weight: 700; margin-bottom: 11px; }
.ns-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ns-chips button, .ns-chips a { font: inherit; font-size: 12.5px; color: #4d544d; background: #f7f8f5; border: 1px solid #ecece7; border-radius: 999px; padding: 5px 13px; cursor: pointer; transition: border-color .18s, color .18s, background .18s; }
.ns-chips button:hover, .ns-chips a:hover { border-color: var(--orange); color: var(--orange-dk); background: #fff8f2; }
@media (max-width: 1180px) { .ns { margin-left: 16px; } .ns-input { width: 92px; } .ns-form.focus .ns-input { width: 120px; } }
@media (max-width: 1000px) { nav .links { gap: 20px; } nav .links a { font-size: 12.5px; letter-spacing: 1px; } .ns-input { width: 76px; } }
@media (max-width: 860px) {
  nav .wrap { height: 62px; }
  .ns { margin-left: 10px; }
  .ns-form { padding: 0 12px; }
  .ns-input { width: 0; padding: 0; }
  .ns-form.focus .ns-input { width: 148px; }
  .ns-panel { position: fixed; left: 10px; right: 10px; top: 70px; width: auto; }
}
