/* 智慧文旅栏目样式（2026-09-27）
 * 来源：参考交付包 soyo-tourism/public/assets/style.css（照搬版式），做三处适配：
 *   1) 类名统一加 tw- 前缀，避免与本站全站样式（.card/.grid/.section 等）互相污染；
 *   2) 顶栏/主导航/页脚/联系表单不移植（本站已有全站头部页脚，咨询走既有 liuyan 模块）；
 *   3) 元素级样式（table/th/td/details/summary/h1-h3）统一限定在 .tw-site 容器内。
 */
.tw-site{--ink:#163e3b;--muted:#62706b;--paper:#f7f7f0;--line:#dbe1d8;--green:#174c44;--accent:#d5e9ba;--white:#fff;--radius:5px;color:var(--ink);background:var(--paper);font:16px/1.75 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft Yahei",sans-serif}
.tw-site *{box-sizing:border-box}
.tw-site a{color:inherit;text-decoration:none}
.tw-site a:hover{text-decoration:underline;text-underline-offset:5px}
.tw-wrap{width:min(1240px,calc(100% - 96px));margin:auto}
.tw-button,.tw-site button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--green);background:var(--green);color:white;padding:14px 24px;border-radius:3px;font-weight:600;font-size:14px}
.tw-button:hover,.tw-site button:hover{background:#28655b;text-decoration:none}
.tw-button.tw-small{padding:11px 18px}
.tw-hero{display:grid;grid-template-columns:1.15fr 1fr;gap:60px;align-items:center;padding-top:72px;padding-bottom:76px}
.tw-eyebrow{font-size:12px;font-weight:600;letter-spacing:2px;color:#65806d;margin:0 0 18px}
.tw-site h1,.tw-site h2,.tw-site h3{font-weight:600;line-height:1.4;letter-spacing:-.5px}
.tw-site h1{font-size:42px;margin:12px 0 22px}
.tw-hero h1{font-size:58px;line-height:1.32;letter-spacing:-2px}
.tw-hero em{font-style:normal;color:#527d65}
.tw-site h2{font-size:31px;margin:0 0 24px}
.tw-site h3{font-size:21px;margin:9px 0 14px}
.tw-lead{font-size:18px;color:var(--muted);line-height:1.9}
.tw-actions{display:flex;gap:26px;align-items:center;margin-top:30px}
.tw-text-link{font-size:14px}
.tw-hero-note{margin-top:50px;border-top:1px solid var(--line);padding-top:22px;display:flex;gap:30px;font-size:13px}
.tw-hero-product{position:relative;background:#e4e8da;padding:55px 24px 20px;min-height:420px}
.tw-hero-product img{width:100%;height:320px;object-fit:contain;mix-blend-mode:multiply}
.tw-vertical{position:absolute;top:22px;left:24px;letter-spacing:2px;font-size:11px}
.tw-hero-caption{display:flex;justify-content:space-between;border-top:1px solid #becbb9;padding-top:18px;font-size:12px}
.tw-section{padding-top:72px;padding-bottom:72px}
.tw-tinted{background:#ecefe6}
.tw-section-head{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:32px}
.tw-section-head h2{margin-bottom:0}
.tw-section-head>a{font-size:14px;white-space:nowrap}
.tw-grid{display:grid;gap:22px}
.tw-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.tw-card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:transform .2s,border-color .2s}
.tw-card:hover{transform:translateY(-3px);border-color:#749280;text-decoration:none}
.tw-card-body{padding:28px;display:flex;flex-direction:column;flex:1}
.tw-card .tw-eyebrow{font-size:10px;margin:0}
.tw-card h3{font-size:20px}
.tw-card p{font-size:14px;color:var(--muted);margin:0 0 25px}
.tw-arrow{margin-top:auto;font-size:13px}
.tw-card-media{height:210px;background:#f4f5ef;padding:20px}
.tw-card-media img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.tw-dark{background:var(--green);color:white}
.tw-dark .tw-eyebrow{color:#bcd1ad}
.tw-editorial{display:grid;grid-template-columns:1.4fr 1fr;gap:80px}
.tw-editorial p{color:#ccdad3}
.tw-light{background:var(--accent);color:var(--green)}
.tw-steps{list-style:none;padding:0;margin:0}
.tw-steps li{display:flex;gap:24px;padding:22px 0;border-bottom:1px solid #4c756b}
.tw-steps span{font-size:16px;color:#c8daa9}
.tw-steps h3{margin:0;font-size:20px}
.tw-steps p{font-size:13px;margin:5px 0}
.tw-cta{background:#dfe9d1;padding:48px 0}
.tw-cta .tw-wrap{display:flex;align-items:center;justify-content:space-between;gap:24px}
.tw-cta h2{margin:0;font-size:27px}
.tw-crumb{font-size:12px;color:var(--muted);margin-bottom:40px}
.tw-detail-intro{display:grid;grid-template-columns:1.25fr 1fr;gap:60px;align-items:center;padding-bottom:55px;border-bottom:1px solid var(--line)}
.tw-detail-intro:has(>div:only-child){grid-template-columns:1fr;max-width:900px}
.tw-detail-intro img{width:100%;height:320px;object-fit:contain;background:#e9ecdf;mix-blend-mode:multiply}
.tw-prose{max-width:850px}
.tw-prose h2{font-size:26px;margin-top:36px}
.tw-prose p{line-height:2}
.tw-source{border-top:1px solid var(--line);padding:20px 0;margin:30px 0 60px;color:var(--muted);font-size:13px}
.tw-source p{margin:0}
.tw-site details{border-bottom:1px solid var(--line);padding:17px 0}
.tw-site summary{font-weight:600;cursor:pointer}
.tw-site details p{color:var(--muted);font-size:15px}
.tw-search{max-width:660px;margin:28px 0}
.tw-search label{display:block;font-size:13px;margin-bottom:6px}
.tw-search>div{display:flex}
.tw-search input{border:1px solid var(--line);padding:12px;width:100%;min-width:0;background:white}
.tw-filters{display:flex;flex-wrap:wrap;gap:10px;margin:25px 0}
.tw-filters a{font-size:13px;border:1px solid var(--line);padding:6px 16px;border-radius:30px}
.tw-filters .tw-active{background:var(--green);color:white}
.tw-muted{color:var(--muted);font-size:13px}
.tw-site table{width:100%;border-collapse:collapse;background:white;font-size:14px;margin:24px 0}
.tw-site th,.tw-site td{border:1px solid var(--line);padding:14px;text-align:left;overflow-wrap:anywhere}
.tw-site th{background:#e8eddf}
.tw-table-scroll{overflow-x:auto}
@media(max-width:1000px){.tw-wrap{width:calc(100% - 48px)}
.tw-hero{gap:30px}
.tw-hero h1{font-size:43px}
.tw-three{grid-template-columns:repeat(2,minmax(0,1fr))}
.tw-editorial{gap:35px}
}
@media(max-width:640px){.tw-wrap{width:calc(100% - 36px)}
.tw-hero{grid-template-columns:1fr;padding-top:42px;padding-bottom:42px;gap:32px}
.tw-hero h1{font-size:42px}
.tw-hero-product{min-height:310px;padding-top:40px}
.tw-hero-product img{height:230px}
.tw-hero-note{margin-top:30px}
.tw-lead{font-size:16px}
.tw-site h1{font-size:32px}
.tw-site h2{font-size:25px}
.tw-section{padding:44px 0}
.tw-section-head{align-items:start;flex-direction:column;gap:15px}
.tw-three,.tw-editorial,.tw-detail-intro{grid-template-columns:1fr}
.tw-card-media{height:220px}
.tw-detail-intro{gap:25px}
.tw-actions{gap:16px;flex-wrap:wrap}
.tw-cta .tw-wrap{align-items:start;flex-direction:column}
.tw-cta h2{font-size:24px}
.tw-detail-intro img{height:250px}
.tw-hero-caption{font-size:11px}
}

/* ---------------- 栏目局部导航（照本站「双向校园广播」栏目 .cb-local-nav 的形态） ----------------
   本站 header 是 position:fixed，所以 sticky 的 top 要让开站点头部高度
   （--cb-header-h 由 app/index/view/layout/header.html 的脚本实时写入） */
.tw-local-nav{position:sticky;top:var(--cb-header-h,139px);z-index:40;background:#ffffffed;border-bottom:1px solid var(--line);backdrop-filter:blur(16px)}
.tw-local-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 0}
.tw-local-brand{font-size:16px;font-weight:750;white-space:nowrap;color:var(--ink)}
.tw-local-brand small{font-size:11px;font-weight:400;color:var(--muted);margin-left:6px}
.tw-local-links{display:flex;gap:19px;flex-wrap:wrap;font-size:13px;line-height:1.6}
.tw-local-links a{color:var(--muted);white-space:nowrap}
.tw-local-links a:hover,.tw-local-links a[aria-current]{color:var(--green);font-weight:700}
/* 卡片网格：分类页/列表页按 2 列或 3 列 */
.tw-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.tw-four{grid-template-columns:repeat(4,minmax(0,1fr))}
.tw-group{margin-bottom:56px}
.tw-group-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:22px;border-top:1px solid var(--line);padding-top:26px}
.tw-group-head h2{margin:0;font-size:26px}
.tw-group-head p{margin:6px 0 0;color:var(--muted);font-size:14px}
.tw-chip{display:inline-block;font-size:11px;letter-spacing:1px;border:1px solid var(--line);border-radius:30px;padding:3px 10px;color:var(--muted)}
.tw-site .tw-card h3 a{text-decoration:none}
.tw-note{background:#ecefe6;border-left:3px solid var(--green);padding:14px 18px;font-size:13px;color:#3d5347;margin:22px 0}
@media(max-width:1000px){.tw-two,.tw-four{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.tw-two,.tw-four{grid-template-columns:1fr}.tw-local-inner{gap:9px;padding-block:11px}.tw-local-brand{font-size:14px}.tw-local-links{overflow-x:auto;flex-wrap:nowrap;gap:19px;width:100%;padding-bottom:5px;font-size:12px}.tw-group-head{flex-direction:column;align-items:start;gap:10px}}
@media print{.tw-local-nav,.tw-cta{display:none}}