/* ==========================================================================
   萃暘物理治療所 全站樣式
   - 區塊 HTML 貼在頁面裡（.cy-section），頁尾是 Blocksy Content Block（.cy-footer），
     頁首由 Blocksy 頁首建構器輸出，這裡只做微調。
   - 手機版（< 768）照 Figma 375 設計稿；平板（768–1023）、電腦（≥ 1024）為延伸版面。
   - 樣式重設只作用在 .cy-section / .cy-footer / .cy-bnav 內，不影響其他頁面內容。
   ========================================================================== */

:root {
	--cy-primary: #007680;
	--cy-primary-dark: #006970;
	--cy-primary-line: #008996;
	--cy-lime: #B7CF0A;
	--cy-cyan: #7DCDD3;
	--cy-line-green: #1FBE2F;
	--cy-text: #404040;
	--cy-text-2: #666666;
	--cy-text-3: #949494;
	--cy-ink: #0A0A12;
	--cy-bg: #F0F3F8;
	--cy-surface: #F8F9FA;
	--cy-border: #D9D9D9;
	--cy-font: 'Noto Sans TC', 'Noto Sans', system-ui, -apple-system, 'PingFang TC', 'Microsoft JhengHei', sans-serif;
	--cy-font-en: 'Inter', var(--cy-font);
	--cy-bnav-h: 68px; /* 底部留白較設計稿（87px）縮短 */
}

/* ---------- 範圍內的基礎重設 ---------- */
.cy-section,
.cy-footer,
.cy-bnav {
	font-family: var(--cy-font);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	box-sizing: border-box;
}
.cy-section *,
.cy-footer *,
.cy-bnav * { box-sizing: border-box; }
.cy-section { color: var(--cy-text); font-size: 16px; }
/* 重設用 :where() 讓權重只剩外層 class，元件自己的樣式（同權重、寫在後面）才蓋得過；
   頁尾在 Blocksy 的 .entry-content 裡，連結另外用 #footer 提高權重壓過主題的連結色 */
.cy-section :where(a), .cy-bnav :where(a) { color: inherit; text-decoration: none; }
.cy-section :where(a):hover { color: inherit; }
.cy-section :where(button), .cy-footer :where(button) {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}
.cy-section :where(img), .cy-footer :where(img) { display: block; max-width: 100%; height: auto; }
.cy-section :where(h1, h2, h3, p), .cy-footer :where(h2, p) { margin: 0; color: inherit; }
.cy-section :where(ul, ol), .cy-footer :where(ul, ol) { margin: 0; padding: 0; list-style: none; }
#footer .cy-footer :where(a) { color: inherit; text-decoration: none; }
#footer .cy-footer :where(a):hover { color: var(--cy-lime); }

.cy-page { background: var(--cy-bg); }

.cy-container {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 28px;
}

.cy-empty {
	padding: 40px 0;
	text-align: center;
	color: var(--cy-text-3);
}
.cy-noimg {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #E4E8EE, #CDD5DE);
}

/* ---------- 按鈕 ---------- */
.cy-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	min-width: 189px;
	padding: 0 16px;
	border-radius: 10px;
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
	color: var(--cy-ink);
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.cy-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0, 0, 0, .12); }
.cy-btn--lime { background: var(--cy-lime); }
.cy-btn--outline { border: 1px solid #000; background: #F6F6F6; } /* 實色底、與區塊淺灰背景幾乎同色，壓在儀器圖淡出區上也清楚 */

/* 漢堡選單裡的 LINE 按鈕（Blocksy text 項目） */
.cy-btn-line--wide {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 48px;
	border-radius: 10px;
	background: var(--cy-line-green);
	color: var(--cy-ink) !important;
	font-size: 16px;
	text-decoration: none !important;
}

/* ---------- 主視覺 ---------- */
.cy-hero {
	position: relative;
	height: 492px;
	overflow: hidden;
	background: #0F0909;
	color: #fff;
}
.cy-hero__media,
.cy-hero__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center top;
}
.cy-hero__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(9, 9, 9, 0) 0%, #090909 100%);
}
.cy-hero__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	height: 100%;
	padding: 0 38px 51px;
}
.cy-hero__eyebrow {
	margin-left: -0.06em; /* 補 Inter 的 C 字左側留白，視覺上與中文切齊 */
	font-family: var(--cy-font-en);
	font-size: 30px;
	font-weight: 500;
	line-height: 36px;
	letter-spacing: .9px;
	color: var(--cy-lime);
	text-shadow: 0 4px 4px rgba(0, 0, 0, .25);
}
.cy-hero__title {
	font-size: 30px;
	font-weight: 500;
	line-height: 36px;
	letter-spacing: .9px;
	color: #F5F5F5;
	text-shadow: 0 4px 4px rgba(0, 0, 0, .25);
}
.cy-hero__sub {
	margin-top: 2px;
	font-size: 16px;
	line-height: 26px; /* 文案手機為兩行 */
	color: rgba(255, 255, 255, .9); /* 不縮排，與上方兩行左緣切齊 */
}
.cy-hero__cta { margin-top: 72px; align-self: center; }
/* 文案較長：標題與副標在逗號處用 inline-block 斷行，手機兩行、平板以上仍一行 */
.cy-hero__title span,
.cy-hero__sub span { display: inline-block; }

/* 緞帶：設計稿 SVG 是上直下圓角的漸層帶，用 CSS 畫同樣形狀 */
.cy-ribbon {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 88px;
	background: linear-gradient(to bottom, #FEFEFE 0%, #D2D2D2 100%);
	border-radius: 0 0 80px 80px;
}
.cy-ribbon__text {
	font-size: 24px;
	font-weight: 500;
	line-height: 32px;
	color: var(--cy-text);
}
.cy-ribbon__text strong {
	font-size: 44px;
	font-weight: 500;
	color: var(--cy-primary);
}

/* ---------- 三大追求卡片 ---------- */
.cy-pursuits { padding: 28px 0 42px; }
.cy-pursuits__grid {
	display: grid;
	gap: 20px;
	justify-items: center;
}
.cy-pcard {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 300px;
	max-width: 100%;
	height: 172px; /* 文案為兩行，卡片加高 12px */
	padding: 22px 0 0 30px; /* 文字往左移，避開右側 X 光圖 */
	border-radius: 18px;
	overflow: hidden;
	background: var(--cy-pcard-bg, #282827);
	box-shadow: 0 2px 4px rgba(22, 22, 23, .1);
	color: #fff;
}
.cy-pcard--light { color: var(--cy-text); }
.cy-section .cy-pcard__img { /* X 光圖靠右、左緣淡出到卡片底色，文字不壓到圖 */
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 56%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: right center;
	-webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, #000 38%);
	mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, #000 38%);
}
.cy-pcard__title {
	position: relative;
	font-size: 20px;
	font-weight: 600;
	line-height: 33px;
}
.cy-pcard--light .cy-pcard__title { font-weight: 500; }
.cy-pcard__text {
	position: relative;
	max-width: 11.5em; /* 文案兩行，每行最多 11 字，不壓到右側 X 光圖 */
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0;
}
.cy-pcard__text span { display: inline-block; } /* 在逗號處斷行 */
.cy-pcard__arrow {
	position: absolute;
	left: 30px;
	top: auto;
	bottom: 20px; /* 文字變兩行後箭頭改貼卡片底部 */
	display: flex;
	align-items: center;
	justify-content: center;
	width: 35px;
	height: 35px;
	border-radius: 50%;
	background: #E0E0E0;
	transition: transform .15s ease;
}
.cy-pcard__arrow:hover { transform: translateX(3px); }
.cy-pcard__arrow img { width: 22px; height: 22px; }

/* ---------- 區塊標題 ---------- */
.cy-sec-title {
	font-size: 22px;
	font-weight: 500;
	line-height: 33px;
	color: var(--cy-text);
}
.cy-sec-title span { font-weight: 400; color: var(--cy-primary); }
.cy-sec-title--center { text-align: center; }

.cy-sec-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
}
.cy-sec-head__title {
	position: relative;
	padding-bottom: 3px;
	font-size: 20px;
	font-weight: 500;
	line-height: 33px;
	letter-spacing: 1.4px;
}
.cy-sec-head__title::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0; /* 底線與標題文字同寬 */
	bottom: 0;
	height: 3px;
	background: var(--cy-primary);
}
.cy-sec-head__more {
	margin-bottom: 4px;
	font-size: 15px;
	font-weight: 500;
	line-height: 33px;
	color: #7E7E7E;
}
.cy-sec-head__more:hover { color: var(--cy-primary); }

/* ---------- 服務項目 ---------- */
.cy-pills-wrap { margin-top: 19px; text-align: center; }
.cy-pills {
	display: inline-flex;
	max-width: 100%;
	height: 52px;
	padding: 6px;
	background: #fff;
	border-radius: 182px;
	text-align: left;
}
.cy-pills__tab {
	min-width: 92px;
	height: 39px;
	padding: 0 12px 2px;
	border-radius: 78px;
	font-size: 15px;
	line-height: 1;
	color: #535353;
	white-space: nowrap;
	transition: background-color .15s ease, color .15s ease;
}
.cy-pills__tab.is-active {
	background: #E9E9E9;
	color: var(--cy-text);
	font-weight: 500;
}
.cy-services__stage {
	margin-top: 37px;
	background: linear-gradient(162deg, #FAFAFA 36%, #E6E6E6 112%);
}

.cy-carousel { position: relative; }
.cy-services .cy-carousel { padding: 53px 0 41px; }
.cy-slide { display: none; }
.cy-slide.is-active { display: block; }
.cy-slide__title {
	text-align: center;
	font-size: 24px;
	font-weight: 600;
	line-height: 33px;
	color: var(--cy-text);
}
.cy-slide__sub {
	margin-top: 9px;
	text-align: center;
	font-size: 16px;
	line-height: 26px; /* 文案手機為兩行 */
	color: #7D7D7D;
}
.cy-slide__sub span { display: inline-block; } /* 在逗號處斷行 */
.cy-slide__text { padding: 0 28px; } /* 手機版服務輪播容器滿版無內距，文字區自己留邊，較長的副標才會在逗號處斷行 */
.cy-slide__media {
	display: flex;
	justify-content: center;
	height: 330px;
	margin-top: 12px;
	-webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
}
.cy-section .cy-slide__media img {
	height: 100%;
	width: auto;
	max-width: 100%;
	object-fit: contain;
}
.cy-slide__actions { margin-top: -14px; text-align: center; }

.cy-arrow {
	position: absolute;
	top: 290px;
	left: 25px;
	width: 28px;
	height: 48px;
	z-index: 2;
}
.cy-arrow--next { left: auto; right: 25px; }
.cy-arrow::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 16px;
	height: 16px;
	border-left: 2px solid #CFCFCF;
	border-bottom: 2px solid #CFCFCF;
	transform: translate(-30%, -50%) rotate(45deg);
	transition: border-color .15s ease;
}
.cy-arrow--next::before { transform: translate(-70%, -50%) rotate(-135deg); }
.cy-arrow:hover::before { border-color: var(--cy-primary); }

.cy-dots {
	display: flex;
	justify-content: center;
	gap: 6.5px;
	margin-top: 25px;
}
.cy-dots__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #CCCCCC;
}
.cy-dots__dot.is-active { background: #767676; }
.cy-carousel--single .cy-arrow,
.cy-carousel--single .cy-dots { display: none; }

/* ---------- WHY CHILL YOUNG ---------- */
.cy-why {
	position: relative;
	padding: 32px 0 64px;
	overflow: hidden;
	background: #012224 url(../img/why-bg-v2.jpg) center / cover no-repeat; /* WHY 區背景圖 */
	color: #fff;
}
.cy-why__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.cy-why__eyebrow {
	font-size: 14px;
	font-weight: 600;
	line-height: 33px;
	color: var(--cy-lime);
}
.cy-why__pill {
	display: inline-flex;
	align-items: center;
	height: 50px;
	margin-top: 5px;
	padding: 0 24px;
	border: .5px solid #fff;
	border-radius: 60px;
	font-size: 20px;
	font-weight: 500;
	color: #DDDDDD;
}
.cy-why__q {
	margin: 39px -16px 0; /* 設計稿的灰底比內容區寬 */
	padding: 10px;
	background: #3D3D3D;
	font-size: clamp(16px, 5vw, 20px); /* 窄螢幕縮小字級 */
	font-weight: 500;
	line-height: 33px;
	letter-spacing: 0;
	color: #fff;
}
.cy-why__q span { display: inline-block; } /* 文案較長：手機在逗號處斷成兩行，平板以上一行 */
.cy-why__q em { font-style: normal; color: var(--cy-lime); }

.cy-why__carousel {
	width: 100%;
	margin-top: 45px;
}
.cy-why__slide {
	display: none;
	align-items: flex-start;
	justify-content: center;
	gap: 14px;
}
.cy-why__slide.is-active { display: flex; }
.cy-why__num {
	font-family: 'Jost', var(--cy-font-en); /* 設計稿為 macOS 的 Oriya MN Bold，無法上網站，Jost 為最接近的免費字體 */
	font-size: 108px;
	font-weight: 700;
	line-height: .75; /* 行高貼齊數字字高，數字頂端才會與右側文字頂端切齊（同設計稿） */
	color: var(--cy-lime);
}
.cy-why__copy { text-align: left; }
.cy-why__copy strong,
.cy-why__copy span {
	display: block;
	font-size: 18px;
	font-weight: 400;
	line-height: 25px;
}
.cy-why__copy strong { color: var(--cy-lime); }
.cy-why .cy-arrow { top: 19px; }

.cy-why__text {
	width: 100%;
	max-width: 287px;
	margin-top: 20px;
	text-align: left;
	font-size: 16px;
	line-height: 28px;
	color: #F8F9FA;
}

/* ---------- 橫向捲動列表的左右箭頭 ---------- */
.cy-scroller { position: relative; }
.cy-scroller__btn {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: none;
	width: 36px;
	height: 36px;
	margin-top: -18px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
	transition: opacity .15s ease, transform .15s ease;
}
.cy-scroller.is-scrollable .cy-scroller__btn { display: block; }
.cy-scroller__btn--prev { left: -12px; }
.cy-scroller__btn--next { right: -12px; }
.cy-scroller__btn::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 9px;
	height: 9px;
	border-left: 2px solid var(--cy-text);
	border-bottom: 2px solid var(--cy-text);
	transform: translate(-30%, -50%) rotate(45deg);
}
.cy-scroller__btn--next::before { transform: translate(-70%, -50%) rotate(-135deg); }
.cy-scroller__btn:hover { transform: scale(1.06); }
.cy-scroller__btn[disabled] { opacity: .35; pointer-events: none; }

/* ---------- 案例分享 ---------- */
.cy-cases { padding: 30px 0 40px; }
.cy-cases__track {
	display: flex;
	gap: 16px;
	margin: 27px -28px 0;
	padding: 4px 28px 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.cy-cases__track::-webkit-scrollbar { display: none; }
.cy-case {
	flex: 0 0 320px;
	max-width: calc(100vw - 56px);
	scroll-snap-align: center;
	background: #fff;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 4px 7px rgba(0, 0, 0, .15);
}
.cy-case__media {
	display: block;
	aspect-ratio: 4 / 3; /* 與 e訊縮圖同比例，隨卡片寬度縮放 */
	background: #EEE;
}
.cy-section .cy-case__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.cy-case__body { padding: 19px 22px 24px; }
.cy-case__title {
	font-size: 17px;
	font-weight: 500;
	line-height: 24px;
	color: #5C5C5C;
}
.cy-case__title a:hover { color: var(--cy-primary); }
.cy-case__excerpt {
	margin-top: 8px;
	font-size: 15px;
	line-height: 22px;
	color: #949494;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.cy-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 20px;
}
.cy-tag {
	display: inline-flex;
	align-items: center;
	height: 28px;
	padding: 0 10px 2px; /* 中文字在行框內偏下，底部多 2px 讓字視覺置中 */
	border-radius: 116px;
	background: var(--cy-lime);
	color: var(--cy-text);
	font-size: 13px; /* 手機卡片 276px 寬要放得下三個分類 */
	line-height: 1;
	letter-spacing: 0;
	white-space: nowrap;
	transition: background-color .15s ease;
}
.cy-tag:hover { background: #C8DE2A; color: var(--cy-text); }

/* ---------- 萃暘e訊 ---------- */
.cy-news { padding: 30px 0 48px; }
.cy-tabs-wrap { margin-top: 21px; text-align: center; }
.cy-tabs {
	display: inline-flex;
	max-width: 100%;
	height: 48px;
	padding: 6px;
	background: var(--cy-surface);
	border-radius: 10px;
	text-align: left;
}
.cy-tabs__tab {
	min-width: 92px;
	height: 36px;
	padding: 0 12px 2px;
	border-radius: 8px;
	font-size: 15px;
	line-height: 1;
	color: var(--cy-text);
	white-space: nowrap;
	transition: background-color .15s ease, color .15s ease;
}
.cy-tabs__tab.is-active {
	background: var(--cy-primary);
	color: #fff;
	font-weight: 500;
}
.cy-news__panel[hidden] { display: none; }
.cy-news__list { margin-top: 35px; }
.cy-news__item {
	display: grid;
	grid-template-columns: 145px 1fr;
	gap: 10px;
	align-items: start;
	margin-bottom: 7px;
	padding-bottom: 24px;
	border-bottom: .5px solid #BBC4D5;
}
.cy-news__thumb {
	display: block;
	width: 145px;
	aspect-ratio: 4 / 3; /* 與案例卡片同比例 */
	border-radius: 12px;
	overflow: hidden;
	background: #EEE;
}
.cy-section .cy-news__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.cy-news__title {
	font-size: 16px;
	font-weight: 400;
	line-height: 20px;
	color: var(--cy-text);
}
.cy-news__title a:hover { color: var(--cy-primary); }

/* ---------- 內頁共用：頁首色帶、帶底線的置中標題 ---------- */
.cy-pband {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 280px;
	overflow: hidden;
	background: #DDE3C2;
	text-align: center;
}
.cy-section .cy-pband__bg,
.cy-section .cy-pband__bg img { /* <img> 或 <picture>（手機原圖、平板以上用 延伸的寬圖） */
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}
.cy-pband__content { position: relative; }
.cy-pband__eyebrow {
	font-family: var(--cy-font-en);
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	letter-spacing: 1px;
	color: #1F1F1F;
}
.cy-pband__title {
	margin-top: 4px;
	font-size: 30px; /* 較設計稿（26px）加大 */
	font-weight: 500;
	line-height: 42px;
	letter-spacing: 2px;
	color: #000;
}
/* 內頁置中標題：字級、字距、底線完全沿用首頁區塊標題（.cy-sec-head__title），全站一致 */
.cy-ptitle {
	position: relative;
	display: inline-block;
	padding-bottom: 3px;
	font-size: 22px; /* 手機 22px，電腦 28px */
	font-weight: 500;
	line-height: 34px;
	letter-spacing: 1.4px;
	color: #292929;
}
.cy-ptitle::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0; /* 底線與文字同寬 */
	bottom: 0;
	height: 3px;
	background: var(--cy-primary);
}
.cy-ptitle--light { color: #fff; }
.cy-ptitle--light::after { background: var(--cy-lime); }
.cy-ptitle--lime::after { background: var(--cy-lime); } /* 淺底、萊姆綠線（治療師團隊） */

/* ---------- 萃暘理念：品牌象徵 ---------- */
.cy-intro { padding: 58px 0 47px; background: #FAFAFA; text-align: center; }
.cy-intro__inner { display: flex; flex-direction: column; align-items: center; }
.cy-section .cy-intro__logo { width: 120px; height: auto; }
.cy-intro__rule { width: 100%; height: 1px; margin-top: 58px; background: var(--cy-lime); } /* 手機推滿內容寬 */
.cy-intro__text {
	margin-top: 30px; /* 手機推滿內容寬（319px 一行 18 字） */
	font-size: 16px;
	line-height: 24px;
	color: var(--cy-text-2);
}

/* ---------- 萃暘理念：WHY CHILL YOUNG ---------- */
.cy-reasons { padding: 38px 0 59px; background: var(--cy-bg); text-align: center; }
.cy-reasons__title {
	font-size: 20px;
	font-weight: 500;
	line-height: 24px;
	letter-spacing: 0;
	color: #1F1F1F;
}
.cy-reasons__title span { font-weight: 700; color: var(--cy-primary); }
.cy-reasons__sub { margin-top: 11px; font-size: 16px; line-height: 24px; color: var(--cy-text); }
.cy-reasons__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr)); /* 手機推滿內容寬（設計稿 150×2） */
	justify-content: center;
	gap: 14px 11px;
	margin-top: 39px;
}
.cy-rcard {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 20px 8px 8px;
	border-radius: 16px;
	background: var(--cy-surface); /* 與圖示底色相同，圖片邊界才看不出來 */
}
.cy-section .cy-rcard img { width: 88px; height: 88px; }
.cy-rcard span { margin-top: 10px; font-size: 16px; line-height: 24px; color: #1F1F1F; }

/* ---------- 萃暘理念：品牌精神 ---------- */
.cy-spirit { padding: 34px 0 53px; background: var(--cy-primary); color: #fff; text-align: center; }
.cy-spirit__inner { display: flex; flex-direction: column; align-items: center; }
.cy-spirit__list { display: grid; gap: 32px; margin-top: 37px; }
.cy-spirit__item { display: flex; flex-direction: column; align-items: center; }
.cy-spirit__circle { display: flex; align-items: center; justify-content: center; width: 90px; height: 90px; border-radius: 50%; background: #6CADB2; }
.cy-section .cy-spirit__circle img { width: 48px; height: 48px; } /* 品牌精神圖示（白色） */
.cy-spirit__name {
	margin-top: 13px;
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	letter-spacing: 0;
	color: #fff;
}
.cy-spirit__desc { font-size: 16px; line-height: 24px; color: #fff; }

/* ---------- 萃暘理念：品牌沿革（時間軸） ----------
   兩欄 grid，每筆跨兩列、左右交錯各往下錯開一列，右欄會從左欄的半途開始（同設計稿的交錯排法），
   高度跟著文字長度走。 */
.cy-history { position: relative; isolation: isolate; padding: 52px 0 72px; overflow: hidden; background: #FAFAFA; } /* isolate：讓 z-index -1 的裝飾大圓墊在文字下、區塊底色上 */
.cy-history__inner { display: flex; flex-direction: column; align-items: center; }
.cy-history__en {
	margin-top: 14px;
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	letter-spacing: .5px;
	color: #1F1F1F;
}
.cy-timeline {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 52px;
	row-gap: 40px;
	width: 100%;
	max-width: 860px;
	margin-top: 15px;
}
.cy-timeline::before { /* 中線：第一個圓點中心到結尾圓點 */
	content: "";
	position: absolute;
	top: 9px;
	bottom: 9px;
	left: 50%;
	width: 1px;
	margin-left: -.5px;
	background: #CEE5E5; /* 與外圈裝飾大圓同色 */
}
.cy-timeline::after { /* 裝飾大圓，圓頂落在第一個圓點中心（同設計稿），畫在最底層不壓到字 */
	content: "";
	position: absolute;
	z-index: -1;
	top: 9px;
	left: 50%;
	width: 714px;
	height: 714px;
	margin-left: -357px;
	border: 1.5px solid #CEE5E5;
	border-radius: 50%;
	pointer-events: none;
}
.cy-tl { position: relative; grid-row: span 2; align-self: start; padding-top: 26px; }
.cy-tl:nth-child(odd) { grid-column: 1; text-align: right; }
.cy-tl:nth-child(even) { grid-column: 2; text-align: left; }
/* 列的起點逐筆往下一列（最多 8 筆） */
.cy-tl:nth-child(1) { grid-row: 1 / span 2; }
.cy-tl:nth-child(2) { grid-row: 2 / span 2; }
.cy-tl:nth-child(3) { grid-row: 3 / span 2; }
.cy-tl:nth-child(4) { grid-row: 4 / span 2; }
.cy-tl:nth-child(5) { grid-row: 5 / span 2; }
.cy-tl:nth-child(6) { grid-row: 6 / span 2; }
.cy-tl:nth-child(7) { grid-row: 7 / span 2; }
.cy-tl:nth-child(8) { grid-row: 8 / span 2; }
.cy-tl__dot,
.cy-timeline__end {
	position: absolute;
	top: 0;
	width: 18px;
	height: 18px;
	border: 2px solid var(--cy-primary);
	border-radius: 50%;
	background: #FAFAFA;
	box-shadow: 0 0 0 5px #FAFAFA; /* 圓點與中線之間留一小段空隙（同設計稿） */
}
.cy-tl:nth-child(odd) .cy-tl__dot { right: -35px; } /* 欄距 52 的一半 + 圓點半徑 */
.cy-tl:nth-child(even) .cy-tl__dot { left: -35px; }
.cy-tl:nth-child(even) .cy-tl__dot { background: var(--cy-primary); } /* 第 2、4 筆（2020、2024）實心，同設計稿 */
.cy-tl__year {
	display: block;
	font-size: 20px;
	font-weight: 600;
	line-height: 24px;
	letter-spacing: 0;
	color: var(--cy-primary);
}
.cy-tl__title {
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	letter-spacing: 0;
	color: var(--cy-primary);
}
.cy-tl__text { font-size: 16px; line-height: 25px; letter-spacing: 0; color: #333; } /* 取消全站字距，手機窄欄才放得下一行 8 字（同設計稿） */
/* 中線隨捲動填色（只有線段變色，文字與圓點不變）：
   site.js 依「螢幕 60% 高的位置掃過時間軸的比例」寫 --cy-tl-progress（0～1），.cy-timeline__fill 用 scaleY 畫出
   3px 萊姆綠線壓在 1px 灰中線上；圓點 z-index 抬高，圓點周圍留白仍蓋住線。 */
.cy-tl__dot,
.cy-timeline__end { z-index: 1; }
.cy-timeline__fill {
	position: absolute;
	top: 9px;
	bottom: 9px;
	left: 50%;
	width: 3px;
	margin-left: -1.5px;
	background: var(--cy-lime);
	transform: scaleY(var(--cy-tl-progress, 0));
	transform-origin: top center;
	transition: transform .15s linear;
	pointer-events: none;
}
.cy-history__cta { margin-top: 40px; } /* 時間軸下方的「LINE 預約／諮詢」鈕，href="#ct-popup-629" 直接開 Blocksy Popup Content Block「LINE 選店視窗」 */
.cy-timeline__end {
	position: relative;
	grid-column: 1 / -1;
	justify-self: center;
	margin-top: -16px;
}

/* ---------- 執行長的話 ----------
   開頭引言 → 四個 .cy-ceo__row（照片 + 文字區塊）。手機直式；電腦兩欄，單數列照片在左、雙數列照片在右（交錯）。 */
.cy-ceo { padding: 90px 0 65px; background: #FAFAFA; }
.cy-ceo__inner { display: flex; flex-direction: column; align-items: center; }
.cy-ceo__lead { width: 100%; text-align: center; }
.cy-ceo__quote {
	margin: 0 -28px; /* 設計稿引言比內容區寬，一行放完 */
	font-size: clamp(16px, 5.1vw, 20px);
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0;
	white-space: nowrap;
	color: var(--cy-primary);
}
.cy-ceo__by {
	margin-top: 16px;
	padding-right: 18px;
	text-align: right;
	font-size: 16px;
	line-height: 24px;
	color: var(--cy-text-2);
}
.cy-ceo__row {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	margin-top: 40px;
}
.cy-ceo__lead + .cy-ceo__row { margin-top: 75px; }
.cy-ceo__photo {
	width: 100%; /* 手機推滿內容寬（設計稿 340 比內容區寬，統一用內容寬） */
	aspect-ratio: 16 / 9;
	border-radius: 12px;
	overflow: hidden;
	background: #E4E8EE;
}
.cy-section .cy-ceo__photo img { width: 100%; height: 100%; object-fit: cover; }
.cy-ceo__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	margin-top: 24px;
}
.cy-ceo__text {
	width: 100%; /* 手機推滿內容寬（設計稿 262px 欄太窄） */
	font-size: 16px;
	line-height: 24px;
	color: var(--cy-text);
}
/* 間距照設計稿截圖：小標底線 → 引言 30px、引言 → 內文 24px、小標 → 內文 32px */
.cy-ptitle + .cy-ceo__text { margin-top: 32px; }
.cy-ptitle + .cy-ceo__quote--small { margin-top: 30px; }
.cy-ceo__quote--small {
	margin: 0;
	font-size: 16px;
	line-height: 24px;
	white-space: normal;
}
.cy-ceo__quote--small + .cy-ceo__text { margin-top: 24px; }

/* 內頁底部 CTA 帶（企業合作邀請、之後服務頁的 LINE 預約可共用） */
.cy-cta {
	padding: 75px 0;
	background: #EFEFEF var(--cy-cta-bg, none) center top / 960px auto repeat; /* 背景格紋圖由頁面 HTML 用 --cy-cta-bg 指定（媒體庫）；縮成一半重複拼貼，細格紋才看得到 */
	text-align: center;
}
.cy-cta__btn { height: 48px; min-width: 281px; font-size: 16px; }

/* ---------- 治療師團隊 ----------
   標題 → 分院下拉（.cy-select，選了只顯示該分院的卡片）→ 治療師卡片。
   卡片依設計稿 282×376：上半文字（姓名／職稱／經歷），下半照片（目前佔位框）。 */
.cy-team { padding: 46px 0 72px; background: var(--cy-bg); }
.cy-team__inner { display: flex; flex-direction: column; align-items: center; }

.cy-select { position: relative; width: 242px; max-width: 100%; margin-top: 25px; }
.cy-select__btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 48px;
	padding: 0 18px 2px 20px;
	border: 1px solid #D9D9D9;
	border-radius: 8px;
	background: #fff;
	font-size: 16px;
	line-height: 1;
	color: var(--cy-text);
}
.cy-select__btn::after { /* 下拉箭頭：設計稿是細的 V */
	content: "";
	width: 9px;
	height: 9px;
	margin-top: -5px;
	border-right: 1.5px solid #8A8A8A;
	border-bottom: 1.5px solid #8A8A8A;
	transform: rotate(45deg);
	transition: transform .2s ease;
}
.cy-select__btn[aria-expanded="true"]::after { margin-top: 4px; transform: rotate(-135deg); }
.cy-select__list {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	z-index: 5;
	padding: 0; /* 不留上下內距，選中／hover 的底色才會貼到圓角邊 */
	overflow: hidden;
	background: #fff;
	border: 1px solid #D9D9D9;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
}
.cy-select__list[hidden] { display: none; }
.cy-select__opt {
	display: block;
	width: 100%;
	padding: 10px 20px 12px;
	text-align: left;
	font-size: 16px;
	line-height: 1;
	color: var(--cy-text);
}
.cy-select__opt:hover,
.cy-select__opt.is-selected { background: var(--cy-bg); color: var(--cy-primary); }

.cy-team__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr); /* 手機單欄滿版（auto 欄會縮成內容寬） */
	width: 100%; /* 外層是置中的 flex 欄，不加寬度會縮成內容寬 */
	gap: 37px;
	justify-items: center;
	margin-top: 37px;
}
/* 治療師卡（設計稿 282×376）：上方 1:1 照片，下方姓名＋職稱＋專長膠囊（第一個實心青色）。
   有詳細資料的卡加 .cy-tcard--more：hover／focus／手機點一下，照片蓋上黑色半透明並顯示學經歷。 */
.cy-tcard {
	display: flex;
	flex-direction: column;
	width: 100%; /* 手機推滿內容寬；平板／電腦由 grid 欄寬 282 決定 */
	border-radius: 16px;
	overflow: hidden;
	isolation: isolate;
	background: #fff;
	box-shadow: 0 4px 7px rgba(0, 0, 0, .1);
}
.cy-tcard[hidden] { display: none; }
.cy-tcard--more { cursor: pointer; outline-offset: 3px; }
.cy-tcard__photo {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1; /* 照片正方形，跟著卡片寬（之前「縮小、直角」是照片檔自帶透明邊造成，與 aspect-ratio 無關） */
	border-radius: 16px 16px 0 0;
	overflow: hidden;
	background: #DDE1E6;
}
.cy-section .cy-tcard__photo img {
	position: absolute;
	inset: -3%; /* 上傳的照片檔四周帶約 2% 透明邊（1600px 寬有 33px），cover 時會露出底色、角看起來是直角；放大 6% 把邊裁掉 */
	display: block;
	width: 106%;
	height: 106%;
	max-width: none;
	border-radius: 16px 16px 0 0; /* 圖片自己切上圓角：不靠外層 overflow（Safari 不裁絕對定位子元素），也不用 clip-path（Chrome 會讓圖片整張消失） */
	object-fit: cover;
	object-position: center top;
}
.cy-tcard__cv {
	position: absolute;
	inset: 0;
	border-radius: 16px 16px 0 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 24px 16px;
	background: rgba(0, 0, 0, .55);
	color: #fff;
	text-align: center;
	font-size: 15px;
	line-height: 26px;
	letter-spacing: 0;
	opacity: 0;
	transition: opacity .25s ease;
}
.cy-tcard__cv li::before { content: "•"; margin-right: .5em; }
.cy-tcard--more:hover .cy-tcard__cv,
.cy-tcard--more:focus .cy-tcard__cv,
.cy-tcard--more.is-open .cy-tcard__cv { opacity: 1; }
.cy-tcard__info { padding: 14px 18px; } /* 設計稿：照片 282 + 資訊 94 = 376 */
.cy-tcard__name {
	display: flex;
	align-items: baseline;
	gap: 12px;
	font-size: 20px;
	font-weight: 500;
	line-height: 28px;
	letter-spacing: 0;
	color: var(--cy-text);
}
.cy-tcard__name span { font-size: 16px; font-weight: 400; color: var(--cy-text-3); }
.cy-tcard__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cy-tcard__tags li {
	display: inline-flex;
	align-items: center;
	height: 30px;
	padding: 0 8px 2px; /* 設計稿膠囊 72px 寬，三個排一行；底部 2px 讓字視覺置中 */
	border-radius: 15px;
	background: #EDEDED;
	font-size: 14px;
	line-height: 1;
	letter-spacing: 0;
	color: var(--cy-text);
	white-space: nowrap;
}
.cy-tcard__tags li.is-main { background: var(--cy-primary); color: #fff; }
.cy-team__empty { width: 100%; margin-top: 37px; padding: 48px 0; }
.cy-team__empty[hidden] { display: none; }

/* ---------- 服務據點 ----------
   下拉（全部據點／各店）→ 據點卡：照片（佔位）、店名、地址（Google Maps）與營業時間、三個膠囊按鈕。 */
.cy-locations { padding: 56px 0 72px; background: var(--cy-bg); }
.cy-locations__inner { display: flex; flex-direction: column; align-items: center; }
.cy-locations__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr); /* 手機單欄滿版 */
	gap: 50px;
	justify-items: center;
	width: 100%;
}
.cy-loccard { width: 100%; } /* 手機推滿內容寬（設計稿 315） */
.cy-loccard[hidden] { display: none; }
.cy-loccard__photo {
	position: relative;
	aspect-ratio: 4 / 3; /* 設計稿 315×236 */
	overflow: hidden;
	background: #D9D9D9;
}
.cy-loccard__noimg { display: block; width: 100%; height: 100%; }
.cy-section .cy-loccard__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cy-loccard__name {
	margin-top: 11px;
	padding-left: 4px;
	font-size: 20px;
	font-weight: 500;
	line-height: 33px;
	letter-spacing: 0;
	color: #1F1F1F;
}
.cy-loccard__meta { display: grid; gap: 5px; margin-top: 11px; }
.cy-loccard__row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-left: 6px;
	font-size: 16px;
	line-height: 33px;
	letter-spacing: 0; /* 取消全站字距，地址才能同設計稿排在一行 */
	color: var(--cy-text-2);
}
.cy-loccard__icon { flex-shrink: 0; width: 20px; height: 20px; color: #B5B5B5; }
.cy-section .cy-loccard__row a { color: var(--cy-text-2); text-decoration: underline; text-underline-position: from-font; }
.cy-section .cy-loccard__row a:hover { color: var(--cy-primary); }
.cy-loccard__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-left: 2px; }

/* 膠囊按鈕（據點卡：預約諮詢實心、來電預約／規劃路線外框） */
.cy-pillbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 96px;
	height: 42px;
	padding: 0 16px 2px; /* 字視覺置中 */
	border: 1px solid var(--cy-primary);
	border-radius: 21px;
	background: #fff;
	font-size: 16px;
	line-height: 1;
	letter-spacing: 0;
	color: var(--cy-primary);
	white-space: nowrap;
	transition: background-color .15s ease, color .15s ease;
}
.cy-section .cy-pillbtn:hover { background: var(--cy-primary); color: #fff; }
.cy-pillbtn--solid { background: var(--cy-primary); color: #fff; }
.cy-section .cy-pillbtn--solid:hover { background: var(--cy-primary-dark); color: #fff; }
.cy-locations__empty { width: 100%; margin-top: 50px; padding: 48px 0; }
.cy-locations__empty[hidden] { display: none; }

/* ---------- 就診須知（初診預約頁） ----------
   預約流程（物理治療／日常保健切換 → 三張 Step 卡）→ 常見問題（details 收合，答案待補）→ LINE 預約 CTA 帶。 */
.cy-guide { padding: 32px 0 0; background: #FAFAFA; } /* 設計稿頁面底色 #FAFAFA */
.cy-guide__inner { display: flex; flex-direction: column; align-items: center; }
.cy-guide__switch { margin-top: 16px; }
.cy-tabs--white { background: #fff; }
.cy-tabs--white .cy-tabs__tab { min-width: 92px; padding: 0 20px 2px; font-size: 16px; }
.cy-pills--sm { height: 48px; padding: 6px; }
.cy-pills--sm .cy-pills__tab { min-width: 92px; height: 36px; padding: 0 16px 2px; font-size: 16px; }
.cy-pills--sm .cy-pills__tab.is-active { background: var(--cy-primary); color: #fff; } /* 就診須知的切換：選中為青色底白字（設計稿） */
.cy-guide__panel { width: 100%; margin-top: 32px; }
.cy-guide__panel[hidden] { display: none; }
.cy-steps-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; justify-content: center; justify-items: center; } /* 手機單欄滿版；電腦版三張卡整組置中 */
.cy-stepcard {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	min-height: 284px; /* 設計稿 284×284；手機推滿內容寬，高度跟著內容 */
	padding: 31px 20px 33px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 4px 7px rgba(0, 0, 0, .08);
	text-align: center;
}
.cy-stepcard__label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 84px;
	height: 33px;
	padding: 0 16px 1px;
	border-radius: 17px;
	background: #7DCED5; /* Step1 淺青，Step2、3 漸深（設計稿） */
	font-family: var(--cy-font-en);
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
	color: #fff;
}
.cy-stepcard:nth-child(2) .cy-stepcard__label { background: #65B4B9; }
.cy-stepcard:nth-child(3) .cy-stepcard__label { background: var(--cy-primary); }
.cy-stepcard__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 106px;
	height: 106px;
	margin-top: 14px;
	color: var(--cy-primary);
}
.cy-stepcard__icon svg { width: 96px; height: 96px; }
.cy-section .cy-stepcard__icon img { width: 100%; height: 100%; object-fit: contain; } /* 媒體庫的 1200×1200 圖示（透明底） */
.cy-stepcard__title { margin-top: 14px; font-size: 20px; font-weight: 700; line-height: 29px; letter-spacing: 0; color: var(--cy-primary); } /* 設計稿：青色粗體 */
.cy-stepcard__note { font-size: 16px; line-height: 24px; letter-spacing: 0; color: #8C8C8C; }

/* ---------- 常見問題（收合列表） ---------- */
.cy-faq { padding: 49px 0 75px; background: #FAFAFA; }
.cy-faq--first { padding-top: 56px; } /* 常見Q&A 頁：直接接在色帶下 */
.cy-faq__inner { display: flex; flex-direction: column; align-items: center; }
.cy-faq .cy-ptitle { font-weight: 700; } /* 設計稿的常見問題標題是粗體 */
.cy-faq__list { width: 100%; margin-top: 30px; } /* 手機推滿內容寬 */
.cy-faq__item { border-bottom: 1px solid #D0D0D0; }
.cy-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 10px 11px 0; /* 每列 50px（設計稿） */
	font-size: 16px;
	font-weight: 500;
	line-height: 29px;
	letter-spacing: 0;
	color: #7D7D7D; /* 設計稿題目為灰字 */
	cursor: pointer;
	list-style: none;
}
.cy-faq__q::-webkit-details-marker { display: none; }
.cy-faq__q::after { /* ＋，展開時轉成 × */
	content: "";
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	background:
		linear-gradient(#8A8A8A, #8A8A8A) center / 16px 1px no-repeat,
		linear-gradient(#8A8A8A, #8A8A8A) center / 1px 16px no-repeat; /* 細線灰色＋（設計稿） */
	transition: transform .2s ease;
}
.cy-faq__item[open] .cy-faq__q::after { transform: rotate(45deg); }
.cy-faq__q:hover { color: var(--cy-primary); }
.cy-faq__a { min-height: 12px; padding: 0 0 14px; font-size: 15px; line-height: 26px; color: var(--cy-text-2); } /* 答案待補，先留空白 */

/* CTA 帶有文字的版本（就診須知、常見Q&A） */
.cy-cta--text { padding: 47px 0 69px; }
.cy-cta__title { font-size: 20px; font-weight: 700; line-height: 33px; letter-spacing: 0; color: #2C2C2C; }
.cy-cta__sub { margin-top: 2px; font-size: 13px; line-height: 17px; color: var(--cy-text-2); }
.cy-cta__sub + .cy-cta__btn { margin-top: 18px; }
.cy-cta__title + .cy-cta__btn { margin-top: 12px; } /* 沒有副標時標題與按鈕的間距（設計稿字底到按鈕 21px） */

/* ---------- 分類彙整頁頁首（色帶下的區塊下拉 + 子分類膠囊；文章列表由 Blocksy 輸出） ---------- */
.cy-archive-head { padding: 50px 0 8px; }
.cy-archive-head__inner { display: flex; flex-direction: column; align-items: center; }
.cy-archive-head .cy-select { margin-top: 0; }
.cy-section .cy-select__opt { color: var(--cy-text); } /* 下拉選項是連結 */
.cy-section .cy-select__opt.is-selected,
.cy-section .cy-select__opt:hover { background: var(--cy-bg); color: var(--cy-primary); }
.cy-chips {
	display: flex;
	gap: 13px;
	width: calc(100% + 56px); /* 手機超出時可左右滑，膠囊貼齊內容區左緣 */
	margin: 36px -28px 0;
	padding: 0 28px;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.cy-chips::-webkit-scrollbar { display: none; }
.cy-chip {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	height: 40px;
	padding: 0 18px 2px; /* 字視覺置中 */
	border-radius: 20px;
	background: #EDEDED;
	font-size: 16px;
	line-height: 1;
	letter-spacing: 0;
	color: var(--cy-text);
	white-space: nowrap;
	transition: background-color .15s ease, color .15s ease;
}
.cy-section .cy-chip:hover { background: #E0E0E0; color: var(--cy-text); }
.cy-section .cy-chip.is-active,
.cy-section .cy-chip.is-active:hover { background: var(--cy-primary); color: #fff; }

/* ---------- 三大追求（擺脫疼痛／強化肌力／強化機能 共用版面，深色主題） ----------
   主視覺（圖＋底部漸層＋膠囊小標＋頁名）→ 深紅引言帶 → 症狀白卡 → 療程導覽（影片框＋章節）→ 治療範圍（人體圖＋部位膠囊×2）→ 儀器輪播。
   區塊底色 #111、文字白；標題用 .cy-ptitle--white。 */
.cy-dark { background: #111; color: #fff; }
.cy-ptitle--white { color: #fff; }
.cy-ptitle--white::after { background: linear-gradient(90deg, #E0E0E0 0%, #5E5E5E 100%); } /* 設計稿：白→灰漸層底線（治療範圍、儀器設備） */
.cy-ptitle--red::after { background: linear-gradient(90deg, #B01816 0%, #5A0C0B 100%); } /* 設計稿：療程導覽是紅漸層底線 */

.cy-phero {
	position: relative;
	height: 500px;
	overflow: hidden;
	background: #000;
	color: #fff;
}
.cy-phero__media,
.cy-phero__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center top;
}
.cy-phero__shade {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 240px; /* 設計稿：灰底照片下半漸層到黑，接到下方 #111 深色區 */
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .85) 55%, #000 100%); /* 接到下方黑底的引言帶 */
}
.cy-phero__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	height: 100%;
	padding-bottom: 35px;
	text-align: center;
}
.cy-phero__pill {
	display: inline-flex;
	align-items: center;
	height: 36px; /* 手機維持原本大小，電腦版才放大 */
	padding: 0 20px 2px;
	border: 1px solid rgba(255, 255, 255, .85);
	border-radius: 18px;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0;
	color: #fff;
}
.cy-phero__pill em { font-style: normal; color: var(--cy-lime); } /* 設計稿的「3」是萊姆綠 */
.cy-phero__title {
	margin-top: 12px;
	font-size: 30px;
	font-weight: 700;
	line-height: 33px;
	letter-spacing: 2px;
	color: #fff;
}
.cy-pquote {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 64px; /* min-height，較長的引言（強化機能）可兩行 */
	padding: 8px 28px;
	border-radius: 0 0 64px 64px; /* 設計稿量到：下方左右圓弧半徑＝帶子高度，弧外露出黑底 */
	background: linear-gradient(90deg, #981801 0%, #630F02 50%, #2E0400 100%); /* 設計稿量到：左亮右暗的紅帶 */
}
.cy-pquote__text { font-size: 16px; font-weight: 500; line-height: 24px; letter-spacing: 0; color: #F3D5D2; text-align: center; }
.cy-pquote__text span { display: inline-block; } /* 長引言在逗號處斷行（手機兩行、電腦一行） */

/* 引言帶＋症狀卡＋療程導覽標題的黑底包層：背景是裝飾紅框圖（兩條側線＋底部紅光）。
   圖寬依症狀卡寬度換算，讓兩條線正好落在卡片三欄的分隔線外側；靠底對齊，紅光剛好壓在影片框上緣。 */
.cy-pframe {
	background: #000 url(../img/pain-frame.webp?v=2) center bottom / calc((100% - 56px) * .7349 + 17.6px) auto no-repeat;
}

/* 症狀卡：白卡三欄，圖示＋名稱 */
.cy-symptoms { padding: 66px 0 0; }
.cy-symptoms__card {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	width: 100%; /* 手機推滿內容寬（設計稿 343，統一用內容寬） */
	padding: 14px 8px 8px;
	border-radius: 16px;
	background: linear-gradient(to bottom, #fff 0%, #ECECEC 100%); /* 設計稿白到淺灰 */
	box-shadow: 0 4px 10px rgba(0, 0, 0, .35);
}
.cy-symptom { display: flex; flex-direction: column; align-items: center; }
.cy-symptom + .cy-symptom { border-left: 1px solid #CFCFCF; } /* 設計稿三欄間的細分隔線 */
.cy-symptom__icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; }
.cy-section .cy-symptom__icon img { width: 100%; height: 100%; object-fit: contain; }
.cy-symptom__label { font-size: 16px; line-height: 33px; letter-spacing: 0; color: var(--cy-text); }

/* 療程導覽：標題＋副標在黑底包層內（壓在裝飾紅框上），影片框（待嵌入 YouTube）＋章節在下一段 */
.cy-vguide__head { display: flex; flex-direction: column; align-items: center; padding-top: 13px; padding-bottom: 40px; text-align: center; } /* 下方留給紅光的高度，副標不壓到紅光 */
.cy-vguide { padding: 0 0 46px; background: #000; } /* 設計稿影片段仍是純黑 */
.cy-vguide__inner { display: flex; flex-direction: column; align-items: center; }
.cy-vguide__sub { margin-top: 12px; font-size: 24px; font-weight: 700; line-height: 34px; letter-spacing: 0; color: #fff; }
.cy-vguide__sub em { font-style: normal; color: #C62F31; } /* × 紅、字白（設計稿） */
.cy-vguide__lead { margin-top: 24px; font-size: 14px; line-height: 22px; letter-spacing: 0; color: #E7DFDC; } /* 「如果人生可以選擇，我想要——」；與主標拉開 */
.cy-vguide__tag { margin-top: 12px; font-size: 12px; line-height: 20px; letter-spacing: 0; color: #958F8E; } /* 「讓身體少一點負擔…」小字 */
.cy-vcard { width: 100%; }
.cy-vcard__media { position: relative; display: block; aspect-ratio: 16 / 9; background: #D9D9D9; }
.cy-section .cy-vcard__media iframe,
.cy-section .cy-vcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.cy-vcard__yt { /* 設計稿右下角的 YouTube 標誌，嵌入影片後可拿掉 */
	position: absolute;
	right: 14px;
	bottom: 12px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-family: var(--cy-font-en);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: -.3px;
	color: #282828;
}
.cy-vcard__yt svg { width: 24px; height: 17px; }
.cy-vcard__body { padding: 20px 8px 0; }
.cy-vcard__head { font-size: 16px; font-weight: 500; line-height: 26px; letter-spacing: 0; color: #C62F31; }
.cy-vcard__chapters { margin-top: 2px; }
.cy-vcard__chapters li { font-size: 15px; line-height: 26px; letter-spacing: 0; color: #fff; } /* 純文字，不是連結 */
.cy-vcard__time { display: inline-block; margin-right: 6px; }

/* ---------- 三大追求：強化肌力（藍色主題）：與釋放疼痛同版面，藍色以設計稿色碼 #4DBEF3 為主，
   引言帶藍漸層、療程導覽藍底線、× 與「重點懶人包」亮藍，黑底包層改放藍色光環圖（strength-ring.webp：
   光環壓在症狀卡後方、光暈延伸到療程導覽標題）。量圖：光環直徑＝圖寬 72.5%、圓心在圖高 47.6%；設計稿光環直徑約症狀卡寬 0.82 倍、
   圓心對齊卡片中心（上緣露在引言帶與卡片之間、下緣穿過療程導覽標題），所以圖寬＝卡寬×1.131、圓心離圖頂＝卡寬×0.721，
   卡片中心離包層頂：手機 184px（引言帶 64＋內距 66＋卡高 107/2）、平板 200px、電腦 225px；卡寬用 vw 換算。 */
.cy-ptitle--blue::after { background: linear-gradient(90deg, #4DBEF3 0%, #0E4B67 100%); } /* 藍色一律以 #4DBEF3 為主（設計稿色碼），尾端同色相壓暗 */
.cy-blue .cy-pquote { background: linear-gradient(90deg, #4DBEF3 0%, #259AD0 50%, #0D5677 100%); }
.cy-blue .cy-pquote__text { color: #E3F2FF; }
.cy-blue.cy-pframe { background: #000 url(../img/strength-ring.webp) center calc(184px - (100vw - 56px) * .721) / calc((100vw - 56px) * 1.131) auto no-repeat; }
.cy-blue .cy-vguide__sub em { color: #4DBEF3; }
.cy-blue .cy-vcard__head { color: #4DBEF3; }
.cy-blue .cy-darrow:hover::before { border-color: #4DBEF3; }

/* ---------- 三大追求：強化機能（綠色主題）：引言帶綠漸層、療程導覽綠底線、× 與「重點懶人包」亮綠，
   黑底包層與影片段都鋪綠色雙側線圖（function-lines.webp，量圖：兩條線在圖寬 6.9% 與 93%，線距＝圖寬 0.86），
   圖寬＝症狀卡寬×1.19 讓線落在卡片兩側外一點，repeat-y 往下延伸；治療範圍不分部位，十項狀態條列在人體圖右側（.cy-sitem）。 */
.cy-ptitle--green::after { background: linear-gradient(90deg, #B7CF0A 0%, #3F4A05 100%); } /* 強化機能用網站萊姆綠 #B7CF0A */
.cy-green .cy-pquote { background: linear-gradient(90deg, #9C9C9C 0%, #777777 50%, #484848 100%); } /* 設計稿：強化機能的引言帶是灰色 */
.cy-green .cy-pquote__text { color: #FFFFFF; }
.cy-green.cy-pframe,
.cy-green.cy-vguide { background: #000 url(../img/function-lines-lime.webp) center top / calc((100vw - 56px) * 1.19) auto repeat-y; }
.cy-green .cy-vguide__sub em { color: #B7CF0A; }
.cy-green .cy-vcard__head { color: #B7CF0A; }
.cy-green .cy-darrow:hover::before { border-color: #B7CF0A; }
.cy-sitem { display: flex; align-items: center; gap: 8px; }
.cy-sitem::before { content: ""; flex-shrink: 0; width: 10px; height: 10px; margin: 0 6px 0 4px; border-radius: 50%; background: #A6CBCE; } /* 條列用的小圓點，對齊其他頁的「＋」位置 */
.cy-sitem .cy-spart__name { height: auto; min-height: 36px; padding: 6px 6px 7px; font-size: 13px; line-height: 1.25; text-align: center; } /* 狀態名最多 7 字，手機 13px＋6px 內距剛好一行（膠囊約 111px 寬），高度隨內容 */

/* 治療範圍：人體圖＋部位膠囊 */
.cy-scope { padding: 46px 0 0; background: linear-gradient(to bottom, #000 0, #111 120px); } /* 從影片段的純黑過渡到 #111 */
.cy-scope__inner { display: flex; flex-direction: column; align-items: center; }
.cy-scope__cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; width: 100%; margin: 23px 0 0; }
.cy-scard {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 8px;
	padding: 16px 12px 16px 8px;
	border-radius: 16px;
	background: #E6E4E2;
}
.cy-scard__figure { display: flex; align-items: center; justify-content: center; }
.cy-section .cy-scard__figure img { width: 100%; max-height: 300px; object-fit: contain; }
.cy-scard__list { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 8px 0; }
.cy-scard__list li { display: flex; align-items: center; gap: 8px; }
/* 標題「身體常見疼痛部位」＋副標，每個部位是按鈕，按「＋」或膠囊跳出該部位適應症狀小卡（site.js） */
.cy-scope__sub { margin-top: 12px; font-size: 15px; line-height: 24px; letter-spacing: 0; color: #B1B1B1; text-align: center; }
.cy-scope__hint { margin-top: 4px; font-size: 13px; line-height: 20px; letter-spacing: 0; color: #6F6F6F; text-align: center; }
.cy-ptitle--white em { font-style: normal; color: #DFBD75; } /* 設計稿「疼痛部位」金色 */
.cy-spart { position: relative; }
.cy-spart__btn {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	color: inherit;
	text-align: left;
	cursor: pointer;
}
.cy-spart__plus { /* 青色圓形＋，展開時轉 45° 變 × */
	position: relative;
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #A6CBCE; /* 預設淺綠，滑過／展開才深綠 */
	transition: transform .2s ease, background .15s ease;
}
.cy-spart__plus::before,
.cy-spart__plus::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 2px;
	background: #fff;
	transform: translate(-50%, -50%);
}
.cy-spart__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.cy-spart__btn:hover .cy-spart__plus,
.cy-spart__btn[aria-expanded="true"] .cy-spart__plus { background: linear-gradient(135deg, #2A9A9D, #067578); }
.cy-spart__btn[aria-expanded="true"] .cy-spart__plus { transform: rotate(45deg); }
.cy-spart__name {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 1;
	height: 36px;
	padding: 0 12px 2px;
	border: 1px solid #067578;
	border-radius: 18px;
	background: #EFEFEF;
	font-size: 16px;
	line-height: 1;
	letter-spacing: 0;
	color: var(--cy-text);
	transition: background .15s ease, color .15s ease;
}
.cy-spart__btn:hover .cy-spart__name,
.cy-spart__btn[aria-expanded="true"] .cy-spart__name { background: #067578; color: #fff; }
.cy-spart__pop { /* 適應症狀小卡：顯示在左半邊人體圖上、與膠囊同高，半透明淺灰毛玻璃 */
	position: absolute;
	z-index: 3;
	top: 50%;
	right: calc(100% + 8px); /* 膠囊欄左邊＝人體圖欄（欄距 8px） */
	width: 100%;
	max-width: 360px;
	transform: translateY(-50%);
	padding: 8px 12px 9px;
	border: 1px solid rgba(255, 255, 255, .7);
	border-radius: 10px;
	background: rgba(232, 232, 232, .62); /* 約六成不透明、幾乎不模糊：人體圖線條透得出來、字又看得清楚 */
	-webkit-backdrop-filter: blur(1.5px);
	backdrop-filter: blur(1.5px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
	font-size: 13px;
	line-height: 20px;
	letter-spacing: 0;
	color: #333;
	text-align: left;
	animation: cy-pop-in .18s ease-out;
}
.cy-spart__pop strong { display: block; margin-bottom: 1px; font-size: 14px; font-weight: 600; color: #067578; } /* 部位名：淺灰底上用深青綠 */
.cy-spart__pop::after { /* 小箭頭指向右邊的膠囊 */
	content: "";
	position: absolute;
	top: 50%;
	right: -7px;
	border: 7px solid transparent;
	border-right: 0;
	border-left-color: rgba(232, 232, 232, .8);
	transform: translateY(-50%);
}
@media (hover: hover) { /* 有滑鼠的裝置：滑過就顯示，點擊可固定；觸控裝置只有點擊 */
	.cy-spart:hover .cy-spart__pop[hidden] { display: block; }
	.cy-spart:hover .cy-spart__plus { transform: rotate(45deg); background: linear-gradient(135deg, #2A9A9D, #067578); }
}
@keyframes cy-pop-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* 儀器設備：單張輪播（深底、白箭頭） */
.cy-devices { padding: 57px 0 48px; }
.cy-disclaimer { padding: 0 0 72px; } /* 衛教警語；手機底部留白 72px 與其他頁最後一區一致；平板 96、電腦 112 */
.cy-disclaimer__text { max-width: 720px; margin: 0 auto; font-size: 12px; line-height: 20px; letter-spacing: 0; color: #8A8A8A; text-align: center; }
.cy-devices__inner { display: flex; flex-direction: column; align-items: center; }
.cy-dcarousel { position: relative; width: 100%; margin-top: 30px; padding: 0 56px; }
.cy-dslide { display: none; flex-direction: column; align-items: center; text-align: center; }
.cy-dslide.is-active { display: flex; }
.cy-dslide__media { display: flex; align-items: center; justify-content: center; height: 203px; }
.cy-section .cy-dslide__media img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.cy-dslide__caption { margin-top: 14px; font-size: 18px; font-weight: 500; line-height: 28px; letter-spacing: 0; color: #fff; } /* 儀器名稱：手機 18px、電腦 22px（電腦規則在 ≥1024 區塊），比區塊標題 22／28 小一級但看得出差別 */
.cy-darrow { position: absolute; top: 80px; left: 10px; width: 46px; height: 46px; }
.cy-darrow--next { left: auto; right: 10px; }
.cy-darrow::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 14px;
	height: 14px;
	border-left: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: translate(-30%, -50%) rotate(45deg);
}
.cy-darrow--next::before { transform: translate(-70%, -50%) rotate(-135deg); }
.cy-darrow:hover::before { border-color: #C62F31; }
.cy-dcarousel .cy-dots { margin-top: 18px; }
.cy-dcarousel .cy-dots__dot { background: rgba(255, 255, 255, .35); }
.cy-dcarousel .cy-dots__dot.is-active { background: #fff; }
.cy-carousel--single .cy-darrow { display: none; }

/* ---------- 頁尾（Content Block） ---------- */
.cy-footer {
	padding: 40px 0 calc(16px + var(--cy-bnav-h));
	background: var(--cy-primary-dark);
	color: #F0F0F0;
	font-size: 14px;
}
.cy-footer__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.cy-footer__top {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 300px;
	max-width: 100%;
}
.cy-flogo {
	display: block;
	width: 200px;
	margin-bottom: 18px;
	flex-shrink: 0;
}
.cy-footer .cy-flogo img { width: 200px; height: 44px; }

.cy-facc {
	width: 100%;
	border-bottom: 1px solid var(--cy-primary-line);
}
.cy-facc__head button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 38px;
	padding: 0 8px 0 0;
	font-size: 16px;
	font-weight: 500;
	color: #F0F0F0;
}
.cy-facc.is-open .cy-facc__head { border-bottom: 1px solid var(--cy-primary-line); }
.cy-facc__icon { position: relative; width: 16px; height: 16px; }
.cy-facc__icon::before,
.cy-facc__icon::after {
	content: "";
	position: absolute;
	left: 0;
	top: 7.5px;
	width: 16px;
	height: 1px;
	background: #fff;
	transition: transform .2s ease;
}
.cy-facc__icon::after { transform: rotate(90deg); }
.cy-facc.is-open .cy-facc__icon::after { transform: rotate(0); }
.cy-facc__body { display: none; padding: 18px 0 20px; }
.cy-facc.is-open .cy-facc__body { display: block; }

.cy-loc + .cy-loc { margin-top: 24px; }
.cy-loc__head { display: flex; align-items: center; gap: 14px; }
.cy-loc__name {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 30px;
	min-width: 90px;
	padding: 0 10px 2px; /* 同 .cy-tag，字視覺置中 */
	border-radius: 50px;
	background: var(--cy-lime);
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	color: #2D2D2E;
}
.cy-loc--cyan .cy-loc__name { background: var(--cy-cyan); }
#footer .cy-loc--lime .cy-loc__icon,
#footer .cy-loc--lime .cy-loc__icon:hover { color: var(--cy-lime); }
#footer .cy-loc--cyan .cy-loc__icon,
#footer .cy-loc--cyan .cy-loc__icon:hover { color: var(--cy-cyan); }
.cy-loc__icon {
	display: block;
	width: 26px;
	height: 26px;
	flex-shrink: 0;
	transition: opacity .15s ease;
}
.cy-loc__icon:hover { opacity: .75; }
.cy-footer .cy-loc__icon svg { display: block; width: 26px; height: 26px; }
#footer .cy-loc__addr {
	display: block;
	margin-top: 10px;
	padding-left: 7px;
	line-height: 22px;
	text-decoration: underline;
	text-underline-position: from-font;
}
.cy-loc__hours { padding-left: 7px; line-height: 22px; }

.cy-steps { counter-reset: cy-step; display: grid; gap: 14px; }
.cy-steps li {
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 10px;
	align-items: baseline;
	line-height: 22px;
}
.cy-steps li::before {
	counter-increment: cy-step;
	content: "Step" counter(cy-step);
	font-family: var(--cy-font-en);
	font-weight: 700;
	color: var(--cy-lime);
}
.cy-steps strong { font-weight: 500; color: #F0F0F0; }
.cy-steps span {
	grid-column: 2;
	display: block;
	margin-top: 2px;
	font-size: 13px;
	line-height: 20px;
	color: var(--cy-cyan);
}
.cy-facc__more {
	display: inline-block;
	margin-top: 16px;
	color: var(--cy-lime);
}

.cy-footer__bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 14px;
}
.cy-fmenu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	font-size: 13px;
	line-height: 33px;
	color: #EFEFEF;
}
.cy-fmenu li:not(:last-child)::after { content: "｜"; }
.cy-copy {
	text-align: center;
	font-size: 13px;
	line-height: 17px;
	color: var(--cy-cyan);
}

/* ---------- 行動版底部導覽列 ---------- */
.cy-bnav {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 55;
	display: flex;
	justify-content: center;
	gap: 14px;
	height: var(--cy-bnav-h);
	padding-bottom: env(safe-area-inset-bottom);
	background: #fff;
	border-radius: 16px 16px 0 0;
	box-shadow: 0 -3px 2.5px rgba(0, 0, 0, .08);
	box-sizing: content-box;
}
.cy-bnav .cy-bnav__item,
.cy-bnav .cy-bnav__item:hover {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	width: 70px;
	color: #949AA0;
	font-size: 12px;
	text-decoration: none;
}
.cy-bnav__bar {
	width: 70px;
	height: 3px;
	border-radius: 5px;
	background: transparent;
}
.cy-bnav .cy-bnav__item.is-active,
.cy-bnav .cy-bnav__item.is-active:hover { color: var(--cy-primary); }
.cy-bnav__item.is-active .cy-bnav__bar { background: var(--cy-primary); }
.cy-bnav__icon {
	display: block;
	width: var(--cy-icon-w, 22px);
	height: var(--cy-icon-h, 33px);
	background: currentColor;
	-webkit-mask: var(--cy-icon) center / contain no-repeat;
	mask: var(--cy-icon) center / contain no-repeat;
}
.cy-bnav__label { line-height: 16px; }

/* ---------- Blocksy 頁首／全站微調 ---------- */
/* iOS Safari：body 用 overflow-x: hidden 時 position: fixed 的元素會跟著頁面捲動；改用 clip 就不會（底部導覽列固定不動） */
@supports (overflow-x: clip) {
	body { overflow-x: clip !important; }
}

/* 「回到頂部」鈕抬到底部導覽列上方（電腦版 --cy-bnav-h 為 0，維持原位） */
.ct-back-to-top { bottom: calc(var(--cy-bnav-h) + 25px) !important; }

/* LINE預約 鈕：手機版照設計稿為直角小按鈕，電腦版帶小圓角 */
.ct-header-cta .ct-button {
	border-radius: 0;
	min-height: 36px;
	padding: 0 10px;
}

/* 頁尾 Content Block：拿掉 Blocksy 外層容器的寬度限制與上下留白，讓頁尾滿版 */
#footer [data-block^="footer:"] { padding-top: 0 !important; padding-bottom: 0 !important; }
#footer [data-block^="footer:"] .ct-container-full,
#footer [data-block^="footer:"] .ct-container {
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
}
#footer [data-block^="footer:"] .entry-content { margin: 0; }
#footer [data-block^="footer:"] .entry-content > * {
	width: 100% !important; /* 區塊版面會把直接子元素設成內容寬度（手機 330px），這裡強制滿版 */
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important; /* 區塊間距會在頁尾下方留 21px 底色（看起來像一條白線） */
}

/* 漢堡選單（modal）：整層壓暗模糊，面板從上方佔 78% 高，內容靠上，底部是 LINE 按鈕 */
#offcanvas[data-behaviour="modal"] {
	background: rgba(0, 0, 0, .48) !important;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
#offcanvas[data-behaviour="modal"] .ct-panel-actions {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	padding: 23px 26px;
}
#offcanvas[data-behaviour="modal"] .ct-panel-content[data-device="mobile"] {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 78%;
	min-height: 540px;
	max-height: 100%;
	margin: 0;
	padding: 110px 22px 24px;
	background: var(--cy-surface);
	overflow-x: hidden; /* 只能上下捲 */
	overflow-y: auto;
	touch-action: pan-y;
	display: flex;
	flex-direction: column;
	justify-content: flex-start !important;
}
#offcanvas[data-behaviour="modal"] .ct-panel-content[data-device="mobile"] .ct-panel-content-inner {
	display: flex;
	flex-direction: column;
	flex: 1;
	width: 100%;
	max-width: none;
	justify-content: flex-start !important;
}
/* 面板右上角的淺灰色塊（設計稿裝飾），用背景漸層畫 */
#offcanvas[data-behaviour="modal"] .ct-panel-content[data-device="mobile"] {
	background:
		radial-gradient(94px 63px at calc(50% + 124px) 24px, #F1F1F1 98%, transparent 100%),
		var(--cy-surface);
}
#offcanvas .ct-panel-content-inner { padding: 0 !important; }
#offcanvas .mobile-menu { margin: 0 !important; }
/* 選單列：53px 高、16px 字、下方 #CFCFCF 分隔線（同設計稿） */
#offcanvas .mobile-menu > ul > li { border-bottom: 1px solid #CFCFCF; }
#offcanvas .mobile-menu > ul > li > .ct-sub-menu-parent,
#offcanvas .mobile-menu > ul > li > a { display: flex; align-items: center; min-height: 53px; }
#offcanvas .mobile-menu > ul > li > .ct-sub-menu-parent > a,
#offcanvas .mobile-menu > ul > li > a {
	flex: 1;
	padding: 10px 0 10px 6px !important;
	font-size: 16px !important;
	font-weight: 500;
	letter-spacing: .32px;
	line-height: 33px !important;
	color: var(--cy-text);
}
#offcanvas .mobile-menu .sub-menu { padding: 0 0 12px 6px; }
#offcanvas .mobile-menu .sub-menu .ct-sub-menu-parent { display: flex; align-items: center; min-height: 36px; }
#offcanvas .mobile-menu .sub-menu a {
	flex: 1;
	padding: 4px 0 !important;
	font-size: 15px !important;
	line-height: 28px !important;
	color: var(--cy-text-2);
}
#offcanvas .mobile-menu .sub-menu .ct-sub-menu-parent > a { color: var(--cy-text); } /* 子分組標題用一般文字色，hover 才變色 */
#offcanvas .mobile-menu a:hover,
#offcanvas .mobile-menu a:focus-visible { color: var(--cy-primary) !important; }
#offcanvas .mobile-menu .sub-menu .sub-menu { padding: 0 0 4px 16px; }
/* 子選單展開鈕：用 CSS 畫「＋」（展開時變「－」），取代 Blocksy 的箭頭 */
#offcanvas .ct-toggle-dropdown-mobile {
	position: relative;
	flex-shrink: 0;
	width: 44px;
	height: 53px;
	margin: 0;
	padding: 0;
}
#offcanvas .mobile-menu .sub-menu .ct-toggle-dropdown-mobile { height: 36px; }
#offcanvas .ct-toggle-dropdown-mobile .ct-icon { display: none; }
#offcanvas .ct-toggle-dropdown-mobile::before,
#offcanvas .ct-toggle-dropdown-mobile::after {
	content: "";
	position: absolute;
	right: 6px;
	top: 50%;
	width: 15px;
	height: 1px;
	margin-top: -.5px;
	background: #BDBDBD;
	transition: transform .2s ease;
}
#offcanvas .ct-toggle-dropdown-mobile::after { transform: rotate(90deg); }
#offcanvas .ct-toggle-dropdown-mobile[aria-expanded="true"]::after { transform: rotate(0); }
#offcanvas [data-id="text"] { margin-top: auto; padding-top: 24px; }

/* ==========================================================================
   平板（≥ 768）
   ========================================================================== */
/* ---------- 服務項目頁（高能量雷射 M6 為範本，其餘服務頁沿用；紫色主題） ----------
   主視覺（淺灰漸層底＋儀器圖右側出血＋英文小標／頁名＋輪播點）→ 紫色帶（壓在主視覺底部）→ 症狀卡（兩列、超過三欄橫向捲動）
   → 影片（淺色版 .cy-vcard--light）→ 治療前後比較圖（手機滿出血）→ 說明段落 → 治療方式比較表 → 認證標章 → FAQ（透明底）→ CTA（紫色按鈕）。 */
:root { --cy-violet: #4E3E8F; --cy-violet-2: #5E4EA1; --cy-violet-deep: #463588; } /* 設計稿量到：色帶、底線／小標、卡片框線 */
.cy-ptitle--violet::after { background: var(--cy-violet-2); }
.cy-svc-hero {
	position: relative;
	height: 509px;
	overflow: hidden; /* 儀器底座藏在色帶下 */
	background: linear-gradient(180deg, #FCFCFC 0%, #FAFAFA 45%, #EFEFEF 100%);
}
.cy-svc-hero__inner { position: relative; height: 100%; }
.cy-svc-hero__text { position: absolute; top: 241px; left: 28px; z-index: 1; }
.cy-svc-hero__eyebrow { font-family: var(--cy-font-en); font-size: 14px; line-height: 24px; letter-spacing: 0; color: #909090; }
.cy-svc-hero__title { margin-top: 2px; font-size: 24px; font-weight: 500; line-height: 38px; letter-spacing: 1px; color: #313131; }
.cy-svc-hero__slide { display: none; margin: 0; }
.cy-svc-hero__slide.is-active { display: block; }
.cy-section .cy-svc-hero__slide img { position: absolute; top: 73px; right: -88px; height: 560px; width: auto; max-width: none; } /* 設計稿儀器朝左、右側出血（圖本身朝左） */
.cy-svc-hero .cy-dots { position: absolute; left: 0; right: 0; top: 442px; margin: 0; gap: 8px; }
.cy-dots--bar .cy-dots__dot { width: 8px; height: 8px; background: #CECECE; transition: width .2s ease; }
.cy-dots--bar .cy-dots__dot.is-active { width: 72px; border-radius: 4px; background: #B9B9B9; }
.cy-svc-band {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 62px;
	margin-top: -32px; /* 設計稿色帶壓在主視覺底部 32px */
	padding: 0 28px 2px;
	border-radius: 0 0 36px 36px;
	background: var(--cy-violet);
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0;
	color: #fff;
	text-align: center;
}

/* 症狀卡：白卡紫框，兩列；grid 直欄填充，超過三欄可橫向捲動（箭頭沿用 data-cy-scroller） */
.cy-svc-symptoms { padding: 43px 0 0; }
.cy-svc-cards { position: relative; }
.cy-svc-cards__track { /* 手機一列三張、自動換列，整排置中；箭頭只在內容真的超出時才會出現 */
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 11px;
}
.cy-svc-cards__track::-webkit-scrollbar { display: none; }
.cy-svc-card {
	width: calc((100% - 22px) / 3);
	height: 131px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	padding: 10px 6px 7px;
	border: 1px solid var(--cy-violet-deep);
	border-radius: 10px;
	background: #fff;
	text-align: center;
	scroll-snap-align: start;
}
.cy-svc-card__icon { display: flex; flex: 1; align-items: center; justify-content: center; width: 100%; min-height: 0; }
.cy-section .cy-svc-card__icon img { width: auto; max-width: 64px; max-height: 60px; object-fit: contain; }
.cy-svc-card__label { font-size: 16px; line-height: 33px; letter-spacing: 0; color: #1F1F1F; white-space: nowrap; } /* 設計稿卡片只有文字，靠下對齊 */
.cy-svc-cards__arrow {
	position: absolute;
	top: 50%;
	left: -22px;
	z-index: 1;
	display: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
	transform: translateY(-50%);
}
.cy-svc-cards__arrow--next { left: auto; right: -22px; }
.cy-svc-cards__arrow::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 9px;
	height: 9px;
	border-left: 2px solid var(--cy-violet);
	border-bottom: 2px solid var(--cy-violet);
	transform: translate(-30%, -50%) rotate(45deg);
}
.cy-svc-cards__arrow--next::before { transform: translate(-70%, -50%) rotate(-135deg); }
.cy-svc-cards.is-scrollable .cy-svc-cards__arrow { display: block; }
.cy-svc-cards__arrow:disabled { opacity: .35; }

/* 影片（淺色版） */
.cy-svc-video { padding: 57px 0 0; }
.cy-svc-video__inner { display: flex; flex-direction: column; align-items: center; }
.cy-svc-video__sub { margin-top: 13px; font-size: 16px; line-height: 26px; letter-spacing: 0; color: #555; text-align: center; }
.cy-svc-video .cy-vcard { margin-top: 17px; }
.cy-vcard--light .cy-vcard__media { background: #E6E6E6; }
.cy-vcard__caption { position: absolute; top: 18px; left: 21px; right: 21px; font-size: 14px; font-weight: 700; line-height: 22px; letter-spacing: 0; color: #000; } /* 設計稿影片框左上角的說明文字，嵌入影片後可拿掉 */
.cy-vcard--light .cy-vcard__head { color: var(--cy-violet-2); font-weight: 700; }
.cy-vcard--light .cy-vcard__chapters li { color: #404040; }

/* 治療前後比較圖、說明段落、比較表、認證、FAQ、CTA */
.cy-svc-ba { padding: 36px 0 0; }
.cy-svc-ba__figure { margin: 0; } /* 手機滿出血（設計稿） */
.cy-section .cy-svc-ba__figure img { width: 100%; }
.cy-svc-copy { padding: 32px 0 0; }
.cy-svc-copy__text { font-size: 16px; line-height: 26px; letter-spacing: 0; color: #393939; text-align: justify; }
.cy-svc-copy__text strong { font-weight: 700; color: #443286; }
.cy-svc-compare { padding: 50px 0 0; }
.cy-svc-compare__inner { display: flex; flex-direction: column; align-items: center; }
.cy-svc-compare__figure { width: 100%; margin: 22px 0 0; } /* 比較表圖本身就有直角外框，不另外加圓角或陰影 */
.cy-section .cy-svc-compare__figure img { width: 100%; }
.cy-svc-certs { padding: 42px 0 0; }
.cy-svc-certs__inner { display: flex; flex-direction: column; align-items: center; }
.cy-svc-certs__logos { display: flex; align-items: center; justify-content: center; gap: 36px; }
.cy-svc-certs__logos li { display: flex; align-items: center; justify-content: center; height: 71px; }
.cy-section .cy-svc-certs__logos img { height: 71px; width: auto; }
.cy-section .cy-svc-certs__logos li:first-child img { height: 44px; } /* CE 標誌較扁（設計稿 49×35） */
.cy-svc-certs__note { margin-top: 17px; font-size: 15px; line-height: 22px; letter-spacing: 0; color: #777; text-align: center; }
.cy-faq--plain { padding: 36px 0 63px; background: transparent; } /* 服務頁 FAQ 直接放在頁面底色上 */
/* FAQ hover 沿用全站青綠色，不跟服務頁的紫色主題 */
.cy-btn--violet { background: #57469A; color: #fff; }
.cy-section .cy-btn--violet:hover { background: var(--cy-violet); color: #fff; }

@media (min-width: 768px) {
	.cy-container { padding-inline: 32px; }

	.cy-hero { height: 560px; }
	.cy-hero__shade {
		background:
			linear-gradient(to right, rgba(9, 9, 9, .78) 0%, rgba(9, 9, 9, .35) 50%, rgba(9, 9, 9, 0) 100%),
			linear-gradient(to bottom, rgba(9, 9, 9, 0) 45%, rgba(9, 9, 9, .55) 100%);
	}
	.cy-hero__media img { object-position: center; }
	.cy-hero__content { justify-content: center; padding: 0 32px; }
	.cy-hero__eyebrow,
	.cy-hero__title { font-size: 40px; line-height: 48px; }
	.cy-hero__sub { margin-top: 10px; font-size: 18px; }
	.cy-hero__cta { margin-top: 40px; align-self: flex-start; }

	.cy-ribbon { height: 96px; border-radius: 0 0 100px 100px; }
	.cy-ribbon__text { font-size: 28px; }
	.cy-ribbon__text strong { font-size: 50px; }

	.cy-pursuits { padding: 36px 0 56px; }
	.cy-pursuits__grid { gap: 24px; }
	.cy-pcard { width: 100%; max-width: 520px; height: 200px; padding: 32px 0 0 48px; }
	.cy-pcard__title { font-size: 24px; }
	.cy-pcard__arrow { left: 48px; top: auto; bottom: 28px; }

	.cy-pills__tab { min-width: 120px; padding: 0 20px; }
	.cy-services .cy-carousel { padding: 56px 64px 48px; }
	.cy-slide__text { padding: 0; } /* 平板以上容器已有內距 */
	.cy-slide__media { height: 380px; }
	.cy-arrow { top: 330px; }

	.cy-why { padding: 48px 0 72px; }
	.cy-why__pill { font-size: 22px; }
	.cy-why__q { margin-inline: 0; padding: 12px 20px; font-size: 24px; }
	.cy-why .cy-arrow { top: 19px; }
	.cy-why__text { max-width: 560px; margin-top: 28px; text-align: center; }

	/* 平板：案例與 e訊 和手機一樣左右滑，但一次兩篇 */
	.cy-cases { padding: 48px 0 32px; }
	.cy-cases__track {
		gap: 24px;
		margin: 28px -32px 0;
		padding: 4px 32px 12px;
		scroll-padding-left: 32px;
	}
	.cy-case {
		flex: 0 0 calc((100% - 24px) / 2);
		max-width: none;
		scroll-snap-align: start;
	}
	.cy-tags { gap: 9px; }
	.cy-tag { height: 30px; padding: 0 14px 2px; font-size: 14px; }

	/* e訊：平板和手機一樣上下直排三篇，不左右滑 */
	.cy-news { padding: 32px 0 64px; }
	.cy-tabs__tab { min-width: 120px; padding: 0 20px; }
	.cy-news__list { margin-top: 40px; }
	.cy-scroller__btn--prev { left: -16px; }
	.cy-scroller__btn--next { right: -16px; }

	/* 萃暘理念 */
	.cy-pband { height: 300px; }
	.cy-pband__eyebrow { font-size: 15px; }
	.cy-pband__title { font-size: 36px; line-height: 48px; }
	.cy-intro { padding: 64px 0 56px; }
	.cy-section .cy-intro__logo { width: 136px; }
	.cy-intro__rule { width: 360px; margin-top: 56px; }
	.cy-intro__text { max-width: 480px; font-size: 17px; line-height: 28px; }
	.cy-reasons { padding: 48px 0 64px; }
	.cy-reasons__title { font-size: 24px; line-height: 32px; }
	.cy-reasons__sub { font-size: 17px; }
	.cy-reasons__grid { grid-template-columns: repeat(4, 150px); gap: 16px; margin-top: 40px; }
	.cy-spirit { padding: 48px 0 64px; }
	.cy-spirit__list { grid-template-columns: repeat(3, 1fr); gap: 32px; width: 100%; max-width: 760px; margin-top: 44px; } /* 768 時每欄 213px，「告別盲試！讓科技加速療癒」才不換行 */
	.cy-history { padding: 56px 0 80px; }
	.cy-timeline { max-width: 640px; column-gap: 72px; }
	.cy-tl:nth-child(odd) .cy-tl__dot { right: -45px; }
	.cy-tl:nth-child(even) .cy-tl__dot { left: -45px; }
	.cy-timeline::after { width: 900px; height: 900px; margin-left: -450px; }

	/* 執行長的話（平板仍直式，內容照頁面寬） */
	.cy-ceo { padding: 96px 0 72px; }
	.cy-ceo__quote { margin: 0; font-size: 24px; }
	.cy-ceo__by { margin-top: 18px; padding-right: 0; font-size: 17px; }
	.cy-ceo__text { max-width: none; font-size: 17px; line-height: 30px; }
	.cy-ceo__photo { border-radius: 16px; }
	.cy-ceo__row { margin-top: 48px; }
	.cy-ceo__lead + .cy-ceo__row { margin-top: 64px; }
	.cy-ceo__body { margin-top: 32px; }
	.cy-ptitle + .cy-ceo__text { margin-top: 36px; }
	.cy-ceo__quote--small { font-size: 18px; line-height: 30px; }
	.cy-cta { padding: 96px 0; }

	/* 治療師團隊：兩欄 */
	.cy-team { padding: 56px 0 80px; }
	.cy-team__grid { grid-template-columns: repeat(2, 282px); justify-content: center; gap: 32px; margin-top: 40px; }

	/* 服務據點：兩欄 */
	.cy-locations { padding: 64px 0 88px; }
	.cy-locations__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; max-width: 760px; }
	.cy-loccard { width: 100%; }

	/* 就診須知：三張 Step 卡一排 */
	.cy-guide { padding-top: 48px; }
	.cy-steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
	.cy-stepcard { width: 100%; }
	.cy-faq { padding: 64px 0 88px; }
	.cy-faq--first { padding-top: 72px; }
	.cy-faq__list { max-width: 560px; margin-top: 32px; }
	.cy-cta--text { padding: 64px 0 80px; }

	.cy-archive-head { padding: 56px 0 12px; }
	.cy-chips { flex-wrap: wrap; justify-content: center; width: 100%; margin: 32px 0 0; padding: 0; overflow: visible; }

	/* 三大追求 */
	.cy-phero { height: 560px; } /* 寬圖不再放大：高度撐滿即與手機構圖相同，三角形完整露在膠囊上方 */
	.cy-pframe { background-size: calc(min(100% - 64px, 720px) * .7349 + 17.6px) auto; }
	.cy-blue.cy-pframe { background-size: calc(min(100vw - 64px, 720px) * 1.131) auto; background-position: center calc(200px - min(100vw - 64px, 720px) * .721); }
	.cy-green.cy-pframe,
	.cy-green.cy-vguide { background-size: calc(min(100vw - 64px, 720px) * 1.19) auto; }
	.cy-vguide__head { padding-top: 24px; padding-bottom: 92px; }
	.cy-phero__title { font-size: 36px; line-height: 44px; }
	.cy-pquote { min-height: 72px; border-radius: 0 0 72px 72px; }
	.cy-pquote__text { font-size: 18px; }
	.cy-symptoms__card { max-width: 720px; margin-inline: auto; padding: 24px 16px 16px; }
	.cy-vguide { padding: 0 0 56px; }
	.cy-vcard { max-width: 720px; }
	.cy-scope__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
	.cy-devices { padding: 64px 0 56px; }
	.cy-disclaimer { padding-bottom: 96px; }
	.cy-disclaimer__text { font-size: 13px; line-height: 22px; }
	.cy-dslide__media { height: 260px; }
	.cy-darrow { top: 107px; }

	.cy-footer__top { width: 100%; max-width: 640px; }

	.ct-header-cta .ct-button { border-radius: 6px; min-height: 40px; padding: 0 16px; }
	/* 服務項目頁 */
	.cy-svc-hero { height: 560px; }
	.cy-svc-hero__text { top: 50%; left: 32px; transform: translateY(-50%); }
	.cy-svc-hero__eyebrow { font-size: 16px; }
	.cy-svc-hero__title { font-size: 32px; line-height: 46px; }
	.cy-section .cy-svc-hero__slide img { top: 40px; right: 0; height: 620px; }
	.cy-svc-hero .cy-dots { top: auto; bottom: 48px; }
	.cy-svc-band { height: 68px; font-size: 20px; border-radius: 0 0 40px 40px; }
	.cy-svc-symptoms { padding-top: 48px; }
	.cy-svc-cards__track { gap: 16px; } /* 平板以上一列六張，不滿一列置中 */
	.cy-svc-card { width: calc((100% - 5 * 16px) / 6); height: 150px; }
	.cy-svc-video { padding-top: 64px; }
	.cy-vcard__caption { top: 24px; left: 28px; right: 28px; font-size: 16px; line-height: 26px; }
	.cy-svc-ba { padding-top: 48px; }
	.cy-svc-ba__figure { max-width: 720px; margin: 0 auto; border-radius: 12px; overflow: hidden; }
	.cy-svc-copy { padding-top: 40px; }
	.cy-svc-copy__text { max-width: 720px; margin: 0 auto; }
	.cy-svc-compare { padding-top: 56px; }
	.cy-svc-compare__figure { max-width: 720px; margin-top: 28px; }
	.cy-svc-certs { padding-top: 48px; }
	.cy-svc-certs__logos { gap: 48px; }
	.cy-svc-certs__logos li { height: 84px; }
	.cy-section .cy-svc-certs__logos img { height: 84px; }
	.cy-section .cy-svc-certs__logos li:first-child img { height: 52px; }
	.cy-faq--plain { padding: 48px 0 72px; }

}

/* ==========================================================================
   電腦（≥ 1024）
   ========================================================================== */
@media (min-width: 1024px) {
	:root { --cy-bnav-h: 0px; }

	.cy-container { padding-inline: 40px; }
	.cy-bnav { display: none; }

	/* 主視覺：「Chill life」與標題上下兩行 */
	.cy-hero { height: 640px; }
	.cy-hero__content { padding: 0 40px; }
	.cy-hero__eyebrow,
	.cy-hero__title { font-size: 48px; line-height: 58px; letter-spacing: 1.2px; }
	.cy-hero__sub { margin-top: 12px; font-size: 20px; }
	.cy-hero__cta { height: 60px; min-width: 220px; font-size: 20px; }

	.cy-ribbon { height: 110px; border-radius: 0 0 120px 120px; }
	.cy-ribbon__text { font-size: 32px; }
	.cy-ribbon__text strong { font-size: 56px; }

	/* 三大追求 */
	.cy-pursuits { padding: 48px 0 72px; }
	.cy-pursuits__grid { grid-template-columns: repeat(3, 1fr); }
	.cy-pcard { max-width: none; padding: 30px 0 0 36px; }
	.cy-pcard__arrow { left: 36px; }

	/* 服務項目 */
	.cy-sec-title { font-size: 32px; line-height: 44px; }
	.cy-pills-wrap { margin-top: 24px; }
	.cy-pills { height: 60px; padding: 7px; gap: 4px; }
	.cy-pills__tab { min-width: 150px; height: 46px; padding: 0 28px; font-size: 16px; }
	.cy-services__stage { margin-top: 44px; }
	.cy-services .cy-carousel { padding: 64px 96px; }
	.cy-slide.is-active {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto auto;
		grid-template-areas: "text media" "actions media";
		align-content: center;
		align-items: center;
		gap: 0 48px;
		min-height: 480px;
	}
	.cy-slide__text { grid-area: text; align-self: end; }
	.cy-slide__media { grid-area: media; height: 480px; margin: 0; align-self: center; }
	.cy-slide__actions { grid-area: actions; align-self: start; margin-top: 36px; text-align: left; }
	.cy-slide__title { text-align: left; font-size: 36px; line-height: 1.3; }
	.cy-slide__sub { text-align: left; margin-top: 12px; font-size: 18px; }
	.cy-services .cy-arrow { top: 50%; transform: translateY(-50%); left: 28px; }
	.cy-services .cy-arrow--next { left: auto; right: 28px; }
	.cy-services .cy-dots { margin-top: 32px; }

	/* WHY：電腦版三個訴求一起並排（手機才輪播），背景固定（設計稿註記「背景固定、字標浮動」） */
	.cy-why { padding: 72px 0 88px; background-attachment: fixed; }
	.cy-why__eyebrow { font-size: 16px; }
	.cy-why__pill { height: 56px; margin-top: 8px; padding: 0 32px; font-size: 22px; }
	.cy-why__q { margin-top: 40px; padding: 14px 28px; font-size: 28px; line-height: 40px; }
	.cy-why__carousel {
		display: flex;
		justify-content: center;
		gap: 72px;
		margin-top: 56px;
	}
	.cy-why__slide { display: flex; gap: 18px; }
	.cy-why .cy-arrow { display: none; }
	.cy-why__num { font-size: 120px; }
	.cy-why__copy strong,
	.cy-why__copy span { font-size: 20px; line-height: 28px; }
	.cy-why__text { max-width: 720px; margin-top: 32px; font-size: 17px; line-height: 30px; }

	/* 案例分享、萃暘e訊 */
	.cy-sec-head__title,
	.cy-ptitle { font-size: 28px; line-height: 40px; }
	.cy-sec-head__more { font-size: 16px; }
	/* 電腦：案例分享同樣左右滑（一次三篇、有箭頭），e訊不滑動三欄 */
	.cy-cases { padding: 72px 0 24px; }
	.cy-cases__track {
		gap: 24px;
		margin: 36px -40px 0;
		padding: 4px 40px 12px;
		scroll-padding-left: 40px;
	}
	.cy-case { flex: 0 0 calc((100% - 48px) / 3); }
	.cy-cases .cy-scroller__btn--prev { left: -20px; }
	.cy-cases .cy-scroller__btn--next { right: -20px; }

	.cy-news { padding: 48px 0 96px; }
	.cy-tabs-wrap { margin-top: 28px; }
	.cy-tabs { height: 56px; padding: 6px; gap: 4px; }
	.cy-tabs__tab { min-width: 140px; height: 44px; padding: 0 24px; font-size: 16px; }
	/* e訊電腦版固定三篇一排；同一列的三篇等高（align-self: stretch），底部分隔線才會在同一條水平線上 */
	.cy-news__list {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 0 40px;
		margin: 52px 0 0;
	}
	.cy-news__item,
	.cy-news__item:last-child { align-self: stretch; margin-bottom: 0; } /* 主題會把最後一個 li 的 margin 歸零，統一全部為 0 */

	/* 萃暘理念 */
	.cy-pband { height: 360px; }
	.cy-pband__eyebrow { font-size: 16px; letter-spacing: 2px; }
	.cy-pband__title { margin-top: 6px; font-size: 40px; line-height: 54px; letter-spacing: 4px; } /* 電腦版維持原大小 */
	.cy-intro { padding: 80px 0 72px; }
	.cy-section .cy-intro__logo { width: 150px; }
	.cy-intro__rule { width: 420px; margin-top: 64px; }
	.cy-intro__text { max-width: 640px; margin-top: 36px; font-size: 18px; line-height: 32px; }
	.cy-reasons { padding: 64px 0 80px; }
	.cy-reasons__title { font-size: 30px; line-height: 40px; }
	.cy-reasons__sub { margin-top: 12px; font-size: 18px; }
	.cy-reasons__grid { grid-template-columns: repeat(4, 200px); gap: 24px; margin-top: 48px; }
	.cy-rcard { padding: 28px 8px 14px; border-radius: 20px; }
	.cy-section .cy-rcard img { width: 110px; height: 110px; }
	.cy-rcard span { margin-top: 14px; font-size: 18px; }
	.cy-spirit { padding: 64px 0 80px; }
	.cy-spirit__list { max-width: 900px; gap: 48px; margin-top: 56px; }
	.cy-spirit__circle { width: 120px; height: 120px; }
	.cy-section .cy-spirit__circle img { width: 64px; height: 64px; }
	.cy-spirit__name { margin-top: 18px; font-size: 20px; line-height: 28px; }
	.cy-spirit__desc { margin-top: 4px; font-size: 17px; line-height: 28px; }
	.cy-history { padding: 72px 0 104px; }
	.cy-history__en { margin-top: 16px; font-size: 18px; }
	.cy-timeline { max-width: 860px; column-gap: 96px; row-gap: 48px; margin-top: 20px; }
	.cy-tl { padding-top: 30px; }
	.cy-tl:nth-child(odd) .cy-tl__dot { right: -57px; }
	.cy-tl:nth-child(even) .cy-tl__dot { left: -57px; }
	.cy-tl__year { font-size: 24px; line-height: 30px; }
	.cy-tl__title { margin-top: 2px; font-size: 18px; line-height: 28px; }
	.cy-tl__text { margin-top: 4px; line-height: 28px; }
	.cy-timeline::after { width: 1100px; height: 1100px; margin-left: -550px; }
	.cy-history__cta { margin-top: 56px; }

	/* 執行長的話：電腦版照片／文字兩欄，逐列左右交錯 */
	.cy-ceo { padding: 104px 0 96px; }
	.cy-ceo__quote { font-size: 28px; }
	.cy-ceo__by { font-size: 18px; }
	.cy-ceo__row {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0 64px;
		align-items: center;
		margin-top: 72px;
	}
	.cy-ceo__lead + .cy-ceo__row { margin-top: 80px; }
	.cy-ceo__row:nth-of-type(even) .cy-ceo__photo { order: 2; } /* 雙數列照片在右（引言是 <header>，不算進 div 的 nth-of-type） */
	.cy-ceo__photo { margin: 0; }
	.cy-ceo__body { align-items: flex-start; margin-top: 0; text-align: left; }
	.cy-ceo__text { font-size: 17px; line-height: 30px; }
	.cy-ptitle + .cy-ceo__text { margin-top: 24px; }
	.cy-ptitle + .cy-ceo__quote--small { margin-top: 24px; }
	.cy-ceo__quote--small { font-size: 18px; line-height: 30px; }
	.cy-ceo__quote--small + .cy-ceo__text { margin-top: 16px; }
	.cy-cta { padding: 120px 0; } /* 電腦版帶子加高 */
	.cy-cta__btn { height: 56px; min-width: 320px; font-size: 18px; }

	/* 治療師團隊：三欄 */
	.cy-team { padding: 72px 0 96px; }
	.cy-select { margin-top: 28px; }
	.cy-team__grid { grid-template-columns: repeat(auto-fit, 270px); justify-content: center; gap: 32px; margin-top: 48px; } /* 一列最多四位；人數不滿一列時置中 */

	/* 服務據點 */
	.cy-locations { padding: 72px 0 112px; }
	.cy-locations__grid { gap: 48px; max-width: 1120px; }
	.cy-loccard__name { margin-top: 18px; font-size: 24px; line-height: 36px; }
	.cy-loccard__meta { margin-top: 10px; }
	.cy-loccard__actions { margin-top: 20px; gap: 10px; }
	.cy-pillbtn { min-width: 108px; height: 44px; }

	/* 就診須知 */
	.cy-guide { padding-top: 56px; }
	.cy-guide__switch { margin-top: 20px; }
	.cy-guide__panel { margin-top: 44px; }
	.cy-steps-grid { grid-template-columns: repeat(3, 284px); gap: 32px; }
	.cy-faq { padding: 80px 0 104px; }
	.cy-faq--first { padding-top: 88px; }
	.cy-faq__list { max-width: 760px; margin-top: 36px; }
	.cy-faq__q { padding: 13px 10px 14px 0; font-size: 17px; }
	.cy-faq__a { font-size: 16px; line-height: 28px; padding-bottom: 18px; }
	.cy-cta--text { padding: 80px 0 96px; }
	.cy-cta__title { font-size: 24px; line-height: 36px; }
	.cy-cta__sub { margin-top: 6px; font-size: 15px; line-height: 22px; }
	.cy-cta__sub + .cy-cta__btn { margin-top: 24px; }
	.cy-cta__title + .cy-cta__btn { margin-top: 16px; }

	.cy-archive-head { padding: 64px 0 16px; }
	.cy-chips { margin-top: 36px; gap: 14px; }

	/* 三大追求 */
	.cy-phero { height: clamp(640px, 44.45vw, 900px); } /* 寬螢幕跟著加高，照片不被裁掉三角形 */
	.cy-pframe { background-size: calc(min(100% - 80px, 860px) * .7349 + 17.6px) auto; }
	.cy-blue.cy-pframe { background-size: calc(min(100vw - 80px, 860px) * 1.131) auto; background-position: center calc(225px - min(100vw - 80px, 860px) * .721); }
	.cy-green.cy-pframe { background-size: calc(min(100vw - 80px, 860px) * 1.19) auto; }
	.cy-green.cy-vguide { background-image: none; } /* 電腦版綠線只框到影片上方，不延伸到影片段 */
	.cy-phero__content { padding-bottom: max(28px, 9.6vw - 110px); } /* 主視覺加高時文字跟著下移，膠囊與三角形維持同樣的間距 */
	.cy-phero__pill { height: 44px; padding: 0 24px 2px; border-radius: 22px; font-size: 19px; }
	.cy-phero__title { margin-top: 16px; font-size: 44px; line-height: 54px; letter-spacing: 4px; }
	.cy-pquote { min-height: 80px; border-radius: 0 0 80px 80px; }
	.cy-pquote__text { font-size: 20px; }
	.cy-symptoms { padding-top: 72px; }
	.cy-symptoms__card { max-width: 860px; padding: 28px 24px 20px; }
	.cy-symptom__icon { width: 64px; height: 64px; }
	.cy-symptom__label { font-size: 18px; }
	.cy-vguide { padding: 0 0 72px; }
	.cy-vguide__head { padding-top: 32px; padding-bottom: 112px; }
	.cy-vguide__sub { font-size: 28px; line-height: 40px; }
	.cy-vcard { max-width: 860px; } /* 影片置中、與症狀卡同寬，紅光才會落在影片上；章節在影片下方上下排列 */
	.cy-vcard__body { padding: 24px 8px 0; }
	.cy-vcard__head { font-size: 18px; }
	.cy-vcard__chapters li { font-size: 16px; line-height: 34px; }
	.cy-scope { padding-top: 64px; }
	.cy-scope__cards { gap: 32px; margin-top: 40px; }
	.cy-scard { padding: 24px; gap: 0 16px; }
	.cy-section .cy-scard__figure img { max-height: 360px; }
	.cy-spart__name { font-size: 17px; height: 40px; border-radius: 20px; }
	.cy-sitem .cy-spart__name { height: auto; min-height: 40px; padding: 8px 12px 9px; font-size: 16px; }
	.cy-spart__pop { right: calc(100% + 16px); font-size: 14px; line-height: 22px; } /* 電腦版欄距 16px */
	.cy-vguide__lead { margin-top: 32px; font-size: 16px; line-height: 26px; }
	.cy-vguide__sub { margin-top: 16px; }
	.cy-vguide__tag { margin-top: 16px; font-size: 14px; line-height: 24px; }
	.cy-scope__sub { font-size: 17px; line-height: 28px; }
	.cy-devices { padding: 72px 0 64px; }
	.cy-disclaimer { padding-bottom: 112px; }
	.cy-dcarousel { max-width: 760px; margin-top: 40px; }
	.cy-dslide__media { height: 320px; }
	.cy-dslide__caption { margin-top: 20px; font-size: 22px; line-height: 32px; } /* 電腦 22px，比 .cy-ptitle 28px 小一級 */
	.cy-darrow { top: 137px; }

	/* 頁尾：三欄 */
	.cy-footer { padding: 72px 0 32px; }
	.cy-footer__inner { align-items: stretch; }
	.cy-footer__top {
		display: grid;
		grid-template-columns: 220px 1.25fr 1fr;
		gap: 72px;
		align-items: start;
		width: 100%;
		max-width: none;
		padding-bottom: 56px;
	}
	.cy-flogo { margin-bottom: 0; }
	.cy-facc { border-bottom: 0; }
	.cy-footer .cy-facc__head { margin-bottom: 28px; border-bottom: 1px solid var(--cy-primary-line); }
	.cy-facc__head button { height: auto; padding-bottom: 12px; font-size: 18px; pointer-events: none; }
	.cy-facc__icon { display: none; }
	.cy-facc__body,
	.cy-facc:not(.is-open) .cy-facc__body { display: block; padding: 0; }
	.cy-loc + .cy-loc { margin-top: 32px; } /* 兩間店上下排列 */
	.cy-steps { gap: 18px; }
	.cy-footer__bottom {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		margin-top: 0;
		padding-top: 24px;
		border-top: 1px solid var(--cy-primary-line);
	}
	.cy-fmenu { justify-content: flex-start; font-size: 14px; }
	.cy-copy { text-align: right; }
	.cy-copy br { display: none; }

	.ct-header-cta .ct-button { min-height: 44px; padding: 0 20px; }

	/* 服務項目頁 */
	.cy-svc-hero { height: 600px; }
	.cy-svc-hero__text { left: 40px; }
	.cy-svc-hero__eyebrow { font-size: 18px; line-height: 28px; }
	.cy-svc-hero__title { font-size: 40px; line-height: 54px; letter-spacing: 2px; }
	.cy-section .cy-svc-hero__slide img { top: 36px; right: 6%; height: 700px; }
	.cy-svc-band { height: 72px; font-size: 22px; }
	.cy-svc-symptoms { padding-top: 56px; }
	.cy-svc-card { height: 170px; }
	.cy-section .cy-svc-card__icon img { max-width: 80px; max-height: 76px; }
	.cy-svc-card__label { font-size: 18px; }
	.cy-svc-video { padding-top: 72px; }
	.cy-svc-video__sub { margin-top: 16px; font-size: 18px; line-height: 30px; }
	.cy-svc-video .cy-vcard { margin-top: 24px; }
	.cy-svc-ba { padding-top: 56px; }
	.cy-svc-ba__figure { max-width: 960px; }
	.cy-svc-copy { padding-top: 48px; }
	.cy-svc-copy__text { max-width: 800px; font-size: 17px; line-height: 32px; }
	.cy-svc-compare { padding-top: 72px; }
	.cy-svc-compare__figure { max-width: 960px; margin-top: 32px; }
	.cy-svc-certs { padding-top: 56px; }
	.cy-svc-certs__logos { gap: 64px; }
	.cy-svc-certs__logos li { height: 96px; }
	.cy-section .cy-svc-certs__logos img { height: 96px; }
	.cy-section .cy-svc-certs__logos li:first-child img { height: 60px; }
	.cy-svc-certs__note { margin-top: 24px; font-size: 16px; line-height: 26px; }
	.cy-faq--plain { padding: 56px 0 88px; }
}

@media (prefers-reduced-motion: reduce) {
	.cy-section *, .cy-footer * { transition: none !important; }
	.cy-why { background-attachment: scroll; }
}

/* ---------- LINE 選店視窗（Blocksy Popup Content Block「LINE 選店視窗」） ----------
   遮罩、白卡、關閉鈕、Esc／背景關閉、鎖捲動與觸發（點任何 a[href$=cy-line]）都是 Blocksy Popup 的設定
   （tools/blocksy-line-popup.php 建立／更新），這裡只管視窗內的標題、說明與兩顆分店按鈕；內容 HTML 在 content/line-popup.html。
   選擇器多寫一層 .cy-linepick，蓋過 Blocksy 對內容區連結的顏色。 */
.cy-linepick { text-align: center; color: var(--cy-text); }
.cy-linepick * { box-sizing: border-box; }
.cy-linepick .cy-linepick__title { margin: 0; font-size: 20px; font-weight: 600; line-height: 30px; letter-spacing: 1px; color: var(--cy-text); }
.cy-linepick .cy-linepick__sub { margin: 6px 0 0; font-size: 14px; line-height: 22px; letter-spacing: 0; color: var(--cy-text-2); }
.cy-linepick .cy-linepick__btn {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	margin-top: 12px;
	padding: 12px 16px;
	border-radius: 14px;
	background: var(--cy-line-green);
	color: #fff;
	text-align: left;
	text-decoration: none;
	transition: background .15s ease, transform .15s ease;
}
.cy-linepick .cy-linepick__sub + .cy-linepick__btn { margin-top: 20px; }
.cy-linepick .cy-linepick__btn:hover { background: #19A528; color: #fff; transform: translateY(-1px); }
.cy-linepick .cy-linepick__btn:focus-visible { outline: 3px solid var(--cy-primary); outline-offset: 2px; }
.cy-linepick .cy-linepick__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
	color: var(--cy-line-green);
}
.cy-linepick .cy-linepick__icon svg { display: block; width: 26px; height: 23px; }
.cy-linepick .cy-linepick__text { display: block; min-width: 0; }
.cy-linepick .cy-linepick__name { display: block; font-size: 17px; font-weight: 600; line-height: 24px; }
.cy-linepick .cy-linepick__addr { display: block; font-size: 12px; line-height: 18px; letter-spacing: 0; opacity: .9; }


/* ==========================================================================
   服務項目頁藍色主題：強磁場肌力訓練（content/magnetic.html）
   同高能量雷射版面，每個 section 加 .cy-svc--blue 把紫色變數換成藍色（色帶 #78B6DF，取自簡報示意圖）。
   另有這頁才有的：區塊標題上方英文小標、示意圖下方的小字說明、HTML 比較表。
   ========================================================================== */
.cy-svc--blue { --cy-violet: #78B6DF; --cy-violet-2: #3A8FC9; --cy-violet-deep: #78B6DF; }
.cy-svc--blue .cy-svc-copy__text strong { color: var(--cy-violet-2); }
.cy-svc--blue .cy-btn--violet { background: var(--cy-violet-2); }
.cy-section.cy-svc--blue .cy-btn--violet:hover { background: #2E7AB0; color: #fff; }
.cy-svc--blue .cy-svc-card { height: auto; min-height: 96px; padding: 10px 6px 7px; } /* 無圖示的症狀卡：只放名稱、靠下對齊，高度縮到名稱高 */
.cy-svc--blue .cy-svc-card__icon:empty { flex: 0 0 40px; }
.cy-section.cy-svc--blue .cy-svc-hero__slide img { top: 90px; right: -40px; height: 400px; } /* Talent Pro 圖為 1:1 正方，比 M6 的直式圖寬，縮小一級避免蓋到頁名 */
.cy-svc-video__eyebrow { font-family: var(--cy-font-en); font-size: 13px; line-height: 20px; letter-spacing: 1px; color: #909090; text-align: center; }
.cy-svc-video__eyebrow + .cy-ptitle { margin-top: 6px; }
.cy-svc-note { margin-top: 14px; font-size: 13px; line-height: 21px; letter-spacing: 0; color: #777; text-align: justify; } /* 示意圖／比較表下方的小字說明 */
.cy-svc-ba .cy-svc-note { padding: 0 28px; }

/* HTML 比較表：手機橫向捲動、第一欄釘住；平板以上滿版 */
.cy-svc-table { width: 100%; margin-top: 22px; }
.cy-svc-table__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid #D5DEE6; border-radius: 10px; background: #fff; }
.cy-svc-table__scroll::-webkit-scrollbar { height: 6px; }
.cy-svc-table__scroll::-webkit-scrollbar-thumb { background: #C9D3DC; border-radius: 3px; }
.cy-svc-table table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 13px; line-height: 20px; letter-spacing: 0; color: #393939; }
.cy-svc-table th,
.cy-svc-table td { padding: 10px 12px; border-bottom: 1px solid #E3E9EE; border-right: 1px solid #E3E9EE; vertical-align: top; text-align: left; }
.cy-svc-table th:last-child,
.cy-svc-table td:last-child { border-right: 0; }
.cy-svc-table tbody tr:last-child th,
.cy-svc-table tbody tr:last-child td { border-bottom: 0; }
.cy-svc-table thead th { background: var(--cy-violet-2); color: #fff; font-weight: 700; white-space: nowrap; }
.cy-svc-table thead th:first-child { background: #2E7AB0; }
.cy-svc-table tbody th { position: sticky; left: 0; z-index: 1; width: 112px; min-width: 112px; background: #EEF5FA; font-weight: 700; color: #2E5F80; }
.cy-svc-table tbody td:first-of-type { background: #F6FAFD; font-weight: 500; } /* 萃暘使用的磁力肌肉刺激設備那一欄淡藍底 */
.cy-svc-table__hint { margin-top: 8px; font-size: 12px; line-height: 18px; color: #999; text-align: right; }

/* FAQ 答案內的條列（禁忌症） */
.cy-faq__a p + p { margin-top: 8px; }
.cy-faq__a ul { margin: 6px 0 0; padding-left: 1.3em; list-style: disc; }
.cy-faq__a li { margin-top: 2px; }

@media (min-width: 768px) {
	.cy-section.cy-svc--blue .cy-svc-hero__slide img { top: 40px; right: 24px; height: 500px; }
	.cy-svc--blue .cy-svc-card { min-height: 110px; }
	.cy-svc-video__eyebrow { font-size: 14px; }
	.cy-svc-ba .cy-svc-note { max-width: 720px; margin-inline: auto; padding: 0; }
	.cy-svc-table { max-width: 720px; margin-top: 28px; }
	.cy-svc-table table { min-width: 0; font-size: 13px; }
	.cy-svc-table tbody th { width: 120px; min-width: 120px; }
	.cy-svc-table__hint { display: none; }
}

@media (min-width: 1024px) {
	.cy-section.cy-svc--blue .cy-svc-hero__slide img { top: 30px; right: 8%; height: 560px; }
	.cy-svc--blue .cy-svc-card { min-height: 124px; }
	.cy-svc-video__eyebrow { font-size: 15px; line-height: 22px; }
	.cy-svc-ba .cy-svc-note { max-width: 960px; font-size: 14px; line-height: 24px; }
	.cy-svc-table { max-width: 960px; margin-top: 32px; }
	.cy-svc-table table { font-size: 14px; line-height: 22px; }
	.cy-svc-table th,
	.cy-svc-table td { padding: 12px 14px; }
	.cy-svc-table tbody th { width: 140px; min-width: 140px; }
}


/* ==========================================================================
   服務項目頁主題二：靜脈雷射（青綠 .cy-svc--teal）、溫和型高壓氧艙（萊姆綠 .cy-svc--lime）
   同 .cy-svc--blue 的做法：覆寫紫色變數，色帶顏色取自簡報示意圖（靜脈雷射 #478691、高壓氧艙 #C7D259）。
   ========================================================================== */
.cy-svc--teal { --cy-violet: #478691; --cy-violet-2: #3B7580; --cy-violet-deep: #478691; }
.cy-svc--lime { --cy-violet: #C7D259; --cy-violet-2: #93A51C; --cy-violet-deep: #C7D259; }
.cy-svc--teal .cy-svc-copy__text strong,
.cy-svc--lime .cy-svc-copy__text strong { color: var(--cy-violet-2); }
.cy-svc--teal .cy-btn--violet,
.cy-svc--lime .cy-btn--violet { background: var(--cy-violet-2); }
.cy-section.cy-svc--teal .cy-btn--violet:hover { background: #2F5F69; color: #fff; }
.cy-section.cy-svc--lime .cy-btn--violet:hover { background: #7E8E12; color: #fff; }
.cy-svc--teal .cy-svc-card,
.cy-svc--lime .cy-svc-card { height: auto; min-height: 96px; padding: 10px 6px 7px; } /* 無圖示的症狀卡，同強磁場頁 */
.cy-svc--teal .cy-svc-card__icon:empty,
.cy-svc--lime .cy-svc-card__icon:empty { flex: 0 0 40px; }
.cy-section.cy-svc--teal .cy-svc-hero__slide img { right: -30px; } /* OLIB 直式圖較窄，出血少一點 */
.cy-section.cy-svc--lime .cy-svc-hero__slide img { top: 120px; right: -150px; height: 330px; } /* 高壓氧艙是橫式圖（1000×753），縮矮、右側出血多一點（同示意圖） */
.cy-svc-compare__sub { margin-top: 12px; font-size: 16px; line-height: 26px; letter-spacing: 0; color: #555; text-align: center; } /* 比較表標題下的一句引言（靜脈雷射） */
.cy-svc-compare__sub + .cy-svc-table { margin-top: 18px; }
.cy-svc-table--3col table { min-width: 0; } /* 三欄表手機放得下，不需橫向捲動 */
.cy-svc-table--3col + .cy-svc-table__hint,
.cy-svc-table--3col .cy-svc-table__hint { display: none; }
.cy-svc-note a { color: var(--cy-violet-2); text-decoration: underline; text-underline-offset: 2px; }
.cy-svc-note a:hover { color: var(--cy-violet); }
.cy-svc-note + .cy-svc-note { margin-top: 6px; }

@media (min-width: 768px) {
	.cy-section.cy-svc--teal .cy-svc-hero__slide img { right: 40px; }
	.cy-section.cy-svc--lime .cy-svc-hero__slide img { top: 90px; right: -60px; height: 400px; }
	.cy-svc--teal .cy-svc-card,
	.cy-svc--lime .cy-svc-card { min-height: 110px; }
	.cy-svc-compare__sub { font-size: 17px; }
}

@media (min-width: 1024px) {
	.cy-section.cy-svc--teal .cy-svc-hero__slide img { top: 36px; right: 10%; height: 640px; }
	.cy-section.cy-svc--lime .cy-svc-hero__slide img { top: 70px; right: 3%; height: 470px; }
	.cy-svc--teal .cy-svc-card,
	.cy-svc--lime .cy-svc-card { min-height: 124px; }
	.cy-svc-compare__sub { font-size: 18px; line-height: 30px; }
}

/* 三欄比較表用固定欄寬，表頭允許換行（手機不再溢出、電腦三欄寬度平均）；FAQ 條列後的段落補間距 */
.cy-svc-table--3col table { table-layout: fixed; width: 100%; }
.cy-svc-table--3col thead th { white-space: normal; }
.cy-svc-table--3col th:first-child,
.cy-svc-table--3col tbody th { width: 28%; min-width: 0; }
.cy-faq__a ul + p { margin-top: 8px; }
@media (min-width: 768px) {
	.cy-svc-table--3col th:first-child,
	.cy-svc-table--3col tbody th { width: 22%; }
}

/* ---------- 常見Q&A 分組小標：問題集分四組，列表內用 h3 隔開，第一組貼著標題下緣 ---------- */
.cy-faq__group { margin: 36px 0 4px; padding-left: 12px; border-left: 3px solid var(--cy-lime); font-size: 16px; font-weight: 700; line-height: 24px; letter-spacing: .5px; color: var(--cy-primary); }
.cy-faq__list--grouped .cy-faq__group:first-child { margin-top: 0; }
.cy-faq__a ul { margin: 6px 0 0; padding-left: 1.3em; list-style: disc; }
.cy-faq__a li { margin-top: 2px; }
@media (min-width: 1024px) {
	.cy-faq__group { margin-top: 44px; font-size: 17px; line-height: 26px; }
}


/* ==========================================================================
   強磁場肌力訓練頁（content/magnetic.html）
   1. 手機版主視覺：Talent Pro 是 1:1 正方圖、機械臂伸向左上，縮到 400px 高仍佔滿整個寬度會壓在頁名上，
      手機改成「頁名在上、儀器在下」兩段式，不共用同一段高度；平板以上為左字右圖。
   2. 許可證圖：兩張 TFDA 許可證與 FDA 510(k) 核准函直接放上頁面，各自連到官方查詢頁。
   ========================================================================== */
.cy-svc--blue .cy-svc-hero__text { top: 28px; }
.cy-section.cy-svc--blue .cy-svc-hero__slide img { top: 124px; right: -16px; height: 390px; }

.cy-svc-certs__docs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 14px; width: 100%; max-width: 420px; margin: 28px auto 0; padding: 0; list-style: none; }
.cy-svc-certs__docs li { margin: 0; }
.cy-svc-certs__docs li:last-child { grid-column: 1 / -1; } /* FDA 核准函是橫式，手機獨占一列 */
.cy-svc-certs__docs a { display: flex; flex-direction: column; align-items: center; color: inherit; text-decoration: none; }
.cy-section .cy-svc-certs__docs img { display: block; width: 100%; height: auto; border: 1px solid #DDE3E8; border-radius: 6px; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .06); transition: box-shadow .2s ease, transform .2s ease; }
.cy-svc-certs__docs a:hover img { box-shadow: 0 6px 18px rgba(0, 0, 0, .12); transform: translateY(-2px); }
.cy-svc-certs__docs li:last-child img { max-width: 300px; }
.cy-svc-certs__cap { display: block; margin-top: 8px; font-size: 12px; line-height: 18px; letter-spacing: 0; color: #777; text-align: center; }
.cy-svc-certs__docs a:hover .cy-svc-certs__cap { color: var(--cy-violet-2); }
.cy-svc-certs__docs + .cy-svc-certs__note { margin-top: 20px; }

@media (min-width: 768px) {
	.cy-svc--blue .cy-svc-hero__text { top: 50%; }
	.cy-svc-certs__docs { grid-template-columns: repeat(3, 1fr); align-items: start; gap: 20px; max-width: 720px; margin-top: 32px; }
	.cy-svc-certs__docs li:last-child { grid-column: auto; align-self: center; }
	.cy-svc-certs__docs li:last-child img { max-width: none; }
	.cy-svc-certs__cap { font-size: 13px; line-height: 20px; }
}

@media (min-width: 1024px) {
	.cy-svc-certs__docs { max-width: 960px; gap: 28px; margin-top: 36px; }
	.cy-svc-certs__cap { font-size: 14px; line-height: 22px; margin-top: 10px; }
}


/* ==========================================================================
   高能量雷射頁（content/laser.html）
   1. 症狀卡上方小標「常見肌肉骨骼不適」。
   2. 比較表：六欄文字表，沿用 .cy-svc-table 的手機橫向捲動版，
      紫色主題用 .cy-svc-table--violet 把藍色硬編碼的表頭／第一欄換成紫色變數。
   3. 許可證圖列 .cy-svc-certs__docs 沿用強磁場頁的樣式；雷射頁只有兩張（TFDA 許可證直式＋FDA 核准函橫式），
      手機各占一列、平板以上兩欄置中。
   ========================================================================== */
.cy-svc-symptoms__title { margin: 0 0 16px; font-size: 18px; font-weight: 700; line-height: 26px; letter-spacing: 1px; color: #313131; text-align: center; }

.cy-svc-table--violet thead th { background: var(--cy-violet-2); }
.cy-svc-table--violet thead th:first-child { background: var(--cy-violet-deep); }
.cy-svc-table--violet tbody th { background: #F1EEF8; color: var(--cy-violet); }
.cy-svc-table--violet tbody td:first-of-type { background: transparent; font-weight: 400; }
.cy-svc-table--violet tbody td:last-child { background: transparent; font-weight: 400; } /* M8 欄不預先上色，滑過才變色 */
.cy-svc-table--violet .cy-svc-table__scroll { border-color: #DDD8EA; }
.cy-svc-table--violet th,
.cy-svc-table--violet td { border-color: #E8E4F1; }

.cy-svc-certs__docs--two { grid-template-columns: 1fr; max-width: 320px; }
.cy-svc-certs__docs--two li:last-child { grid-column: auto; }
.cy-svc-certs__docs--two li:last-child img { max-width: none; }

@media (min-width: 768px) {
	.cy-svc-symptoms__title { font-size: 20px; line-height: 30px; margin-bottom: 20px; }
	.cy-svc-certs__docs--two { grid-template-columns: 260px 1fr; align-items: center; max-width: 720px; }
}

@media (min-width: 1024px) {
	.cy-svc-symptoms__title { font-size: 22px; line-height: 32px; margin-bottom: 24px; }
	.cy-svc-certs__docs--two { grid-template-columns: 300px 1fr; max-width: 860px; }
}


/* ==========================================================================
   追求頁「儀器設備」兩台並排版 .cy-dgrid（強化機能頁：高壓氧艙＋OLIB 靜脈雷射）
   沿用 .cy-dslide／.cy-dslide__media／.cy-dslide__caption 的尺寸與字級，不走輪播、手機也左右兩欄。
   ========================================================================== */
.cy-dgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; width: 100%; margin-top: 30px; }
.cy-dgrid .cy-dslide { display: flex; min-width: 0; }
.cy-dgrid .cy-dslide__media { width: 100%; }
.cy-dgrid .cy-dslide__caption { font-size: 16px; line-height: 24px; }

@media (min-width: 768px) {
	.cy-dgrid { gap: 32px; max-width: 720px; margin-top: 36px; }
	.cy-dgrid .cy-dslide__caption { font-size: 18px; line-height: 28px; }
}

@media (min-width: 1024px) {
	.cy-dgrid { gap: 48px; max-width: 900px; margin-top: 40px; }
	.cy-dgrid .cy-dslide__caption { font-size: 22px; line-height: 32px; }
}


/* ==========================================================================
   四個服務頁主視覺儀器圖：視覺比例一致
   四張原圖的留白與長寬比都不同（儀器實際占圖高：M8 94%、Talent Pro 82%、OLIB 90%、高壓氧艙 97%），
   同一個 CSS 高度看起來大小不一、底部有的被色帶切掉有的沒有，因此以儀器本體為準：
   - 電腦（≥1024，主視覺 600px、色帶壓底 32px）：儀器本體等高 450px（高壓氧艙是橫式、取 400px 免得太霸），
     本體底部一律落在色帶上緣往上 20px（y=548），本體右緣一律對齊容器內緣往內 40px。
   - 平板（≥768，主視覺 560px）：本體 380px（高壓氧艙 340px），底部 y=512，右緣對齊容器內緣往內 24px。
   - 手機（<768）見下方的兩段式規則。
   換算：img 高 = 目標本體高 ÷ 本體占圖高比例；top = 本體頂 y − 圖上方留白；right = 目標右距 − 圖右側留白。
   ========================================================================== */
@media (min-width: 768px) {
	.cy-section .cy-svc-hero__slide img { top: 124px; right: 28px; height: 406px; }                 /* M8：804×1100，本體 y 2%～95.7%、x 10%～90.7% */
	.cy-section.cy-svc--blue .cy-svc-hero__slide img { top: 97px; right: -49px; height: 462px; }    /* Talent Pro：640×641，本體 y 7.5%～89.7%、x 10.9%～77.3%（右側留白多，往右推） */
	.cy-section.cy-svc--teal .cy-svc-hero__slide img { top: 113px; right: 32px; height: 423px; }    /* OLIB：560×1024，本體 y 4.5%～94.4%、x 9.3%～89.5% */
	.cy-section.cy-svc--lime .cy-svc-hero__slide img { top: 167px; right: 54px; height: 350px; }    /* 高壓氧艙：1000×753，本體幾乎滿圖；橫式取 340px 本體高 */
}

@media (min-width: 1024px) {
	.cy-section .cy-svc-hero__slide img { top: 88px; right: 47px; height: 480px; }
	.cy-section.cy-svc--blue .cy-svc-hero__slide img { top: 57px; right: -44px; height: 547px; }
	.cy-section.cy-svc--teal .cy-svc-hero__slide img { top: 75px; right: 51px; height: 500px; }
	.cy-section.cy-svc--lime .cy-svc-hero__slide img { top: 143px; right: 77px; height: 412px; }
}


/* ---------- 高壓氧艙頁手機版主視覺兩段式（艙體是橫式圖，縮放都會壓到頁名；同強磁頁做法） ---------- */
.cy-svc--lime .cy-svc-hero__text { top: 28px; }
.cy-section.cy-svc--lime .cy-svc-hero__slide img { top: 140px; right: -20px; height: 290px; }
@media (min-width: 768px) {
	.cy-svc--lime .cy-svc-hero__text { top: 50%; }
}


/* ==========================================================================
   四個服務頁手機版主視覺統一兩段式（<768）
   頁名在上 top 28px；儀器本體等高 330px（高壓氧艙橫式 250px）、本體底部 y=461（色帶上緣 477 往上 16px）、
   本體右緣對齊容器內緣往內 20px（高壓氧艙 8px，艙門在左、不能往左出血太多）。
   換算同電腦版：img 高 = 本體高 ÷ 本體占圖高；top = 本體頂 y − 圖上方留白；right = 目標右距 − 圖右側留白。
   ========================================================================== */
.cy-svc-hero__text { top: 28px; }
.cy-section .cy-svc-hero__slide img { top: 124px; right: -4px; height: 352px; }                  /* M8 */
.cy-section.cy-svc--blue .cy-svc-hero__slide img { top: 101px; right: -71px; height: 401px; }    /* Talent Pro（右側留白 23%，往右推） */
.cy-section.cy-svc--teal .cy-svc-hero__slide img { top: 114px; right: -1px; height: 367px; }     /* OLIB */
.cy-section.cy-svc--lime .cy-svc-hero__slide img { top: 208px; right: 6px; height: 257px; }      /* 高壓氧艙 */
@media (min-width: 768px) {
	.cy-svc-hero__text { top: 50%; }
}


/* ---------- 高能量雷射頁主視覺 device-m8.webp（792×1457，已裁到本體、四邊留 20px：本體占 x 2.5%～97.5%、y 1.4%～98.6%） ----------
   目標同上：手機本體 330px 底 y=461 右距 20；平板 380／512／24＋32；電腦 450／548／40＋40 */
.cy-section .cy-svc-hero__slide img { top: 126px; right: 15px; height: 340px; }
@media (min-width: 768px) {
	.cy-section .cy-svc-hero__slide img { top: 127px; right: 51px; height: 391px; }
}
@media (min-width: 1024px) {
	.cy-section .cy-svc-hero__slide img { top: 92px; right: 74px; height: 463px; }
}


/* ==========================================================================
   動畫與 hover
   1. 捲動浮現 .cy-reveal／.cy-reveal-group：site.js 用 IntersectionObserver 在元素進入畫面時加 .is-in，
      動畫跑完把 reveal class 拿掉（之後 hover 的 transition 才不會被 0.7s 與延遲拖慢）。
      只有 <html class="cy-js">（wp_head 的 inline script 加的）才先隱藏；site.js 4 秒內沒執行到會加 html.cy-reveal-off 全部顯示回來。
      .cy-reveal-group 的直接子元素依序浮現（每個差 0.1s）；.cy-reveal--roll 是萃暘理念 logo 的滾動＋旋轉進場。
   2. hover：三大追求卡片微浮、服務項目「了解更多」變青色底白字、品牌精神圓與文字變萊姆綠、就診須知 Step 卡底色變淺青。
   3. 比較表：HTML 表格滑過的直欄變色（site.js 加 .is-col-hover）。
   4. 頁尾 IG／FB 圖示列 .cy-fsocial。
   ========================================================================== */
html.cy-js .cy-reveal,
html.cy-js .cy-reveal-group > * {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .7s ease, transform .7s ease;
}
html.cy-js .cy-reveal.is-in,
html.cy-js .cy-reveal-group.is-in > * { opacity: 1; transform: none; }
html.cy-js .cy-reveal-group.is-in > :nth-child(2) { transition-delay: .1s; }
html.cy-js .cy-reveal-group.is-in > :nth-child(3) { transition-delay: .2s; }
html.cy-js .cy-reveal-group.is-in > :nth-child(4) { transition-delay: .3s; }
html.cy-js .cy-reveal-group.is-in > :nth-child(5) { transition-delay: .4s; }
html.cy-js .cy-reveal-group.is-in > :nth-child(6) { transition-delay: .5s; }
html.cy-js .cy-reveal-group.is-in > :nth-child(7) { transition-delay: .6s; }
html.cy-js .cy-reveal-group.is-in > :nth-child(n+8) { transition-delay: .7s; }
html.cy-js .cy-reveal--roll { /* logo 從左側滾進來：位移＋轉一圈半，最後停在原位 */
	transform: translateX(-140px) rotate(-540deg);
	transition: opacity .8s ease, transform 1.3s cubic-bezier(.2, .75, .25, 1);
}
html.cy-js .cy-reveal--roll.is-in { transform: none; }
html.cy-reveal-off .cy-reveal,
html.cy-reveal-off .cy-reveal-group > * { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
	html.cy-js .cy-reveal,
	html.cy-js .cy-reveal-group > * { opacity: 1; transform: none; transition: none; }
}

/* hover 變色 */
.cy-section .cy-pursuits .cy-pcard { transition: transform .25s ease, box-shadow .25s ease; }
.cy-section .cy-pursuits .cy-pcard:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(22, 22, 23, .18); }
.cy-section .cy-btn--outline { transition: transform .15s ease, box-shadow .15s ease, background-color .2s ease, color .2s ease, border-color .2s ease; }
.cy-section .cy-btn--outline:hover { background: var(--cy-primary); border-color: var(--cy-primary); color: #fff; }
.cy-spirit__circle { transition: background-color .25s ease, transform .25s ease; }
.cy-section .cy-spirit__circle img { transition: filter .25s ease; }
.cy-spirit__name,
.cy-spirit__desc { transition: color .25s ease; }
.cy-spirit__item:hover .cy-spirit__circle { background: var(--cy-lime); transform: scale(1.06); }
.cy-section .cy-spirit__item:hover .cy-spirit__circle img { filter: brightness(0) opacity(.8); } /* 白色圖示在萊姆綠上改成深色，與萊姆綠按鈕的深色字一致 */
.cy-spirit__item:hover .cy-spirit__name,
.cy-spirit__item:hover .cy-spirit__desc { color: var(--cy-lime); }
.cy-stepcard { transition: background-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.cy-stepcard:hover { background: #E4F4F5; } /* 只變底色，不浮起、圖示不放大 */

/* 比較表：直欄滑過變色 */
.cy-svc-table th,
.cy-svc-table td { transition: background-color .15s ease; }
.cy-svc-table tbody td.is-col-hover { background: #EDE9F6; } /* 要 tbody 才壓得過 .cy-svc-table--violet tbody td:first-of-type 的透明底 */
/* 表頭與「比較項目」那一欄不變色，只變內容格 */
.cy-svc-compare__figure { position: relative; }
.cy-svc-compare__col {
	position: absolute;
	top: var(--cy-col-top, 0);
	height: var(--cy-col-h, 100%);
	background: var(--cy-violet-2);
	opacity: 0;
	mix-blend-mode: multiply;
	transition: opacity .2s ease;
}
.cy-svc-compare__col:hover { opacity: .16; }

/* 頁尾 IG／FB（與 logo 包在 .cy-fbrand 同一欄、貼在 logo 正下方；hover 白底＋頁尾底色的 icon，沒 hover 是白框白 icon） */
.cy-fbrand { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.cy-fsocial { position: relative; left: 14px; display: flex; justify-content: center; gap: 10px; margin: -4px 0 18px; } /* 往右 14px，視覺上對齊 logo（左邊小綠人較重，文字中心偏右） */
.cy-fsocial__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(255, 255, 255, .7);
	border-radius: 50%;
	color: #fff;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.cy-fsocial__link svg { width: 18px; height: 18px; }
#footer .cy-footer .cy-fsocial__link:hover { background: #fff; border-color: #fff; color: var(--cy-primary-dark); }
@media (min-width: 1024px) {
	.cy-fbrand { align-items: flex-start; }
	.cy-fsocial { width: 200px; margin: 16px 0 0; } /* 與 logo 同寬，兩顆圖示對 logo 置中 */
}

/* 全站游標：維持瀏覽器原生，小綠人由 site.js 建的 .cy-cursor-pet 跟著滑鼠走（圖源 cursor-chill-2x.png） */
.cy-cursor-pet {
	position: fixed;
	left: 0;
	top: 0;
	width: 30px;
	height: 30px;
	margin: 11px 0 0 9px; /* 原生箭頭約 12×19，小綠人貼著箭頭右下方 */
	background: url(../img/cursor-chill-2x.png) center / contain no-repeat;
	pointer-events: none;
	z-index: 2147483647;
	opacity: 0;
	transition: opacity .15s;
	will-change: transform;
}
.cy-cursor-pet.is-on { opacity: 1; }
@media (hover: none), (pointer: coarse), print {
	.cy-cursor-pet { display: none; }
}


/* ==========================================================================
   首頁三大追求卡與 WHY 區的 hover 行為（有滑鼠的裝置）
   1. 三大追求卡：預設整張卡只有 X 光圖（圖推滿卡片、不淡出），滑過時左側漸層壓上卡片底色、標題／說明／箭頭淡入；
      觸控裝置維持常駐文字版。
   2. WHY 區：問句、三個訴求、說明文字要滑過這區才浮現（site.js 滑過一次後加 .is-hovered 留住）；小標與膠囊常駐。
   ========================================================================== */
@media (hover: hover) and (pointer: fine) {
	.cy-section .cy-pcard__img { width: 100%; -webkit-mask-image: none; mask-image: none; }
	.cy-pcard::before { /* 滑過時從左邊壓上卡片底色，字才讀得清楚 */
		content: "";
		position: absolute;
		inset: 0;
		z-index: 1;
		background: linear-gradient(to right, var(--cy-pcard-bg, #282827) 0%, var(--cy-pcard-bg, #282827) 40%, rgba(0, 0, 0, 0) 72%);
		opacity: 0;
		transition: opacity .35s ease;
	}
	.cy-pcard__title,
	.cy-pcard__text { z-index: 2; opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .35s ease; }
	.cy-pcard__text { transition-delay: .06s; }
	.cy-pcard__arrow { z-index: 2; opacity: 0; transition: opacity .35s ease .12s, transform .15s ease; }
	.cy-pcard:hover::before,
	.cy-pcard:focus-within::before { opacity: 1; }
	.cy-pcard:hover .cy-pcard__title,
	.cy-pcard:hover .cy-pcard__text,
	.cy-pcard:focus-within .cy-pcard__title,
	.cy-pcard:focus-within .cy-pcard__text { opacity: 1; transform: none; }
	.cy-pcard:hover .cy-pcard__arrow,
	.cy-pcard:focus-within .cy-pcard__arrow { opacity: 1; }

	.cy-why__q,
	.cy-why__carousel,
	.cy-why__text { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
	.cy-why__carousel { transition-delay: .1s; }
	.cy-why__text { transition-delay: .2s; }
	.cy-why:hover .cy-why__q,
	.cy-why:hover .cy-why__carousel,
	.cy-why:hover .cy-why__text,
	.cy-why.is-hovered .cy-why__q,
	.cy-why.is-hovered .cy-why__carousel,
	.cy-why.is-hovered .cy-why__text { opacity: 1; transform: none; }
}


/* ==========================================================================
   首頁卡片連結、色帶 reveal、比較表主題色與 FAQ
   1. 首頁三大追求卡整張是 <a>，箭頭為裝飾（不單獨位移）。
   2. 追求頁引言帶、服務頁色帶：reveal 掛在文字上，帶子本身（圓弧底）不動，才不會露出後面的背景。
   3. 強磁／靜脈雷射／高壓氧三頁比較表為 HTML（同雷射頁 .cy-svc-table--violet），表頭、第一欄與邊線顏色跟各頁主題色走。
   4. FAQ 展開中的題目維持 hover 的青綠色。
   ========================================================================== */
.cy-section .cy-pcard__arrow:hover { transform: none; }
.cy-section a.cy-pcard { color: #fff; }
.cy-section a.cy-pcard--light { color: var(--cy-text); }
.cy-faq__item[open] .cy-faq__q { color: var(--cy-primary); }
.cy-svc--blue .cy-svc-table--violet thead th,
.cy-svc--teal .cy-svc-table--violet thead th,
.cy-svc--lime .cy-svc-table--violet thead th { background: var(--cy-violet-2); }
.cy-svc--blue .cy-svc-table--violet tbody th,
.cy-svc--teal .cy-svc-table--violet tbody th,
.cy-svc--lime .cy-svc-table--violet tbody th { background: color-mix(in srgb, var(--cy-violet-2) 10%, #fff); color: var(--cy-violet-2); }
.cy-svc--blue .cy-svc-table--violet th, .cy-svc--blue .cy-svc-table--violet td,
.cy-svc--teal .cy-svc-table--violet th, .cy-svc--teal .cy-svc-table--violet td,
.cy-svc--lime .cy-svc-table--violet th, .cy-svc--lime .cy-svc-table--violet td { border-color: color-mix(in srgb, var(--cy-violet-2) 18%, #fff); }
.cy-svc--blue .cy-svc-table--violet .cy-svc-table__scroll,
.cy-svc--teal .cy-svc-table--violet .cy-svc-table__scroll,
.cy-svc--lime .cy-svc-table--violet .cy-svc-table__scroll { border-color: color-mix(in srgb, var(--cy-violet-2) 30%, #fff); }
.cy-svc--blue .cy-svc-table tbody td.is-col-hover,
.cy-svc--teal .cy-svc-table tbody td.is-col-hover,
.cy-svc--lime .cy-svc-table tbody td.is-col-hover { background: color-mix(in srgb, var(--cy-violet-2) 12%, #fff); }



/* ==========================================================================
   服務頁色帶與比較表欄寬
   1. 服務頁色帶：較長的標語在手機會兩行，行距 1.5，高度 min-height 隨內容。
   2. 四個服務頁比較表統一由 site.js 計算欄寬：表頭（thead）與第一欄（tbody th）一律不斷行，第一欄寬＝最長的項目名，
      後面每一欄等寬（至少放得下表頭文字，放得下就平均撐滿容器），放不下時整個表格橫向捲動並顯示提示；
      thead 的「比較項目」那一格也 sticky，橫向捲動時與下面的第一欄一起固定。
   ========================================================================== */
.cy-svc-band { height: auto; min-height: 62px; padding: 9px 28px 11px; line-height: 1.5; }
.cy-svc-table thead th,
.cy-svc-table tbody th { white-space: nowrap; }
.cy-svc-table thead th:first-child { position: sticky; left: 0; z-index: 2; }
/* 表頭列固定：sticky top 只對自己的捲動容器有效，而橫向捲動的 .cy-svc-table__scroll 就是容器，
   所以給容器一個最大高度（80vh）讓太長的表格改在容器內上下捲，thead 就能 sticky 在容器頂端；表格不超過 80vh 時沒有內捲。 */
.cy-svc-table__scroll { max-height: 80vh; overflow: auto; }
.cy-svc-table thead th { position: sticky; top: 0; z-index: 2; }
.cy-svc-table thead th:first-child { z-index: 3; }
.cy-svc-table.is-scrollable .cy-svc-table__hint { display: block; }
@media (min-width: 768px) {
	.cy-svc-band { min-height: 68px; padding: 10px 32px 12px; }
}

/* ===== 聯絡我們頁（content/contact.html）：頁首色帶同初診預約，表單區 .cy-contact 包住 Fluent Forms 區塊 ===== */
.cy-contact { padding: 40px 0 64px; background: #FAFAFA; }
.cy-contact__inner { max-width: 806px; } /* 750 內容寬 + 左右 28 內距，與預設模板的表單寬度相同 */
@media (min-width: 768px) {
	.cy-contact { padding: 56px 0 80px; }
	.cy-contact__inner { max-width: 814px; }
}
.cy-contact :where(.fluentform) { width: 100%; }
