/************************
BLOCK
************************/ 
.block ul li,
.block ul,
.block .tt,
.block .dd,
.block .pic img,
.block .txt,
.block .pic,
.block .box,
.block { 
    position: relative;
	display: inline-block;
    width: 100%;	
	}
.block { 
	float: left;
	line-height: 1.6em; 
	}	
.block  a {
    color: inherit; /* 避免變色 */
    text-decoration: none;
	}	
.block .title { 
    width: 100%;
	padding-bottom: 20px;
    margin: 20px 0px;
	text-align: left;
	border-bottom: 1px solid #0c0c0d;
	}
.block .title_s01 { 	
    font-size: 28px;
	font-family: "Noto Serif TC", "PingFang TC", "Microsoft JhengHei", serif;
	font-weight: 600;
	padding: 30px 0px;
	}	
	
.block .title .dd,	
.block .title .dt { 
    width: auto;
	}
	
.block .title .dt { 	
	font-size: 36px;
	font-family: "Noto Serif TC", "PingFang TC", "Microsoft JhengHei", serif;
	font-weight: 900;
	padding: 10px 0px;
	}
.block .title span { 	
	font-size: 16px;
	font-weight: 400;
	color: #3a3530;
    letter-spacing: 2px;
	padding-left: 10px;
	}
.block .title .h8 { 	
	font-size: 14px;
	font-weight: 400;
	color: #8b3782;	
    letter-spacing: 2px;
	}
	
.block h2,
.block h1,	
.block .txt_l,		
.block .txt_m,	
.block .txt_s,	
.block .title_l,	
.block .title_m,	
.block .title_s { 	
	font-family: "Noto Serif TC", "PingFang TC", "Microsoft JhengHei", serif;
	font-weight: 900;
	padding: 10px 0px;
	text-align: left;
	}

.block .title_m { 	
	font-size: 1.4em;
	line-height: 1.4em;
	}
.block .title_s { 	
	font-size: 1.4em;
	line-height: 1.4em;
	}
.block h2,	
.block h1,	
.block .txt_l,		
.block .txt_m,	
.block .txt_s {
	font-weight: 600; 
	}

.txt_s {
    font-size: 1.0em;
    line-height: 1.0em;
    color:#222;

	}
.txt_m {
	font-size: 1.4em;
	line-height: 1.0em;
    color:#222;
	}
.txt_l {
	font-size: 1.6rem;
	line-height: 1.0em;
    color:#222;
	}
h2 {
	font-size: 1.6rem;
	line-height: 1.4em;
	}
h1 {
	font-size: 2.0rem;
	line-height: 1.4em;
	}
h3 {
	font-size: 1.2em;
	font-weight: 900;
	color: #7d5848;
	margin-bottom: 10px;
	}	
h5 {
	font-size: 0.8em;
	line-height: 1.0em;
	color: #8e857a;
	font-weight: 400;
    }
	
.h8 {
	font-size: 0.8em;
	line-height: 1.0em;
	color: #8e857a;
    }	
.block a,
.block a:hover {
    transition: all 0.3s ease;
}
/************************
顏色
************************/
.tc01 { color: #8e857a; }
.tc02 { color: #8b1a2b; }
.tc03 { color: #8e857a; }


@media screen and (max-width: 768px) {
.block {
	line-height: 1.8em;
	}
.block .title span { 	
	display: block;
	padding-top: 10px;
	padding-left: 0px;
	}	
}
/************************
input
************************/
input[type="button"],
input[type="text"], 
input[type="password"] {
	position: relative;	
	display: inline-block;
	font-size: 1em;
    height: 40px;
	width: 100%;
	padding: 6px 10px;
	margin: 5px 0px;
    margin-right: 5px;	
	border: 1px solid #999999;
	border-radius: 0px;
	text-align: left;	
	font-weight: 400;
	}
	
/************************/ 

.home_01 { 
	padding: 0px 5%;
	text-align: center;
}
.home_01 .box_02 { 
	margin-bottom: 50px;
}
.home_01 .box_02 ul { 
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	text-align: left;
	border: 1px solid #e3dfd6;
}
.home_01 .box_02 ul li { 
	position: relative;	
	width: calc((100% - 0%) / 4);
	min-height: 200px;
	padding: 30px;
	box-sizing: border-box;
	cursor: pointer;
	transition: all 0.3s ease;
	overflow: hidden;
}
.home_01 .box_02 ul li:hover { 
 	background: #ffffff;
}
.home_01 .box_02 ul li + li {
	border-left: 1px solid #e3dfd6;
}

.home_01 .box_02 dd { 
	line-height: 1.4em;
	padding: 10px 0;
	color: #49453f;
}
.home_01 .box_02 dd span { 
    position: relative;
	display: inline-block;
	float: right;
	color: #8b1a2b;
}

.home_01 .box_02 .cs01 { 
	color: #8b1a2b;
}

@media screen and (max-width: 992px) {
	.home_01 .box_02 ul li { 
		width: calc((100% - 0%) / 2);
	}
}
@media screen and (max-width: 768px) {
	.home_01 .box_02 ul li { 
		width: calc((100% - 0%) / 1);
		min-height: 160px;
		padding: 20px 30px;
	}
	.home_01 .box_02 ul li + li {
		border-top: 1px solid #e3dfd6;
		border-left: 0px solid #e3dfd6;
	}
}

/************************/ 

.home_08 { 
	min-height: 800px;
	padding: 0px 5%;
	text-align: center;
	background: #ebe6da;
}
.home_08 .box_02 { 
	margin-bottom: 50px;
}
.home_08 .box_right,
.home_08 .box_left { 
    position: relative;
	display: inline-block;
	float: left;
}

.home_08 .box_left { 
    width: 35%;
	padding: 0px 0px;
	text-align: left;	
    }
.home_08 .box_left .tabs_group { 
	background: #ffffff;
    }

.home_08 .menu_tab {
    position: relative;
	display: inline-block;
	float: left;
	width: 100%;
	border: 1px solid #7d1021;
    }

.home_08 .menu_tab a { 
    position: relative;
	display: inline-block;
	float: left;
    width: 50%;
	margin: 0px;
	padding: 8px 0px;	
    color: #111111;
	background: #ffffff;
	text-align:center;
    }
.home_08 .menu_tab a.active { 
	color: #ffffff;	
	background: #7d1021;
    }
.home_08 .box_left ul { 
	padding: 10px 10px;
	background: #ffffff;
	text-align: left;	
    }
.home_08 .box_left ul li { 
	position: relative;
	width: calc((100% - 0%) / 1);
	min-height: 80px;
	box-sizing: border-box;
	cursor: pointer;
	padding: 10px 10px;
    }
.home_08 .box_left ul li:hover { 
	background: #f7f3ec;
    }	
.home_08 .box_left ul li + li {
	border-top: 1px solid #e3dfd6;
    }

/************************/ 

.home_08 .box_right { 
    width: 65%;
	padding-left: 20px;
    }
.home_08 .box_right ul { 
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	text-align: left;
	border: 1px solid #e3dfd6;
	background: #ffffff;
    }
.home_08 .box_right ul li { 
	position: relative;
	width: calc((100% - 0%) / 1);
	min-height: 80px;
	padding: 10px 20px;
	box-sizing: border-box;
	cursor: pointer;
	border-left: 3px solid #b3aa9c;
    }
.home_08 .box_right ul li + li {
	border-top: 1px solid #e3dfd6;
    }

.home_08 .s_content,
.home_08 .t_content,
.home_08 .t_title { 
    position: relative;
	display: inline-block;
	float: left;
    }
.home_08 .t_title { 
    width: 60%;
    }
.home_08 .t_content { 
    width: 40%;
    }


.home_08 .t_arrow {
    position: absolute;
	display: inline-block;
	float: right;
	right: 10px;
	width: 40px; 
    height: 40px; 
	text-align:center;
    font-size:20px;
    padding: 5px 0px;
	color: #8d867f;
	border: 1px solid rgba(140,135,130,0.3); 
    transition:.3s;
    }
.home_08 li:hover .t_arrow {
    color: #8b1a2b;
	border: 1px solid #8b1a2b;
	transform:translate(6px,-6px);
    }

.home_08 .s_content { 
    width: 100%;
	padding: 10px 0px;
    }
	
.detail-content.show,	
.detail-content {
    transition: .5s ease,
    }	
.detail-content {
    display:none;
	width: 100%;
	padding: 10px 0px;
    border-top: 1px solid rgba(140,135,130,0.3); 
    }
.detail-content a {
	color: #ffffff;
    }
.detail-content.show {
	display: inline-block;
    }

@media screen and (max-width: 768px) {
.home_08 .box_left,	
.home_08 .box_right { 
    width: 100%;
	padding-left: 0px;
	margin: 10px 0px;	
    }
}	

/************************/ 
.home_04 { 
	min-height: 600px;
	padding: 50px 5%;
	text-align: left;
	background: #ebe6da;
    }
	
.home_04 .content_tab { 
	padding-top: 30px;
    }
	
.home_04 ul { 
	padding: 0px 0px;
	text-align: left;	
    }
.home_04 ul li { 
	position: relative;
	vertical-align: top;
	width: calc((100% - 0%) / 3);
	min-height: 80px;
	padding: 0px 5px;
	box-sizing: border-box;
	cursor: pointer;
    }

@media screen and (max-width: 768px) {
.home_04 ul li { 
	width: calc((100% - 0%) / 1);
    }
}

/************************	
網頁導覽 web_tag
************************/	
.edm_tag,
.web_tag { 
    position: relative;
	float: left;
	width: calc((100% - 0%) / 1);
	padding: 0px 8%;
	text-align: left;
	color: #999999;
	}
.edm_tag { 
	padding: 0px 0%;
	}
	
.edm_tag a,	
.web_tag a { 
	color: #000000;
	}
.edm_tag a:hover,
.web_tag a:hover { 
	color: #8b1a2b;
	}

/************************
NEWS 公告事項
************************/
.news_01 { 
	min-height: 600px;
	padding: 0px 8%;
	text-align: left;
}
.news_01 .content_tab { 
	padding-top: 30px;
}
.table_h1 td.icon,
.table_h1 td.date {
    vertical-align: top;
	width: 60px;
}
.table_h1 td.content {
    width: 100%;
}

a.news-item {
    text-decoration:none;
}

.block_br {
	position: relative;
	display: inline-block;
    width: 100%;
	text-align: right;
	}
.block_br a {
	color: #8b1a2b;
	}	
	
/************************	
相關管道入學 apply
************************/
.apply_01 { 
	padding: 0px 8%;
	text-align: center;
	}
.apply_01 .box_03,
.apply_01 .box_02 { 
	padding: 0px;
	}

.apply_01 .box_02 .box_right,
.apply_01 .box_02 .box_left { 
    position: relative;
	display: inline-block;
	float: left;
	width: 100%;
	}	
.apply_01 .box_02 .box_right,
.apply_01 .box_02 .box_left { 
	min-height: 200px;
	}

.apply_01 .box_02 .box_left { 
	width: 40%;
	padding-right: 30px;
	}
.apply_01 .box_02 .box_left ul { 
	justify-content: flex-start;
	text-align: left;
	padding: 30px;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
	}	
.apply_01 .box_02 .box_left ul li { 
	box-sizing: border-box;
	cursor: pointer;
	transition: all 0.3s ease;
	padding-bottom: 10px;
	}	
.apply_01 .box_02 .box_left ul li + li {
	/* border-left: 1px solid #e3dfd6;*/
	}

.apply_01 .box_02 .box_left .content_tab { 
	margin-bottom: 30px;
	}
.apply_01 .box_02 .box_left .menu_tab a { 
	color: #ffffff;
	}

/* 登入/註冊/忘記密碼/返回：固定 2 個一排，避免手機版擠成一整排 */
.apply_01 .box_02 .box_left .btn-group-quad {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	}
.apply_01 .box_02 .box_left .btn-group-quad .btn_c01,
.apply_01 .box_02 .box_left .btn-group-quad .btn_c02 {
	flex: 0 1 calc(50% - 5px);
	min-width: 0;
	width: auto;
	margin: 0;
	padding: 6px 10px;
	white-space: nowrap;
	}
@media screen and (max-width: 480px) {
.apply_01 .box_02 .box_left .btn-group-quad .btn_c01,
.apply_01 .box_02 .box_left .btn-group-quad .btn_c02 {
	font-size: 0.9em;
	padding: 6px 6px;
	}
}
	
.apply_01 .box_02 .box_right { 
	width: 60%;
	text-align: left;
	}
.apply_01 .box_02 .block_btn a { 
	color: #ffffff;
	}
	
@media screen and (max-width: 992px) {
.apply_01 .box_02 .box_right,
.apply_01 .box_02 .box_left { 
	width: 100%;
	padding: 0px;
	}
.apply_01 .box_02 .box_right { 
	margin-top: 20px;
	}	
}

/************************
電子報
************************/ 
.edm_01 { 
	padding: 0px 8%;
	text-align: center;
	}
.edm_01 .box_01 .tabs_menu { 
	text-align: left;
	}
.edm_01 .box_01 .tabs_menu a { 
	text-align: left;
	padding: 0px;
	padding-right: 10px;
	}
.edm_01 .box_01 .tabs_menu a:hover { 
	color: #8b1a2b;
	}
	
.edm_01 .box_01 ul { 
	text-align: left;
	}
.edm_01 .box_01 ul li { 
	padding-top: 30px;
	margin-bottom: 30px;
	}
.edm_01 .box_01 ul li + li { 
	border-top: 1px solid #eeeeee;
	}
.edm_01 .box_01 ul li:first-child { 
	border-top: 0px solid #eeeeee;
	}	

	
.edm_01 .box_01 .pic,	
.edm_01 .box_01 .txt {
    position: relative;
	display: inline-block;
	float: left;
	padding: 0px 0px;
	}	
.edm_01 .box_01 .pic {
	width: 35%;
	padding-right: 20px;
	}
.edm_01 .box_01 .txt {
	width: 65%;
	}
	
.edm_01 .box_01 .h8 { 
    font-size: 16px;
	font-weight: 400; 
	color: #45426f;
	}
.edm_01 .box_01 .h8 span { 
	color: #e69535;
	}
.edm_01 .box_01 dt { 
    font-size: 24px;
	font-weight: 600; 
	color: #3b3c3e;
	margin-top: 5px;
	margin-bottom: 10px;	
	}
.edm_01 .box_01 dd { 
    font-size: 16px;
	line-height: 1.8em; 
	padding: 10px 0px;
	color: #222222;
	text-align: left;
	}
.text-more {
    color: #007bff;
    cursor: pointer;
    text-decoration: underline;
}

.edm_type li { 
	padding: 10px 4%;
	}
.edm_type li:hover { 
	background: rgba(255,255,255,0.8);
	}

.text-more:hover {
    opacity: 0.7;
}

@media screen and (max-width: 768px) {
.edm_01 .box_01 .pic,
.edm_01 .box_01 .txt {
	width: 100%;
	padding: 0px;
	}	
}

/************************/
.edm_v01 { 
	padding: 0px 8%;
	text-align: left;
	line-height: 1.6em; 
	}
.edm_title { 
	padding: 20px 0px;
	}
.edm_v01 .content_tab { 
    position: relative;
	display: inline-block;
	float: left;
	width: 100%;
	padding-top: 30px;
	}


.edm_content {
	font-size: 1.0em;
	line-height: 1.6em; 
	}
.edm_v01 .pic img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}	
.edm_content p { 
text-align: justify; /* 左右對齊，看起來更整齊 */
    margin-bottom: 1.5em;
    font-size: 1.05em;
	}
.edm_content blockquote {
    border-left: 3px solid #ddd;
    padding: 10px 20px;
    margin-bottom: 20px;
    background: #f9f9f9;
    font-style: italic;
    color: #555;
}

/************************
SEARCH 搜尋框
************************/
.search-wrap {
    width: 100%;
    margin: 0px auto;
    font-family: sans-serif;
	align-items: right;
}

/* 主搜尋框 */
.search-box {
    position: relative;	
    display: flex;
    margin-left: auto;
	
	width: 50%;
	height: 50px;
	margin-top: 15px;
	margin-bottom: 20px;	

	max-width: 500px;
    
    align-items: center;
    background: #fff;
    padding: 0px 0px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    padding: 5px;
    font-size: 16px;
}

.search-box button {
    background: #333;
    color: #fff;
    border: none;
    border-radius: 0%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: 0.3s;
}

.search-box button:hover {
    background: #000;
}
/* 進階按鈕 */
.adv-toggle {
    height: 50px;
    padding: 12px 20px;
	font-size: 14px;
    cursor: pointer;
    color: #ffffff;
	background: #73462f;
}
.adv-toggle:hover {
	background: #9a0730;
}

/* 進階搜尋區塊 */
.search-advanced h3,
.search-advanced .field .bar, 
.search-advanced .field label,
.search-advanced .field,
.search-advanced {
    position: relative;	
    display: inline-block;
	float: left;
	width: 100%;
}
.search-advanced {
 	display: none;
	text-align: left;
    margin-top: 15px;
	margin-bottom: 30px;
    background: #fafafa;
    padding: 20px;
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.search-advanced h3 {
    text-align: center;
	margin-bottom: 15px;
}
.search-advanced .field {
	margin-bottom: 15px;
}
.search-advanced .field label {
	width: 15%;
	padding: 8px 0px;
    color: #333;
}
.search-advanced .field .bar {
	width: 100%;
	max-width: 85%;
}

.search-advanced input,
.search-advanced select {
    width: 100%;
    font-size: 16px;
	padding: 10px;
    border: 1px solid #ddd;
	border-radius: 0px;
}
.search-advanced input {
        color: #aaaaaa;
    }

/* 按鈕 */
.btn-submit {
    width: 100%;
    padding: 12px;
    border: none;
    background: #333;
    color: #fff;
    cursor: pointer;
}
.btn-submit:hover {
    background: #000;
}

/* select 樣式 */
.search-box select {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 15px;
    font-size: 16px;
    height: 100%;
    appearance: none; /* 移除原生箭頭 */
    background: transparent;
    cursor: pointer;
}

/* RWD */
@media screen and (max-width: 992px) {
    .search-box {
	    width: 60%;
    }
    .search-advanced .field label {
	    width: 20%;
    }
    .search-advanced .field .bar {
	    max-width: 80%;
    }
}
@media screen and (max-width: 768px) {
    .search-box {
	    width: 100%;
	    max-width: 800px;
    }
}
@media screen and (max-width: 480px) {
    .search-box {
        flex-wrap: wrap;
    }
    .search-advanced .field label {
	    width: 25%;
    }
    .search-advanced .field .bar {
	    max-width: 75%;
    }
}

/************************
表格 table
************************/
.table_h1 li,
.table_h1 ul
.table_h1 { 
    position: relative;
	display: inline-block;
	float: left;
    }

.table_h1 {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 20px;
    border-radius: 10px;
	border: 1px solid #dcd8d0;
    box-shadow: 0 4px 12px rgba(79,61,43,0.08);	
    overflow: hidden;	
    background: #ffffff;
    }
	
.table_h1 li {
    border: none;
    padding: 12px 15px;
    vertical-align: middle;
    }
.table_h1 td, .table_h1 th {
    padding: 14px 16px;
    line-height: 1.6;
    border-bottom: 1px solid #dcd8d0;
    vertical-align: middle;
    text-align: left;
    }
	
.table_h1 th {
    background: #8b1a2b;
    color: #ffffff;
    font-weight: 700;
    }
	
.table_s1 li,	
.table_h1 tbody tr {
    transition: all 0.2s ease-in-out;
    }
	
.table_h1 li + li,	
.table_h1 tbody tr:not(:last-child) {
    border-bottom: 1px solid #f0ede6; 
    }
	
.table_h1 li:nth-child(even),	
.table_h1 tbody tr:nth-child(even) {
    background-color: #faf9f7;
    }
	
.table_h1 li:hover,
.table_h1 tbody tr:hover {
    background-color: #f2efe9;
    }
.table_h1 a {
    color: inherit; /* 避免變色 */
    text-decoration: none;
    }

.table_h1 .content,
.table_h1 .date,
.table_h1 .arrow { 
    position: relative;
	display: inline-block;
	float: left;
	text-align: left;
    }
.table_h1 .content { 
    width: 65%;
    }
.table_h1 .date { 
    width: 20%;
	max-width: 120px;
	padding-left: 10px;	
    }
.table_h1 .arrow { 
    float: right;
	width: 15%;
	max-width: 60px;
	}

.arrow span {
	position: relative;	
	display: inline-block;	
	width: 35px; 
    height: 35px; 
	text-align: center;
    font-size: 18px;
    padding: 2px 0px;
	color: #8d867f;
	border: 1px solid rgba(140,135,130,0.3); 
    transition:.3s;
	}
.table_h1 li:hover .arrow span {
    color: #8b1a2b;
	border: 1px solid #8b1a2b;
	transform:translate(6px,-6px);
    }

@media screen and (max-width: 768px) {
.table_h1 thead {
    display: none;
    }
.table_h1 tr {
    display: block;
	width: 100%;
	}
.table_h1 td {
    display: block;
	width: 100%;
	}
.table_h1 tr:last-child td:last-child {
    border-bottom: 0;
	}
.table_h1 .date { 
    width: 100%;
	max-width: 100%;
    }
.table_h1 .date p { 
    display: inline-block;
    }	
.table_h1 .content { 
    width: 100%;
    }	
.table_h1 .arrow { 
    position: absolute;
	top: 20px;
	right: 0px;
	z-index: 1;
	}	
}

/************************/

.panel_tab, .panel_sub { display: none; }
.panel_tab.show, .panel_sub.show { display: block !important; }

.pc_768, .pc_480 { display: block; }
.mo_768, .mo_480 { display: none; }
	
@media screen and (max-width: 768px) {
.pc_768 { display: none; }
.mo_768 { display: block; }	
}
@media screen and (max-width: 480px) {
.pc_480 { display: none; }
.mo_480 { display: block; }	
}

/************************
input
************************/
.code {
	font-size: 1.4em;
	font-weight: 800;
	}
		
/************************
.table_s1 li,
.table_s1 ul
.table_s1 { 
    position: relative;
	display: inline-block;
	float: left;
    }
	
.table_s1 ul {
    width: 100%;
	list-style: none;
    border-radius: 8px;	
    border: 2px solid #ffffff;
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;	
    }
.table_s1 a {
    color: inherit;
    text-decoration: none;
    }
.table_s1 li {
    padding: 10px 10px;
	background: #ffffff;	
    }
.table_s1 li:nth-child(even) {
    background-color: #faf9f7;
    }
	
.table_s1 li:hover {
    background-color: #f2efe9;
    }
	
.table_s1 li + li {
    border-top: 1px solid #f0ede6;
    }

.table_s1 .content,
.table_s1 .date,
.table_s1 .arrow { 
    position: relative;
	display: inline-block;
	float: left;
	text-align: left;
    }

.table_s1 .content { 
    width: 65%;
    }
	
.table_s1 .date { 
    width: 20%;
	max-width: 120px;
	padding-left: 10px;	
    }
.table_s1 .arrow { 
    float: right;
	width: 15%;
	max-width: 60px;
	}
.table_s1 .arrow span { 
    position: relative;
	display: inline-block;
	float: right;

	width: 40px; 
    height: 40px; 
	text-align:center;
    font-size:20px;
	margin: 10px;
    padding: 5px 0px;
	color: #8d867f;
	border: 1px solid rgba(140,135,130,0.3); 
    transition:.3s;
    }
.table_s1 li:hover .arrow span {
    color: #8b1a2b;
	border: 1px solid #8b1a2b;
	transform:translate(6px,-6px);
    }
.arrow span {
	position: relative;	
	display: inline-block;	
	width: 35px; 
    height: 35px; 
	text-align: center;
    font-size: 18px;
    padding: 2px 0px;
	color: #8d867f;
	border: 1px solid rgba(140,135,130,0.3); 
    transition:.3s;
}
ul.table_s1 li:hover .arrow span {
    color: #8b1a2b;
	border: 1px solid #8b1a2b;
}

@media screen and (max-width: 768px) {
    .table_h1_ul li {
        flex-direction: column;
        align-items: flex-start;
    }
    .table_h1_ul .date { width: 100%; margin-bottom: 10px; }
    .table_h1_ul .content { width: 100%; padding: 0; }
}

@media screen and (max-width: 992px) {
    .rw_h01, 
	.rw_h01 tbody, 
	.rw_h01 tr {
        display: block;
        width: 100%;
    }
    .rw_h01 {
		background: rgba(0,0,0,0.0);
		box-shadow: 0 0px 0px rgba(0,0,0,0.0);
    }
    .rw_h01 thead { display: none; }
    
	.rw_h01 tr {
		margin-bottom: 20px;
		background: #ffffff;
		box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }
	.rw_h01 tr td.t100 {
        display: block;
		width: 100%;
		background-color: #f8f8f8;
        border-top: 1px dashed #ccc;
        padding-top: 10px;
        font-weight: bold;
    }
}
*/


	
/* ── 公告附件連結（圖示 + 底線）───────────────────────── */
.file-link {
	color: #8b1a2b;
	text-decoration: underline;
	white-space: nowrap;
}
.file-link:hover {
	color: #5e1119;
	text-decoration: underline;
}
.file-name {
	color: #8d867f;
	white-space: nowrap;
}

/* ── 招生管道：提醒說明（淺色底 + 左側色條）─────────────── */
.s_reminder {
	clear: both; /* .s_content 是 float:left，這裡要 clear 才不會被蓋住/重疊 */
	margin: 10px 0;
	padding: 10px 14px;
	background-color: #fbeeec;
	border-left: 3px solid #8b1a2b;
	color: #5e1119;
	font-size: 14px;
	line-height: 1.6;
}

/* .t_link 緊接在 .s_content（float:left）或 .s_reminder 之後，
   同樣需要 clear，避免被上面的浮動內容蓋住 */
.t_link {
	clear: both;
	display: block;
	width: 100%;
}

/* ── 相關檔案/內容欄位可能含有富文字 HTML（如 <p>、<span style> 等）
   保護 table_h1 儲存格不被內部樣式撐破或跳脫框線 ───────────── */
.table_h1 td {
	overflow: hidden;      /* 防止內部浮動/定位元素跳出儲存格 */
}
.table_h1 td > *:first-child {
	margin-top: 0;          /* 去掉編輯器產生的 <p> 上邊距 */
}
.table_h1 td > *:last-child {
	margin-bottom: 0;       /* 去掉編輯器產生的 <p> 下邊距 */
}
.table_h1 td p,
.table_h1 td div,
.table_h1 td ul,
.table_h1 td ol {
	max-width: 100%;
	word-break: break-word; /* 避免長字串/網址撐開欄寬 */
}
.table_h1 td * {
	position: static !important; /* 避免內容內誤用 position 造成跳脫 */
}