/* 星火寻迹 · 内容子页面统一视觉：排版、阅读、视频、查询、个人中心 */
body.xh-public{--xh-red:#913132;--xh-red-dark:#622225;--xh-ink:#292421;--xh-muted:#776e67;--xh-gold:#c99b61;--xh-edge:#eaded1;--xh-paper:#fffcf8;background:#f7f4ee!important;color:var(--xh-ink);font-family:"Noto Sans CJK SC","Microsoft YaHei","PingFang SC",sans-serif!important;min-height:100vh}
.xh-public .xh-subnav,.xh-public .navbar-default{background:rgba(255,253,248,.97)!important;min-height:72px!important;border-bottom:1px solid #e8dfd5!important;box-shadow:0 5px 25px rgba(63,29,21,.065)!important;backdrop-filter:blur(10px)}
.xh-public .xh-subnav .container{display:flex;align-items:center;justify-content:space-between;min-height:72px}
.xh-public .navbar-default .navbar-brand{height:auto;line-height:1;margin:0;padding:6px 0!important}
.xh-public .navbar-default .navbar-brand img{width:144px!important;height:auto!important;background:transparent;border:0;border-radius:0;box-shadow:none}
.xh-public .navbar-default .navbar-nav>li>a{color:#6b4a3f!important;font-weight:700;letter-spacing:.04em;padding:18px 20px}
.xh-public .navbar-default .navbar-nav>li>a:hover{color:#a13233!important;background:#f7eee6}
.xh-public h1,.xh-public h2,.xh-public h3{color:#432c2a;letter-spacing:.01em}
/* dynamic knowledge list card grid */
.xh-public .cl_container{width:min(1180px,calc(100% - 48px))!important;height:auto!important;min-height:68vh;margin:112px auto 65px!important}
.xh-public .cl_container .cl_logo{width:auto!important;font:700 42px/1.4 "Noto Serif CJK SC",serif!important;color:#642729!important;margin-bottom:25px!important;padding-bottom:20px;border-bottom:1px solid #dbc6a8;position:relative}
.xh-public .cl_container .cl_logo:after{content:"EXPLORE · RED HERITAGE";display:block;color:#b17e54;letter-spacing:.22em;font:600 11px/1.9 Arial,sans-serif;margin-top:12px}
.xh-public .cl_container>ul{list-style:none!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));width:100%!important;height:auto!important;gap:24px!important;margin:20px 0 0!important;padding:0!important}
.xh-public .cl_container>ul>li{width:auto!important;height:auto!important;margin:0!important;float:none!important;min-width:0}
.xh-public .cl_container .course{width:100%!important;height:100%!important;padding:0 0 20px;background:#fffdf9;border:1px solid #e9ded1;border-radius:18px;overflow:hidden;box-shadow:0 10px 25px rgba(66,33,22,.055);transition:transform .25s,box-shadow .25s}
.xh-public .cl_container .course:hover{transform:translateY(-7px);box-shadow:0 22px 40px rgba(66,33,22,.13)}
.xh-public .cl_container .cl_title{font:700 22px/1.5 "Noto Serif CJK SC",serif!important;color:#5e2a29!important;padding:20px 19px 14px!important;min-height:69px}
.xh-public .cl_container .cl_image{width:100%!important;height:220px!important;object-fit:cover;display:block;transition:transform .5s}
.xh-public .cl_container .course:hover .cl_image{transform:scale(1.045)}
.xh-public .cl_container .cl_a1{width:auto!important;display:block;padding:17px 20px 3px!important;color:#953c36;font-size:16px!important;font-weight:700;text-decoration:none}
.xh-public .cl_container .cl_p1{width:auto!important;margin:0!important;padding:6px 20px!important;height:auto!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#736e68!important;line-height:1.8}
/* article reading pages; preserve long-form content */
.xh-public .article-container{max-width:1030px!important;width:calc(100% - 44px)!important;margin:102px auto 60px!important;padding:clamp(24px,4vw,65px)!important;border-radius:18px;background:#fffdfa;box-shadow:0 18px 50px rgba(60,31,25,.065);border:1px solid #ece1d3}
.xh-public .article-header{padding:0 0 24px!important;border-bottom:1px solid #ebdcca;margin-bottom:26px!important}
.xh-public .article-title{font:700 clamp(26px,2.6vw,42px)/1.4 "Noto Serif CJK SC",serif!important;color:#642529!important;letter-spacing:.015em}
.xh-public .article-meta{color:#99877b!important;border-bottom:none!important;margin-bottom:0!important}
.xh-public .article-container p,.xh-public .article-container li{line-height:2.05;color:#463f39}
.xh-public .article-image{border-radius:12px!important;box-shadow:0 14px 38px rgba(49,34,24,.13)!important}
/* videos - poster-like documentary theater */
.xh-public:has(.video-panel){background:linear-gradient(180deg,#f8f3e9,#fdfaf5)!important}
.xh-public:has(.video-panel)>h2{margin:106px auto 18px!important;padding:8px 18px!important;font:700 clamp(32px,4vw,53px)/1.5 "Noto Serif CJK SC",serif!important;color:#61272a!important}
.xh-public:has(.video-panel) #popularNavEntity{max-width:1140px;margin:0 auto 45px!important;background:#fffcf8;border:1px solid #ecdfcf;border-radius:22px;padding:32px!important;box-shadow:0 20px 50px rgba(57,29,21,.07)}
.xh-public .video-panel{padding:15px!important;background:linear-gradient(135deg,#301b1a,#743537);border-radius:16px;box-shadow:0 18px 34px rgba(47,18,18,.2);margin:6px 0 28px}
.xh-public .video-panel video{width:min(100%,900px)!important;max-width:100%;height:auto!important;min-height:250px;aspect-ratio:16/9;background:#1a1414!important;border-radius:9px}
.xh-public:has(.video-panel) #popularNavEntity>p{max-width:910px;margin:0 auto 7px!important;text-align:left;font-family:"Noto Sans CJK SC","Microsoft YaHei",sans-serif!important;font-size:16px!important;color:#574c43!important;line-height:2!important}
/* profile */
.xh-public .profile-card{max-width:920px;margin:100px auto 60px;overflow:hidden;border:1px solid #ebdfce;border-radius:20px!important;box-shadow:0 20px 55px rgba(73,36,30,.09)!important;background:#fffdf8}
.xh-public .profile-card .card-header{background:linear-gradient(105deg,#6f2529,#a33b36)!important;color:#fff!important;padding:20px 30px!important}
.xh-public .profile-card .card-header h3{color:#fff!important;margin:0;font:700 26px/1.5 "Noto Serif CJK SC",serif}
.xh-public .profile-card .card-body{padding:30px!important}
.xh-public .profile-card .table>tbody>tr>th{background:#f6eee4;color:#604339}
.xh-public .profile-card .table>tbody>tr>td{color:#4b433d}
/* location and regional browsing content */
.xh-public .info-card{border:1px solid #eadbd0!important;border-radius:16px!important;box-shadow:0 12px 35px rgba(60,36,25,.065)!important}
.xh-public .info-card-header{background:linear-gradient(105deg,#7d282a,#a64439)!important;padding:19px 25px!important}
.xh-public .info-card-body{padding:26px!important}
.xh-public .result-section{margin-top:72px}
.xh-public .result-title,.xh-public .site-title{color:#8b3534!important}
.xh-public .site-img{border-radius:10px;box-shadow:0 8px 25px rgba(53,34,26,.09)}
.xh-public .route-number{background:#943534!important}
.xh-public .nav-tabs .nav-link.active,.xh-public .list-group-item.active{background:#8e3434!important;border-color:#8e3434!important;color:#fff!important}
.xh-public .navbar-dark{background:#67282b!important}
.xh-public .btn-danger{background:#a23a36;border-color:#a23a36}
.xh-public a{transition:color .2s}
.xh-public footer{background:#302323!important;color:#cbbca7!important}
.xh-public footer a{color:#efcfab!important}
@media(max-width:1000px){.xh-public .cl_container>ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.xh-public .cl_container{width:calc(100% - 28px)!important;margin-top:98px!important}.xh-public .cl_container>ul{grid-template-columns:1fr!important;gap:16px!important}.xh-public .cl_container .cl_logo{font-size:33px!important}.xh-public .article-container{width:calc(100% - 20px)!important;margin-top:90px!important;padding:20px!important}.xh-public .video-panel video{min-height:180px}.xh-public:has(.video-panel) #popularNavEntity{padding:18px!important}.xh-public .xh-subnav .container{display:block}}
