/* 中興電資學院 英文版自訂樣式（由 header 移出，2026-11-05）
   修改後請重新上傳到文檔管理，覆蓋舊檔 */
/* 內容限寬 1280，背景維持滿版 */
@media (min-width: 768px) {
/* Logo：左邊對齊 1280 區塊的左緣 */
.head .mlogo {
padding-left: max(20px, calc((100% - 1280px) / 2));
padding-right: max(20px, calc((100% - 1280px) / 2));
}

/* 主選單：白色底列滿版，選單項目限制在 1280 內置中 */
.head .mainmenu .headnavcust {
max-width: 1280px;
margin: 0 auto;
}
}

@media (min-width: 1025px) {
/* topnav：右邊對齊 1280 區塊的右緣 */
.head .topnav {
right: max(20px, calc((100% - 1280px) / 2));
}
}

/* ===== 明細頁：標題 ===== */
.module-detail .mpgtitle .hdline {
font-size: 28px !important;
color: #1f3d6d !important;
font-weight: 700 !important;
line-height: 1.4 !important;
margin: 0 0 12px !important;
}

/* ===== 明細頁：發布日期、最後更新日期（灰色膠囊標籤） ===== */
.module-detail .ptinfoproperty {
display: flex !important;
flex-wrap: wrap;
gap: 10px;
text-align: left !important;
margin: 0 0 28px !important;
padding: 0 0 20px !important;
border-bottom: 1px dashed #e1e5ea !important;
}
.module-detail .ptinfoproperty_update,
.module-detail .ptinfoproperty_date {
display: inline-flex !important;
align-items: center;
gap: 8px;
margin: 0 !important;
padding: 7px 18px 7px 14px !important;
background-color: #f3f5f7 !important;
border: 1px solid #e1e5ea !important;
border-radius: 999px !important;
font-size: 14px !important;
font-weight: 500 !important;
letter-spacing: 1px;
line-height: 1 !important;
color: #8a949c !important;
}
/* 日曆小圖示 */
.module-detail .ptinfoproperty_update::before,
.module-detail .ptinfoproperty_date::before {
content: "" !important;
display: inline-block !important;
flex-shrink: 0;
width: 16px;
height: 16px;
margin: 0 !important;
background-color: currentColor !important;
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4.5' width='18' height='16.5' rx='2.5'/%3E%3Cpath d='M3 9.5h18M8 2.5v4M16 2.5v4'/%3E%3C/svg%3E") center / contain no-repeat;
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4.5' width='18' height='16.5' rx='2.5'/%3E%3Cpath d='M3 9.5h18M8 2.5v4M16 2.5v4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.module-detail .ptinfoproperty_update::after,
.module-detail .ptinfoproperty_date::after {
display: none !important;
}
/* 日期數字：深藍 */
.module-detail .ptinfoproperty_update span,
.module-detail .ptinfoproperty_date span {
font-size: 16px !important;
font-weight: 600 !important;
letter-spacing: .5px;
color: #1f3d6d !important;
}

/* ===== 明細頁：內文 ===== */
.module-detail .meditor {
font-size: 16px !important;
line-height: 1.9 !important;
color: #333333 !important;
}

/* ===== 明細頁：附件區 ===== */
.module-ptattach .mptattach {
margin-top: 24px !important;
padding-top: 16px !important;
border-top: 1px solid #e5e5e5 !important;
}
.module-ptattach .mptattach li {
margin-bottom: 8px !important;
font-size: 15px !important;
}
.module-ptattach .mptattach li a {
color: #1f3d6d !important;
}
.module-ptattach .mptattach li img {
margin-right: 6px !important;
}

/* ===== 內頁：螢幕寬度 991px 以下，隱藏左側選單，右側內容滿版 ===== */
@media (max-width: 991px) {
/* 只隱藏「裡面有選單模組」的左欄，不影響首頁 */
.col.col_01:has(.module-menu) {
display: none !important;
}
.col.col_01:has(.module-menu) ~ .col.col_02 {
width: 100% !important;
max-width: 100% !important;
flex: 0 0 100% !important;
}
}

/* ===== 首頁影音館：標題「影音館」加上「VIDEO」膠囊 ===== */
[class*="_11099"] .mt-subhead {
text-align: center !important;
margin-bottom: 20px !important;
}
[class*="_11099"] .mt-title {
margin: 0 !important;
font-size: 26px !important;
font-weight: 700 !important;
color: #1f3d6d !important;
letter-spacing: 2px;
}
[class*="_11099"] .mt-sub-title {
display: inline-block !important;
margin-top: 4px;
border-radius: 999px;
background: #2b6cb0;
color: #fff !important;
font-family: 'Montserrat', sans-serif;
font-size: 12px;
letter-spacing: 1px;
text-transform: uppercase;   /* 後台填 video，前台會顯示 VIDEO */
}

[class*="_11099"] .mt:before {
width: 100% !important;
}

/* 兩支影片之間的距離 */
[class*="_11099"] .d-item { margin-bottom: 20px; }

/* MORE 置中 */
[class*="_11099"] .more { text-align: center; margin-top:5px; }

/*圖片邊框*/
cued-overlay.ytmCuedOverlayHost, [class*="v-i"] .d-img img, .figBS img{border:1px Solid #dadada;}

/* ===== 下載區：列表樣式（2026-10 建立，請勿刪除） ===== */

/* 每一列 */
.dl-page .listBS .d-item {
padding: 0 !important;
border: 0 !important;
}
.dl-page .mtitle {
display: flex;
align-items: center;
gap: 16px;
margin: 0 !important;
padding: 20px 18px !important;
border-bottom: 1px solid #e8e8e8;
}

/* 左側：標籤＋日期＋標題，自動撐滿剩下的空間 */
.dl-page .dl-head {
flex: 1 1 auto;
display: flex;
align-items: center;
}

/* 表格／辦法 標籤 */
.dl-page .dl-type {
flex: 0 0 auto;
margin-right: 18px;
padding: 3px 10px;
border-radius: 5px;
color: #fff;
font-size: 13px;
font-weight: 700;
line-height: 1.4;
letter-spacing: 1px;
}
.dl-page .dl-type-rule { background: #3a7d55; }   /* 辦法：綠 */
.dl-page .dl-type-form { background: #6c757d; }   /* 表格：灰 */
.dl-page .dl-type-hon  { background: #b3ad92; }   /* 恭賀：金褐（榮譽榜） */
.dl-page .dl-year { min-width: 58px; text-align: center; }

/* 日期膠囊 */
.dl-page .dl-date {
flex: 0 0 auto;
margin-right: 6px;
padding: 2px 10px;
border: 1px solid #dcdcdc;
border-radius: 6px;
background: #fff;
color: #333;
font-size: 15px;
font-weight: 500;
line-height: 1.5;
white-space: nowrap;
}

/* [ ] 裡是長文字：改成標題上方的小字說明 */
.dl-page .dl-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.dl-page .dl-note {
display: block;
margin-bottom: 4px;
padding-left: 10px;
border-left: 3px solid #b3ad92;
color: #857e5c;
font-size: 14px;
font-weight: 500;
line-height: 1.5;
}

/* 標題 */
.dl-page .dl-head > a,
.dl-page .dl-head > .dl-title-text,
.dl-page .dl-text > a,
.dl-page .dl-text > .dl-title-text {
font-size: 17px !important;
font-weight: 400 !important;
color: #333 !important;
line-height: 1.6;
text-decoration: none !important;
}
.dl-page .dl-head > a:hover,
.dl-page .dl-text > a:hover { color: #1f3d6d !important; }
.dl-page .dl-head > .dl-title-text,
.dl-page .dl-text > .dl-title-text { cursor: default; }

/* 右側：檔案圖示（固定寬度、推到最右邊，每列對齊） */
.dl-page .dl-files {
flex: 0 0 110px;
margin-left: auto;
display: flex;
align-items: center;
justify-content: flex-start;
gap: 8px;
}
.dl-page .dl-loading { color: #aaa; font-size: 13px; }

/* 自訂圖示 */
.dl-page .dl-icon { display: inline-block; line-height: 0; }
.dl-page .dl-icon img { display: block; width: 28px; height: 28px; object-fit: contain; }
.dl-page .dl-icon:hover img { opacity: .7; }

/* 手機版：標題換行，圖示放到下一行 */
@media (max-width: 767px) {
.dl-page .mtitle { flex-wrap: wrap; padding: 16px 12px !important; }
.dl-page .dl-head { flex-basis: 100%; flex-wrap: wrap; row-gap: 8px; }
.dl-page .dl-files { flex: 0 0 auto; margin-left: 0; }
.dl-page .dl-head > a,
.dl-page .dl-head > .dl-title-text { flex-basis: 100%; font-size: 16px !important; }
.dl-page .dl-text > a,
.dl-page .dl-text > .dl-title-text { font-size: 16px !important; }
.dl-page .dl-date { white-space: normal; }
}

/* ===== 行政人員名片（2026-10 改版，請勿刪除） ===== */
.namecard-wrap {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 24px;
margin: 10px 0 30px;
}
.namecard {
position: relative;
padding: 26px 24px 24px;
border: 1px solid #e3e8ef;
border-top: 4px solid #1f3d6d;
border-radius: 12px;
background: #fff;
box-shadow: 0 4px 14px rgba(31, 61, 109, .06);
color: #333;
transition: box-shadow .2s, transform .2s;
}
.namecard:hover {
transform: translateY(-3px);
box-shadow: 0 10px 24px rgba(31, 61, 109, .12);
}

/* 姓名 */
.namecard h2 {
margin: 0 !important;
padding: 0 96px 0 0 !important;
border: 0 !important;
font-size: 22px !important;
font-weight: 700 !important;
letter-spacing: 3px;
line-height: 1.35 !important;
color: #1f3d6d !important;
}
.namecard h2 br { display: none; }
.namecard h2 span {
display: block;
margin-top: 4px;
font-family: 'Montserrat', sans-serif;
font-size: 13px;
font-weight: 500;
letter-spacing: 1.5px;
text-transform: uppercase;
color: #857e5c;
}

/* 職稱：右上角膠囊 */
.namecard h5 {
position: absolute;
top: 26px;
right: 22px;
margin: 0 !important;
}
.namecard .major {
display: inline-block;
padding: 3px 12px;
border-radius: 999px;
background: #b3ad92;
color: #fff;
font-size: 14px;
font-weight: 700;
letter-spacing: 1px;
white-space: nowrap;
}

/* 姓名下方的金色短線（用第一條 bar），其他裝飾隱藏 */
.namecard .bar { display: none; }
.namecard .bar1 {
display: block;
width: 28px;
height: 3px;
margin: 14px 0 0;
border-radius: 999px;
background: #dcd6bd;
}

/* 信箱、分機、工作項目 */
.namecard ul {
margin: 18px 0 0 !important;
padding: 18px 0 0 !important;
border-top: 1px solid #eef1f5;
list-style: none !important;
}
.namecard li.title {
margin: 0 0 16px !important;
padding: 0 !important;
list-style: none !important;
font-size: 13px;
font-weight: 700;
letter-spacing: 2px;
color: #857e5c;
}
.namecard li.title:last-child { margin-bottom: 0 !important; }
.namecard li.title::before { display: none !important; }
.namecard li br { display: none; }
.namecard .content {
display: block;
margin-top: 4px;
font-size: 15.5px;
font-weight: 400;
letter-spacing: 0;
line-height: 1.75;
color: #333;
}
.namecard .content a {
color: #1f3d6d !important;
text-decoration: none !important;
word-break: break-all;
}
.namecard .content a:hover { text-decoration: underline !important; }

/* 手機版 */
@media (max-width: 767px) {
.namecard-wrap { grid-template-columns: 1fr; gap: 18px; }
.namecard { padding: 22px 20px 20px; }
}

/* ===== 學院簡介：學院介紹（2026-10 建立，請勿刪除） ===== */
.about { color: #333; }

/* 共用：區塊標題 */
.about .ab-head {
display: flex;
align-items: baseline;
flex-wrap: wrap;
gap: 2px 14px;
margin: 0 0 22px;
padding-bottom: 12px;
border-bottom: 1px solid #e3e8ef;
}
.about .ab-head h3 {
margin: 0 !important;
padding: 0 !important;
border: 0 !important;
font-size: 24px !important;
font-weight: 700 !important;
letter-spacing: 2px;
color: #1f3d6d !important;
white-space: nowrap;
}
.about .ab-head span {
font-family: 'Montserrat', sans-serif;
font-size: 14px;
letter-spacing: 2px;
text-transform: uppercase;
color: #857e5c;
}

/* 前言：文字＋照片 */
.about .ab-intro {
display: grid;
grid-template-columns: 1.25fr 1fr;
gap: 36px;
align-items: center;
margin: 0 0 36px;
}
.about .ab-intro p {
margin: 0 !important;
padding: 4px 0 4px 22px;
border-left: 4px solid #b3ad92;
font-size: 17px !important;
line-height: 2 !important;
color: #444 !important;
text-align: justify;
}
.about .ab-photo {
margin: 0;
overflow: hidden;
border-radius: 12px;
box-shadow: 0 10px 24px rgba(31, 61, 109, .14);
}
.about .ab-photo img {
display: block;
width: 100%;
height: 100%;
aspect-ratio: 4 / 3;
object-fit: cover;
border: 0 !important;
}

/* 數字區塊 */
.about .ab-stats {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 18px;
margin: 0 0 22px !important;
padding: 0 !important;
list-style: none !important;
}
.about .ab-stats li {
margin: 0 !important;
padding: 22px 18px !important;
border: 1px solid #e3e8ef;
border-top: 4px solid #1f3d6d;
border-radius: 12px;
background: #fff;
box-shadow: 0 4px 14px rgba(31, 61, 109, .06);
list-style: none !important;
text-align: center;
}
.about .ab-stats li::before { display: none !important; }
.about .ab-num {
display: block;
font-family: 'Montserrat', sans-serif;
font-size: 40px;
font-weight: 300;
line-height: 1.1;
color: #1f3d6d;
}
.about .ab-num small { font-size: 16px; margin-left: 2px; color: #857e5c; }
.about .ab-label {
display: block;
margin-top: 8px;
font-size: 15px;
font-weight: 700;
letter-spacing: 1px;
color: #555;
}

/* 授課師資類別 */
.about .ab-faculty {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
margin: 0 0 48px;
font-size: 15px;
color: #555;
}
.about .ab-faculty b { margin-right: 6px; color: #1f3d6d; letter-spacing: 1px; }
.about .ab-faculty span {
padding: 4px 12px;
border-radius: 999px;
background: #f1f5fa;
color: #1f3d6d;
}

/* 沿革時間軸 */
.about .ab-timeline {
position: relative;
margin: 0 !important;
padding: 0 0 0 4px !important;
list-style: none !important;
}
.about .ab-timeline::before {
content: "";
position: absolute;
top: 8px;
bottom: 8px;
left: 110px;
width: 2px;
background: #e3e8ef;
}
.about .ab-timeline li {
position: relative;
display: grid;
grid-template-columns: 90px 1fr;
gap: 48px;
margin: 0 !important;
padding: 0 0 26px !important;
list-style: none !important;
}
.about .ab-timeline li::before {
content: "";
position: absolute;
top: 8px;
left: 104px;
width: 14px;
height: 14px;
border: 3px solid #1f3d6d;
border-radius: 50%;
background: #fff;
}
.about .ab-timeline li:last-child { padding-bottom: 0 !important; }
.about .ab-year {
font-family: 'Montserrat', sans-serif;
font-size: 22px;
font-weight: 600;
line-height: 1.3;
color: #1f3d6d;
text-align: right;
}
.about .ab-event {
font-size: 16px;
line-height: 1.85;
color: #444;
}
/* 學院成立：重點標示 */
.about .ab-timeline li.ab-key::before { border-color: #b3ad92; background: #b3ad92; }
.about .ab-timeline li.ab-key .ab-year { color: #857e5c; }
.about .ab-timeline li.ab-key .ab-event {
padding: 12px 16px;
border-radius: 10px;
background: #f8f6ef;
color: #333;
font-weight: 600;
}

/* 手機版 */
@media (max-width: 767px) {
.about .ab-intro { grid-template-columns: 1fr; gap: 22px; }
.about .ab-intro p { padding-left: 16px; font-size: 16px !important; }
.about .ab-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
.about .ab-num { font-size: 32px; }
.about .ab-timeline::before { left: 7px; }
.about .ab-timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 30px !important; }
.about .ab-timeline li::before { left: 0; }
.about .ab-timeline li:last-child { padding-bottom: 0 !important; }
.about .ab-year { text-align: left; font-size: 19px; }
}

/* ===== 學院簡介：交通位置（2026-10 建立，請勿刪除） ===== */
/* 區塊標題沿用 .about .ab-head */

/* 地址卡片 */
.traffic .tf-address {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 18px 28px;
margin: 0 0 24px;
padding: 26px 30px;
border-radius: 12px;
background: linear-gradient(120deg, #1f3d6d 0%, #2b5a94 100%);
color: #fff;
}
.traffic .tf-label {
display: block;
margin-bottom: 6px;
font-family: 'Montserrat', sans-serif;
font-size: 13px;
letter-spacing: 3px;
text-transform: uppercase;
color: #dcd6bd;
}
.traffic .tf-addr {
display: block;
font-size: 22px;
font-weight: 700;
letter-spacing: 1px;
line-height: 1.5;
color: #fff;
}
.traffic .tf-note {
display: block;
margin-top: 4px;
font-size: 15px;
color: rgba(255, 255, 255, .85);
}

/* 按鈕 */
.traffic .tf-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.traffic .tf-btn {
display: inline-block;
padding: 9px 18px;
border: 1.5px solid #fff;
border-radius: 999px;
color: #fff !important;
font-size: 15px;
font-weight: 600;
letter-spacing: 1px;
text-decoration: none !important;
white-space: nowrap;
transition: background .2s, color .2s;
}
.traffic .tf-btn:hover { background: #fff; color: #1f3d6d !important; }
.traffic .tf-btn-main { border-color: #dcd6bd; background: #dcd6bd; color: #1f3d6d !important; }
.traffic .tf-btn-main:hover { border-color: #fff; background: #fff; }

/* Google 地圖 */
.traffic .tf-map {
position: relative;
margin: 0 0 48px;
padding-bottom: 42%;
overflow: hidden;
border: 1px solid #e3e8ef;
border-radius: 12px;
box-shadow: 0 4px 14px rgba(31, 61, 109, .06);
}
.traffic .tf-map iframe {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
border: 0;
}

/* 圖片：校園地圖、停車資訊 */
.traffic .tf-figure {
margin: 0 0 48px;
overflow: hidden;
border: 1px solid #e3e8ef;
border-radius: 12px;
background: #fff;
box-shadow: 0 4px 14px rgba(31, 61, 109, .06);
}
.traffic .tf-figure:last-child { margin-bottom: 0; }
.traffic .tf-figure a { display: block; }
.traffic .tf-figure img {
display: block;
width: 100%;
height: auto;
border: 0 !important;
transition: opacity .2s;
}
.traffic .tf-figure a:hover img { opacity: .9; }
.traffic .tf-figure figcaption {
padding: 12px 18px;
border-top: 1px solid #eef1f5;
font-size: 14px;
color: #857e5c;
}

/* 手機版 */
@media (max-width: 767px) {
.traffic .tf-address { padding: 22px 20px; }
.traffic .tf-addr { font-size: 19px; }
.traffic .tf-map { padding-bottom: 75%; }
}

/* ===== 學院簡介：歷屆院長卡片（2026-10 建立，請勿刪除） ===== */
/* 歷屆院長 */
.about .hi-deans {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 22px;
margin: 0 0 52px !important;
padding: 0 !important;
list-style: none !important;
}
.about .hi-deans li {
position: relative;
box-sizing: border-box;
margin: 0 !important;
padding: 26px 26px 24px !important;
border: 1px solid #e3e8ef;
border-top: 4px solid #1f3d6d;
border-radius: 12px;
background: #fff;
box-shadow: 0 4px 14px rgba(31, 61, 109, .06);
list-style: none !important;
}
.about .hi-deans li::before { display: none !important; }
.about .hi-term {
display: inline-block;
padding: 3px 12px;
border-radius: 999px;
background: #b3ad92;
color: #fff;
font-size: 14px;
font-weight: 700;
letter-spacing: 1px;
}
.about .hi-name {
display: block;
margin: 14px 0 2px;
font-size: 24px;
font-weight: 700;
letter-spacing: 4px;
color: #1f3d6d;
}
.about .hi-role {
font-size: 15px;
letter-spacing: 2px;
color: #857e5c;
}
.about .hi-period {
display: block;
margin-top: 16px;
padding-top: 14px;
border-top: 1px solid #eef1f5;
font-family: 'Montserrat', sans-serif;
font-size: 16px;
font-weight: 500;
letter-spacing: 1px;
color: #444;
}
@media (max-width: 767px) {
.about .hi-deans { grid-template-columns: 1fr; gap: 16px; }
}

/* ===== 學院簡介：學院院徽（2026-10 建立，請勿刪除） ===== */
.emblem .em-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
margin: 0 !important;
padding: 0 !important;
list-style: none !important;
}
.emblem .em-grid li {
box-sizing: border-box;
display: flex;
flex-direction: column;
margin: 0 !important;
padding: 0 !important;
overflow: hidden;
border: 1px solid #e3e8ef;
border-top: 4px solid #1f3d6d;
border-radius: 12px;
background: #fff;
box-shadow: 0 4px 14px rgba(31, 61, 109, .06);
list-style: none !important;
transition: box-shadow .2s, transform .2s;
}
.emblem .em-grid li::before { display: none !important; }
.emblem .em-grid li:hover {
transform: translateY(-3px);
box-shadow: 0 10px 24px rgba(31, 61, 109, .12);
}

/* 預覽區：淡色棋盤格底，透明背景的院徽也看得清楚 */
.emblem .em-thumb {
display: flex;
align-items: center;
justify-content: center;
aspect-ratio: 1 / 1;
padding: 28px;
background-color: #f7f9fc;
background-image:
linear-gradient(45deg, #eef2f7 25%, transparent 25%),
linear-gradient(-45deg, #eef2f7 25%, transparent 25%),
linear-gradient(45deg, transparent 75%, #eef2f7 75%),
linear-gradient(-45deg, transparent 75%, #eef2f7 75%);
background-size: 20px 20px;
background-position: 0 0, 0 10px, 10px -10px, -10px 0;
}
.emblem .em-thumb img {
display: block;
max-width: 100%;
max-height: 100%;
width: auto;
height: auto;
border: 0 !important;
}

/* 白色版院徽：預覽區改成深藍底，白色圖案才看得到 */
.emblem .em-thumb.em-dark {
background-color: #1f3d6d;
background-image:
linear-gradient(45deg, #24467a 25%, transparent 25%),
linear-gradient(-45deg, #24467a 25%, transparent 25%),
linear-gradient(45deg, transparent 75%, #24467a 75%),
linear-gradient(-45deg, transparent 75%, #24467a 75%);
}

/* 說明＋下載 */
.emblem .em-info {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 16px 20px;
border-top: 1px solid #eef1f5;
}
.emblem .em-name {
display: block;
font-size: 17px;
font-weight: 700;
letter-spacing: 1px;
color: #1f3d6d;
}
.emblem .em-spec {
display: block;
margin-top: 2px;
font-family: 'Montserrat', sans-serif;
font-size: 13px;
letter-spacing: 1px;
color: #857e5c;
}
.emblem .em-dl {
flex: 0 0 auto;
display: inline-flex;
align-items: center;
gap: 6px;
padding: 8px 16px;
border-radius: 999px;
background: #1f3d6d;
color: #fff !important;
font-size: 14px;
font-weight: 600;
letter-spacing: 1px;
text-decoration: none !important;
white-space: nowrap;
transition: background .2s;
}
.emblem .em-dl::before { content: "\2193"; font-weight: 700; }   /* ↓ */
.emblem .em-dl:hover { background: #2b5a94; }

/* 手機版 */
@media (max-width: 991px) {
.emblem .em-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
.emblem .em-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* ===== 學院簡介：院長（2026-10 建立，請勿刪除） ===== */
/* 區塊標題沿用 .about .ab-head */
.dean { color: #333; }
.dean .ab-head { margin-top: 44px; }

/* 個人資料 */
.dean .dn-hero {
display: grid;
grid-template-columns: 260px 1fr;
gap: 36px;
align-items: start;
padding: 30px;
border: 1px solid #e3e8ef;
border-top: 4px solid #1f3d6d;
border-radius: 12px;
background: #fff;
box-shadow: 0 4px 14px rgba(31, 61, 109, .06);
}
.dean .dn-photo {
margin: 0;
overflow: hidden;
border-radius: 10px;
background: #f1f5fa;
}
.dean .dn-photo img {
display: block;
width: 100%;
aspect-ratio: 3 / 4;
object-fit: cover;
border: 0 !important;
}
.dean .dn-eyebrow {
display: block;
font-family: 'Montserrat', sans-serif;
font-size: 13px;
letter-spacing: 3px;
text-transform: uppercase;
color: #857e5c;
}
.dean .dn-name {
display: block;
margin: 4px 0 12px;
font-size: 34px;
font-weight: 700;
letter-spacing: 8px;
line-height: 1.3;
color: #1f3d6d;
}
/* 英文姓名（副院長頁使用） */
.dean .dn-en {
display: block;
margin: -8px 0 12px;
font-family: 'Montserrat', sans-serif;
font-size: 15px;
letter-spacing: 1.5px;
color: #857e5c;
}
.dean .dn-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; }
.dean .dn-badges span {
padding: 3px 12px;
border-radius: 999px;
background: #b3ad92;
color: #fff;
font-size: 14px;
font-weight: 700;
letter-spacing: 1px;
}
.dean .dn-group { display: block; font-size: 15px; color: #666; }

/* 聯絡資訊 */
.dean .dn-contact {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 16px 28px;
margin: 22px 0 0 !important;
padding: 20px 0 0 !important;
border-top: 1px solid #eef1f5;
}
.dean .dn-contact dt {
margin: 0;
font-size: 13px;
font-weight: 700;
letter-spacing: 2px;
color: #857e5c;
}
.dean .dn-contact dd {
margin: 4px 0 0 !important;
font-size: 16px;
line-height: 1.6;
color: #333;
word-break: break-all;
}
.dean .dn-contact dd a { color: #1f3d6d !important; text-decoration: none !important; }
.dean .dn-contact dd a:hover { text-decoration: underline !important; }

/* 研究領域標籤 */
.dean .dn-tags {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin: 0 !important;
padding: 0 !important;
list-style: none !important;
}
.dean .dn-tags li {
margin: 0 !important;
padding: 6px 16px !important;
border-radius: 999px;
background: #f1f5fa;
color: #1f3d6d;
font-size: 15px !important;
list-style: none !important;
}
.dean .dn-tags li::before { display: none !important; }

/* 重要經歷 */
.dean .dn-exp {
margin: 0 !important;
padding: 0 !important;
list-style: none !important;
}
.dean .dn-exp li {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 16px;
margin: 0 !important;
padding: 12px 0 !important;
border-bottom: 1px solid #eef1f5;
list-style: none !important;
font-size: 16px;
line-height: 1.7;
}
.dean .dn-exp li::before { display: none !important; }
.dean .dn-exp li:last-child { border-bottom: 0; }
.dean .dn-period {
flex: 0 0 auto;
padding: 1px 10px;
border: 1px solid #dcdcdc;
border-radius: 6px;
font-family: 'Montserrat', sans-serif;
font-size: 14px;
color: #555;
white-space: nowrap;
}
.dean .dn-exp li.dn-now .dn-period { border-color: #b3ad92; background: #f8f6ef; color: #857e5c; font-weight: 600; }

/* 可展開的長清單 */
.dean .dn-more {
margin: 0 0 12px;
border: 1px solid #e3e8ef;
border-radius: 10px;
background: #fff;
}
.dean .dn-more summary {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 14px 20px;
cursor: pointer;
list-style: none;
font-size: 17px;
font-weight: 700;
color: #1f3d6d;
}
.dean .dn-more summary::-webkit-details-marker { display: none; }
.dean .dn-more summary::after {
content: "+";
flex: 0 0 auto;
width: 26px;
height: 26px;
border-radius: 50%;
background: #f1f5fa;
color: #1f3d6d;
font-size: 18px;
line-height: 26px;
text-align: center;
}
.dean .dn-more[open] summary::after { content: "−"; }
.dean .dn-more summary:hover { background: #f8fafc; }
.dean .dn-count {
margin-left: auto;
font-size: 14px;
font-weight: 400;
color: #857e5c;
}
.dean .dn-list {
margin: 0 !important;
padding: 4px 22px 16px 46px !important;
border-top: 1px solid #eef1f5;
}
.dean .dn-list li {
margin: 0 !important;
padding: 8px 0 !important;
font-size: 15px;
line-height: 1.75;
color: #444;
}
.dean ul.dn-list li { list-style: disc !important; }
.dean ol.dn-list li { list-style: decimal !important; }
.dean .dn-list li::marker { color: #b3ad92; }

/* 手機版 */
@media (max-width: 767px) {
.dean .dn-hero { grid-template-columns: 1fr; gap: 22px; padding: 22px 20px; }
.dean .dn-photo { max-width: 220px; }
.dean .dn-name { font-size: 28px; letter-spacing: 6px; }
.dean .dn-contact { grid-template-columns: 1fr; }
.dean .dn-exp li { flex-direction: column; gap: 4px; }
.dean .dn-list { padding-left: 36px !important; padding-right: 16px !important; }
}

/* ===== 學院簡介：發展願景（2026-10 建立，請勿刪除） ===== */
.vision { color: #333; }

/* 前言 */
.vision .vision-lead {
margin: 0 0 40px !important;
padding: 4px 0 4px 22px;
border-left: 4px solid #b3ad92;
font-size: 17px !important;
line-height: 2 !important;
color: #444 !important;
text-align: justify;
}

/* 區塊標題：五大發展領域 */
.vision .vision-head {
display: flex;
align-items: baseline;
gap: 14px;
margin: 0 0 22px;
padding-bottom: 12px;
border-bottom: 1px solid #e3e8ef;
}
.vision .vision-head h3 {
margin: 0 !important;
padding: 0 !important;
font-size: 24px !important;
font-weight: 700 !important;
letter-spacing: 2px;
color: #1f3d6d !important;
border: 0 !important;
}
.vision .vision-head span {
font-family: 'Montserrat', sans-serif;
font-size: 14px;
letter-spacing: 2px;
text-transform: uppercase;
color: #b3ad92;
}

/* 五大領域卡片 */
.vision .vision-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 24px;
margin: 0 0 44px;
}
.vision .vision-card {
position: relative;
padding: 28px 28px 26px;
border: 1px solid #e3e8ef;
border-top: 4px solid #1f3d6d;
border-radius: 12px;
background: #fff;
box-shadow: 0 4px 14px rgba(31, 61, 109, .06);
transition: box-shadow .2s, transform .2s;
}
.vision .vision-card:hover {
transform: translateY(-3px);
box-shadow: 0 10px 24px rgba(31, 61, 109, .12);
}
.vision .vision-card:last-child { grid-column: 1 / -1; }   /* 第 5 張滿版 */

.vision .vc-no {
position: absolute;
top: 14px;
right: 22px;
font-family: 'Montserrat', sans-serif;
font-size: 46px;
font-weight: 200;
line-height: 1;
color: #dcd6bd;
}
.vision .vision-card h4 {
margin: 0 0 16px !important;
padding: 0 60px 0 0 !important;
font-size: 20px !important;
font-weight: 700 !important;
letter-spacing: 1px;
color: #1f3d6d !important;
}

/* 關鍵字標籤 */
.vision .vc-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin: 0 !important;
padding: 0 !important;
list-style: none !important;
}
.vision .vc-tags li {
margin: 0 !important;
padding: 4px 12px !important;
border-radius: 999px;
background: #f1f5fa;
color: #1f3d6d;
font-size: 15px !important;
line-height: 1.5 !important;
list-style: none !important;
}
.vision .vc-tags li::before { display: none !important; }

/* 結語 */
.vision .vision-goal {
position: relative;
padding: 30px 36px 30px 76px;
border-radius: 12px;
background: linear-gradient(120deg, #1f3d6d 0%, #2b5a94 100%);
color: #fff;
}
.vision .vision-goal::before {
content: "\201C";
position: absolute;
left: 26px;
top: 6px;
font-family: Georgia, serif;
font-size: 72px;
line-height: 1;
color: #dcd6bd;
}
.vision .vision-goal p {
margin: 0 !important;
font-size: 18px !important;
font-weight: 500;
line-height: 1.9 !important;
letter-spacing: 1px;
color: #fff !important;
}

/* 手機版 */
@media (max-width: 767px) {
.vision .vision-lead { padding-left: 16px; font-size: 16px !important; }
.vision .vision-head { flex-wrap: wrap; gap: 2px 12px; }
.vision .vision-head h3 { white-space: nowrap; font-size: 22px !important; }
.vision .vision-grid { grid-template-columns: 1fr; gap: 18px; }
.vision .vision-card { padding: 24px 20px 22px; }
.vision .vc-no { font-size: 38px; }
.vision .vision-goal { padding: 26px 22px 26px 56px; }
.vision .vision-goal::before { left: 16px; font-size: 56px; }
.vision .vision-goal p { font-size: 16px !important; }
}

/* ===== 英文版首頁：頁籤選單等高（2026-10 建立，請勿刪除） ===== */
#a4fc67dfa22594a2f72b273dd23ef681c_Div .nav-tabs {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: stretch;
gap: 16px;
border-bottom: 0;
}
#a4fc67dfa22594a2f72b273dd23ef681c_Div .nav-tabs::before,
#a4fc67dfa22594a2f72b273dd23ef681c_Div .nav-tabs::after { display: none; }
#a4fc67dfa22594a2f72b273dd23ef681c_Div .nav-tabs > li {
float: none;
display: flex;
width: auto !important;
max-width: none !important;
margin: 0 !important;
}
#a4fc67dfa22594a2f72b273dd23ef681c_Div .nav-tabs > li > a {
display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
width: 100%;
min-height: 52px;
margin: 0 !important;
padding: 8px 22px !important;
white-space: nowrap;
text-align: center;
}

/* 手機版：固定兩欄，每一格都一樣高 */
@media (max-width: 767px) {
#a4fc67dfa22594a2f72b273dd23ef681c_Div .nav-tabs {
display: grid;
grid-template-columns: 1fr 1fr;
grid-auto-rows: 1fr;
gap: 10px;
}
#a4fc67dfa22594a2f72b273dd23ef681c_Div .nav-tabs > li > a {
white-space: normal;
padding: 8px 12px !important;
}
}

/* ===== 英文版首頁「研討會。演講」：日期樣式（2026-10 建立，請勿刪除） ===== */
/* 只套用在模組 M12301，其他公告模組不受影響
※ 英文版模組代號若不同，把下面三個 M12301 換成英文版的代號 */
/* 日期：白底金字，左側一條深藍色細邊，放在標題上方（原本位置） */
.M12301 .mtitle .mdate {
display: table;              /* 自成一行，寬度只包住日期 */
float: none !important;
margin: 12px 0 8px !important;
padding: 2px 10px 2px 9px !important;
border: 1px solid #dcd6bd;
border-left: 3px solid #1f3d6d;
border-radius: 4px;
background: #fff !important;
color: #857e5c !important;
font-family: 'Montserrat', sans-serif;
font-size: 13px !important;
font-style: normal;
font-weight: 600;
letter-spacing: 1px;
line-height: 1.6 !important;
white-space: nowrap;
}
.M12301 .mtitle .mdate::before,
.M12301 .mtitle .mdate::after { display: none !important; }

/* ===== 英文版交通位置：路線與公車（2026-10 建立，請勿刪除） ===== */
.traffic .tf-figure-tight { margin-bottom: 24px; }

.traffic .tf-routes {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 18px;
margin: 0 0 20px !important;
padding: 0 !important;
list-style: none !important;
}
.traffic .tf-routes li {
box-sizing: border-box;
margin: 0 !important;
padding: 20px 22px !important;
border: 1px solid #e3e8ef;
border-top: 4px solid #1f3d6d;
border-radius: 12px;
background: #fff;
box-shadow: 0 4px 14px rgba(31, 61, 109, .06);
list-style: none !important;
}
.traffic .tf-routes li::before { display: none !important; }
.traffic .tf-routes li.tf-orange { border-top-color: #e58a2b; }
.traffic .tf-routes li.tf-blue   { border-top-color: #2b6cb0; }
.traffic .tf-routes li.tf-green  { border-top-color: #3a7d55; }
.traffic .tf-route-name {
display: block;
font-family: 'Montserrat', sans-serif;
font-size: 13px;
font-weight: 700;
letter-spacing: 2px;
text-transform: uppercase;
}
.traffic .tf-orange .tf-route-name { color: #b8620f; }
.traffic .tf-blue   .tf-route-name { color: #2b6cb0; }
.traffic .tf-green  .tf-route-name { color: #3a7d55; }
.traffic .tf-route-from {
display: block;
margin: 6px 0 10px;
font-size: 17px;
font-weight: 700;
line-height: 1.5;
color: #1f3d6d;
}
.traffic .tf-route-path {
display: block;
padding-top: 10px;
border-top: 1px solid #eef1f5;
font-size: 15px;
line-height: 1.8;
color: #444;
}

.traffic .tf-bus {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
padding: 16px 20px;
border-left: 4px solid #b3ad92;
border-radius: 0 10px 10px 0;
background: #f8f6ef;
font-size: 15px;
color: #444;
}
.traffic .tf-bus span {
padding: 3px 12px;
border-radius: 999px;
background: #fff;
color: #1f3d6d;
}
.traffic .tf-bus .tf-bus-label {
margin-right: 4px;
padding: 0;
background: none;
font-family: 'Montserrat', sans-serif;
font-size: 13px;
font-weight: 700;
letter-spacing: 2px;
text-transform: uppercase;
color: #857e5c;
}

@media (max-width: 991px) {
.traffic .tf-routes { grid-template-columns: 1fr; gap: 14px; }
}

/* ===== 英文版：學院介紹（2026-10 建立，請勿刪除） ===== */
.about-en { color: #333; }

/* 開場：小標＋大標題＋導言 */
.about-en .ae-hero { margin: 0 0 34px; }
.about-en .ae-eyebrow {
display: block;
margin-bottom: 8px;
font-family: 'Montserrat', sans-serif;
font-size: 13px;
font-weight: 600;
letter-spacing: 3px;
text-transform: uppercase;
color: #857e5c;
}
.about-en .ae-title {
margin: 0 0 16px !important;
padding: 0 !important;
border: 0 !important;
font-size: 30px !important;
font-weight: 700 !important;
line-height: 1.3 !important;
color: #1f3d6d !important;
}
.about-en .ae-title::after {
content: "";
display: block;
width: 48px;
height: 3px;
margin-top: 14px;
border-radius: 999px;
background: #b3ad92;
}
.about-en .ae-lead {
max-width: 900px;
margin: 0 !important;
font-size: 18px !important;
line-height: 1.85 !important;
color: #444 !important;
text-align: left !important;
}

/* 內文＋照片 */
.about-en .ae-body {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 40px;
align-items: center;
margin: 0 0 40px;
}
.about-en .ae-body p {
margin: 0 !important;
font-size: 16px !important;
line-height: 1.9 !important;
color: #444 !important;
text-align: left !important;
}
.about-en .ae-photo {
margin: 0;
overflow: hidden;
border-radius: 12px;
box-shadow: 0 10px 24px rgba(31, 61, 109, .14);
}
.about-en .ae-photo img {
display: block;
width: 100%;
aspect-ratio: 16 / 10;
object-fit: cover;
border: 0 !important;
}

/* 數字帶：深藍底 */
.about-en .ae-stats {
display: grid;
grid-template-columns: repeat(4, 1fr);
margin: 0 0 40px !important;
padding: 0 !important;
overflow: hidden;
border-radius: 12px;
background: linear-gradient(120deg, #1f3d6d 0%, #2b5a94 100%);
list-style: none !important;
}
.about-en .ae-stats li {
margin: 0 !important;
padding: 26px 18px !important;
border-left: 1px solid rgba(255, 255, 255, .15);
list-style: none !important;
text-align: center;
}
.about-en .ae-stats li:first-child { border-left: 0; }
.about-en .ae-stats li::before { display: none !important; }
.about-en .ae-num {
display: block;
font-family: 'Montserrat', sans-serif;
font-size: 40px;
font-weight: 300;
line-height: 1.1;
color: #fff;
}
.about-en .ae-label {
display: block;
font-family: 'Montserrat', sans-serif;
margin-top: 8px;
font-size: 12px;
font-weight: 600;
letter-spacing: 2px;
text-transform: uppercase;
color: #dcd6bd;
}

/* 師資類別／研發重點：兩張卡片 */
.about-en .ae-cards {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 24px;
}
.about-en .ae-card {
padding: 26px 28px;
border: 1px solid #e3e8ef;
border-top: 4px solid #1f3d6d;
border-radius: 12px;
background: #fff;
box-shadow: 0 4px 14px rgba(31, 61, 109, .06);
}
.about-en .ae-card h3 {
margin: 0 0 16px !important;
padding: 0 !important;
border: 0 !important;
font-size: 19px !important;
font-weight: 700 !important;
color: #1f3d6d !important;
}
.about-en .ae-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin: 0 !important;
padding: 0 !important;
list-style: none !important;
}
.about-en .ae-tags li {
margin: 0 !important;
padding: 5px 14px !important;
border-radius: 999px;
background: #f1f5fa;
color: #1f3d6d;
font-size: 14px !important;
line-height: 1.5 !important;
list-style: none !important;
}
.about-en .ae-tags li::before { display: none !important; }
.about-en .ae-card-gold { border-top-color: #b3ad92; }
.about-en .ae-card-gold .ae-tags li { background: #f8f6ef; color: #6b6548; }

/* 手機版 */
@media (max-width: 767px) {
.about-en .ae-title { font-size: 24px !important; }
.about-en .ae-lead { font-size: 16px !important; }
.about-en .ae-body { grid-template-columns: 1fr; gap: 22px; }
.about-en .ae-stats { grid-template-columns: repeat(2, 1fr); }
.about-en .ae-stats li:nth-child(3) { border-left: 0; }
.about-en .ae-stats li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .15); }
.about-en .ae-num { font-size: 32px; }
.about-en .ae-cards { grid-template-columns: 1fr; gap: 16px; }
}

/* ===== 網站導覽（2026-10 建立，請勿刪除） ===== */
.sitemap { color: #333; }
.sitemap .sm-intro {
margin: 0 0 32px !important;
padding: 18px 22px;
border-left: 4px solid #b3ad92;
border-radius: 0 10px 10px 0;
background: #f8f6ef;
font-size: 15px !important;
line-height: 1.9 !important;
color: #444 !important;
}
.sitemap .sm-intro kbd {
display: inline-block;
min-width: 22px;
margin: 0 2px;
padding: 0 6px;
border: 1px solid #cfc8ad;
border-radius: 4px;
background: #fff;
font-family: 'Montserrat', sans-serif;
font-size: 13px;
font-weight: 700;
line-height: 22px;
text-align: center;
color: #1f3d6d;
}
.sitemap .sm-key { display: inline-block; margin-right: 18px; white-space: nowrap; }
.sitemap .sm-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
gap: 22px;
align-items: start;
}
.sitemap .sm-card {
box-sizing: border-box;
padding: 22px 24px 20px;
border: 1px solid #e3e8ef;
border-top: 4px solid #1f3d6d;
border-radius: 12px;
background: #fff;
box-shadow: 0 4px 14px rgba(31, 61, 109, .06);
}
.sitemap .sm-card h3 {
margin: 0 0 12px !important;
padding: 0 0 12px !important;
border: 0 !important;
border-bottom: 1px solid #eef1f5 !important;
font-size: 19px !important;
font-weight: 700 !important;
letter-spacing: 1px;
}
.sitemap .sm-card h3 a,
.sitemap .sm-card h3 span { color: #1f3d6d !important; text-decoration: none !important; }
.sitemap .sm-card h3 a:hover { text-decoration: underline !important; }
.sitemap .sm-card ul {
margin: 0 !important;
padding: 0 !important;
list-style: none !important;
}
.sitemap .sm-card li {
margin: 0 !important;
padding: 5px 0 !important;
list-style: none !important;
}
.sitemap .sm-card li::before { display: none !important; }
.sitemap .sm-card li a {
position: relative;
display: inline-block;
padding-left: 16px;
font-size: 15.5px;
line-height: 1.6;
color: #444 !important;
text-decoration: none !important;
}
.sitemap .sm-card li a::before {
content: "\203A";
position: absolute;
left: 2px;
top: -1px;
font-size: 17px;
color: #b3ad92;
}
.sitemap .sm-card li a:hover { color: #1f3d6d !important; text-decoration: underline !important; }
.sitemap .sm-card li ul { margin: 2px 0 4px 16px !important; }
.sitemap .sm-card li ul a { font-size: 14.5px; color: #666 !important; }
.sitemap .sm-other { border-top-color: #b3ad92; }
@media (max-width: 767px) {
.sitemap .sm-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ===== 左側選單：目前所在頁面標示（2026-10 建立，請勿刪除） ===== */
.module-menu .cgmenu li { position: relative; }
.module-menu .cgmenu li > a { transition: color .2s, padding-left .2s; }
.module-menu .cgmenu > li:hover { background: #f8fafc; }
.module-menu .cgmenu li > a:hover { color: #1f3d6d !important; }

/* 目前頁面：左側深藍色邊線＋淺藍底＋粗體 */
.module-menu .cgmenu li.is-current { background: #f1f5fa !important; }
.module-menu .cgmenu li.is-current::before {
content: "";
position: absolute;
top: -1px;
bottom: -1px;
left: -1px;
width: 4px;
background: #1f3d6d;
}
.module-menu .cgmenu li.is-current > a {
padding-left: 6px;
color: #1f3d6d !important;
font-weight: 700;
}

/* ===== 活動花絮 Photo 相片卡片（2026-10-31，只套用分類 2053） ===== */
.mcol:has(.breadcrumb [href*="-2053."]) .boxSD{display: flex;flex-wrap: wrap}.mcol:has(.breadcrumb [href*="-2053."]) .boxSD::before,.mcol:has(.breadcrumb [href*="-2053."]) .boxSD::after{display: none}.mcol:has(.breadcrumb [href*="-2053."]) .boxSD .d-item{float: none;display: flex;margin-bottom: 28px}.mcol:has(.breadcrumb [href*="-2053."]) .boxSD .mbox{display: flex;flex-direction: column;width: 100%;margin: 0 !important;padding: 0 !important;overflow: hidden;border: 1px solid #e3e8ef !important;border-radius: 12px;background: #fff !important;box-shadow: 0 4px 14px rgba(31,61,109,.06) !important;transition: box-shadow .25s,transform .25s}.mcol:has(.breadcrumb [href*="-2053."]) .boxSD .mbox:hover{transform: translateY(-4px);box-shadow: 0 12px 26px rgba(31,61,109,.14) !important}.mcol:has(.breadcrumb [href*="-2053."]) .boxSD .d-img{margin: 0 !important;padding: 0 !important;overflow: hidden;aspect-ratio: 4 / 3;background: #f1f5fa}.mcol:has(.breadcrumb [href*="-2053."]) .boxSD .d-img a{display: block;height: 100%}.mcol:has(.breadcrumb [href*="-2053."]) .boxSD .d-img img{display: block;width: 100%;height: 100%;object-fit: cover;border: 0 !important;transition: transform .5s ease}.mcol:has(.breadcrumb [href*="-2053."]) .boxSD .mbox:hover .d-img img{transform: scale(1.05)}.mcol:has(.breadcrumb [href*="-2053."]) .boxSD .d-txt{flex: 1 1 auto;padding: 16px 20px 20px !important;border-top: 3px solid #1f3d6d}.mcol:has(.breadcrumb [href*="-2053."]) .boxSD .mtitle{margin: 0 !important}.mcol:has(.breadcrumb [href*="-2053."]) .boxSD .mtitle .mdate{float: none !important;font-style: normal;display: table;margin: 0 0 10px !important;padding: 1px 10px 1px 9px !important;border: 1px solid #dcd6bd;border-left: 3px solid #1f3d6d;border-radius: 4px;background: #fff !important;color: #857e5c !important;font-family: 'Montserrat',sans-serif;font-size: 13px !important;font-weight: 600 !important;letter-spacing: 1px;line-height: 1.6 !important;white-space: nowrap}.mcol:has(.breadcrumb [href*="-2053."]) .boxSD .mtitle .mdate::before,.mcol:has(.breadcrumb [href*="-2053."]) .boxSD .mtitle .mdate::after{display: none !important}.mcol:has(.breadcrumb [href*="-2053."]) .boxSD .mtitle a{display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 2;overflow: hidden;color: #333 !important;font-size: 16px !important;font-weight: 500 !important;line-height: 1.65 !important;text-decoration: none !important;transition: color .2s}.mcol:has(.breadcrumb [href*="-2053."]) .boxSD .mbox:hover .mtitle a{color: #1f3d6d !important}@media (max-width: 575px){.mcol:has(.breadcrumb [href*="-2053."]) .boxSD .d-item{width: 100%}}

/* ===== 公告列表（表格樣式）：手機版改成條列（2026-11 建立，請勿刪除） ===== */
@media (max-width: 767px) {
.listTB thead { display: none !important; }
.listTB, .listTB tbody, .listTB tr, .listTB td {
display: block !important;
width: 100% !important;
}
.listTB tr {
padding: 14px 4px !important;
border-bottom: 1px solid #e8e8e8 !important;
background: none !important;
}
.listTB td {
padding: 0 !important;
border: 0 !important;
text-align: left !important;
}
.listTB td::before { display: none !important; content: none !important; }

/* 日期：白底金字＋左側深藍細邊 */
.listTB td:first-child .d-txt {
display: inline-block !important;
margin: 0 0 8px !important;
padding: 1px 10px 1px 9px !important;
border: 1px solid #dcd6bd;
border-left: 3px solid #1f3d6d;
border-radius: 4px;
background: #fff;
color: #857e5c !important;
font-family: 'Montserrat', sans-serif;
font-size: 13px !important;
font-weight: 600;
letter-spacing: 1px;
line-height: 1.6 !important;
white-space: nowrap;
}

/* 標題 */
.listTB .mtitle a {
display: block;
color: #333 !important;
font-size: 16px !important;
line-height: 1.65 !important;
text-decoration: none !important;
}
.listTB .mtitle a:hover { color: #1f3d6d !important; }
}
/* ===== 影音館：YouTube 影片 16:9 自適應（2026-11 建立，請勿刪除） ===== */
.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; }
.embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
