/* 正心首頁 v2 樣式（視覺依據：首頁改版概念/概念稿v6.html）
   所有選擇器都掛在 .v2 底下，不影響舊版區塊與其他頁面。 */

.v2{
  --navy:#0d2b52; --navy-2:#173f73; --red:#b3132f; --gold:#c8962b;
  --paper:#f6f3ec; --ink:#1d2430; --mute:#5f6b7a; --line:#e3ddd0; --card:#fff;
  --r:14px;
  color:var(--ink);
  line-height:1.6;
  margin:0;
}
.v2 *{box-sizing:border-box}
.v2 a{color:inherit;text-decoration:none}
.v2 ul{list-style:none;margin:0;padding:0}
.v2 .v2-wrap{max-width:1240px;margin:0 auto;padding:0 28px}

/* 區塊標題列 */
.v2 .v2-sec-h{display:flex;align-items:baseline;gap:16px;margin-bottom:16px}
.v2 .v2-sec-h h2{font-family:"Noto Serif TC","Songti TC","PMingLiU",serif;font-size:28px;font-weight:900;color:var(--navy);margin:0;padding:0;border:0;background:none;line-height:1.3}
.v2 .v2-sec-h .v2-sub{color:var(--mute);font-size:14px}
.v2 .v2-sec-h .v2-all{margin-left:auto;font-size:14.5px;font-weight:500;color:var(--red);background:none;border:0;padding:6px 0;cursor:pointer}
.v2 .v2-sec-h .v2-all:hover,.v2 .v2-sec-h .v2-all:focus{text-decoration:underline}

/* ===== 正心快訊（跑馬燈）===== */
section.home_section_wrap.v2.v2-tick{background:#fff;border-bottom:1px solid var(--line);padding:0;margin:0}
.v2-tick .breaking-news-ticker{height:50px;line-height:50px;border:0;border-radius:0;box-shadow:none;gap:14px}
.v2-tick .bn-label{flex:none;height:auto;line-height:1.5;background:var(--red);color:#fff;font-weight:700;font-size:14px;padding:5px 14px;border-radius:6px}
.v2-tick .bn-label p{margin:0}
.v2-tick .bn-news{flex:1;order:2;margin:0;font-size:15px}
.v2-tick .bn-news ul li a{padding:0 1em 0 0;color:var(--ink)}
.v2-tick .bn-news ul li a:before{content:none}
.v2-tick .bn-news ul li a:hover,.v2-tick .bn-news ul li a:focus{color:var(--red)}
.v2-tick .bn-news .date{color:var(--red);font-size:12.5px;border:1px solid #f0c4cb;border-radius:4px;padding:1px 6px;margin-right:10px;font-weight:700;font-variant-numeric:tabular-nums;display:inline-block;line-height:1.5;vertical-align:middle}
.v2-tick .bn-controls{order:3;flex:0 0 108px}
.v2-tick .bn-controls button{background:none;border:0;height:36px}
.v2-tick .bn-arrow:before{color:var(--mute);opacity:1}

/* ===== 正心榮耀（卡片列）===== */
section.home_section_wrap.v2.v2-honor{padding:40px 0;background:#fff;border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.v2-honor .v2-rail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.v2-honor .v2-card{border-radius:12px;overflow:hidden;border:1px solid var(--line);background:#fff;margin:0;padding:0}
/* 預設只露出兩排（電腦 4 欄＝8 張、手機 2 欄＝4 張），按「看全部」才展開其餘 */
.v2-honor:not(.is-open) .v2-card:nth-child(n+9){display:none}
.v2-honor .v2-card a{display:block;height:100%}
.v2-honor .v2-card img{width:100%;height:auto;aspect-ratio:16/5;object-fit:cover;display:block;background:#eef0f3}
.v2-honor .v2-card-t{display:block;padding:12px 14px;font-size:15px;font-weight:700;line-height:1.45}
.v2-honor .v2-card a:hover .v2-card-t,.v2-honor .v2-card a:focus .v2-card-t{color:var(--red)}
.v2-honor .v2-card a:focus-visible{outline:3px solid var(--navy-2);outline-offset:-3px}

/* ===== 今天＋身分入口 ===== */
section.home_section_wrap.v2.v2-daily{padding:28px 0 30px;background:var(--paper);border:0}
.v2-daily .v2-wrap{display:grid;grid-template-columns:360px minmax(0,1fr);gap:22px;align-items:stretch}
.v2-daily.no-roles .v2-wrap{grid-template-columns:1fr}
.v2-today{background:var(--navy);color:#fff;border-radius:var(--r);padding:24px;display:flex;flex-direction:column;position:relative;overflow:hidden}
.v2-today:after{content:"";position:absolute;right:-60px;top:-60px;width:220px;height:220px;border-radius:50%;border:34px solid rgba(255,255,255,.05);pointer-events:none}
.v2-today .v2-date{font-family:"Noto Serif TC","Songti TC","PMingLiU",serif;font-weight:900;font-size:38px;line-height:1.1;letter-spacing:.02em;color:#fff;margin:0;padding:0;border:0;background:none}
.v2-today .v2-date small{font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;font-size:16px;font-weight:500;color:#c3d0e3;margin-left:8px;letter-spacing:0}
.v2-today .v2-term{color:#c3d0e3;font-size:14px;margin:6px 0 14px}
.v2-today .v2-ev{display:flex;gap:14px;padding:11px 0;border-top:1px solid rgba(255,255,255,.14)}
.v2-today .v2-ev-d{flex:none;width:52px;font-size:13.5px;color:#c3d0e3;padding-top:2px}
.v2-today .v2-ev-t{font-weight:500;font-size:15.5px;line-height:1.55;min-width:0}
.v2-today .v2-ev-t em{font-style:normal;font-size:12px;background:var(--gold);color:var(--navy);padding:1px 8px;border-radius:99px;margin-left:6px;font-weight:700;white-space:nowrap;vertical-align:2px}
.v2-today .v2-dot{font-style:normal;color:#8fa2bf}
.v2-today .v2-ev-more{color:#c3d0e3;font-size:13px;margin-left:6px;white-space:nowrap}
.v2-today .v2-ev-empty{border-top:1px solid rgba(255,255,255,.14);padding-top:14px;color:#e6ecf5;font-size:15px;margin:0}
.v2-today .v2-more{margin-top:auto;padding-top:14px;font-size:14.5px;color:#ffd98a;font-weight:500;align-self:flex-start}
.v2-today .v2-more:hover,.v2-today .v2-more:focus{text-decoration:underline;color:#ffe7b0}

.v2-rolebox{background:#fff;border-radius:var(--r);border:1px solid var(--line);overflow:hidden;display:flex;flex-direction:column}
.v2-tabs{display:flex;border-bottom:1px solid var(--line);background:#fbfaf6}
.v2-tabs .v2-tab{padding:16px 28px;font-size:16px;font-weight:700;color:var(--mute);background:none;border:0;border-bottom:3px solid transparent;margin-bottom:-1px;cursor:pointer;border-radius:0;line-height:1.6}
.v2-tabs .v2-tab.on{color:var(--navy);border-bottom-color:var(--red);background:#fff}
.v2-tabs .v2-tab:hover{color:var(--navy)}
.v2-tabs .v2-tab:focus-visible{outline:3px solid var(--navy-2);outline-offset:-3px}
.v2-tabs .v2-w{font-style:normal}
.v2-tasks{flex:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.v2-tasks[hidden]{display:none}
.v2-task{display:flex;align-items:center;gap:14px;padding:18px 20px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.v2-task:nth-child(3n){border-right:0}
.v2-task:nth-child(n+4){border-bottom:0}
.v2-task .v2-ic{flex:none;width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:#f1ece0;color:var(--red);font-size:19px}
.v2-task .v2-txt{display:flex;flex-direction:column;min-width:0}
.v2-task b{font-size:16.5px;line-height:1.4}
.v2-task .v2-txt span{font-size:13px;color:var(--mute);line-height:1.45}
.v2-task:hover,.v2-task:focus{background:#fbfaf6}
.v2-task:hover b,.v2-task:focus b{color:var(--red)}
.v2-task:focus-visible{outline:3px solid var(--navy-2);outline-offset:-3px}

/* ===== 手機 ===== */
@media (max-width:760px){
  .v2 .v2-wrap{padding:0 16px}
  .v2 .v2-sec-h h2{font-size:23px}
  .v2 .v2-sec-h .v2-sub{display:none}

  .v2-tick .breaking-news-ticker{height:44px;line-height:44px;gap:10px}
  .v2-tick .bn-label{font-size:12.5px;padding:4px 10px}
  .v2-tick .bn-news{font-size:14px}
  .v2-tick .bn-controls{flex-basis:44px}
  .v2-tick .bn-controls button:nth-child(n+2){display:none}

  section.home_section_wrap.v2.v2-honor{padding:28px 0}
  .v2-honor .v2-rail{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .v2-honor:not(.is-open) .v2-card:nth-child(n+5){display:none}
  .v2-honor .v2-card-t{padding:9px 10px;font-size:13.5px}

  section.home_section_wrap.v2.v2-daily{padding:14px 0 20px}
  .v2-daily .v2-wrap{grid-template-columns:1fr;gap:14px}
  .v2-today{padding:16px 18px}
  .v2-today:after{display:none}
  .v2-today .v2-date{font-size:28px}
  .v2-today .v2-term{margin:2px 0 8px}
  .v2-today .v2-ev{padding:8px 0}
  .v2-today .v2-more{padding-top:8px}
  .v2-tabs .v2-w{display:none}
  .v2-tabs .v2-tab{padding:13px 0;flex:1;text-align:center;font-size:15px}
  .v2-task{flex-direction:column;padding:14px 6px;gap:6px;text-align:center}
  .v2-task b{font-size:14.5px}
  .v2-task .v2-txt span{display:none}
}

/* ================= 第二批：整頁底色、輪播條、公告、招生帶、專區、常用連結、政策宣導、頁尾 ================= */

/* 整頁：v2 區塊自己管留白，拿掉舊版區塊的外框、分隔線與內距 */
body.shsh-v2.home .site-box.home-c1,
body.shsh-v2.home .site-box.home-c1 .site-content{background:#f6f3ec;padding:0;margin:0;max-width:none;display:block;width:100%}
section.home_section_wrap.v2{margin:0;border-left:0;border-right:0;box-shadow:none;max-width:none;width:auto}
section.home_section_wrap.v2:before,section.home_section_wrap.v2:after{content:none}

/* ===== 輪播下方那一條 ===== */
section.home_section_wrap.v2.v2-hero{background:#0b1a30;padding:0;border:0;position:relative;overflow:hidden}
/* 橫幅滿版到 1920；更寬的螢幕兩側用目前這張的模糊版墊底 */
.v2-hero .home_section_box{max-width:1920px;margin:0 auto;padding:0;position:relative;z-index:1}
.v2-hero .v2-hero-bg{position:absolute;inset:-40px;background-size:cover;background-position:center;filter:blur(36px) brightness(.5) saturate(1.1);transition:background-image .6s}
.v2-hero .v2-strip{position:relative;z-index:1}
.v2-hero .n2-ss-control-bullet{display:none !important}
.v2-hero .v2-strip{max-width:1240px;margin:0 auto;padding:12px 28px;display:flex;align-items:center;gap:18px;color:#c9d4e4;font-size:14px}
.v2-hero .v2-strip-t{color:#fff;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:46%}
.v2-hero .v2-segs{display:flex;gap:3px;flex:1;min-width:60px}
.v2-hero .v2-segs i{flex:1;height:4px;border-radius:2px;background:rgba(255,255,255,.22)}
.v2-hero .v2-segs i.on{background:var(--gold)}
.v2-hero .v2-strip-n{white-space:nowrap;font-variant-numeric:tabular-nums}
.v2-hero .v2-strip-a{color:#ffd98a;font-weight:500;white-space:nowrap}
.v2-hero .v2-strip-a:hover,.v2-hero .v2-strip-a:focus{text-decoration:underline;color:#ffe7b0}

/* ===== 校園公告 ===== */
section.home_section_wrap.v2.v2-news{padding:8px 0 40px;background:var(--paper);border:0}
.v2-news .v2-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}
.v2-news .v2-chip{font-size:14px;line-height:1.5;padding:6px 13px;border-radius:99px;background:#fff;border:1px solid var(--line);color:var(--mute);cursor:pointer;white-space:nowrap}
.v2-news .v2-chip.on{background:var(--navy);color:#fff;border-color:var(--navy)}
.v2-news .v2-chip:hover{border-color:var(--navy-2);color:var(--navy)}
.v2-news .v2-chip.on:hover{color:#fff}
.v2-news .v2-chip:focus-visible{outline:3px solid var(--navy-2);outline-offset:2px}
.v2-news .v2-npanel[hidden]{display:none}
.v2-news .v2-list{background:#fff;border-radius:var(--r);border:1px solid var(--line);overflow:hidden}
.v2-news .v2-item{margin:0;padding:0;border-bottom:1px solid #efeae0}
.v2-news .v2-item:last-child{border-bottom:0}
.v2-news .v2-item a{display:grid;grid-template-columns:62px minmax(0,1fr) auto 78px;gap:16px;align-items:center;padding:13px 22px}
.v2-news .v2-dt{grid-column:1}.v2-news .v2-tt{grid-column:2}.v2-news .v2-unit{grid-column:3;justify-self:end}
.v2-news .v2-vw{grid-column:4;justify-self:end;font-size:12.5px;color:var(--mute);font-variant-numeric:tabular-nums;white-space:nowrap}
.v2-news .v2-item a:hover,.v2-news .v2-item a:focus{background:#fbfaf6}
.v2-news .v2-item a:hover .v2-tt,.v2-news .v2-item a:focus .v2-tt{color:var(--red)}
.v2-news .v2-item a:focus-visible{outline:3px solid var(--navy-2);outline-offset:-3px}
.v2-news .v2-dt{font-size:13.5px;color:var(--mute);font-variant-numeric:tabular-nums}
.v2-news .v2-tt{font-weight:500;font-size:16px;line-height:1.55}
.v2-news .v2-tag{font-style:normal;font-size:11.5px;font-weight:700;border-radius:4px;padding:1px 6px;margin-right:8px;vertical-align:2px;white-space:nowrap;display:inline-block;line-height:1.5}
.v2-news .v2-pin,.v2-news .v2-he{color:#fff;background:var(--red)}
.v2-news .v2-new{background:#fff3d6;color:#7a4f00;border:1px solid #e9cf8f;padding:0 5px}
.v2-news .v2-clip{color:#5f6b7a;margin-left:8px;font-size:13px}
.v2-news .v2-unit{font-size:12.5px;padding:3px 10px;border-radius:99px;background:#eef2f8;color:var(--navy-2);white-space:nowrap}
.v2-news .v2-item.is-pin a{background:#fff6f6}
.v2-news .v2-item.is-pin a:hover,.v2-news .v2-item.is-pin a:focus{background:#ffeeee}
.v2-news .v2-item.is-pin .v2-tt{color:#5a1020}
.v2-news .v2-nmore{margin:14px 0 0;text-align:right}
.v2-news .v2-nmore a{font-size:14.5px;font-weight:500;color:var(--red)}
.v2-news .v2-nmore a:hover,.v2-news .v2-nmore a:focus{text-decoration:underline}
.v2-news .v2-empty{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:22px;color:var(--mute);margin:0}

/* ===== 招生帶 ===== */
section.home_section_wrap.v2.v2-cta{padding:40px 0;background:var(--paper);border:0}
.v2-cta .v2-cta-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:18px}
.v2-cta .v2-cta-grid.n2{grid-template-columns:1.4fr 1fr}
.v2-cta .v2-cta-grid.n1{grid-template-columns:1fr}
.v2-cta .v2-big{background:var(--red);color:#fff;border-radius:var(--r);padding:30px;position:relative;overflow:hidden;display:block}
.v2-cta .v2-big h3{font-family:"Noto Serif TC","Songti TC","PMingLiU",serif;font-size:30px;font-weight:900;line-height:1.25;color:#fff;margin:0;padding:0;max-width:11em;position:relative;z-index:1}
.v2-cta .v2-big p{color:#ffe3e7;margin:8px 0 18px;font-size:15px;position:relative;z-index:1}
.v2-cta .v2-big .v2-btn{display:inline-block;background:#fff;color:var(--red);font-weight:700;padding:10px 22px;border-radius:99px;position:relative;z-index:1}
.v2-cta .v2-big[data-deco]:after{content:attr(data-deco);position:absolute;right:18px;bottom:-30px;font-family:"Noto Serif TC",serif;font-weight:900;font-size:150px;color:rgba(255,255,255,.1);line-height:1}
.v2-cta .v2-big:hover .v2-btn,.v2-cta .v2-big:focus .v2-btn{background:#fff3d6}
.v2-cta .v2-sm{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:26px;display:block}
.v2-cta .v2-sm h3{font-size:20px;font-weight:700;color:var(--navy);margin:0 0 6px;padding:0}
.v2-cta .v2-sm p{font-size:14px;color:var(--mute);margin:0 0 14px}
.v2-cta .v2-sm .v2-btn{font-weight:700;color:var(--red);font-size:14.5px}
.v2-cta .v2-sm:hover,.v2-cta .v2-sm:focus{border-color:var(--navy-2)}
.v2-cta a:focus-visible{outline:3px solid var(--navy-2);outline-offset:3px}

/* ===== 專區 ===== */
section.home_section_wrap.v2.v2-zone{padding:0 0 34px;background:var(--paper);border:0}
.v2-zone .v2-wrap{display:flex;align-items:flex-start;gap:14px}
.v2-zone .v2-lab{flex:none;font-family:"Noto Serif TC","Songti TC","PMingLiU",serif;font-weight:900;color:var(--navy);font-size:20px;margin:0;padding:4px 0 0;border:0;background:none;line-height:1.5}
.v2-zone .v2-zone-list{display:flex;flex-wrap:wrap;gap:8px}
.v2-zone .v2-zone-list li{margin:0;padding:0}
.v2-zone .v2-zone-list a{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:99px;padding:7px 16px;font-size:14.5px;font-weight:500;line-height:1.5}
.v2-zone .v2-zone-list a i{color:var(--red);font-size:14px}
.v2-zone .v2-zone-list a:hover,.v2-zone .v2-zone-list a:focus{border-color:var(--red);color:var(--red)}
.v2-zone .v2-zone-list a:focus-visible{outline:3px solid var(--navy-2);outline-offset:2px}

/* ===== 常用連結（深藍四欄）===== */
section.home_section_wrap.v2.v2-links{background:#0a2244;color:#d3dcea;padding:36px 0 30px;font-size:14.5px;border:0}
.v2-links .v2-cols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}
.v2-links h2{color:#fff;font-size:15.5px;font-weight:700;margin:0 0 10px;padding:0 0 8px;border:0;border-bottom:1px solid rgba(255,255,255,.16);background:none;line-height:1.5}
.v2-links li{margin:0;padding:0}
.v2-links li a{display:block;padding:4px 0;color:#d3dcea;line-height:1.55}
.v2-links li a:hover,.v2-links li a:focus{color:#ffd98a;text-decoration:underline}
.v2-links li.v2-gap{height:10px}

/* ===== 政策宣導 ===== */
section.home_section_wrap.v2.v2-policy{background:#fff;border:0;border-top:1px solid var(--line);padding:30px 0 30px}
.v2-policy .v2-ph{display:flex;align-items:baseline;gap:14px;margin-bottom:14px}
.v2-policy .v2-ph h2{font-size:17px;color:var(--navy);font-weight:700;margin:0;padding:0;border:0;background:none}
.v2-policy .v2-ph span{font-size:13px;color:var(--mute)}
.v2-policy .v2-pgrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}
.v2-policy .v2-pgrid li{margin:0;padding:0}
.v2-policy .v2-pt{display:flex;align-items:center;justify-content:center;height:58px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:8px 10px;font-size:13px;text-align:center}
.v2-policy .v2-pt img{max-height:40px;max-width:100%;width:auto;height:auto;object-fit:contain}
.v2-policy .v2-pt:hover,.v2-policy .v2-pt:focus{border-color:var(--navy-2)}
.v2-policy .v2-pt:focus-visible{outline:3px solid var(--navy-2);outline-offset:2px}
.v2-policy .v2-visit{margin-top:18px;font-size:13px;color:var(--mute)}
.v2-policy .v2-visit .visitor_counter_box{display:flex;flex-wrap:wrap;gap:4px 16px;align-items:baseline;border:0;background:none;padding:0;margin:0;box-shadow:none;width:auto}
.v2-policy .v2-visit .title{font-weight:700;color:var(--navy);background:none;padding:0;margin:0;border:0;font-size:13px;width:auto}
.v2-policy .v2-visit .title span{color:inherit;background:none;padding:0}
.v2-policy .v2-visit ul.visitor_counter{display:flex;flex-wrap:wrap;gap:2px 16px;border:0;background:none;padding:0;margin:0;width:auto}
.v2-policy .v2-visit ul.visitor_counter li{border:0;background:none;padding:0;margin:0;width:auto;display:inline;color:var(--mute);font-size:13px;line-height:1.6;float:none}
.v2-policy .v2-visit ul.visitor_counter li span{color:inherit;font-size:inherit;background:none;padding:0;float:none;width:auto;display:inline}
.v2-policy .v2-visit ul.visitor_counter li .vc_count{color:var(--ink);font-weight:700;font-variant-numeric:tabular-nums}

/* ===== 頁尾（全站）===== */
body.shsh-v2 .site-footer,
body.shsh-v2 .site-footer .footer_wrap{background:#0d2b52;color:#c9d4e4}
body.shsh-v2 .site-footer .footer_box{padding:26px 0 24px}
body.shsh-v2 .site-footer .footer_qrcode{display:none}
body.shsh-v2 .site-footer .powerby{display:none}
body.shsh-v2 .site-footer .footer_content{display:flex;align-items:center;gap:24px}
body.shsh-v2 .site-footer .footer_info{flex:1;width:auto;float:none;line-height:1.9;font-size:14px;color:#c9d4e4}
body.shsh-v2 .site-footer .footer_info ul,body.shsh-v2 .site-footer .footer_info li{list-style:none;margin:0;padding:0;color:#c9d4e4}
body.shsh-v2 .site-footer .footer_info li[style]{margin-left:0 !important;color:#aebfd8}
body.shsh-v2 .site-footer .footer_info strong{color:#fff}
body.shsh-v2 .site-footer .footer_info a{color:#ffd98a}
body.shsh-v2 .site-footer .footer_info a:hover,body.shsh-v2 .site-footer .footer_info a:focus{color:#fff;text-decoration:underline;background:none}
body.shsh-v2 .site-footer .copyright,
body.shsh-v2 .site-footer .copyright a,
body.shsh-v2 .site-footer .copyright span{color:#a9b9d1;font-size:13px}
body.shsh-v2 .site-footer .footer_badge{float:none;width:auto;flex:none}
body.shsh-v2 #footer_menu ul{display:flex;flex-wrap:wrap;justify-content:center;margin:0 0 20px;padding:0;list-style:none}
body.shsh-v2 #footer_menu ul li{margin:0;padding:0 16px;border-left:1px solid rgba(255,255,255,.25);float:none}
body.shsh-v2 #footer_menu ul li:first-child{border-left:0}
body.shsh-v2 #footer_menu ul li:before{content:none}
body.shsh-v2 #footer_menu ul li a{color:#fff;background:none;padding:0;font-size:14.5px}
body.shsh-v2 #footer_menu ul li a:hover,body.shsh-v2 #footer_menu ul li a:focus{color:#ffd98a;background:none;text-decoration:underline}

/* 舊模組（得獎海報／媒體報導／活動花絮）在新版裡：有文章才會出現，先讓底色與標題跟新版一致 */
body.shsh-v2.home .home_section_wrap.home_reward,
body.shsh-v2.home .home_section_wrap.home_medianews,
body.shsh-v2.home .home_section_wrap.home_photo{background:#f6f3ec;border:0;margin:0;padding:36px 0}
body.shsh-v2.home .home_reward .home_section_title .title,
body.shsh-v2.home .home_medianews .home_section_title .title,
body.shsh-v2.home .home_photo .home_section_title .title{font-family:"Noto Serif TC","Songti TC","PMingLiU",serif;font-weight:900;color:#0d2b52}

@media (max-width:760px){
  .v2-hero .v2-strip{padding:8px 16px;font-size:12.5px;gap:10px}
  .v2-hero .v2-strip-t{display:none}

  section.home_section_wrap.v2.v2-news{padding:4px 0 28px}
  .v2-news .v2-chips{flex-wrap:nowrap;overflow-x:auto;margin-right:-16px;padding:2px 16px 6px 2px;scrollbar-width:thin}
  .v2-news .v2-item a{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;padding:12px 16px}
  .v2-news .v2-tt{order:1;flex:0 0 100%;font-size:15.5px}
  .v2-news .v2-dt{order:2}
  .v2-news .v2-unit{order:3;padding:1px 8px;font-size:12px}
  .v2-news .v2-vw{order:4;margin-left:auto;font-size:12px}

  section.home_section_wrap.v2.v2-cta{padding:0 0 28px}
  .v2-cta .v2-cta-grid,.v2-cta .v2-cta-grid.n2{grid-template-columns:1fr;gap:12px}
  .v2-cta .v2-big{padding:22px}
  .v2-cta .v2-big h3{font-size:25px}
  .v2-cta .v2-sm{padding:20px}

  section.home_section_wrap.v2.v2-zone{padding:0 0 26px}
  .v2-zone .v2-wrap{flex-direction:column;gap:8px}
  .v2-zone .v2-zone-list a{padding:7px 13px;font-size:14px}

  section.home_section_wrap.v2.v2-links{padding:26px 0 22px;font-size:14px}
  .v2-links .v2-cols{grid-template-columns:1fr 1fr;gap:22px 18px}
  .v2-links li a{padding:6px 0}

  section.home_section_wrap.v2.v2-policy{padding:22px 0}
  .v2-policy .v2-ph span{display:none}
  .v2-policy .v2-pgrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .v2-policy .v2-pt{height:48px;padding:6px}
  .v2-policy .v2-pt img{max-height:32px}

  body.shsh-v2 .site-footer .footer_content{flex-direction:column;align-items:flex-start;gap:14px}
  body.shsh-v2 #footer_menu ul{row-gap:6px}
  body.shsh-v2 #footer_menu ul li{padding:0 10px}
  body.shsh-v2 #footer_menu ul li a{font-size:13.5px}
}

/* ===== 手機底部固定導覽列（760px 以下） ===== */
.shsh-botnav{display:none}
@media (max-width:760px){
  body.shsh-v2:has(.shsh-botnav){padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))}
  .shsh-botnav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;z-index:90;min-height:64px;padding-bottom:env(safe-area-inset-bottom,0px);background:#fff;border-top:1px solid #e3ddd0;box-shadow:0 -4px 16px rgba(0,0,0,.06);font-family:"Noto Sans TC",sans-serif}
  .shsh-botnav a,.shsh-botnav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:64px;margin:0;padding:6px 2px;border:0;border-radius:0;background:none;color:#5f6b7a;font:inherit;font-size:12px;line-height:1.2;text-decoration:none;cursor:pointer}
  .shsh-botnav i{font-size:19px;line-height:1}
  .shsh-botnav a.on{color:#b3132f;font-weight:700}
  .shsh-botnav a:hover,.shsh-botnav button:hover{color:#0d2b52}
  .shsh-botnav a:focus-visible,.shsh-botnav button:focus-visible{outline:3px solid #173f73 !important;outline-offset:-3px}
  body.shsh-v2:has(.shsh-botnav) .gotop{bottom:calc(76px + env(safe-area-inset-bottom,0px))}
}
/* 側滑選單（mmenu）打開時先收起來，免得擋住選單最下面幾項 */
html.mm-wrapper_opened .shsh-botnav{display:none}
@media print{.shsh-botnav{display:none !important}}

/* ===== 「給國小生與家長」頁（頁面 kids，內容在後台自己改） ===== */
body.shsh-v2 .shsh-kids-lead{color:#5f6b7a;margin:0 0 1.2em}
body.shsh-v2 .shsh-kids-list{list-style:none;margin:0;padding:0;display:grid;gap:14px}
body.shsh-v2 .shsh-kids-list li{margin:0;padding:0;list-style:none}
body.shsh-v2 .shsh-kids-list a{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 18px;align-items:center;padding:18px 22px;border:1px solid #e3ddd0;border-radius:14px;background:#fff;color:#1d2430}
/* 內頁連結預設有底線，卡片式連結不要 */
body.shsh-v2:not(.home) .page_main_content .shsh-kids-list a:not(.cus_btn){text-decoration:none;color:#1d2430}
body.shsh-v2 .shsh-kids-list a strong{grid-column:1;font-size:1.12em;font-weight:700;color:#0d2b52}
body.shsh-v2 .shsh-kids-list a span{grid-column:1;color:#5f6b7a;font-size:.94em}
body.shsh-v2 .shsh-kids-list a em{grid-column:2;grid-row:1 / span 2;font-style:normal;font-weight:700;color:#b3132f;white-space:nowrap}
body.shsh-v2 .shsh-kids-list a em::after{content:" →"}
body.shsh-v2 .shsh-kids-list a:hover,body.shsh-v2 .shsh-kids-list a:focus{background:#fbfaf6;border-color:#c8962b}
body.shsh-v2 .shsh-kids-list a:hover strong,body.shsh-v2 .shsh-kids-list a:focus strong{color:#b3132f}
@media (max-width:599px){
  body.shsh-v2 .shsh-kids-list a{grid-template-columns:1fr;padding:16px}
  body.shsh-v2 .shsh-kids-list a em{grid-column:1;grid-row:auto;margin-top:4px}
}
