/* ===================================================================
   金和興銅鍛造 內頁樣式（依 www.kingforging.com 各頁切版）
   載入順序：kf_theme.css 之後；共用變數（--kf_*）定義在 kf_theme.css
=================================================================== */

/* ===================================================================
   1. 產品型錄下拉選單（兩組：依材質、依產業應用）
=================================================================== */
/* 桌機：面板寬度等於整個版心（1200px），貼齊選單列下緣，兩欄並排 */
.kf_main_bar_inner {
	position: relative;
}

.kf_nav_list > li.is_mega {
	position: static;
}
@media (max-width: 991px) {
	.kf_nav_list > li.is_mega {
		position: relative;
	}
}

.kf_sub_list.kf_mega_list {
	top: 100%;
	left: 0;
	right: 0;
	display: flex;
	min-width: 0;
	padding: 0;
	border-top: 1px solid #f8f8f8;
	border-radius: 2px;
	transition: opacity 0.8s, visibility 0.8s, transform 0.8s;
}

/* 選單列與面板之間的空隙：補一條看不見的橋，滑鼠移過去時面板不會關閉 */
.kf_sub_list.kf_mega_list::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 100%;
	height: 24px;
}
@media (max-width: 991px) {
	.kf_sub_list.kf_mega_list {
		display: none;
		padding: 10px 0;
		border-top: 0;
		transition: none;
	}
	.kf_sub_list.kf_mega_list::before {
		content: none;
	}
	.kf_nav_list > li.is_sub_open > .kf_sub_list.kf_mega_list {
		display: block;
	}
}

.kf_mega_group {
	position: relative;
	flex: 1 1 0%;
	padding: 30px 0 25px;
	list-style: none;
}

/* 欄與欄之間的直線 */
.kf_mega_group::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 1px;
	height: 100%;
	background: rgba(0, 0, 0, 0.1);
}

.kf_mega_group:last-child::after {
	content: none;
}
@media (max-width: 991px) {
	.kf_mega_group {
		padding: 0;
	}
	.kf_mega_group::after {
		content: none;
	}
}

.kf_sub_list a.kf_mega_head {
	padding: 0 20px 15px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	color: #000;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.85;
}

.kf_sub_list a.kf_mega_head:hover {
	background: transparent;
	color: #000;
}
@media (max-width: 991px) {
	.kf_sub_list a.kf_mega_head {
		display: none;
	}
}

.kf_mega_head i {
	margin-right: 5px;
	color: #000;
	font-size: 14px;
}

.kf_mega_group ul {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
}
@media (max-width: 991px) {
	.kf_mega_group ul {
		margin: 0;
	}
}

/* 子項目：16px 黑字，滑過淺灰底、藍字 */
.kf_mega_group ul a {
	padding: 10px 18px;
	color: #000;
	font-size: 16px;
	line-height: 29.6px;
}

.kf_mega_group ul a:hover {
	background: #f2f2f2;
	color: var(--kf_primary);
}
@media (max-width: 991px) {
	.kf_mega_group ul a {
		padding: 2px 0 1px 15px;
		line-height: 30px;
	}
	.kf_mega_group ul a:hover {
		background: transparent;
	}
}

/* ===================================================================
   2. 內頁共用元件：格線、圖文交錯、深色照片底、表格、清單框、卡片、統計數字、影片
=================================================================== */
.kf_grid_2,
.kf_grid_4 {
	display: grid;
	gap: 28px;
}

.kf_grid_2 {
	grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 767px) {
	.kf_grid_2 {
		grid-template-columns: 1fr;
	}
}

.kf_grid_4 {
	grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 991px) {
	.kf_grid_4 {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 575px) {
	.kf_grid_4 {
		grid-template-columns: 1fr;
	}
}

/* 圖文交錯區塊（左右交替，底下有淡藍色面板） */
.kf_feat_section {
	position: relative;
	padding: var(--kf_pad) 0;
}

/* 圖文交錯區塊接在上一區後面時不留上方內距（製造能力頁） */
.kf_feat_section.is_flush_top {
	padding-top: 0;
}

.kf_feat_section > .kf_wide_container {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 130px;
}
@media (max-width: 991px) {
	.kf_feat_section > .kf_wide_container {
		gap: 80px;
	}
}

.kf_feat_row {
	position: relative;
	display: flex;
	align-items: center;
	gap: 64px;
}

.kf_feat_row.is_reverse {
	flex-direction: row-reverse;
}
@media (max-width: 991px) {
	.kf_feat_row,
	.kf_feat_row.is_reverse {
		flex-direction: column;
		gap: 28px;
	}
}

.kf_feat_panel {
	position: absolute;
	top: -32px;
	bottom: -32px;
	z-index: 0;
	width: 64%;
	border-radius: 16px;
	background: #eef4fb;
}

.kf_feat_row.is_normal .kf_feat_panel {
	left: -4%;
}

.kf_feat_row.is_reverse .kf_feat_panel {
	right: -4%;
}
@media (max-width: 991px) {
	.kf_feat_row.is_normal .kf_feat_panel,
	.kf_feat_row.is_reverse .kf_feat_panel {
		top: auto;
		bottom: -14px;
		left: 0;
		right: 0;
		width: 100%;
		height: 58%;
	}
}

.kf_feat_imgcol,
.kf_feat_textcol {
	position: relative;
	z-index: 2;
	flex: 1 1 0%;
}
@media (max-width: 991px) {
	.kf_feat_imgcol,
	.kf_feat_textcol {
		width: 100%;
	}
}

.kf_feat_textcol {
	padding: 20px 44px;
}
@media (max-width: 991px) {
	.kf_feat_textcol {
		padding: 0 6px;
		text-align: center;
	}
}

.kf_feat_imgwrap {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	box-shadow: 0 30px 60px rgba(16, 28, 48, 0.18);
	transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.kf_feat_imgwrap img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.kf_feat_row.is_normal .kf_feat_imgwrap {
	transform: translate(18px, 26px);
}

.kf_feat_row.is_reverse .kf_feat_imgwrap {
	transform: translate(-18px, -26px);
}

.kf_feat_row .kf_feat_imgwrap:hover {
	transform: translate(0, 0);
}
@media (max-width: 991px) {
	.kf_feat_row.is_normal .kf_feat_imgwrap,
	.kf_feat_row.is_reverse .kf_feat_imgwrap {
		transform: none;
	}
}

.kf_feat_title {
	margin: 0 0 14px;
	color: var(--kf_ink);
	font-size: clamp(1.6rem, 2.6vw, 2.1rem);
	font-weight: 800;
	letter-spacing: 0.5px;
}

.kf_feat_sub {
	margin: 0 0 22px;
	color: var(--kf_primary);
	font-size: 1.15rem;
	font-weight: 700;
}

.kf_feat_desc {
	margin: 0 0 16px;
	color: var(--kf_body);
	font-size: var(--kf_fs_body);
	line-height: 2;
}
@media (max-width: 991px) {
	.kf_feat_desc {
		text-align: left;
	}
}

/* 深色照片底區塊（背景圖固定 + 深藍遮罩 + 細格線） */
.kf_sec.is_photo {
	overflow: hidden;
	background: center / cover no-repeat fixed;
}
@media (max-width: 991px) {
	.kf_sec.is_photo {
		background-attachment: scroll;
	}
}

.kf_sec.is_photo::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(rgba(11, 18, 28, 0.88), rgba(11, 18, 28, 0.8));
}

.kf_sec.is_photo::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image: linear-gradient(rgba(143, 199, 239, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 199, 239, 0.06) 1px, transparent 1px);
	background-size: 46px 46px;
	opacity: 0.6;
	pointer-events: none;
}

.kf_on_dark .kf_eyebrow {
	color: #8fc7ef;
}

.kf_on_dark .kf_text,
.kf_on_dark .kf_text p {
	color: #cfd8e3;
}

/* 公司基本資料表格 */
.kf_table {
	width: 100%;
	overflow: hidden;
	border-collapse: separate;
	margin-bottom: 24px;
	border-spacing: 0;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 22px 56px rgba(16, 28, 48, 0.08);
}

.kf_table th,
.kf_table td {
	padding: 20px 28px;
	border-top: 1px solid #dee2e6;
	border-bottom: 1px solid var(--kf_line);
	line-height: 1.85;
	text-align: left;
	vertical-align: top;
}
@media (max-width: 575px) {
	.kf_table th,
	.kf_table td {
		padding: 14px;
		font-size: 0.92rem;
	}
}

.kf_table th {
	width: 28%;
	border-right: 3px solid var(--kf_primary);
	background: #f2f6fa;
	color: var(--kf_ink);
	font-weight: 700;
	white-space: nowrap;
}
@media (max-width: 575px) {
	.kf_table th {
		width: 38%;
		white-space: normal;
	}
}

.kf_table td {
	color: #3a4655;
}

.kf_table tr:last-child th,
.kf_table tr:last-child td {
	border-bottom: 0;
}

/* 帶藍色勾勾的清單框 */
.kf_list_box {
	height: 100%;
	padding: 36px 38px;
	background: #fff;
	border: 1px solid var(--kf_line);
	border-radius: 14px;
	box-shadow: 0 16px 44px rgba(16, 28, 48, 0.06);
}

.kf_list_box h3 {
	display: inline-block;
	margin: 0 0 22px;
	padding-bottom: 14px;
	border-bottom: 2px solid var(--kf_primary);
	color: var(--kf_ink);
	font-size: 1.25rem;
}

.kf_list_box ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.kf_list_box li {
	position: relative;
	padding: 11px 0 11px 30px;
	border-bottom: 1px dashed var(--kf_line);
	color: #3a4655;
	line-height: 1.6;
}

.kf_list_box li:last-child {
	border-bottom: 0;
}

.kf_list_box li::before {
	content: '✓';
	position: absolute;
	top: 11px;
	left: 0;
	color: var(--kf_primary);
	font-weight: 700;
}

/* 圖示卡片（滑過上浮，頂端出現漸層線） */
.kf_card {
	position: relative;
	height: 100%;
	overflow: hidden;
	padding: 44px 34px;
	background: #fff;
	border: 1px solid var(--kf_line);
	border-radius: 14px;
	transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s, border-color 0.4s;
}

.kf_card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, var(--kf_primary), var(--kf_accent));
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.45s;
}

.kf_card:hover {
	border-color: transparent;
	box-shadow: 0 30px 64px rgba(16, 28, 48, 0.14);
	transform: translateY(-10px);
}

.kf_card:hover::before {
	transform: scaleX(1);
}

.kf_card_ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	margin-bottom: 26px;
	border-radius: 50%;
	background: rgba(0, 130, 200, 0.09);
	color: var(--kf_primary);
	font-size: 38px;
	line-height: 1;
	transition: 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.kf_card:hover .kf_card_ico {
	background: var(--kf_primary);
	color: #fff;
	transform: translateY(-2px) rotate(-6deg);
}

.kf_card h3 {
	margin: 0 0 14px;
	color: var(--kf_ink);
	font-size: 1.3rem;
}

.kf_card p {
	margin: 0;
	color: var(--kf_body);
	font-size: var(--kf_fs_body);
	line-height: 1.95;
}

/* 藍色統計數字列 */
.kf_stats {
	display: flex;
	flex-wrap: wrap;
	overflow: hidden;
	margin: 0 0 40px;
	padding: 0;
	border-radius: 14px;
	background: linear-gradient(120deg, var(--kf_primary), var(--kf_hover));
	box-shadow: 0 24px 56px rgba(0, 110, 168, 0.28);
}

.kf_stats li {
	position: relative;
	flex: 1 1 16.66%;
	min-width: 150px;
	padding: 42px 18px;
	list-style: none;
	text-align: center;
}
@media (max-width: 767px) {
	.kf_stats li {
		flex: 1 1 50%;
		padding: 30px 12px;
	}
	.kf_stats li:nth-child(n+3) {
		border-top: 1px solid rgba(255, 255, 255, 0.2);
	}
}

.kf_stats li + li::before {
	content: '';
	position: absolute;
	top: 26%;
	left: 0;
	width: 1px;
	height: 48%;
	background: rgba(255, 255, 255, 0.2);
}
@media (max-width: 767px) {
	.kf_stats li:nth-child(2n+1)::before {
		display: none;
	}
}

.kf_stat_num {
	display: block;
	color: #fff;
	font-size: 2.4rem;
	font-weight: 800;
	letter-spacing: 0.5px;
	line-height: 1;
}
@media (max-width: 767px) {
	.kf_stat_num {
		font-size: 1.9rem;
	}
}

.kf_stat_label {
	display: block;
	margin-top: 10px;
	color: rgba(255, 255, 255, 0.9);
	font-size: var(--kf_fs_meta);
	line-height: 1.85;
}

/* 滿版影片 */
.kf_fullvideo {
	width: 100%;
	background: #0a1722;
	line-height: 0;
	text-align: center;
}

.kf_fullvideo_frame {
	position: relative;
	display: inline-block;
	width: 100%;
	max-width: min(99.5556vh, 1066px);
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #0a1722 center / cover no-repeat;
}
@media (max-width: 640px) {
	.kf_fullvideo_frame {
		max-width: 100%;
	}
}

.kf_fullvideo_frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* CTA 區塊的白色外框按鈕 */
.kf_cta .kf_btn.is_outline_white {
	padding: 12px 30px;
	background: transparent;
	border: 2px solid #fff;
	color: #fff;
}

.kf_cta .kf_btn.is_outline_white:hover {
	background: #fff;
	color: var(--kf_primary);
}

/* ===================================================================
   3. 關於我們：經營理念圓環、公司沿革、品質認證／組織架構
=================================================================== */
.kf_values {
	position: relative;
	overflow: hidden;
	padding: var(--kf_pad) 0;
}

.kf_values_veil {
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, rgba(238, 244, 251, 0.97), rgba(238, 244, 251, 0.8));
}

.kf_values_inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 50px;
}
@media (max-width: 1024px) {
	.kf_values_inner {
		flex-direction: column;
		text-align: center;
	}
}

.kf_values_text {
	flex: 1 1 0%;
	max-width: 560px;
}
@media (max-width: 1024px) {
	.kf_values_text {
		max-width: 680px;
	}
}

.kf_values_title {
	margin: 6px 0 22px;
	color: var(--kf_ink);
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	font-weight: 800;
}

.kf_values_sub {
	min-height: 1.6em;
	margin: 0 0 20px;
	color: var(--kf_primary);
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.6;
}

.kf_values_desc {
	margin: 0 0 14px;
	color: var(--kf_body);
	font-size: var(--kf_fs_body);
	line-height: 2;
}

.kf_values_sub,
.kf_values_desc {
	transition: opacity 0.4s, transform 0.4s;
}

.kf_values_text.is_swapping .kf_values_sub,
.kf_values_text.is_swapping .kf_values_desc {
	opacity: 0;
	transform: translateX(-14px);
}

.kf_values_circle {
	position: relative;
	flex: 1 1 0%;
	width: 500px;
	max-width: 100%;
	height: 500px;
}
@media (max-width: 1024px) {
	.kf_values_circle {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
		width: 100%;
		max-width: 440px;
		height: auto;
		margin: 24px auto 0;
	}
}

.kf_ring {
	position: absolute;
	top: 50%;
	left: 50%;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	pointer-events: none;
}
@media (max-width: 1024px) {
	.kf_ring {
		display: none;
	}
}

.kf_ring.is_inner {
	width: 320px;
	height: 320px;
	border: 1px dashed var(--kf_primary);
	opacity: 0.4;
}

.kf_ring.is_middle {
	width: 420px;
	height: 420px;
	border: 2px solid rgba(255, 255, 255, 0.7);
	box-shadow: inset 0 0 24px rgba(0, 130, 200, 0.06);
}

.kf_ring.is_outer {
	width: 500px;
	height: 500px;
	border: 2px solid transparent;
	border-right-color: var(--kf_primary);
	border-bottom-color: var(--kf_primary);
	transform: translate(-50%, -50%) rotate(-45deg);
}

.kf_values_center {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 5;
	width: 280px;
	height: 280px;
	overflow: hidden;
	border: 8px solid #fff;
	border-radius: 50%;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
	transform: translate(-50%, -50%);
}
@media (max-width: 1024px) {
	.kf_values_center {
		position: static;
		grid-column: 1 / -1;
		justify-self: center;
		width: 210px;
		height: 210px;
		margin: 0 auto 6px;
		transform: none;
	}
}

.kf_values_center img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.5s, transform 0.5s;
}

.kf_values_center.is_swapping img {
	opacity: 0;
	transform: scale(1.06);
}

.kf_orbit {
	position: absolute;
	z-index: 10;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 7px;
	width: 104px;
	height: 104px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
	cursor: pointer;
	transition: 0.3s;
}
@media (max-width: 1024px) {
	.kf_orbit {
		position: static;
		flex-direction: row;
		gap: 9px;
		width: 100%;
		height: auto;
		padding: 15px 16px;
		border-radius: 14px;
	}
}

.kf_orbit i {
	color: var(--kf_primary);
	font-size: 25px;
	transition: 0.3s;
}
@media (max-width: 1024px) {
	.kf_orbit i {
		font-size: 20px;
	}
}

.kf_orbit span {
	color: var(--kf_primary);
	font-size: var(--kf_fs_eyebrow);
	font-weight: 700;
	line-height: 1.5;
	transition: 0.3s;
}

.kf_orbit:hover {
	box-shadow: 0 16px 30px rgba(0, 110, 168, 0.22);
	transform: scale(1.06);
}

.kf_orbit.active {
	background: var(--kf_primary);
	transform: scale(1.1);
}
@media (max-width: 1024px) {
	.kf_orbit:hover,
	.kf_orbit.active {
		transform: none;
	}
}

.kf_orbit.active i,
.kf_orbit.active span {
	color: #fff;
}

.kf_orbit.is_pos_1 {
	top: 2%;
	right: 14%;
}

.kf_orbit.is_pos_2 {
	top: 30%;
	right: -4%;
}

.kf_orbit.is_pos_3 {
	top: 62%;
	right: -4%;
}

.kf_orbit.is_pos_4 {
	top: 88%;
	right: 14%;
}

/* 公司沿革：左圖右文，下方年份時間軸 */
.kf_history_inner {
	display: flex;
	align-items: center;
	gap: 6%;
}
@media (max-width: 991px) {
	.kf_history_inner {
		flex-direction: column;
		gap: 34px;
	}
}

.kf_history_media {
	flex: 0 0 44%;
	overflow: hidden;
	border-radius: 20px;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
}
@media (max-width: 991px) {
	.kf_history_media {
		flex-basis: auto;
		width: 100%;
	}
}

.kf_history_media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: contrast(1.05) saturate(0.92);
	transition: opacity 0.3s, transform 0.3s;
}

.kf_history_media.is_swapping img {
	opacity: 0;
	transform: scale(1.06);
}

.kf_history_main {
	display: flex;
	flex: 1 1 0%;
	flex-direction: column;
	gap: 32px;
	min-width: 0;
}
@media (max-width: 991px) {
	.kf_history_main {
		width: 100%;
	}
}

.kf_history_head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
}

.kf_history_title {
	margin: 6px 0 0;
	color: var(--kf_primary);
	font-size: clamp(2rem, 3.6vw, 3rem);
	font-weight: 800;
	line-height: 1.05;
}

.kf_history_nav {
	display: flex;
	flex-shrink: 0;
	gap: 10px;
}

.kf_history_nav button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 2px solid var(--kf_primary);
	border-radius: 50%;
	background: transparent;
	color: var(--kf_primary);
	font-size: 18px;
	cursor: pointer;
	transition: 0.3s;
}

.kf_history_nav button:hover {
	background: var(--kf_primary);
	color: #fff;
}

.kf_history_track {
	position: relative;
	padding-bottom: 22px;
	overflow-x: auto;
}

.kf_history_line {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 28px;
	height: 2px;
	background: var(--kf_line);
}

.kf_history_points {
	position: relative;
	display: flex;
	gap: 34px;
	min-width: max-content;
	margin: 0;
	padding: 0 4px;
	list-style: none;
}

.kf_history_points li {
	position: relative;
	padding-bottom: 22px;
	color: var(--kf_body);
	font-size: var(--kf_fs_meta);
	white-space: nowrap;
	cursor: pointer;
	transition: color 0.3s;
}

.kf_history_points li::after {
	content: '';
	position: absolute;
	bottom: -6px;
	left: 50%;
	width: 11px;
	height: 11px;
	border: 2px solid var(--kf_line);
	border-radius: 50%;
	background: #fff;
	transform: translateX(-50%);
	transition: 0.3s;
}

.kf_history_points li.active {
	color: var(--kf_primary);
	font-weight: 800;
}

.kf_history_points li.active::after {
	bottom: -8px;
	width: 15px;
	height: 15px;
	border-color: var(--kf_primary);
	box-shadow: 0 0 0 4px rgba(0, 130, 200, 0.12);
}

.kf_history_content {
	position: relative;
	min-height: 150px;
}

.kf_history_year {
	margin: 0 0 12px;
	color: var(--kf_primary);
	font-size: 1.7rem;
	font-weight: 800;
}

.kf_history_desc {
	position: relative;
	z-index: 2;
	max-width: 90%;
	margin: 0;
	color: var(--kf_ink);
	font-size: 1.1rem;
	line-height: 1.85;
}

.kf_history_year,
.kf_history_desc {
	transition: opacity 0.45s, transform 0.45s;
}

.kf_history_content.is_swapping .kf_history_year,
.kf_history_content.is_swapping .kf_history_desc {
	opacity: 0;
	transform: translateX(10px);
}

.kf_history_watermark {
	position: absolute;
	top: -54px;
	right: 0;
	z-index: 1;
	color: transparent;
	font-size: 120px;
	font-weight: 800;
	letter-spacing: -2px;
	line-height: 1;
	-webkit-text-stroke: 1px #e9edf2;
	pointer-events: none;
}
@media (max-width: 991px) {
	.kf_history_watermark {
		top: -38px;
		font-size: 84px;
	}
}

/* 願景帶：文字置中，內文最寬 840px */
.kf_vision_band > .kf_wide_container {
	text-align: center;
}

.kf_vision_band .kf_text {
	max-width: 840px;
	margin: 24px auto 0;
}

.kf_vision_band .kf_text p {
	margin: 0 0 24px;
	color: #dbe3ee;
}

/* 公司基本資料表格外框：最寬 920px 置中 */
.kf_table_wrap {
	max-width: 920px;
	margin: 0 auto;
}

/* 品質認證／組織架構：方圖 + 下方藍色清單框 */
.kf_vm_wrap {
	display: flex;
	gap: 50px;
	max-width: 1000px;
	margin: 0 auto;
}
@media (max-width: 900px) {
	.kf_vm_wrap {
		flex-direction: column;
		gap: 72px;
	}
}

.kf_vm_card {
	position: relative;
	flex: 1 1 0%;
	margin-bottom: 44px;
}

.kf_vm_title {
	position: absolute;
	top: 26px;
	left: 28px;
	z-index: 3;
	margin: 0;
	color: #fff;
	font-size: 1.5rem;
	font-weight: 800;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.kf_vm_img {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 16px;
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.kf_vm_img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s;
}

.kf_vm_card:hover .kf_vm_img img {
	transform: scale(1.06);
}

.kf_vm_box {
	position: absolute;
	bottom: -38px;
	left: 6%;
	z-index: 4;
	width: 88%;
	padding: 24px 28px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--kf_primary), var(--kf_hover));
	box-shadow: 0 14px 30px rgba(0, 110, 168, 0.3);
	transition: transform 0.4s, box-shadow 0.4s;
}

.kf_vm_card:hover .kf_vm_box {
	box-shadow: 0 20px 40px rgba(0, 110, 168, 0.42);
	transform: translateY(-6px);
}

.kf_vm_box ul {
	margin: 0;
	padding-left: 20px;
	color: #fff;
	list-style: disc;
}

.kf_vm_box li {
	margin-bottom: 8px;
	font-size: var(--kf_fs_body);
	line-height: 1.7;
}

.kf_vm_box li:last-child {
	margin-bottom: 0;
}

/* ===================================================================
   4. 產品型錄：核心製造能力、產品卡片
=================================================================== */
.kf_capability {
	padding: 80px 0;
	background: #fff;
}

.kf_section_head {
	margin-bottom: 50px;
	text-align: center;
}

.kf_section_head h2 {
	margin: 0 0 5px;
	color: var(--kf_heading);
	font-size: 34px;
	font-weight: 500;
}
@media (max-width: 767px) {
	.kf_section_head h2 {
		font-size: 26px;
	}
}

.kf_section_head p {
	max-width: 700px;
	margin: 0 auto;
	padding-top: 10px;
	color: #494949;
	font-size: 15px;
	line-height: 1.9;
}

.kf_cap_nums {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin-bottom: 30px;
	text-align: center;
}
@media (max-width: 767px) {
	.kf_cap_nums {
		grid-template-columns: repeat(2, 1fr);
	}
}

.kf_cap_nums > div {
	padding: 14px 10px;
}

.kf_cap_num {
	margin: 0;
	color: #0056b3;
	font-size: 34px;
	font-weight: 700;
	line-height: 1;
}

.kf_cap_num span {
	margin-left: 2px;
	font-size: 18px;
}

.kf_cap_nums p {
	margin: 6px 0 0;
	color: #777;
	font-size: 16px;
}

.kf_cap_grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px 24px;
	margin-bottom: 30px;
}
@media (max-width: 991px) {
	.kf_cap_grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 575px) {
	.kf_cap_grid {
		grid-template-columns: 1fr;
	}
}

.kf_cap_card {
	padding: 24px 22px;
	background: #fff;
	border: 1px solid #e8ebf0;
	border-radius: 8px;
	box-shadow: 0 4px 18px rgba(20, 40, 80, 0.05);
}

.kf_cap_card_head {
	display: flex;
	align-items: center;
	margin-bottom: 14px;
}

.kf_cap_card_head i {
	margin-right: 10px;
	color: #0056b3;
	font-size: 30px;
}

.kf_cap_card_head h5 {
	margin: 0;
	color: #1a2b4a;
	font-size: 18.4px;
	font-weight: 600;
}

.kf_cap_card ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.kf_cap_card li {
	position: relative;
	padding: 6px 0 6px 18px;
	color: #555;
	font-size: 16px;
	line-height: 1.6;
}

/* 藍色圓點 */
.kf_cap_card li::before {
	content: '';
	position: absolute;
	top: 15px;
	left: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #0056b3;
}

.kf_product_section {
	margin-bottom: -50px;
	padding: 80px 0 50px;
}

.kf_product_grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0 24px;
}
@media (max-width: 991px) {
	.kf_product_grid {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (max-width: 767px) {
	.kf_product_grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 575px) {
	.kf_product_grid {
		grid-template-columns: 1fr;
	}
}

/* 產品型錄篩選列：依材質、依產業應用（主選單下拉連到 #shop_products，捲動時預留固定 header 的高度） */
#shop_products {
	scroll-margin-top: 90px;
}

.kf_shop_filter {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 40px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--kf_line);
}

.kf_shop_filter_row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.kf_shop_filter_label {
	min-width: 92px;
	color: var(--kf_ink);
	font-weight: 600;
}
@media (max-width: 575px) {
	.kf_shop_filter_label {
		width: 100%;
	}
}

.kf_shop_filter_row a {
	padding: 6px 16px;
	border: 1px solid var(--kf_line);
	border-radius: 999px;
	color: var(--kf_body);
	font-size: 15px;
	line-height: 1.5;
	transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.kf_shop_filter_row a:hover {
	border-color: var(--kf_primary);
	color: var(--kf_primary);
}

.kf_shop_filter_row a.active {
	border-color: var(--kf_primary);
	background: var(--kf_primary);
	color: #fff;
}

.kf_shop_empty {
	margin-bottom: 80px;
	color: var(--kf_body);
	text-align: center;
}

.kf_item_box {
	margin-bottom: 30px;
}

.kf_item_img {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 1 / 1;
}

.kf_item_img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.kf_item_box:hover .kf_item_img img {
	transform: scale(1.08);
}

/* 滑過時的深色遮罩與眼睛圖示 */
.kf_item_overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(11, 34, 51, 0.42);
	opacity: 0;
	transition: opacity 0.35s;
}

.kf_item_box:hover .kf_item_overlay {
	opacity: 1;
}

.kf_item_overlay i {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: #fff;
	color: var(--kf_primary);
	font-size: 19px;
	opacity: 0;
	transform: scale(0.5);
	transition: transform 0.35s, opacity 0.35s;
}

.kf_item_box:hover .kf_item_overlay i {
	opacity: 1;
	transform: scale(1);
}

.kf_item_info {
	padding: 10px;
	text-align: center;
}

.kf_item_title {
	margin: 0 0 10px;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
}
@media (max-width: 575px) {
	.kf_item_title {
		font-size: 16px;
	}
}

.kf_item_title a {
	color: #232323;
}

.kf_item_title a:hover {
	color: var(--kf_primary);
}

.kf_item_cate {
	margin: 4px 0 0;
	color: #999;
	font-size: 14px;
	line-height: 1.9;
}

/* ===================================================================
   5. 製造能力：前言、製程輪播、可加工材質、品質管控、應用領域
=================================================================== */
.kf_lead {
	max-width: 980px;
	margin: 0 auto;
	text-align: center;
}

.kf_lead p {
	color: #3a4655;
	font-size: clamp(1.1rem, 1.7vw, 1.32rem);
	line-height: 2.1;
}

.kf_script {
	display: block;
	margin: 6px 0 0;
	color: var(--kf_accent);
	font-size: clamp(1.3rem, 2.2vw, 1.8rem);
	font-style: italic;
	font-weight: 600;
	letter-spacing: 0.5px;
}

/* 製程輪播：中間放大、兩側縮小變暗（位置由 JS 計算） */
.kf_proc {
	position: relative;
	width: 100%;
	height: 400px;
	overflow: hidden;
}
@media (max-width: 900px) {
	.kf_proc {
		height: 350px;
	}
}
@media (max-width: 600px) {
	.kf_proc {
		height: 300px;
	}
}

.kf_proc_item {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 180px;
	height: 300px;
	overflow: hidden;
	border-radius: 6px;
	opacity: 0;
	filter: grayscale(80%) brightness(0.6);
	transform: translate(-50%, -50%);
	cursor: pointer;
	transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), width 0.6s cubic-bezier(0.25, 1, 0.5, 1), height 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s, filter 0.6s;
}
@media (max-width: 900px) {
	.kf_proc_item {
		width: 140px;
		height: 260px;
	}
}
@media (max-width: 600px) {
	.kf_proc_item {
		width: 104px;
		height: 210px;
	}
}

.kf_proc_item.active {
	z-index: 20 !important;
	width: 600px;
	height: 380px;
	filter: none;
	box-shadow: 0 24px 50px rgba(16, 28, 48, 0.22);
}
@media (max-width: 900px) {
	.kf_proc_item.active {
		width: 450px;
		height: 320px;
	}
}
@media (max-width: 600px) {
	.kf_proc_item.active {
		width: 300px;
		height: 260px;
	}
}

.kf_proc_item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.kf_proc_shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.6s;
}

.kf_proc_item.active .kf_proc_shade {
	opacity: 1;
}

.kf_proc_num {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	color: #fff;
	font-size: 42px;
	font-weight: 800;
	line-height: 1.2;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
	transform: translate(-50%, -50%);
	pointer-events: none;
	transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
@media (max-width: 900px) {
	.kf_proc_num {
		font-size: 32px;
	}
}

.kf_proc_item.active .kf_proc_num {
	top: auto;
	left: auto;
	right: 24px;
	bottom: -8px;
	font-size: 110px;
	opacity: 0.32;
	text-shadow: none;
	transform: none;
}
@media (max-width: 900px) {
	.kf_proc_item.active .kf_proc_num {
		right: 14px;
		font-size: 80px;
	}
}
@media (max-width: 600px) {
	.kf_proc_item.active .kf_proc_num {
		font-size: 60px;
	}
}

.kf_proc_title {
	position: absolute;
	left: 36px;
	bottom: 30px;
	z-index: 2;
	color: #fff;
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: 0.5px;
	line-height: 1.4;
	opacity: 0;
	transform: translateY(20px);
	transition: 0.6s 0.1s;
}
@media (max-width: 900px) {
	.kf_proc_title {
		left: 20px;
		bottom: 20px;
		font-size: 1.15rem;
	}
}
@media (max-width: 600px) {
	.kf_proc_title {
		left: 15px;
		bottom: 15px;
		font-size: 1rem;
	}
}

.kf_proc_item.active .kf_proc_title {
	opacity: 1;
	transform: translateY(0);
}

/* 輪播下方的編號時間軸 */
.kf_proc_tl {
	position: relative;
	width: 100%;
	height: 120px;
	margin-top: 30px;
	overflow: hidden;
}

.kf_proc_tl_line {
	position: absolute;
	top: 34px;
	left: 0;
	z-index: 0;
	width: 100%;
	height: 1px;
	background: var(--kf_line);
}

.kf_proc_tl_item {
	position: absolute;
	top: 0;
	left: 50%;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 150px;
	padding: 0;
	border: 0;
	background: transparent;
	transform: translateX(-50%);
	cursor: pointer;
	transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s;
}

.kf_proc_tl_num {
	margin-bottom: 10px;
	color: #aab4c0;
	font-size: var(--kf_fs_meta);
	font-weight: 700;
	line-height: 1.5;
	transition: color 0.3s, font-size 0.3s;
}

.kf_proc_tl_dot {
	width: 11px;
	height: 11px;
	margin-bottom: 14px;
	border: 2px solid #ccd3db;
	border-radius: 50%;
	background: #fff;
	transition: 0.3s;
}

.kf_proc_tl_text {
	max-width: 140px;
	color: var(--kf_body);
	font-size: var(--kf_fs_meta);
	line-height: 1.5;
	text-align: center;
	transition: color 0.3s;
}
@media (max-width: 600px) {
	.kf_proc_tl_text {
		font-size: var(--kf_fs_eyebrow);
	}
}

.kf_proc_tl_item.active .kf_proc_tl_num {
	color: var(--kf_primary);
	font-size: 1.1rem;
}

.kf_proc_tl_item.active .kf_proc_tl_dot {
	border-color: var(--kf_primary);
	background: var(--kf_primary);
	box-shadow: 0 0 0 4px rgba(0, 130, 200, 0.18);
}

.kf_proc_tl_item.active .kf_proc_tl_text {
	color: var(--kf_ink);
	font-weight: 700;
}

.kf_flow_note {
	max-width: 780px;
	margin: 34px auto 0;
	color: var(--kf_body);
	line-height: 1.95;
	text-align: center;
}

/* 可加工材質（深藍底三欄） */
.kf_matshow {
	position: relative;
	padding: var(--kf_pad) 0;
	background: #0a1930;
	color: #fff;
}

.kf_matshow > .kf_wide_container {
	max-width: 1340px;
}

.kf_matshow_intro {
	max-width: 880px;
	margin: 0 auto 80px;
	text-align: center;
}

.kf_matshow_intro img {
	width: 100%;
	max-width: 420px;
	height: auto;
	margin-bottom: 30px;
	border-radius: 14px;
	box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
}

.kf_matshow .kf_eyebrow {
	color: #7fc4ef;
}

.kf_matshow_title {
	margin: 0 0 18px;
	color: #fff;
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	font-weight: 800;
}

.kf_matshow_intro p {
	margin: 0 0 10px;
	color: #cdd8e6;
	font-size: var(--kf_fs_body);
	line-height: 1.9;
}

.kf_matshow_grid {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 54px;
}
@media (max-width: 991px) {
	.kf_matshow_grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 40px;
	}
}
@media (max-width: 575px) {
	.kf_matshow_grid {
		grid-template-columns: 1fr;
		gap: 50px;
	}
}

/* 欄與欄之間的細分隔線 */
.kf_matshow_grid::before,
.kf_matshow_grid::after {
	content: '';
	position: absolute;
	top: 6%;
	bottom: 6%;
	width: 1px;
	background: rgba(255, 255, 255, 0.1);
}

.kf_matshow_grid::before {
	left: 33.333%;
}

.kf_matshow_grid::after {
	left: 66.666%;
}
@media (max-width: 991px) {
	.kf_matshow_grid::before {
		left: 50%;
	}
	.kf_matshow_grid::after {
		display: none;
	}
}
@media (max-width: 575px) {
	.kf_matshow_grid::before {
		display: none;
	}
}

.kf_matcard {
	display: flex;
	flex-direction: column;
}

.kf_matcard_img {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	margin-bottom: 26px;
	border-radius: 10px;
	background: #0f213d;
}

.kf_matcard_img > img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s;
}

.kf_matcard:hover .kf_matcard_img > img {
	transform: scale(1.05);
}

/* 左下角的圓形放大圖 */
.kf_matcard_zoom {
	position: absolute;
	left: 12px;
	bottom: 12px;
	width: 84px;
	height: 84px;
	overflow: hidden;
	border: 2px solid rgba(255, 255, 255, 0.55);
	border-radius: 50%;
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

.kf_matcard_zoom img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.6);
}

.kf_matcard_title {
	margin: 0 0 4px;
	color: #fff;
	font-size: 1.5rem;
	font-weight: 700;
}

.kf_matcard_en {
	margin: 0 0 18px;
	color: #9fb0c4;
	font-size: var(--kf_fs_eyebrow);
	letter-spacing: 1px;
}

.kf_matcard_desc {
	margin: 0;
	color: #a9b7c8;
	font-size: var(--kf_fs_body);
	line-height: 1.85;
	text-align: justify;
}

/* 三階段品質管控 */
.kf_qc_img {
	display: block;
	width: 100%;
	margin-bottom: 24px;
	border-radius: 14px;
}

.kf_qc_flow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-bottom: 20px;
}

.kf_qc_step {
	flex: 1 1 0%;
	min-width: 140px;
	padding: 26px 18px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--kf_primary), var(--kf_hover));
	box-shadow: 0 16px 36px rgba(0, 110, 168, 0.24);
	color: #fff;
	line-height: 1.6;
	text-align: center;
}
@media (max-width: 767px) {
	.kf_qc_step {
		flex-basis: 100%;
	}
}

.kf_qc_step strong {
	display: block;
	font-size: 1.4rem;
	letter-spacing: 1px;
}

.kf_qc_step span {
	font-size: var(--kf_fs_meta);
	opacity: 0.92;
}

.kf_qc_arrow {
	color: var(--kf_accent);
	font-size: 1.7rem;
	font-weight: 700;
}
@media (max-width: 767px) {
	.kf_qc_arrow {
		display: none;
	}
}

/* 應用領域標籤 */
.kf_app_grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
}

.kf_app_tag {
	padding: 22px 36px;
	background: #fff;
	border: 1px solid var(--kf_line);
	border-radius: 10px;
	color: var(--kf_ink);
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.85;
	transition: 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.kf_app_tag:hover {
	background: var(--kf_primary);
	border-color: var(--kf_primary);
	box-shadow: 0 18px 38px rgba(0, 110, 168, 0.22);
	color: #fff;
	transform: translateY(-5px);
}

/* ===================================================================
   6. 最新消息／知識專欄列表（左文章、右側欄）、隱私權政策
=================================================================== */
.kf_content_area {
	padding: 60px 0 0;
}

.kf_blog_layout {
	display: grid;
	grid-template-columns: minmax(0, 776fr) minmax(0, 353fr);
	gap: 47px;
}
@media (max-width: 991px) {
	.kf_blog_layout {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

.kf_blog_post {
	display: flex;
	gap: 30px;
	margin-bottom: 30px;
}
@media (max-width: 767px) {
	.kf_blog_post {
		flex-direction: column;
		gap: 16px;
	}
}

.kf_blog_media {
	flex: 0 0 350px;
	align-self: flex-start;
	overflow: hidden;
	border-radius: 4px;
}
@media (max-width: 767px) {
	.kf_blog_media {
		flex-basis: auto;
	}
}

.kf_blog_media img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.6s;
}

.kf_blog_post:hover .kf_blog_media img {
	transform: scale(1.05);
}

.kf_blog_info {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	min-width: 0;
}

.kf_post_date {
	display: block;
	margin: 7px 0 3px;
	color: var(--kf_primary);
	font-size: 13px;
	font-weight: 600;
	line-height: 24px;
}

.kf_post_title {
	margin: 0 0 5px;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.4;
}
@media (max-width: 767px) {
	.kf_post_title {
		font-size: 20px;
	}
}

.kf_post_title a {
	color: #232323;
}

.kf_post_title a:hover {
	color: var(--kf_primary);
}

.kf_post_text {
	margin: 0 0 15px;
	color: #999;
	font-size: 15px;
	line-height: 28px;
}

.kf_post_readmore i {
	margin-left: 6px;
	font-size: 11px;
}

/* 右側欄：搜尋、最新文章、最新留言 */
.kf_side_widget {
	margin-bottom: 30px;
}

.kf_side_label {
	display: block;
	margin: 0 0 10px;
	color: var(--kf_text);
	font-size: 18px;
	font-weight: 600;
}

.kf_side_search {
	display: flex;
	border: 1px solid #e5e5e5;
}

.kf_side_search input {
	flex: 1;
	min-width: 0;
	height: 45px;
	padding: 5px 20px;
	border: 0;
	color: #000;
	font-size: 15px;
}

.kf_side_search input:focus {
	outline: 2px solid rgba(0, 130, 200, 0.3);
}

.kf_side_search button {
	padding: 0 18px;
	border: 0;
	background: var(--kf_primary);
	color: #fff;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
}

.kf_side_search button:hover {
	background: var(--kf_hover);
}

.kf_side_title {
	position: relative;
	margin: 0 0 25px;
	padding: 0 0 10px;
	color: #1a1668;
	font-size: 20px;
	font-weight: 600;
	line-height: 24px;
}

/* 標題下方的藍色短線 */
.kf_side_title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 50px;
	height: 2px;
	background: var(--kf_primary);
}

.kf_side_posts {
	margin: 0;
	padding: 0;
	list-style: none;
}

.kf_side_posts li {
	position: relative;
	padding: 10px 10px 10px 20px;
	border-bottom: 1px solid #eee;
	line-height: 1.4;
}

.kf_side_posts li::before {
	content: '';
	position: absolute;
	top: 14px;
	left: 2px;
	width: 16px;
	height: 16px;
	background: var(--kf_primary);
	mask: url('../images/icons/chevron-right.svg') center / contain no-repeat;
}

.kf_side_posts a {
	color: #767676;
	font-size: 18px;
}

.kf_side_posts a:hover {
	color: var(--kf_primary);
}

.kf_side_empty {
	margin: 0;
	color: var(--kf_text);
}

/* 文章列表的搜尋結果說明 */
.kf_article_search_note {
	margin: 0 0 24px;
	color: var(--kf_text);
}

/* 文章內頁：標題、封面圖、內文、回列表按鈕 */
.kf_article {
	min-width: 0;
	padding-bottom: 60px;
}

.kf_article_title {
	margin: 0 0 24px;
	color: #232323;
	font-size: 32px;
	font-weight: 600;
	line-height: 1.4;
}
@media (max-width: 767px) {
	.kf_article_title {
		font-size: 24px;
	}
}

.kf_article_cover {
	margin-bottom: 30px;
	overflow: hidden;
	border-radius: 4px;
}

.kf_article_cover img {
	display: block;
	width: 100%;
	height: auto;
}

.kf_article_content {
	color: var(--kf_text);
	font-size: 17px;
	line-height: 1.9;
	overflow-wrap: anywhere;
}

.kf_article_content img {
	max-width: 100%;
	height: auto;
}

.kf_article_back {
	margin-top: 40px;
}

.kf_article_back i {
	margin-right: 6px;
	font-size: 11px;
}

/* 隱私權政策內文 */
.kf_policy p,
.kf_policy li {
	color: var(--kf_text);
	font-size: 18px;
	line-height: 1.9;
}

/* 清單行高比段落略小（官網 33.3px） */
.kf_policy li {
	line-height: 1.85;
}

.kf_policy p {
	margin: 0 0 24px;
}

.kf_policy ul {
	margin: 0 0 24px;
	padding-left: 0;
}

.kf_policy strong {
	color: var(--kf_heading);
}

/* ===================================================================
   7. 聯絡我們：左表單、右地圖
=================================================================== */
.kf_contact_grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: stretch;
}
@media (max-width: 991px) {
	.kf_contact_grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}
}

/* 後台沒有設定地圖時，表單改為單欄置中 */
.kf_contact_grid.is_no_map {
	grid-template-columns: 1fr;
	max-width: 760px;
	margin: 0 auto;
}

.kf_contact_grid .kf_title {
	margin-bottom: 14px;
}

/* 資訊欄位說明（後台編輯器內容） */
.kf_contact_info p:last-child {
	margin-bottom: 0;
}

.kf_contact_info img {
	max-width: 100%;
	height: auto;
}

/* 送出後的感謝頁 */
.kf_contact_thanks {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}

.kf_contact_thanks .kf_btn {
	margin-top: 30px;
}

.kf_contact_form {
	margin-top: 22px;
}

.kf_contact_form .kf_btn {
	margin-top: 6px;
}

.kf_form_row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}
@media (max-width: 575px) {
	.kf_form_row {
		grid-template-columns: 1fr;
	}
}

.kf_field {
	margin-bottom: 18px;
}

.kf_field input,
.kf_field textarea {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid var(--kf_line);
	border-radius: 8px;
	background: #fff;
	color: var(--kf_ink);
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.85;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.kf_field input:focus,
.kf_field textarea:focus {
	outline: none;
	border-color: var(--kf_primary);
	box-shadow: 0 0 0 3px rgba(0, 130, 200, 0.12);
}

.kf_field textarea {
	min-height: 130px;
	resize: vertical;
}

.kf_field_error {
	display: block;
	margin-top: 4px;
	color: #b3261e;
	font-size: 14px;
	line-height: 1.5;
}

/* 送出結果訊息 */
.kf_form_msg {
	margin: 6px 0 22px;
	padding: 14px 18px;
	border-radius: 8px;
	font-weight: 600;
	line-height: 1.6;
}

.kf_form_msg.is_ok {
	background: #e7f6ec;
	border: 1px solid #b6e3c5;
	color: #1b7a3d;
}

.kf_form_msg.is_err {
	background: #fdeaea;
	border: 1px solid #f3c2c0;
	color: #b3261e;
}

/* 防機器人欄位：移出畫面，真人看不到 */
.kf_hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.kf_contact_map {
	min-height: 440px;
	overflow: hidden;
	border-radius: 16px;
	box-shadow: 0 24px 60px rgba(16, 28, 48, 0.14);
}
@media (max-width: 991px) {
	.kf_contact_map {
		min-height: 340px;
	}
}

.kf_contact_map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 440px;
	border: 0;
}
@media (max-width: 991px) {
	.kf_contact_map iframe {
		min-height: 340px;
	}
}

/* ===================================================================
   產品介紹頁（/product/{slug}）：上方圖片＋資訊、分頁（產品簡述／洽詢表單）、相關產品
=================================================================== */
.kf_pd {
	padding-bottom: 100px;
}
@media (max-width: 767px) {
	.kf_pd {
		padding-bottom: 60px;
	}
}

/* 上方：左圖右文 */
.kf_pd_top {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 40px;
	align-items: start;
}
@media (max-width: 991px) {
	.kf_pd_top {
		grid-template-columns: 1fr;
		gap: 30px;
	}
}

/* 圖片輪播：大圖區（正方形，切換時淡入淡出） */
.kf_pd_stage {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	border-radius: 6px;
	background: var(--kf_soft);
}

.kf_pd_slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.4s;
}

.kf_pd_slide.active {
	opacity: 1;
}

/* 大圖左右箭頭 */
.kf_pd_arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 4px;
	background: var(--kf_primary);
	color: #fff;
	transform: translateY(-50%);
	cursor: pointer;
	transition: background 0.3s;
}

.kf_pd_arrow:hover {
	background: var(--kf_hover);
}

.kf_pd_arrow.is_prev {
	left: 12px;
}

.kf_pd_arrow.is_next {
	right: 12px;
}

/* 縮圖列 */
.kf_pd_thumbs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-top: 10px;
}

.kf_pd_thumb {
	overflow: hidden;
	aspect-ratio: 1 / 1;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 4px;
	background: var(--kf_soft);
	cursor: pointer;
	opacity: 0.6;
	transition: opacity 0.3s, border-color 0.3s;
}

.kf_pd_thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.kf_pd_thumb.active,
.kf_pd_thumb:hover {
	border-color: var(--kf_primary);
	opacity: 1;
}

/* 產品資訊 */
.kf_pd_title {
	margin: 0 0 18px;
	color: var(--kf_heading);
	font-size: 26px;
	font-weight: 700;
	line-height: 1.4;
}
@media (max-width: 767px) {
	.kf_pd_title {
		font-size: 22px;
	}
}

.kf_pd_summary {
	margin: 0 0 24px;
	color: var(--kf_text);
	font-size: 1rem;
	line-height: 1.9;
}

/* 材質、產業應用、標籤 */
.kf_pd_meta {
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
	font-size: 0.95rem;
	line-height: 1.9;
}

.kf_pd_meta span {
	color: var(--kf_heading);
	font-weight: 600;
}

.kf_pd_meta a {
	color: var(--kf_primary);
}

.kf_pd_meta a:hover {
	color: var(--kf_hover);
}

/* 洽詢報價按鈕：滿版 */
.kf_pd_inquiry_btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	border: 0;
	cursor: pointer;
}

/* 原廠自有製造能力說明框 */
.kf_pd_cap {
	margin-top: 24px;
	padding: 22px 24px;
	border-left: 4px solid var(--kf_primary);
	background: var(--kf_soft);
}

.kf_pd_cap_title {
	margin: 0 0 10px;
	color: var(--kf_heading);
	font-size: 1.05rem;
	font-weight: 700;
}

.kf_pd_cap_title i {
	margin-right: 6px;
	color: var(--kf_primary);
}

.kf_pd_cap p {
	margin: 0;
	color: var(--kf_text);
	font-size: 0.95rem;
	line-height: 1.8;
}

/* 分頁：產品簡述／洽詢表單 */
.kf_pd_tabs {
	margin-top: 60px;
	scroll-margin-top: 100px;
}

.kf_pd_tab_nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 30px;
}

.kf_pd_tab_btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 22px;
	border: 0;
	border-radius: 30px;
	background: var(--kf_soft);
	color: var(--kf_heading);
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s, color 0.3s;
}

.kf_pd_tab_btn.active,
.kf_pd_tab_btn:hover {
	background: var(--kf_primary);
	color: #fff;
}

.kf_pd_tab_panel {
	display: none;
}

.kf_pd_tab_panel.active {
	display: block;
}

/* 產品內文的段落標題：左側藍色直線（比照官網） */
.kf_pd_content h2 {
	margin: 40px 0 20px;
	padding-left: 14px;
	border-left: 4px solid var(--kf_primary);
	font-size: 1.6rem;
}
@media (max-width: 767px) {
	.kf_pd_content h2 {
		font-size: 1.3rem;
	}
}

.kf_pd_content h2:first-child {
	margin-top: 0;
}

/* 洽詢表單送出結果提示 */
.kf_pd_notice {
	margin-bottom: 20px;
	padding: 14px 18px;
	border-radius: 4px;
	font-size: 0.95rem;
}

.kf_pd_notice.is_success {
	background: #e8f6ee;
	color: #1e7a46;
}

.kf_pd_notice.is_error {
	background: #fdecec;
	color: #b42318;
}

.kf_pd_form {
	max-width: 860px;
}

/* 相關產品：橫向捲動 */
.kf_pd_related {
	margin-top: 80px;
}

.kf_pd_related_title {
	margin: 0 0 24px;
	color: var(--kf_heading);
	font-size: 1.6rem;
	font-weight: 700;
}

.kf_pd_related_track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 72px) / 4);
	gap: 24px;
	overflow-x: auto;
	padding-bottom: 12px;
	scroll-snap-type: x mandatory;
}
@media (max-width: 991px) {
	.kf_pd_related_track {
		grid-auto-columns: calc((100% - 24px) / 2);
	}
}
@media (max-width: 575px) {
	.kf_pd_related_track {
		grid-auto-columns: 80%;
	}
}

.kf_pd_related_track .kf_item_box {
	scroll-snap-align: start;
}

.kf_pd_related_track .kf_item_title {
	font-size: 1rem;
}

/* Product gallery: one scrollable thumbnail row and icon-led specifications. */
.kf_pd_gallery,.kf_pd_info{min-width:0}
.kf_pd_thumbs{display:flex;flex-wrap:nowrap;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding:3px 0 10px;position:relative}
.kf_pd_thumbs .kf_pd_thumb{flex:0 0 calc((100% - 40px)/5);min-width:0;scroll-snap-align:center;aspect-ratio:1}
.kf_pd_thumb img{width:100%;height:100%;object-fit:contain}
.kf_pd_meta{display:flex;gap:0;margin:28px 0;padding:0;list-style:none}
.kf_pd_meta li{display:flex;align-items:flex-start;gap:14px;flex:1;min-width:0;padding:4px 20px}
.kf_pd_meta li:first-child{padding-left:0}
.kf_pd_meta li+li{border-left:1px solid #d6dde3}
.kf_pd_meta li>svg{width:30px;height:30px;flex-shrink:0;color:#12364d;stroke-width:1.5}
.kf_pd_meta_text{min-width:0;line-height:1.7;font-size:14px;overflow-wrap:anywhere}
.kf_pd_meta .kf_pd_meta_text>span{display:block;margin-bottom:6px;font-size:16px;color:#12364d;font-weight:700}
@media(max-width:600px){.kf_pd_meta{flex-direction:column;gap:16px}.kf_pd_meta li{padding:0}.kf_pd_meta li+li{border-left:0;border-top:1px solid #d6dde3;padding-top:16px}.kf_pd_thumbs .kf_pd_thumb{flex-basis:calc((100% - 20px)/3)}}

.kf_pd_meta li>.lucide-host{font-size:42px;width:42px;height:42px;color:#12364d;flex-shrink:0}
.kf_pd_stage{touch-action:pan-y;cursor:grab;user-select:none}
.kf_pd_stage:active{cursor:grabbing}
.kf_pd_stage img{-webkit-user-drag:none}
.kf_pd_thumbs{scrollbar-width:thin}

/* Keep the three specification columns; list each value on its own line. */
.kf_pd_meta_text>a,.kf_pd_meta_value{display:block;line-height:1.8}
.kf_pd_meta_text>a+a,.kf_pd_meta_value+.kf_pd_meta_value{margin-top:6px}
/* Manufacturing process swipe interaction. */
.kf_proc{touch-action:pan-y;cursor:grab;user-select:none}
.kf_proc.is_dragging{cursor:grabbing}
.kf_proc img{-webkit-user-drag:none}
@media(prefers-reduced-motion:reduce){.kf_proc_item,.kf_proc_tl_item{transition:none!important}}
