/* ════════════════════════════════════════════════════════════
   省市區名單 · 首頁樣式適配院校詳情頁版（2026-10-09）
   視覺還原首頁 .hmo-provlist-widget：米色紙底 / 白卡條目 /
   綠色圓角數量框 / 懸停 teal 淺底 / 暫無灰化
   適配點：標題 h5.widget-title、首條目 <strong> 嵌套、<span><strong> 數量框
   ════════════════════════════════════════════════════════════ */
.widget.category{
  display:block;
  margin:0 0 14px;
  padding:14px 12px 12px;
  border:1px solid #E5DED0;
  border-radius:12px;
  background:#F6F3EA;
  box-shadow:none;
  line-height:1.6;
  font-size:13px;
}
.widget.category .widget-title{
  font-family:"Noto Serif SC","Songti SC","SimSun",serif;
  font-size:15.5px;
  font-weight:800;
  letter-spacing:.02em;
  color:#214C42;
  margin:0 0 10px;
  padding:0 0 8px;
}
/* ── 院校列表標題（省市區名單上方）同款 ── */
.widget.sidebar-tag .widget-title{
  font-family:"Noto Serif SC","Songti SC","SimSun",serif;
  font-size:15.5px;
  font-weight:800;
  letter-spacing:.02em;
  color:#214C42;
  margin:0 0 10px;
  padding:0 0 8px;
}
.widget.category .category-list{
  display:grid;
  grid-template-columns:1fr;
  gap:3px 0;
  margin:0;
  padding:0;
  list-style:none;
}
.widget.category .category-list a{
  display:flex;
  align-items:baseline;
  gap:5px;
  padding:6px 8px;
  border-radius:7px;
  color:#26332E;
  text-decoration:none;
  font-size:13.5px;
  font-weight:500;
  background:#FFFFFF;
  border:1px solid #EFEAE0;
  min-width:0;
  box-shadow:0 1px 2px rgba(38,51,46,.04);
  transition:background .15s,color .15s,border-color .15s,transform .15s;
}
.widget.category .category-list a:hover{
  background:#E7EFEB;
  color:#214C42;
  border-color:#2F6B5E;
}
.widget.category .category-list a:active{transform:translateY(1px)}
.widget.category .category-list a strong{font-weight:500;color:inherit}
.widget.category .category-list i.fa-arrow-right{
  font-style:normal;
  font-weight:800;
  color:#C1522E;
  font-size:11px;
  flex:0 0 auto;
  line-height:1;
  transform:translateY(1px);
  transition:transform .15s;
}
.widget.category .category-list a:hover i.fa-arrow-right{transform:translateX(2px) translateY(1px)}
.widget.category .category-list a span{
  margin-left:auto;
  flex:0 0 auto;
  font-weight:700;
  font-size:12px;
  color:#2F6B5E;
  background:#E7EFEB;
  padding:1px 6px;
  border-radius:4px;
  line-height:1.5;
  white-space:nowrap;
}
.widget.category .category-list a span strong{font-weight:inherit;color:inherit}
.widget.category .category-list a:hover span{color:#FFFFFF;background:#2F6B5E}
.widget.category .category-list a[href="javascript:;"]{
  color:#8B988F;
  cursor:default;
  background:#EFEAE0;
  box-shadow:none;
}
.widget.category .category-list a[href="javascript:;"]:hover{
  background:#EFEAE0;
  color:#8B988F;
  border-color:#EFEAE0;
}
.widget.category .category-list a[href="javascript:;"] i.fa-arrow-right{color:#8B988F}
.widget.category .category-list a[href="javascript:;"] span{color:#8B988F;background:#EFEAE0}
.widget.category .category-list a[href="javascript:;"]:hover span{color:#8B988F;background:#EFEAE0}

/* ── 院校列表標籤（院校名稱）字號 ── */
.widget.sidebar-tag .tag-list a{
  font-size:13px;
}

/* ── 本頁可下載文檔標題 同款 ── */
.widget.club-download .widget-title{
  font-family:"Noto Serif SC","Songti SC","SimSun",serif;
  font-size:15.5px;
  font-weight:800;
  letter-spacing:.02em;
  color:#214C42;
  margin:0 0 10px;
  padding:0 0 8px;
}

/* ── 下載按鈕整體縮小（樣式不變）── */
.widget.club-download a{
  font-size:12.5px;
  padding:7px 14px;
  border-width:1.5px;
  margin-bottom:12px;
  line-height:1.5;
}
.widget.club-download a i{
  font-size:12px;
}

/* ── 當前省高亮（綠底白字；同目錄相對鏈接 = 當前省）── */
.widget.category .category-list a:not([href^="../"]):not([href="javascript:;"]){
  background:#2F6B5E;
  color:#FFFFFF;
  font-weight:700;
  border-color:#2F6B5E;
  box-shadow:0 1px 3px rgba(38,51,46,.12);
}
.widget.category .category-list a:not([href^="../"]):not([href="javascript:;"]):hover{
  background:#2F6B5E;
  color:#FFFFFF;
  border-color:#2F6B5E;
}
.widget.category .category-list a:not([href^="../"]):not([href="javascript:;"]):hover i.fa-arrow-right{
  color:#FFFFFF;
  transform:none;
}
.widget.category .category-list a:not([href^="../"]):not([href="javascript:;"]) i.fa-arrow-right{
  color:#FFFFFF;
}
.widget.category .category-list a:not([href^="../"]):not([href="javascript:;"]) span{
  color:#FFFFFF;
  background:rgba(255,255,255,.18);
}
.widget.category .category-list a:not([href^="../"]):not([href="javascript:;"]):hover span{
  color:#FFFFFF;
  background:rgba(255,255,255,.18);
}
.widget.category .category-list a:not([href^="../"]):not([href="javascript:;"]) strong{
  color:#FFFFFF;
}
