/* 頂部列灰底 */
#sp-top-bar {
	background-color: #F7F7F7;
}

/* 第三層以後子選單：不自動換行，避免中文被擠成直排 */
.sp-megamenu-parent .sp-dropdown.sp-dropdown-sub li.sp-menu-item > a {
	white-space: nowrap;
}

/* 首頁主內容區與舊版首頁相同，不額外留白 */
body.home #sp-main-body {
	padding: 0;
}

/* 滿版區塊：不用 Bootstrap .row / .col，避免左右 15px 內距 */
#sp-main-body .sp-fullwidth {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	float: none;
	clear: both;
}

#sp-home-slide.sp-fullwidth,
#sp-home-slide.sp-fullwidth > .sp-module,
#sp-home-slide.sp-fullwidth img {
	width: 100%;
	max-width: 100%;
}

body.view-home #sp-component.sp-fullwidth > .sp-column {
	padding: 0;
}

/* Slider / CTA：白線白字透明底；字必須在框內（覆寫 RS height/outline/line-height） */
a.tp-button.blue.small,
#at-slider a.tp-button.blue.small,
.tp-caption a.tp-button.blue.small {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	width: auto !important;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 10px 40px !important;
	overflow: visible !important;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	border: 1px solid #ffffff !important;
	border-radius: 0 !important;
	outline: none !important;
	outline-offset: 0 !important;
	box-shadow: none !important;
	color: #ffffff !important;
	font-size: 12px !important;
	font-weight: 400 !important;
	letter-spacing: 0.12em;
	line-height: 1.2 !important;
	text-align: center !important;
	text-decoration: none !important;
	text-shadow: none !important;
	text-transform: uppercase;
	vertical-align: middle !important;
	white-space: nowrap !important;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

a.tp-button.blue.small:hover,
a.tp-button.blue.small:focus,
#at-slider a.tp-button.blue.small:hover,
#at-slider a.tp-button.blue.small:focus,
.tp-caption a.tp-button.blue.small:hover,
.tp-caption a.tp-button.blue.small:focus {
	background: rgba(255, 255, 255, 0.12) !important;
	border: 1px solid #ffffff !important;
	outline: none !important;
	outline-offset: 0 !important;
	box-shadow: none !important;
	color: #ffffff !important;
	text-decoration: none !important;
	text-shadow: none !important;
}
