/* ============================================================================
 * 广西民族大学图书馆 · 专题二级页面第二批（special2/）共用样式
 * 依据效果图：①活动日历（筛选面板+活动卡+推荐侧栏+文化阵地三栏）
 *            ②特藏文献（古籍米色纸张风，交错特藏卡）
 *            ③咨询与服务（咨询渠道卡+服务查询+服务12宫格）
 * ========================================================================== */

:root {
    --s2-blue: #1d5db8;
    --s2-blue-d: #123f7c;
    --s2-gold: #c8a063;
    --s2-brown: #8a4a2b;
    --s2-brown-d: #6f3a20;
    --s2-paper: #f6efe2;
    --s2-ink: #333;
    --s2-muted: #6b7b8d;
    --s2-line: #e8eef5;
    --s2-soft: #f5f8fb;
    --s2-shadow: 0 6px 22px rgba(16, 46, 84, .08);
    --s2-shadow-hover: 0 14px 34px rgba(16, 46, 84, .14);

    --sp-blue: #0055aa;
    --sp-blue-2: #0077cc;
    --sp-deep: #1a2a4a;
    --sp-gold: #c5a572;
    --sp-ink: #333;
    --sp-muted: #6b7b8d;
    --sp-line: #e8eef5;
    --sp-soft: #f5f8fb;
    --sp-shadow: 0 6px 22px rgba(16, 46, 84, .08);
    --sp-shadow-hover: 0 14px 34px rgba(16, 46, 84, .14);
}


.s2-sec { padding: 64px 0; }
.s2-sec.alt { background: var(--s2-soft); }
.s2-wrap { max-width: 1300px; margin: 0 auto; padding: 0 30px; }

/* 版块标题：左竖条 + 标题 + 右侧"更多" */
.s2-sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 26px; }
.s2-sec-head h3 { font-size: 24px; color: var(--s2-ink); display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: 1px; }
.s2-sec-head h3::before { content: ""; width: 5px; height: 24px; border-radius: 3px; background: var(--s2-blue); }
.s2-sec-head .more { font-size: 13.5px; color: #93a3b3; text-decoration: none; }
.s2-sec-head .more:hover { color: var(--s2-blue); }
/* 居中标题（文化阵地/咨询渠道等） */
.s2-sec-head.center { justify-content: center; }
.s2-sec-head.center h3::after { content: ""; width: 60px; height: 2px; background: var(--s2-gold); margin-left: 12px; }

.sp-head { text-align: center; margin-bottom: 46px; }
.sp-head h3 {
    font-size: 30px; color: var(--sp-deep); font-weight: 700;
    display: inline-block; position: relative; padding: 0 46px; letter-spacing: 1px;
}
.sp-head h3::before, .sp-head h3::after {
    content: ""; position: absolute; top: 50%; width: 42px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--sp-gold));
}
.sp-head h3::before { left: 0; }
.sp-head h3::after { right: 0; transform: scaleX(-1); }
.sp-head .en { display: block; font-size: 13px; color: #9aa7b5; letter-spacing: 4px; margin-top: 8px; text-transform: uppercase; }
.sp-head .sub { margin-top: 14px; font-size: 14.5px; color: var(--sp-muted); line-height: 1.8; }

/* 滚动进入动画 */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* 通用按钮 */
.s2-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 22px; border-radius: 22px; font-size: 13.5px; text-decoration: none; transition: all .3s; cursor: pointer; border: 1px solid transparent; }
.s2-btn i { font-size: 14px; }
.s2-btn-blue { background: var(--s2-blue); color: #fff; }
.s2-btn-blue:hover { background: #164a94; transform: translateY(-2px); }
.s2-btn-ghost { background: #fff; color: var(--s2-blue); border-color: var(--s2-blue); }
.s2-btn-ghost:hover { background: var(--s2-blue); color: #fff; }
.s2-btn-gold { background: var(--s2-gold); color: #fff; }
.s2-btn-gold:hover { background: #b58c4e; transform: translateY(-2px); }
.s2-btn-brown { background: var(--s2-brown); color: #fff; border-radius: 6px; }
.s2-btn-brown:hover { background: var(--s2-brown-d); transform: translateY(-2px); }
.s2-btn-brown-ghost { background: transparent; color: var(--s2-brown); border-color: var(--s2-brown); border-radius: 6px; }
.s2-btn-brown-ghost:hover { background: var(--s2-brown); color: #fff; }

/* ============================================================================
 * 一、活动日历
 * ========================================================================== */

/* 筛选面板 */
.s2-filter { background: #fff; border-radius: 14px; box-shadow: var(--s2-shadow); padding: 22px 26px; margin-bottom: 30px; }
.s2-filter .f-row { display: flex; align-items: flex-start; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--s2-line); }
.s2-filter .f-row:last-child { border-bottom: none; }
.s2-filter .f-label { min-width: 76px; font-size: 14px; color: #8b98a8; padding-top: 7px; letter-spacing: 1px; }
.s2-filter .f-opts { flex: 1; display: flex; flex-wrap: wrap; gap: 8px; }
.s2-chip { padding: 6px 16px; border-radius: 16px; background: #f6f9fc; border: 1px solid transparent; color: #55657a; font-size: 13px; cursor: pointer; transition: all .28s; user-select: none; }
.s2-chip:hover { color: var(--s2-blue); background: rgba(29, 93, 184, .08); }
.s2-chip.active { background: var(--s2-blue); color: #fff; box-shadow: 0 5px 14px rgba(29, 93, 184, .28); }
.s2-filter .f-search { display: flex; gap: 10px; }
.s2-filter .f-search input { flex: 1; max-width: 320px; border: 1px solid var(--s2-line); border-radius: 18px; padding: 8px 18px; font-size: 13.5px; outline: none; transition: border-color .3s; }
.s2-filter .f-search input:focus { border-color: var(--s2-blue); }

/* 活动区布局：左卡片 + 右推荐栏 */
.s2-act-layout { display: grid; grid-template-columns: 1fr ; gap: 26px; align-items: start; }

.s2-acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.s2-act-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--s2-shadow); display: flex; transition: transform .35s, box-shadow .35s; }
.s2-act-card:hover { transform: translateY(-5px); box-shadow: var(--s2-shadow-hover); }
.s2-act-card .ac-img { width: 128px; min-width: 128px; background-size: cover; background-position: center; position: relative; }
.s2-act-card .ac-img .ac-date { position: absolute; top: 10px; left: 10px; background: rgba(29, 93, 184, .93); color: #fff; border-radius: 8px; padding: 5px 9px; text-align: center; line-height: 1.1; }
.s2-act-card .ac-img .ac-date b { display: block; font-size: 17px; }
.s2-act-card .ac-img .ac-date span { font-size: 10px; opacity: .9; }
.s2-act-card .ac-body { padding: 16px 16px 14px; flex: 1; display: flex; flex-direction: column; min-width: 0; }
.s2-act-card .ac-cat { font-size: 11.5px; color: var(--s2-gold); letter-spacing: 1px; margin-bottom: 6px; }
.s2-act-card h4 { font-size: 15px; color: var(--s2-ink); line-height: 1.5; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.s2-act-card .ac-info { font-size: 12px; color: #8b98a8; line-height: 1.8; margin-bottom: 10px; }
.s2-act-card .ac-info i { color: var(--s2-blue); width: 14px; font-size: 12px; }
.s2-act-card .ac-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.s2-act-card .ac-tag { font-size: 11.5px; color: var(--s2-blue); background: rgba(29, 93, 184, .07); padding: 2px 10px; border-radius: 10px; }
.s2-act-card .ac-sign { font-size: 12px; padding: 5px 14px; border-radius: 13px; }

.s2-act-empty { display: none; text-align: center; color: #9aa7b5; padding: 50px 0; font-size: 15px; }

/* 活动卡片网格 */
.act-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.act-card {
    background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--sp-shadow);
    display: flex; flex-direction: column; transition: transform .35s, box-shadow .35s;
}
.act-card:hover { transform: translateY(-6px); box-shadow: var(--sp-shadow-hover); }
.act-card .ac-img { height: 186px; background-size: cover; background-position: center; position: relative; }
.act-card .ac-date {
    position: absolute; top: 16px; left: 16px; background: rgba(0, 85, 170, .93); color: #fff;
    border-radius: 10px; padding: 8px 13px; text-align: center; line-height: 1.1; min-width: 56px;
}
.act-card .ac-date b { display: block; font-size: 22px; }
.act-card .ac-date span { font-size: 11.5px; opacity: .9; }
.act-card .ac-body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.act-card .ac-cat { font-size: 12px; color: var(--sp-gold); letter-spacing: 1px; margin-bottom: 8px; }
.act-card .ac-body h4 { font-size: 17px; color: var(--sp-ink); line-height: 1.55; margin-bottom: 12px; min-height: 52px; }
.act-card .ac-info { font-size: 13px; color: #8b98a8; line-height: 1.9; margin-bottom: 14px; }
.act-card .ac-info i { color: var(--sp-blue); width: 16px; }
.act-card .ac-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px dashed var(--sp-line); }
.act-card .ac-tag { font-size: 12px; color: var(--sp-blue); background: rgba(0, 85, 170, .07); padding: 3px 12px; border-radius: 12px; }
.act-card .ac-foot .go { font-size: 13px; color: var(--sp-blue); text-decoration: none; }

.brand-card .bc-list { display: flex; flex-direction: column; gap: 2px; margin:20px 20px;  }
.brand-card .bc-list a {
    display: flex; align-items: center; justify-content: space-between; padding: 11px 12px;
    border-radius: 8px; font-size: 16px; color: #536173; text-decoration: none; transition: all .28s;
}
.brand-card .bc-list a::before { content: "·"; color: var(--sp-gold); font-weight: 700; margin-right: 10px; }
.brand-card .bc-list a span { flex: 1; }
.brand-card .bc-list a i { color: #c3ccd6; font-size: 12px; transition: all .28s; }
.brand-card .bc-list a:hover { background: var(--sp-soft); color: var(--sp-blue); }
.brand-card .bc-list a:hover i { color: var(--sp-blue); transform: translateX(3px); }

/* 右侧：阅读推荐专栏 */
.s2-side { display: flex; flex-direction: column; gap: 18px; }
.s2-side-title { display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--s2-ink); font-weight: 700; }
.s2-side-title::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--s2-gold); }
.s2-side-title .en { font-size: 11px; color: #a3aeb9; letter-spacing: 2px; font-weight: 400; }
.s2-promo { border-radius: 14px; overflow: hidden; box-shadow: var(--s2-shadow); position: relative; background-size: cover; background-position: center; min-height: 150px; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .35s; }
.s2-promo:hover { transform: translateY(-4px); }
.s2-promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(12, 34, 62, .82)); }
.s2-promo .p-body { position: relative; z-index: 2; padding: 16px 18px; color: #fff; }
.s2-promo .p-body h5 { font-size: 16px; margin-bottom: 4px; letter-spacing: 1px; }
.s2-promo .p-body p { font-size: 12px; opacity: .85; line-height: 1.6; }
.s2-promo .p-body .go { display: inline-block; margin-top: 8px; font-size: 12px; color: #ffd9a0; text-decoration: none; }
.s2-promo .p-flag { position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(200, 160, 99, .95); color: #fff; font-size: 11.5px; padding: 4px 12px; border-radius: 4px; letter-spacing: 1px; }

/* 文化阵地三栏 */
.s2-culture { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.s2-cul-col { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--s2-shadow); display: flex; flex-direction: column; transition: transform .35s, box-shadow .35s; }
.s2-cul-col:hover { transform: translateY(-5px); box-shadow: var(--s2-shadow-hover); }
.s2-cul-col .cul-banner { position: relative; min-height: 168px; background-size: cover; background-position: center; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 18px 14px; }
.s2-cul-col .cul-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(12, 34, 62, .78)); }
.s2-cul-col .cul-banner .cb-t { text-align:center; position: relative; z-index: 2; color: #fff; font-size: 17px; line-height: 1.4; letter-spacing: 1px; }
.s2-cul-col .cul-banner .cb-s { text-align:center; position: relative; z-index: 2; margin-bottom: 2px; color: rgba(255,255,255,.75); font-size: 11px; line-height: 1.2; letter-spacing: 2px; }
.s2-cul-col .cul-list { padding: 14px 16px; display: flex; flex-direction: column; flex: 1; }
.s2-cul-col .cul-item { display: flex; align-items: center; gap: 12px; padding: 11px 10px; border-radius: 9px; text-decoration: none; color: #536173; font-size: 14px; transition: all .28s; }
.s2-cul-col .cul-item + .cul-item { border-top: 1px dashed #f0f4f8; }
.s2-cul-col .cul-item .ci { width: 34px; height: 34px; min-width: 34px; border-radius: 10px; background: rgba(29, 93, 184, .08); color: var(--s2-blue); display: flex; align-items: center; justify-content: center; font-size: 16px; transition: all .28s; }
.s2-cul-col .cul-item span { flex: 1; }
.s2-cul-col .cul-item i.arrow { color: #c3ccd6; font-size: 12px; }
.s2-cul-col .cul-item:hover { background: var(--s2-soft); color: var(--s2-blue); }
.s2-cul-col .cul-item:hover .ci { background: var(--s2-blue); color: #fff; }
/* 数说民图副按钮 */
.s2-cul-btns { display: flex; gap: 10px; padding: 4px 16px 12px; }
.s2-cul-btns .s2-btn { flex: 1; justify-content: center; padding: 8px 10px; font-size: 12.5px; }

/* 相关链接 */
.link-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.link-card {
    display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 12px; padding: 22px 24px;
    box-shadow: var(--sp-shadow); text-decoration: none; transition: all .3s;
}
.link-card:hover { transform: translateY(-4px); box-shadow: var(--sp-shadow-hover); }
.link-card .lc-ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(0, 85, 170, .08); color: var(--sp-blue); display: flex; align-items: center; justify-content: center; font-size: 21px; }
.link-card .lc-ic i{ font-size:36px; }
.link-card .lc-t { font-size: 15.5px; color: var(--sp-deep); margin-bottom: 4px; }
.link-card .lc-s { font-size: 12.5px; color: #97a3b0; }
/* 开馆时间表 */
.hours-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--sp-shadow); }
.hours-table th { background: linear-gradient(135deg, #0b3f7a, var(--sp-blue)); color: #fff; padding: 16px 18px; font-weight: 500; font-size: 15px; text-align: left; }
.hours-table td { padding: 15px 18px; border-bottom: 1px solid #f2f5f9; font-size: 14px; color: #55657a; }
.hours-table tr:last-child td { border-bottom: none; }
.hours-table tbody tr:hover td { background: #f8fafc; }
.hours-table .tag-open { color: #2f8f7a; font-weight: 600; }
.hours-table .tag-close { color: #b3557a; }

.faq-list{ max-width:none; }

/* 联系方式条 */
.contact-strip { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--sp-deep); border-radius: 14px; overflow: hidden; color: #fff; }
.contact-strip .cs { padding: 32px 30px; border-right: 1px solid rgba(255, 255, 255, .12); display: flex; gap: 16px; align-items: flex-start; }
.contact-strip .cs:last-child { border-right: none; }
.contact-strip .cs .cs-ic { width: 46px; height: 46px; min-width: 46px; border-radius: 12px; background: rgba(255, 255, 255, .12); display: flex; align-items: center; justify-content: center; font-size: 21px; }
.contact-strip .cs .lbl { font-size: 13px; opacity: .72; margin-bottom: 6px; }
.contact-strip .cs .val { font-size: 18px; font-weight: 600; letter-spacing: .5px; }
.contact-strip .cs .sub { font-size: 12.5px; opacity: .6; margin-top: 6px; }

/* 提示条 */
.sp-note {
    display: flex; gap: 12px; align-items: flex-start; background: rgba(197, 165, 114, .12);
    border-left: 3px solid var(--sp-gold); border-radius: 8px; padding: 16px 20px;
    font-size: 13.5px; color: #7d6a3e; line-height: 1.8;
}
.sp-note i { color: #a9852f; font-size: 17px; margin-top: 2px; }

/* ============================================================================
 * 二、特藏文献（古籍纸张风）
 * ========================================================================== */
body.pg-sc main { /*background: linear-gradient(180deg, #fbf7ee 0%, var(--s2-paper) 30%, #f3ead6 100%);*/ }

.s2-sc-card { display: grid; grid-template-columns: 480px 1fr; background: #fffdf8; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 26px rgba(111, 58, 32, .1); border: 1px solid #e5d9c2; position: relative; margin-bottom: 60px; transition: box-shadow .35s; }
.s2-sc-card:hover { box-shadow: 0 16px 40px rgba(111, 58, 32, .18); }
/* 交错卡：图换到右侧时列宽必须跟着换，否则图占 1fr 宽列、内容被挤进窄列 */
.s2-sc-card.rev { grid-template-columns: 1fr 480px; }
.s2-sc-card.rev .sc-img { order: 2; }
.s2-sc-card .sc-img { min-height: 340px; background-size: cover; background-position: center; position: relative; }
.s2-sc-card .sc-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(60, 32, 12, .02), rgba(60, 32, 12, .22)); }
.s2-sc-card .sc-img .sc-no { position: absolute; top: 14px; left: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: rgba(138, 74, 43, .92); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; box-shadow: 0 4px 12px rgba(111, 58, 32, .3); }
.s2-sc-card .sc-body { padding: 34px 40px 30px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.s2-sc-card .sc-body::before { content: ""; position: absolute; top: 12px; left: 12px; right: 12px; bottom: 12px; border: 1px solid #eadfc8; border-radius: 10px; pointer-events: none; }
.s2-sc-card h4 { font-size: 23px; color: var(--s2-brown-d); margin-bottom: 4px; letter-spacing: 2px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.s2-sc-card h4 .seal { font-size: 10.5px; color: #fff; background: var(--s2-brown); border-radius: 4px; padding: 3px 8px; letter-spacing: 2px; font-weight: 400; }
.s2-sc-card .sc-en { font-size: 11px; color: #b3a488; letter-spacing: 2px; margin-bottom: 12px; text-transform: uppercase; }
.s2-sc-card .sc-desc { font-size: 14px; color: #6d6250; line-height: 2.05; margin-bottom: 16px; position: relative; }
.s2-sc-card .sc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.s2-sc-card .sc-tags span { background: #f5eddc; color: var(--s2-brown); border-radius: 4px; padding: 3px 12px; font-size: 12px; border: 1px solid #eadfc8; }
/* 卡内服务信息块：方式 / 时间 / 地点 */
.s2-sc-card .sc-svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; position: relative; }
.s2-sc-card .sc-svc .svc { display: flex; gap: 9px; align-items: flex-start; background: #faf4e6; border: 1px solid #eadfc8; border-radius: 8px; padding: 10px 12px; transition: all .28s; }
.s2-sc-card .sc-svc .svc:hover { border-color: #d9c69a; box-shadow: 0 4px 12px rgba(111, 58, 32, .08); }
.s2-sc-card .sc-svc .svc i { color: var(--s2-brown); font-size: 15px; margin-top: 3px; flex: none; }
.s2-sc-card .sc-svc .svc b { display: block; font-size: 12px; color: var(--s2-brown-d); letter-spacing: 1px; margin-bottom: 3px; font-weight: 700; }
.s2-sc-card .sc-svc .svc span { display: block; font-size: 11.5px; color: #7d7260; line-height: 1.65; }
.s2-sc-card .sc-btns { display: flex; flex-wrap: wrap; gap: 10px; position: relative; }

.tecang .link-card .lc-ic{ background:#f5eddc; }
.tecang .link-card .lc-ic i{ color:var(--s2-brown-d);}

/* 双联区（硕博学位论文 + 机构知识库） */

/* 古籍风提示条 */
.s2-sc-note { display: flex; gap: 12px; align-items: flex-start; background: #f8f1e0; border: 1px dashed #d9c69a; border-radius: 10px; padding: 16px 20px; font-size: 13px; color: #7d6a3e; line-height: 1.8; margin-top: 26px; }
.s2-sc-note i { color: var(--s2-brown); font-size: 16px; margin-top: 2px; }

/* ============================================================================
 * 三、咨询与服务
 * ========================================================================== */

/* 咨询渠道 4 卡 */
.s2-channel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.s2-ch-card { background: #fff; border-radius: 14px; padding: 30px 24px; text-align: center; box-shadow: var(--s2-shadow); border: 1px solid transparent; transition: all .3s; display: flex; flex-direction: column; position: relative; }
.s2-ch-card:hover { transform: translateY(-5px); box-shadow: var(--s2-shadow-hover); }
.s2-ch-card.active { border-color: var(--s2-blue); box-shadow: 0 12px 30px rgba(29, 93, 184, .16); }
.s2-ch-card.active::before { content: ""; position: absolute; top: 0; left: 20px; right: 20px; height: 3px; border-radius: 0 0 4px 4px; background: var(--s2-blue); }
.s2-ch-card .ch-ic { width: 62px; height: 62px; border-radius: 50%; background: rgba(29, 93, 184, .08); color: var(--s2-blue); display: flex; align-items: center; justify-content: center; font-size: 26px; margin: 0 auto 16px; }
.s2-ch-card .ch-ic i{ font-size:36px; }
.s2-ch-card h4 { font-size: 17px; color: var(--s2-ink); margin-bottom: 10px; }
.s2-ch-card .ch-desc { font-size: 13px; color: var(--s2-muted); line-height: 1.85; flex: 1; }
.s2-ch-card .ch-desc strong { color: var(--s2-blue); font-size: 16px; }
.s2-ch-card .s2-btn { margin: 14px auto 0; padding: 7px 20px; font-size: 12.5px; }

/* QQ 咨询信息条 */
.s2-qq-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; background: linear-gradient(135deg, var(--s2-blue), #0d4a9e); color: #fff; border-radius: 14px; padding: 20px 28px; margin-top: 24px; box-shadow: 0 12px 30px rgba(13, 74, 158, .25); }
.s2-qq-strip .qs-ic { width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .16); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.s2-qq-strip .qs-t { font-size: 16px; font-weight: 600; letter-spacing: 1px; }
.s2-qq-strip .qs-d { font-size: 13.5px; opacity: .88; flex: 1; min-width: 260px; line-height: 1.7; }
.s2-qq-strip .qs-d b { color: #ffd9a0; }

/* 服务查询 */
.s2-searchbox { background: #fff; border-radius: 16px; box-shadow: var(--s2-shadow); padding: 34px 40px; }
.s2-searchbox .sb-row { display: flex; gap: 14px; }
.s2-searchbox .sb-input { flex: 1; display: flex; align-items: center; gap: 10px; border: 2px solid var(--s2-blue); border-radius: 10px; padding: 0 18px; background: #fff; }
.s2-searchbox .sb-input i { color: #9fb3c8; font-size: 18px; }
.s2-searchbox .sb-input input { flex: 1; border: none; outline: none; font-size: 15px; padding: 14px 0; background: transparent; }
.s2-searchbox .sb-btn { border: none; background: var(--s2-blue); color: #fff; font-size: 15px; padding: 0 40px; border-radius: 10px; cursor: pointer; letter-spacing: 4px; transition: background .3s; }
.s2-searchbox .sb-btn:hover { background: #164a94; }
.s2-searchbox .sb-sorts { display: flex; gap: 20px; margin-top: 16px; align-items: center; }
.s2-searchbox .sb-sorts label { font-size: 13px; color: #8b98a8; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.s2-searchbox .sb-sorts select { border: 1px solid var(--s2-line); border-radius: 6px; padding: 5px 10px; font-size: 12.5px; color: #55657a; outline: none; background: #fff; }
.s2-searchbox .sb-count { margin-top: 14px; font-size: 13px; color: #8b98a8; display: none; }
.s2-searchbox .sb-count b { color: var(--s2-blue); }

/* 图书馆服务 12 宫格 */
.s2-svc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.s2-svc-card { background: #fff; border-radius: 14px; padding: 28px 22px; text-align: center; box-shadow: var(--s2-shadow); text-decoration: none; border: 1px solid transparent; transition: all .3s; display: block; }
.s2-svc-card:hover { transform: translateY(-5px); box-shadow: var(--s2-shadow-hover); border-color: rgba(29, 93, 184, .4); }
.s2-svc-card .sv-ic { width: 58px; height: 58px; border-radius: 16px; background: rgba(29, 93, 184, .08); color: var(--s2-blue); display: flex; align-items: center; justify-content: center; font-size: 25px; margin: 0 auto 14px; transition: all .3s; }
.s2-svc-card .sv-ic i{ font-size:60px; }
.s2-svc-card:hover .sv-ic { background: var(--s2-blue); color: #fff; }
.s2-svc-card h4 { font-size: 15.5px; color: var(--s2-ink); margin-bottom: 8px; }
.s2-svc-card p { font-size: 12.5px; color: #8b98a8; line-height: 1.7; }

/* 开馆时间表 */
.s2-hours { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--s2-shadow); }
.s2-hours th { background: linear-gradient(135deg, #123f7c, var(--s2-blue)); color: #fff; padding: 15px 18px; font-weight: 500; font-size: 14.5px; text-align: left; }
.s2-hours td { padding: 14px 18px; border-bottom: 1px solid #f2f5f9; font-size: 13.5px; color: #55657a; }
.s2-hours tr:last-child td { border-bottom: none; }
.s2-hours tbody tr:hover td { background: #f8fafc; }

/* FAQ 提示条 */
.s2-note { display: flex; gap: 12px; align-items: flex-start; background: rgba(200, 160, 99, .12); border-left: 3px solid var(--s2-gold); border-radius: 8px; padding: 15px 20px; font-size: 13px; color: #7d6a3e; line-height: 1.8; margin-top: 26px; }
.s2-note i { color: #a9852f; font-size: 16px; margin-top: 2px; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1100px) {
    .s2-act-layout { grid-template-columns: 1fr; }
    .s2-side { flex-direction: row; flex-wrap: wrap; }
    .s2-side-title, .s2-side .s2-promo { width: calc(33.33% - 12px); }
    .s2-side-title { width: 100%; }
    .s2-culture, .s2-channel { grid-template-columns: repeat(2, 1fr); }
    .s2-svc-grid { grid-template-columns: repeat(3, 1fr); }
    .s2-sc-card, .s2-sc-card.rev { grid-template-columns: 1fr; }
    .s2-sc-card.rev .sc-img { order: 0; }
    .s2-sc-card .sc-img { min-height: 200px; }
}
@media (max-width: 980px) {
    .s2-sec { padding: 48px 0; }
    .s2-sec-head h3 { font-size: 20px; }
    .s2-culture, .s2-channel { grid-template-columns: 1fr; }
    .s2-side { flex-direction: column; }
    .s2-side .s2-promo { width: 100%; }
}
@media (max-width: 640px) {
    .s2-acts, .s2-svc-grid { grid-template-columns: 1fr; }
    .s2-sc-card .sc-svc { grid-template-columns: 1fr; }
    .s2-filter .f-row { flex-direction: column; gap: 6px; }
    .s2-filter .f-label { min-width: 0; }
    .s2-searchbox { padding: 22px; }
    .s2-searchbox .sb-row { flex-direction: column; }
    .s2-searchbox .sb-btn { padding: 12px; }
}

/* ==================== 右侧圆弧版块导航 ==================== */
.an-nav { position: fixed; right: 0; top: 50%; transform: translateY(-50%); width: 150px; height: 400px; z-index: 1200; }

/* 舞台：溢出裁剪，只露出约六分之一圆弧 */
.an-stage { position: absolute; inset: 0; overflow: hidden; }
.an-ring, .an-rotor { position: absolute; top: 50%; left: 110px; width: 600px; height: 600px; margin-top: -300px; }
.an-ring { border: 1px solid rgba(0, 85, 170, .16); border-radius: 50%; }
.an-rotor { transform: rotate(var(--rot, 0deg)); transition: transform .55s cubic-bezier(.22, .8, .3, 1); }

/* 弧上文字项：沿圆弧切线排布；文字竖排、字形正立（writing-mode 而非 90° 旋转） */
.an-item { position: absolute; top: 50%; left: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateX(-300px); cursor: pointer; }
.an-item > span { position: absolute; transform: translate(-50%, -50%); writing-mode: vertical-rl; text-orientation: upright; white-space: nowrap; font-size: 15px; letter-spacing: 6px; color: #8a939b; padding: 4px 30px 4px 8px; transition: color .3s ease; user-select: none; }
.an-item:hover > span { color: #066bad; }
.an-item.active > span { color: #066bad; font-weight: 600; }

/* 上下边缘白色渐隐，制造"圆弧滚动"观感 */
.an-stage::before, .an-stage::after { content: ''; position: absolute; left: 0; right: 0; height: 80px; z-index: 3; pointer-events: none; }
.an-stage::before { top: 0;/* background: linear-gradient(#fff, rgba(255, 255, 255, 0)); */}
.an-stage::after { bottom: 0; /*background: linear-gradient(rgba(255, 255, 255, 0), #fff);*/ }

/* 当前版块红点 + 更多按钮（田字格） */
.an-dot { position: absolute; right: 26px; top: 50%; margin-top: -4px; width: 8px; height: 8px; border-radius: 50%; background: #066bad; box-shadow: 0 0 0 3px /*rgba(210, 63, 49, .14)*/rgba(29, 93, 184, .08); }
.an-more { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.an-more svg { display: block; }
.an-more:hover svg rect { fill: #066bad; }

/* 点击"更多"向左弹出的完整菜单 */
.an-panel { position: absolute; right: calc(50% + 10px); top: 50%; transform: translateY(-50%) translateX(14px); background: #fff; border-radius: 10px; box-shadow: 0 10px 34px rgba(0, 40, 80, .18); padding: 10px 0; min-width: 200px; opacity: 0; visibility: hidden; transition: opacity .28s ease, transform .28s ease, visibility .28s; }
.an-panel.open { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }
.an-panel a { display: flex; align-items: center; gap: 10px; padding: 10px 18px; font-size: 14px; color: #4a5560; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.an-panel a i { font-style: normal; width: 20px; height: 20px; line-height: 20px; text-align: center; border-radius: 50%; background: #eef4fa; color: #066bad; font-size: 12px; flex: none; }
.an-panel a:hover { background: #f2f7fc; color: #066bad; }
.an-panel a.active { color: #066bad; font-weight: 600; background: #f2f7fc; }
.an-panel a.active i { background: #066bad; color: #fff; }

/* 到顶/到底提示气泡 */
.an-toast { position: absolute; right: calc(100% + 14px); top: 50%; transform: translateY(-50%) translateX(8px); background: rgba(30, 40, 50, .86); color: #fff; font-size: 13px; padding: 9px 15px; border-radius: 20px; white-space: nowrap; opacity: 0; visibility: hidden; transition: opacity .3s ease, transform .3s ease, visibility .3s; }
.an-toast.show { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }

@media (max-width: 991px) { .an-nav, .sfn { display: none; } }

/* ==================== 右上角固定菜单（卷轴样式） ==================== */
.sfn {
    position: fixed; top: calc(50% - 100px); right: 98px; z-index: 1250; width: 182px;
    background: #fdf9ee; border: 1px solid #e6d3a8; border-radius: 12px;
    box-shadow: 0 10px 30px rgba(111, 58, 32, .16); padding: 6px 0 8px;
}
/* 上下卷轴轴头装饰 */
.sfn::before, .sfn::after { content: ""; display: block; height: 11px; margin: 2px 28px; border: 1px solid #dcc493; }
.sfn::before { border-bottom: none; border-radius: 26px 26px 0 0 / 20px 20px 0 0; margin-bottom: 5px; }
.sfn::after { border-top: none; border-radius: 0 0 26px 26px / 0 0 20px 20px; margin-top: 5px; }
.sfn a {
    display: flex; align-items: center; gap: 9px; position: relative;
    padding: 7px 12px 7px 20px; font-size: 13px; color: #6d6250;
    text-decoration: none; white-space: nowrap; transition: color .25s, background .25s;
}
.sfn a::before {
    content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%;
    background: #c2ab7f; transition: background .25s;
}
.sfn a:hover { color: #d9821f; background: rgba(217, 130, 31, .07); }
.sfn a:hover::before { background: #d9821f; }
/* 当前项：橙色高亮 + 左边缘圆点标记 */
.sfn a.active { color: #d9821f; font-weight: 600; background: rgba(217, 130, 31, .06); }
.sfn a.active::before { background: #d9821f; }
.sfn a.active::after {
    content: ""; position: absolute; left: -7px; top: 50%; width: 14px; height: 14px;
    transform: translateY(-50%); border-radius: 50%;
    background: #e59a3c; border: 2px solid #fdf9ee; box-shadow: 0 2px 6px rgba(217, 130, 31, .4);
}
/* 头部（页面名）：常亮橙色 + 左缘圆点，同参考图 */
.sfn .sfn-head { color: #d9821f; font-weight: 600; letter-spacing: 2px; }
.sfn .sfn-head::before { background: #d9821f; }
.sfn .sfn-head::after {
    content: ""; position: absolute; left: -7px; top: 50%; width: 14px; height: 14px;
    transform: translateY(-50%); border-radius: 50%;
    background: #e59a3c; border: 2px solid #fdf9ee; box-shadow: 0 2px 6px rgba(217, 130, 31, .4);
}
