/* Global */
body,a,h1,h2,h3,h4,h5,h6,div,span,p,strong,blockquote,input {
	font-family: "Montserrat Alternates","Noto Sans TC",sans-serif!important;
}

.ct-share-box.is-width-constrained {
    padding-bottom: 30px;
}

.bg-style{
	position:relative;
}

.bg-style:after{
	content:''!important;
	background:url('/wp-content/uploads/2024/10/bg-cover.png')no-repeat bottom right;
	background-size:auto;
	width:100%;
	height:100%;
	position:absolute;
	bottom:0;
	right:0;
	display:block;
	filter: brightness(0) saturate(100%) invert(100%) sepia(18%) saturate(1%) hue-rotate(24deg) brightness(112%) contrast(95%);
}

.bg-style2{
	position:relative;
}

.bg-style2:after{
	content:''!important;
	background:url('/wp-content/uploads/2024/10/bg-cover.png')no-repeat bottom right;
	background-size:auto;
	width:100%;
	height:100%;
	position:absolute;
	bottom:0;
	right:0;
	display:block;
}

.home-post-bg{
	position:relative;
}

.home-post-bg:after{
	content:''!important;
	position:absolute;
	bottom:0;
	left:0;
	background:url('/wp-content/uploads/2024/10/Vector02.png') no-repeat bottom left;
	background-size:auto;
	width:100%;
	height:100%;
	display:block;
	z-index:0;
}

.btn-style02 a{
	width:243px;
}

.divider-margin .stk-block-divider__hr{
	margin:0;
}

.carousel-block span.stk-img-wrapper{
	position:relative;
	overflow:hidden;
	width:100%;
	padding-bottom:71%;
}

.carousel-block span.stk-img-wrapper picture{
	position:absolute;
	top:0;
	left:0;
	object-fit:cover;
	width:100%;
	height:100%;
	border-radius:8px;
}

.wp-block-stackable-button .stk--svg-wrapper{
	margin-top:3px;
}

@media(max-width:1024px){
	.tooltips-column .stk--block-horizontal-flex{
		flex-direction:column!important;
	}
}

@media(max-width:768px){
	.title-inner-block .stk-inner-blocks{
		flex-direction:column!important;
	}
	
	.bg-style:after{
		background:url('/wp-content/uploads/2024/10/bg-cover-m.png')no-repeat bottom right;
		background-size:90%;
	}

	.home-post-bg:after{
		background-size:55%;
	}
	
	.br-none br{
		display:none;
	}
	
	.btn-style02 a{
		width:215px;
	}
	
	.bg-style2:after{
		display:none;
	}
	
	.carousel-block .stk-block-carousel__buttons{
		top:-25px;
	}
}

/* Header */
#header{
	margin-top:-1px;
}

#header [data-device="desktop"] .ct-container-fluid{
	margin:0!important;
	width:100%;
}

#header [data-device="desktop"] .ct-header-socials a:hover svg path{
	fill:#ffa553;
}

#header [data-device="desktop"] #menu-main-menu .sub-menu{
	padding:19px 30px;
}

#header [data-device="desktop"] #menu-main-menu .ct-toggle-dropdown-desktop{
	--theme-icon-size:12px;
}

#header [data-device="desktop"] #menu-main-menu .ct-toggle-dropdown-desktop svg{
	fill: #38BBA9;
}

#header [data-device="desktop"] #menu-main-menu .sub-menu li a{
	padding:0 0 10px;
	position:relative;
	z-index:1;
}

#header [data-device="desktop"] #menu-main-menu .sub-menu li:last-child a{
	padding:0;
}

#header [data-device="desktop"] #menu-main-menu .sub-menu li a:hover:after{
	content:'';
	position:absolute;
	top:-3px;
	left:-20px;
	width:178px;
	height:36px;
	background-color:#FFEFDF;
	border-radius:5px;
	z-index:-1;
}

#header [data-device="desktop"] .ct-header-account .ct-label{
	margin-inline-start:5px;
	--theme-line-height: 20px;
}

.header-btn a{
	min-width:162px;
	height:49px;
	display:inline-flex;
	justify-content:center;
	align-items:center;
	border:1px solid #EC8D34;
}

#header [data-device="desktop"] [data-row="bottom"] .ct-header-account a{
	border: 1px solid #78A3D8;
	border-radius:60px;
	width:148px;
	height:39px;
	display:inline-flex;
	justify-content:center;
	align-items:center;
}

@media(max-width:1230px){
	#header [data-device="desktop"] .ct-header-socials {
		--items-spacing:10px;
	}
	
	#header [data-device="desktop"] .ct-header-divider{
		--margin:0 10px 0 5px!important;
	}

	#header [data-device="desktop"] .ct-header-search{
		--margin:0 10px 0 0!important;
	}
}

@media(max-width:1160px){
	#header [data-device="desktop"] #menu-main-menu{
		--menu-items-spacing:25px;
		--menu-items-gap:25px;
	}
}

@media(max-width:1040px){
	#header [data-device="desktop"] .ct-header-socials {
		--items-spacing:5px;
		margin:0 5px;
	}
}

/* Header-mobile */
#offcanvas [data-device="mobile"] .ct-icon{
	width: var(--theme-icon-size, 20px);
	height: var(--theme-icon-size, 20px);
	fill: #FFAC5E;
}
#offcanvas [data-device="mobile"] .mobile-menu ul{
	border-top:none;
}

#offcanvas [data-device="mobile"] .ct-search-box input{
	font-size:18px;
	font-weight:500;
	letter-spacing:1px;
}

#offcanvas [data-device="mobile"] .ct-search-box input::placeholder{
	font-size:18px;
	font-weight:500;
	letter-spacing:1px;
	opacity:1;
}

/* KV-new */
/* #kv_slider .inner .left{
	background: url('/wp-content/uploads/2025/05/kv-bg.png') no-repeat bottom right;
	background-color:#29C1AE!important
} */


#kv_slider .inner .content .title .subtitle{
	font-size:32px;
	display:block;
}

@media(max-width:768px){
	#kv_slider .inner .content .title .subtitle{
		font-size:22px;
	}
}


/* 我們如何與眾不同 */
.cout-up-icon > div{
	position:relative;
	display:inline-block;
}

.cout-up-icon > div:after{
	content:'+';
	position:absolute;
	top:-3px;
	right:-28px;
	display:inline-flex;
}

/* 國中部 */
.post-block .stk-block-posts__item .stk-container{
	margin:0;
}

.post-block .stk-block-posts__item article{
	background-color:#ffffff;
	border-radius: 10px;
}

.post-block .stk-block-posts__item article .stk-img-wrapper{
	border-radius: 10px 10px 0 0;
}

.post-block .stk-block-posts__item article .stk-block-posts__title {
	padding:27px 0 10px;
	border-bottom:1px solid #D9D7D5;
	margin: 0 38px 20px;
}

.post-block .stk-block-posts__item article .stk-block-posts__excerpt{
	padding:0 38px 27px;
	min-height: 123px;
}

.post-block .stk-block-posts__item article .stk-block-posts__excerpt p{
	margin:0;
	display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp:3;
  overflow: hidden;
}

@media(max-width:1023px){
	.post-block .stk-block-posts__item article .stk-block-posts__excerpt{
	min-height: auto;
	}
}

@media(max-width:768px){
	.post-block .stk-block-posts__item article .stk-block-posts__title{
		padding:22px 0 10px;
	}
	.post-block .stk-block-posts__item article .stk-block-posts__excerpt{
		padding:0 38px 22px;
	}
}

/* 我們的特色 */
.icon-list-bg .stk--inner-svg svg{
	background-color:#78A3D8;
	border-radius:60px;
}

/* 最新消息 */
.news-block .stk-block-posts__category a{
	margin-right:10px;
}

.news-block .stk-block-posts__items .stk-block-posts__title{
	border-bottom:1px solid #D9D7D5!important;
	padding-bottom:20px;
}

.news-block .stk-img-wrapper{
	border-radius: 10px !important;
}

@media(max-width:768px){
	.news-section{
		background-image:none!important;
	}
	.news-block .stk-block-posts__items .stk-block-posts__title{
		padding-bottom:10px;
	}
	
	.news-block .stk-block-posts__items .stk-block-posts__excerpt > p{
		margin:0;
	}
}

/* Footer */
.horizontal-line{
	position:relative;
}

.horizontal-line:after{
	content:''!important;
	position:absolute;
	top: 54%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color:#467BBB;
	width:1548px;
	max-width:95%;
	height:1px;
	display:block;
}

.footer-menu ul{
	flex-flow:column wrap;
}

.footer-menu ul li{
	padding:0!important;
	margin-bottom:10px;
}

.footer-menu ul li:last-child{
	margin-bottom:0;
}

.footer-menu ul li a{
	font-size:16px;
	line-height:26px;
	color:#FFFFFF;
}

.footer-menu ul li a:hover{
	color:#0ABFC9;
}

.footer-info a{
	color:#fff;
}

.footer-info a:hover{
	color:#0ABFC9;
}

.ct-back-to-top{
	padding:16px!important;
	bottom: calc(var(--theme-frame-size, 0px) + var(--back-top-bottom-offset, 55px))!important;
}

.scroll_top{
	position:fixed;
	bottom:20px;
	right:26px;
	width: 44px!important;
	height:45px;
	z-index:110;
}

@media(max-width:999px){
	.scroll_top{
		display:none;
	}
}

@media(max-width:1024px){
	.horizontal-line:after{
		display:none;
	}
}

/* CTA */
.ct-shortcuts-bar .ct-shortcuts-bar-items{
	padding:0;
	grid-column-gap: 0px;
}

.ct-shortcuts-bar [data-shortcut="custom_link"]{
	border-radius:0;
}

.ct-shortcuts-bar [data-shortcut="custom_link"] .ct-label{
	margin-inline-start:5px;
}

.ct-shortcuts-bar .cta-junior{
	background:#78A3D8;
}

.ct-shortcuts-bar .cta-elementary{
	background:#F88D2A;
}

.ct-shortcuts-bar .cta-map{
	background:#E46072;
}

.ct-shortcuts-bar .cta-line{
	background:#00B900;
}

.ct-shortcuts-bar .cta-line svg{
	width:36px;
	height:36px
}

/* 關於我們 */
.image-width img{
	border-radius:10px;
}

.about-carousel{
	width: 105%!important;
	transform: translateX(-50px);
}

.about-carousel .stk-block-carousel__slider .wp-block-stackable-image .stk-img-wrapper{
	position:relative;
	width:100%;
	height:0;
	padding-bottom: 73.1%;
}


.about-carousel .stk-block-carousel__slider .wp-block-stackable-image .stk-img-wrapper img{
	position:absolute;
	top:0;
	left:0;
}

@media(min-width:1400px){
	.about-carousel .stk-block-carousel__buttons{
		max-width: 90%;
		margin: 0 auto;
		transform: translateX(0px);
	}
}

@media(max-width:1399px){
	.about-carousel .stk-block-carousel__buttons{
		max-width: 90%;
		margin: 0 auto;
		transform: translateX(10px);
	}
}


@media(max-width:1024px){
	.about-carousel{
		transform: translateX(-20px);
	}
	.about-carousel .stk-block-carousel__buttons{
	transform: translateX(-5px);
	}
}


@media(max-width:768px){
	.about-carousel{
		transform: translateX(-10px);
	}
}

@media(max-width:485px){
	.about-carousel .stk-block-carousel__buttons{
	transform: translateX(0px);
	}
}

/* 課程內頁 */
.ct-breadcrumbs span{
	font-size:18px;
	font-weight:400;
	line-height:32px;
	letter-spacing:2px;
}

.ct-breadcrumbs .ct-separator{
	color:#78A3D8;
	width: 12px;
	height: 12px;
}

.title-direction > div{
	flex-direction:row-reverse;
}

/* 最新消息 */
.category .site-main .ct-container{
	padding:60px 30px 84px;
}
.blog .site-main .ct-container{
	padding:60px 30px 84px;
}

.category .entry-card .entry-meta li a{
	border-radius:5px;
}

.site-main .ct-pagination{
	grid-template-columns: auto;
	align-items:center;
	justify-content:center;
}

.site-main .ct-pagination .page-numbers{
	font-size:22px;
	border-radius:100px;
	margin:0 30px 0 0;
	width:38px;
	height:38px;
}

.site-main .ct-pagination .page-numbers:hover{
	color:#fff;
	background-color:#F88D2A;
}

.site-main .ct-pagination .next,.category .site-main .ct-pagination .prev{
	text-indent: -999999px;
	border:none;
	padding:0;
	gap:0;
	display:inline-flex;
	justify-content:center;
	align-items:center;
}

.site-main .ct-pagination .next svg,.site-main .ct-pagination .prev svg{
	width:17px;
	height:17px;
}

@media(max-width:1000px){
	.category .site-main .ct-container{
	padding:30px 30px 40px;
	}
	
	
	.blog .site-main .ct-container{
	padding:30px 30px 40px;
	}
	
}

/* 最新消息-側邊欄 */
#sidebar .wp-block-heading{
	position:relative;
	padding-bottom:20px;
}

#sidebar .wp-block-heading:after{
	content:''!important;
	position:absolute;
	bottom:0;
	left:0;
	width:83px;
	height:3px;
	background-color:#FFB26C;
}

#sidebar #block-2 .wp-block-search__label{
	font-size:2.25rem!important;
	font-weight:500!important;
	line-height:46px!important;
	letter-spacing:1px!important;
	display:block;
	margin-bottom:25px;
	padding-bottom:20px;
	position:relative;
}

#sidebar #block-2 .wp-block-search__label:after{
	content:''!important;
	position:absolute;
	bottom:0;
	left:0;
	width:83px;
	height:3px;
	background-color:#FFB26C;
}

#sidebar #block-2 .wp-block-search__inside-wrapper{
	background:#ffffff;
	padding:0 4px;
}

#sidebar #block-2 .wp-block-search__button{
	background:transparent;
	margin: 0;
	padding: 0;
}

#sidebar #block-2 .wp-block-search__button svg{
	fill:#FFB26C;
	transform:rotateY(180deg);
	min-width:30px;
	min-height:30px;
}

#sidebar #block-6 ul.wp-block-categories-list{
	list-style-type:disc;
	padding-left: 25px;
}

#sidebar #block-6 ul.wp-block-categories-list li{
	margin-bottom:15px;
}

#sidebar #block-6 ul.wp-block-categories-list li::marker {
  color: #FFE4CA;
	font-size: 27px;
}

#sidebar #block-7 .wp-block-heading{
	padding-bottom:10px;
}

#sidebar #block-7 article.wp-block-post .wp-block-columns{
	gap:10px;
}

#sidebar #block-7 article.wp-block-post h3.ct-dynamic-data{
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}


@media(max-width:1000px){
	#sidebar #block-6 ul.wp-block-categories-list li {
		font-size:22px;
		line-height:32px;
	}

	#sidebar #block-7 article.wp-block-post .wp-block-columns{
		flex-wrap:nowrap!important;
	}

	#sidebar #block-7 article.wp-block-post .wp-block-columns .wp-block-column:nth-child(1){
		flex-basis:35%!important;
		flex-grow:0;
	}
	
	#sidebar #block-7 article.wp-block-post .wp-block-columns .wp-block-column:nth-child(2){
		flex-basis:65%!important;
		flex-grow:0;
	}
	
	#sidebar #block-7 article.wp-block-post h3.ct-dynamic-data{
		font-size:20px!important;
		line-height:30px!important;
	}
	
	#sidebar #block-7 article.wp-block-post div.ct-dynamic-data{
		font-size:16px!important;
		line-height:26px!important;
	}
}

/* 最新消息-內頁 */
.single-post .site-main > .ct-container{
	padding:60px 30px 84px;
}

.single-post .ct-breadcrumbs .ct-separator{
	color:#FFA553;
}

.single-post .meta-categories {
	background-color:#FFEEDF;
	border-radius:5px;
	width:94px;
	height:34px;
	display:inline-flex;
	justify-content:center;
	align-items:center;
	letter-spacing:1px;
}

.single-post .ct-featured-image {
	padding-bottom:30px;
}

.single-post .ct-featured-image figcaption {
	display:none;
}

/* [data-block="hook:1705"]{
	padding-bottom:30px;
} */

.addtoany_list a{
	display:inline-flex;
	align-items:center;
	margin-right:12px;
}

.addtoany_list span.a2a_svg{
	width:57px!important;
	height:40px!important;
	border-radius:10px!important;
	display: inline-flex !important;
	justify-content: center;
	align-items: center;
}

.addtoany_list span.a2a_svg svg{
	width:20px;
	height:20px;
}

.addtoany_list span.a2a_s_link svg{
	transform:rotatex(180deg);
}

.addtoany_list span.a2a_svg svg{
	display:none;
}

.addtoany_list span.a2a_s_facebook{
	background: url('/wp-content/uploads/2024/11/share-fb.svg') no-repeat center;
	background-size: 11px!important;
}

.addtoany_list span.a2a_s_line{
	background: url('/wp-content/uploads/2024/11/share-line.svg') no-repeat center;
	background-size: 25px!important;
}

.addtoany_list span.a2a_s_link{
	background: url('/wp-content/uploads/2024/11/share-send.svg') no-repeat center;
	background-size: 20px!important;
}

.addtoany_list span.a2a_s_print{
	background: url('/wp-content/uploads/2024/11/share-printer.svg') no-repeat center;
	background-size: 20px!important;
}

.single-post nav.post-navigation:after{
	width:3px;
	background:#FFB26C;
	top: 0%;
	height:71px;
}

.single-post nav.post-navigation .item-content .item-label{
	display:none;
}

.single-post nav.post-navigation .item-content .item-title {
	font-size:1.125rem;
	font-weight:400;
	line-height:32px;
}

.single-post nav.post-navigation  .nav-item-prev{
	position:relative;
}

.single-post nav.post-navigation a:before{
	content:'';
	position:absolute;
	width:43px;
	height:43px;
	display:inline-flex;
	transition:0.4s all;
}

.single-post nav.post-navigation  a:hover:before{
	transition:0.4s all;
}

.single-post nav.post-navigation  .nav-item-prev:before{
	background:url('/wp-content/uploads/2024/11/arrow-prev.svg') no-repeat center;
	background-size: cover;
}

.single-post nav.post-navigation  .nav-item-prev:hover:before{
	transform:translateX(-3px);
}

.single-post nav.post-navigation  .nav-item-next:before{
	background:url('/wp-content/uploads/2024/11/arrow-next.svg') no-repeat center;
	background-size: cover;
}

.single-post nav.post-navigation  .nav-item-next:hover:before{
	transform:translateX(3px);
}

.single-post nav.post-navigation .nav-item-prev .item-title {
	padding:0 0 0 94px;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.single-post nav.post-navigation .nav-item-next .item-title {
	padding:0 94px 0 0;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.single-post .ct-related-posts-container{
	padding-left:20px;
	padding-right:20px;
}

.single-post .ct-related-posts-items{
	grid-column-gap:var(--grid-columns-gap, 43px);
}

.single-post .ct-related-posts .ct-module-title{
	position:relative;
	padding-bottom:15px;
	margin-bottom:40px;
}

.single-post .ct-related-posts .ct-module-title:after{
	content:'';
	position:absolute;
	bottom:0;
	left:0;
	background-color:#FFB26C;
	width:83px;
	height:3px;
}

.single-post .ct-related-posts-items .ct-media-container{
	border-radius:10px;
}

@media(max-width:1000px){
	.single-post .site-main > .ct-container{
		padding:30px 30px 40px;
	}
	
	.single-post nav.post-navigation .nav-item-prev .item-title{
		padding:0 0 0 50px;
	}
	.single-post nav.post-navigation .nav-item-next .item-title{
		padding:0 50px 0 0;
	}
	
	.single-post .ct-related-posts .ct-module-title{
		margin-bottom:20px;
	}
}

/* 文章內容格式 */
.single-post .entry-content ul li::marker{
	color:#FFA553;
}

/* 聯絡我們 */
.about-info .txt-bold{
	font-weight:700;
	color:#3F3B38;
	margin-right:15px;
}

/* 榮譽金榜 */
.single-admission .site-main .ct-container,.tax-admission_cat .site-main .ct-container{
	padding:60px 30px;
}

.single-admission #sidebar{
	--sidebar-width: 16.2%;
}

#sidebar #block-13 .wp-block-heading{
	padding-bottom:10px;
	margin-bottom:30px!important;
}

#block-13 .admission-list article.wp-block-post {
	margin-block-end:20px;
	padding-left:20px;
	position:relative;
}

#block-13 .admission-list article.wp-block-post:before{
	content:'';
	position:absolute;
	top:12px;
	left:0;
	background-color:#FFE4CA;
	border-radius:8px;
	width:11px;
	height:11px;
	display:block;
}

#block-13 .admission-list article.wp-block-post.active a{
	color:#F88D2A;
	text-decoration:underline;
}

#block-13 .admission-list article.wp-block-post .admission-list-title{
	margin-block-end:0;
}

@media(max-width:1000px){
	.single-admission .site-main .ct-container,.tax-admission_cat .site-main .ct-container{
		padding:30px 30px;
		grid-row-gap:10px;
	}
}

/* 聯絡我們 */
.wpcf7-form-control.wpcf7-file {
	display: none;
}

.contact-us-form .item{
	margin-bottom:24px;
}

.contact-us-form .item input{
	font-size:18px;
	color:#E1832C;
	line-height:28px;
	background-color:#fff;
	padding:0 20px;
	height:50px;
	box-shadow:4px 4px 6px 0 #0000000A;
	border:none;
	border-radius:5px;
}

.contact-us-form .item textarea{
	font-size:18px;
	color:#E1832C;
	line-height:28px;
	background-color:#fff;
	padding:14px 20px;
	height:236px;
	box-shadow:4px 4px 6px 0 #0000000A;
	border:none;
	border-radius:5px;
}

.contact-us-form .item input::placeholder,.contact-us-form .item textarea::placeholder{
	color:#E1832C;
	opacity:1;
}

/* .contact-us-form .upload-item p{
	display:flex;
}

.contact-us-form #file-name{
	color:#ADADAD;
	width:70%;
	margin-right:10px;
	height:54px;
}

.contact-us-form #file-name::placeholder{
	color:#ADADAD;
	opacity:1;
}

.contact-us-form #upload-button{
	font-size:18px;
	background-color:#6FAFE0;
	color:#fff;
	border-radius:5px;
	width:171px;
	height:54px;
	cursor:pointer;
} */

.contact-us-btn{
	display:flex;
	justify-content:center;
}

.contact-us-btn input{
	font-size:20px;
	width:280px;
	height:57px;
	border:1px solid #FFA553;;
	border-radius:50px;
}

.contact-us-btn input:hover{
	color:#FFA553;
	background-color:#fff;
}

.contact-us-btn .wpcf7-spinner{
	display:block;
}

/* 獎學金申請 */
.scholarship-form .item{
	margin-bottom: 24px;
}

.scholarship-form .item input{
	font-size: 18px;
	color: #E1832C;
	background-color:#FFF5EB;
	line-height: 28px;
  padding: 0 20px;
  height: 50px;
/*   box-shadow: 4px 4px 6px 0 #0000000A; */
  border: none;
  border-radius: 5px;
}

.scholarship-form .item textarea{
	font-size: 18px;
	color: #E1832C;
	line-height: 28px;
	background-color:#FFF5EB;
	padding: 14px 20px;
	height: 236px;
/* 	box-shadow: 4px 4px 6px 0 #0000000A; */
	border: none;
	border-radius: 5px;
}

.scholarship-btn{
	margin-top:30px;
}

.scholarship-btn input{
	font-size: 20px;
	width: 280px;
	height: 57px;
	border: 1px solid #FFA553;
	border-radius: 50px;
}

.scholarship-btn input:hover {
	color: #FFA553;
  background-color: #fff;
}


.scholarship-form .upload-item p{
	display:flex;
}

.scholarship-form .file-name{
	color:#ADADAD;
	width:65%;
	margin-right:10px;
	height:54px;
}

.scholarship-form #file-name::placeholder{
	color:#ADADAD;
	opacity:1;
}

.scholarship-form .upload-button{
	font-size:16px;
	background-color:#6FAFE0;
	color:#fff;
	border-radius:5px;
	width:210px;
	height:54px;
	cursor:pointer;
}

/* 搜尋結果頁 */
.search-results .site-main > .ct-container{
	padding:60px 30px 84px;
}

@media(max-width:1000px){
	.search-results .site-main > .ct-container{
	padding:30px 30px 40px;
	}
}

/* dashboard */
.member_dashboard .llms-student-dashboard{
	display:flex;
	flex-flow: row wrap;
}

.member_dashboard .llms-person-login-form-wrapper{
	width:50%;
}

.member_dashboard .llms-new-person-form-wrapper{
	width:50%;
}

.logged-in .member_dashboard .llms-student-dashboard{
	display:grid;
}

@media(max-width:768px){
	.member_dashboard .llms-person-login-form-wrapper{
		width:100%;
	}
	
	.member_dashboard .llms-new-person-form-wrapper{
		width:100%;
	}
}

/* 所有課表 */
table.has-inner-border .wp-block-tableberg-button .wp-element-button{
	font-size:18px;
}

@media(max-width:768px){
	table.has-inner-border p{
		font-size:16px;
	}
	table.has-inner-border .wp-block-tableberg-button .wp-element-button{
		font-size:14px;
		padding:5px 10px;
		line-height: 24px;
	}
	
	.chaty-cta-button {
    display: none;
}
}

:root {
  --ppi-brand: #00c2c2;
  --ppi-brand-dark: #008f8f;
  --ppi-brand-darker: #006666;
  --ppi-brand-light: #e0f7f7;
  --ppi-brand-pale: #f2fbfb;
  --ppi-accent: #ff8c42;
  --ppi-accent-dark: #e67230;
  --ppi-accent-light: #fff0e3;
  --ppi-text: #2c3e40;
  --ppi-text-light: #5c6b6d;
  --ppi-text-mute: #8c9799;
  --ppi-border: #e1e8e8;
  --ppi-bg: #fafbfb;
  --ppi-warn: #d9534f;
  --ppi-warn-light: #fbecea;
  --ppi-success: #5cb85c;
  --ppi-success-light: #ecf7ec;
  --ppi-info: #5c8fa5;
  --ppi-info-light: #eef4f7;
  --ppi-gold: #f0ad4e;
}
 
/* ========== 表格樣式 ========== */
.entry-content .tbl-wrap,
.post-content .tbl-wrap {
  margin: 28px 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--ppi-border);
  background: #fff;
}
 
.entry-content .tbl-wrap table,
.post-content .tbl-wrap table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
}
 
.entry-content .tbl-wrap thead th,
.post-content .tbl-wrap thead th {
  background: var(--ppi-brand);
  color: #fff;
  padding: 14px;
  text-align: left;
  font-weight: 600;
  font-size: 14.5px;
}
 
.entry-content .tbl-wrap tbody td,
.post-content .tbl-wrap tbody td {
  padding: 14px;
  border-bottom: 1px solid var(--ppi-border);
  vertical-align: middle;
  line-height: 1.7;
}
 
.entry-content .tbl-wrap tbody tr:nth-child(even),
.post-content .tbl-wrap tbody tr:nth-child(even) {
  background: var(--ppi-brand-pale);
}
 
.entry-content .tbl-wrap tbody tr:last-child td,
.post-content .tbl-wrap tbody tr:last-child td {
  border-bottom: none;
}
 
/* 主推項目高亮 */
.entry-content tr.highlight,
.post-content tr.highlight {
  background: var(--ppi-accent-light) !important;
}
.entry-content tr.highlight td:first-child,
.post-content tr.highlight td:first-child {
  border-left: 4px solid var(--ppi-accent);
}
 
/* ========== 表格內元素 ========== */
.entry-content .sport-icon,
.post-content .sport-icon {
  font-size: 20px;
  margin-right: 6px;
  vertical-align: middle;
}
 
.entry-content .cap,
.post-content .cap {
  display: inline-block;
  background: #fff;
  color: var(--ppi-brand-darker);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 13px;
  margin: 2px 3px 2px 0;
  border: 1px solid var(--ppi-brand-light);
}
 
.entry-content .stars,
.post-content .stars {
  color: var(--ppi-gold);
  font-size: 17px;
  letter-spacing: 2px;
  font-weight: 600;
}
 
.entry-content .badge,
.post-content .badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}
.entry-content .badge-strong,
.post-content .badge-strong {
  background: var(--ppi-success-light);
  color: var(--ppi-success);
}
.entry-content .badge-ok,
.post-content .badge-ok {
  background: var(--ppi-brand-light);
  color: var(--ppi-brand-darker);
}
 
.entry-content .num,
.post-content .num {
  color: var(--ppi-accent-dark);
  font-weight: 700;
  font-size: 1.05em;
}
 
/* ========== Type 3 紅綠對比表 ========== */
.entry-content .type3 thead th:nth-child(2),
.post-content .type3 thead th:nth-child(2) {
  background: var(--ppi-warn);
}
.entry-content .type3 thead th:nth-child(3),
.post-content .type3 thead th:nth-child(3) {
  background: var(--ppi-success);
}
.entry-content .type3 tbody td:nth-child(1),
.post-content .type3 tbody td:nth-child(1) {
  background: var(--ppi-bg);
  font-weight: 600;
  color: var(--ppi-text);
  width: 25%;
}
.entry-content .type3 tbody td:nth-child(2),
.post-content .type3 tbody td:nth-child(2) {
  background: var(--ppi-warn-light);
}
.entry-content .type3 tbody td:nth-child(3),
.post-content .type3 tbody td:nth-child(3) {
  background: var(--ppi-success-light);
}
 
/* ========== 結構積木（Box）========== */
.entry-content .box,
.post-content .box {
  margin: 24px 0;
  padding: 18px 22px;
  border-radius: 6px;
  border-left: 4px solid;
  background: var(--ppi-bg);
}
 
.entry-content .box-label,
.post-content .box-label {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 15px;
  display: block;
}
 
/* Answer Box（橘色 - 重點摘要）*/
.entry-content .box-answer,
.post-content .box-answer {
  border-left-color: var(--ppi-accent);
  background: var(--ppi-accent-light);
}
.entry-content .box-answer .box-label,
.post-content .box-answer .box-label {
  color: var(--ppi-accent-dark);
}
 
/* Info Box（藍色 - 補充資訊）*/
.entry-content .box-info,
.post-content .box-info {
  border-left-color: var(--ppi-info);
  background: var(--ppi-info-light);
}
.entry-content .box-info .box-label,
.post-content .box-info .box-label {
  color: var(--ppi-info);
}
 
/* Note Box（灰色 - 教練小提醒）*/
.entry-content .box-note,
.post-content .box-note {
  border-left-color: var(--ppi-text-mute);
  background: var(--ppi-bg);
}
.entry-content .box-note .box-label,
.post-content .box-note .box-label {
  color: var(--ppi-text-light);
}
 
/* Warning Box（紅色 - 警告地雷）*/
.entry-content .box-warn,
.post-content .box-warn {
  border-left-color: var(--ppi-warn);
  background: var(--ppi-warn-light);
}
.entry-content .box-warn .box-label,
.post-content .box-warn .box-label {
  color: var(--ppi-warn);
}
 
/* Important Box（金色 - 關鍵重點）*/
.entry-content .box-important,
.post-content .box-important {
  border-left-color: var(--ppi-gold);
  background: #fef9e7;
}
.entry-content .box-important .box-label,
.post-content .box-important .box-label {
  color: #c98a1a;
}
 
/* Quote Box（青色 - 專家引述）*/
.entry-content .box-quote,
.post-content .box-quote {
  border-left-color: var(--ppi-brand);
  background: var(--ppi-brand-pale);
  font-style: italic;
  padding: 22px 26px;
}
.entry-content .box-quote .box-label,
.post-content .box-quote .box-label {
  font-style: normal;
  color: var(--ppi-brand-dark);
}
.entry-content .quote-author,
.post-content .quote-author {
  font-style: normal;
  font-weight: 600;
  color: var(--ppi-text);
  margin-top: 12px;
  display: block;
}
 
/* CTA Box（漸層青 - 課程聯絡）*/
.entry-content .box-cta,
.post-content .box-cta {
  border-left: none;
  background: linear-gradient(135deg, var(--ppi-brand-pale) 0%, var(--ppi-brand-light) 100%);
  text-align: center;
  padding: 28px 22px;
  border: 1px solid var(--ppi-brand-light);
  margin: 28px 0;
  border-radius: 8px;
}
.entry-content .cta-title,
.post-content .cta-title {
  font-size: 21px;
  font-weight: 700;
  color: var(--ppi-brand-dark);
  margin-bottom: 14px;
}
 
/* Checklist Box（青色打勾框）*/
.entry-content .box-checklist,
.post-content .box-checklist {
  border-left-color: var(--ppi-brand);
  background: var(--ppi-brand-pale);
}
.entry-content .box-checklist .box-label,
.post-content .box-checklist .box-label {
  color: var(--ppi-brand-dark);
}
.entry-content .checklist,
.post-content .checklist {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
}
.entry-content .checklist li,
.post-content .checklist li {
  padding: 8px 0 8px 30px;
  position: relative;
  line-height: 1.7;
}
.entry-content .checklist li::before,
.post-content .checklist li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 14px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--ppi-brand);
  border-radius: 3px;
}
 
/* Obs Box（綠色 - 案例觀察）*/
.entry-content .box-obs,
.post-content .box-obs {
  border-left-color: var(--ppi-success);
  background: var(--ppi-success-light);
}
.entry-content .box-obs .box-label,
.post-content .box-obs .box-label {
  color: var(--ppi-success);
}
.entry-content .box-obs .quote-author,
.post-content .box-obs .quote-author {
  display: block;
  text-align: right;
  margin-top: 8px;
  font-style: italic;
  color: var(--ppi-text-light);
}
 
/* Author Box（深色 - 作者框）*/
.entry-content .box-author,
.post-content .box-author {
  border: 1px solid var(--ppi-border);
  border-left: 4px solid var(--ppi-text);
  background: var(--ppi-bg);
  padding: 22px 26px;
  border-radius: 6px;
}
.entry-content .box-author .box-label,
.post-content .box-author .box-label {
  color: var(--ppi-text);
}
.entry-content .box-author ul,
.post-content .box-author ul {
  margin: 10px 0;
  padding-left: 22px;
  line-height: 1.8;
}
.entry-content .author-quote,
.post-content .author-quote {
  font-style: italic;
  color: var(--ppi-text-light);
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--ppi-border);
}
 
/* ========== 目錄（TOC）========== */
.entry-content .toc,
.post-content .toc {
  background: #fff;
  border: 1px solid var(--ppi-border);
  border-left: 4px solid var(--ppi-brand);
  padding: 20px 24px;
  margin: 28px 0;
  border-radius: 6px;
}
.entry-content .toc .box-label,
.post-content .toc .box-label {
  color: var(--ppi-brand-dark);
  margin-bottom: 12px;
}
.entry-content .toc ul,
.post-content .toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.entry-content .toc li,
.post-content .toc li {
  padding: 8px 14px;
  margin: 6px 0;
  background: var(--ppi-brand-pale);
  border-radius: 4px;
  border-left: 3px solid var(--ppi-brand-light);
  transition: all 0.2s ease;
}
.entry-content .toc li:hover,
.post-content .toc li:hover {
  background: var(--ppi-brand-light);
  border-left-color: var(--ppi-accent);
  transform: translateX(3px);
}
.entry-content .toc a,
.post-content .toc a {
  color: var(--ppi-brand-darker);
  text-decoration: none;
  font-weight: 500;
}
 
/* ========== 延伸閱讀區塊 ========== */
.entry-content .related,
.post-content .related {
  background: var(--ppi-info-light);
  padding: 14px 18px;
  border-radius: 6px;
  margin: 20px 0;
  border-left: 4px solid var(--ppi-info);
  font-size: 15px;
}
.entry-content .related a,
.post-content .related a {
  color: var(--ppi-info);
  font-weight: 600;
  text-decoration: none;
}
.entry-content .related a:hover,
.post-content .related a:hover {
  text-decoration: underline;
}
 
/* ========== LINE 行動呼籲按鈕 ========== */
.entry-content .line-cta,
.post-content .line-cta {
  text-align: center;
  margin: 32px 0;
}
.entry-content .line-cta a,
.post-content .line-cta a {
  background-color: #00c2c2;
  color: #fff !important;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none !important;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(0, 194, 194, 0.25);
  transition: all 0.2s ease;
  letter-spacing: 0.5px;
}
.entry-content .line-cta a:hover,
.post-content .line-cta a:hover {
  background-color: #00a8a8;
  box-shadow: 0 4px 12px rgba(0, 194, 194, 0.4);
  transform: translateY(-1px);
}
 
/* ========== 手機響應 ========== */
@media (max-width: 768px) {
  .entry-content .tbl-wrap table,
  .post-content .tbl-wrap table {
    font-size: 13.5px;
  }
  .entry-content .tbl-wrap thead th,
  .entry-content .tbl-wrap tbody td,
  .post-content .tbl-wrap thead th,
  .post-content .tbl-wrap tbody td {
    padding: 10px 8px;
  }
  .entry-content .box,
  .entry-content .toc,
  .entry-content .related,
  .post-content .box,
  .post-content .toc,
  .post-content .related {
    padding: 14px 16px;
  }
  .entry-content .line-cta a,
  .post-content .line-cta a {
    padding: 12px 22px;
    font-size: 15px;
  }
}