  /* =========================================
     0. 字型與全域設定
     ========================================= */

  /* --- 網路字型：思源宋體 (iOS 沒有內建中文明體，需從 Google Fonts 載入) --- */
  @import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@500;600;700&family=M+PLUS+Rounded+1c:wght@800&display=swap');

  :root {
  	--bg-cream: #f7f4ec;
  	--brand-green: #ffb75d;
  	--brand-green-dark: #fc842d;
  	--brand-blue: #003c81;
  	--accent-coral: #D96A4E;
  	--accent-blue: #4A90E2;
  	--text-main: #333333;
  	--text-muted: #555555;
  	--line-track: #D5CEBF;
  	--white: #FFFFFF;
  	--footer-bg: #96aebf;
  	--ch1-hero-bg: #63a7fa;
  	--ch2-hero-bg: #ef8579;
  	--ch3-hero-bg: #ffb75d;
    --ch3-hero-bg-dark: #f99920;
  }

  * {
  	box-sizing: border-box;
  	margin: 0;
  	padding: 0;
  	-webkit-font-smoothing: antialiased;
  }

  body {
  	background-color: #E2E2E2;
  	display: flex;
  	justify-content: center;
  	padding: 0;
  	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang TC", "Microsoft JhengHei", sans-serif;
  }

  .mobile-container {
  	width: 100%;
  	max-width: 430px;
  	background-color: var(--bg-cream);
  	min-height: 100vh;
  	display: flex;
  	flex-direction: column;
  	position: relative;
  	box-shadow: 0 0 24px rgba(0, 0, 0, 0.12);
  	overflow-x: hidden;
  }

  /* 頁內連結跳轉時平滑捲動 */
  html {
  	scroll-behavior: smooth;
  }

  /* --- iOS safe area (搭配 viewport-fit=cover) ---
     手機上把頁面頂端／底端外的區域 (狀態列、Home 條、上下拉回彈) 填成 Hero 與 Footer 的顏色，避免出現灰色斷層 */
  :root {
  	--safe-top: env(safe-area-inset-top, 0px);
  	--safe-bottom: env(safe-area-inset-bottom, 0px);
  }

  body {
  	--page-top-color: var(--bg-cream);
  }

  body.ch1-sub-page,
  body#page-1-index {
  	--page-top-color: var(--ch1-hero-bg);
  }

  body.ch2-sub-page,
  body#page-2-index {
  	--page-top-color: var(--ch2-hero-bg);
  }

  body.ch3-sub-page,
  body#page-3-index {
  	--page-top-color: var(--ch3-hero-bg);
  }

  body#page-index {
  	--page-top-color: var(--brand-blue);
  }

  @media (max-width: 430px) {
  	/* 上半：body 底色 = Hero 色 (往下拉回彈時露出) */
  	body,
  	body#page-index {
  		background-color: var(--page-top-color);
  	}

  	/* 下半：固定在畫面下半部的 Footer 色，藏在內容後面，只在底部回彈時露出 */
  	body::after {
  		content: "";
  		position: fixed;
  		left: 0;
  		right: 0;
  		bottom: 0;
  		height: 50vh;
  		background-color: var(--footer-bg);
  		z-index: -1;
  		pointer-events: none;
  	}
  }


  /* =========================================
     1. 共用元件（所有頁面）
     Hero、內容時間軸、底部按鈕、頁尾、側邊選單、工具 class
     ========================================= */

  /* --- Hero 區塊 --- */
  .hero-header {
  	position: relative;
  	background-color: var(--bg-cream);
  	padding-bottom: 150px;
  	/* 留給圓形插畫跨界呼吸空間 */
  }

  .hero-header {
  	padding-bottom: 460px;
  }

  .ch2-sub-page .hero-header,
  .ch3-sub-page .hero-header {
  	padding-bottom: 50%;
  }

  .hero-content {
  	position: relative;
  	z-index: 2;
  	padding: calc(24px + var(--safe-top)) 20px 20px 24px;
  	color: var(--white);
  }

  /* 頂部導航列 */
  .top-nav {
  	display: flex;
  	justify-content: space-between;
  	align-items: center;
  	margin-bottom: 24px;
  }

  .route-text {
  	font-size: 16px;
  	font-weight: 500;
  	letter-spacing: 0.5px;
  }

  .menu-button {
  	width: 36px;
  	height: 36px;
  	border-radius: 50%;
  	border: 1.5px solid rgba(255, 255, 255, 0.8);
  	display: flex;
  	flex-direction: column;
  	justify-content: center;
  	align-items: center;
  	gap: 3.5px;
  	cursor: pointer;
  }

  .menu-button span {
  	display: block;
  	width: 15px;
  	height: 2px;
  	background-color: var(--white);
  	border-radius: 1px;
  }

  /* Gate 標籤組合 */
  .gate-row {
  	display: flex;
  	align-items: center;
  	margin-left: -24px;
  	/* 緊貼左邊緣 */
  	margin-bottom: 18px;
  }

  .gate-badge {
  	background-color: #ffffff;
  	color: var(--brand-green);
    font-size: 14px;
    font-weight: 700;
    padding: 16px 8px 4px 24px;
    line-height: 1;
    letter-spacing: 0.5px;
  }

  .gate-number {
  	font-size: 42px;
  	font-weight: 800;
  	line-height: 1;
  	margin-left: 12px;
  	letter-spacing: -0.5px;
  	color: #fff;
  }

  /* 明體主標題與雙底線裝飾 */
  .hero-title {
  	font-family: "Songti TC", "Noto Serif TC", "Source Han Serif TC", "MingLiU", serif;
  	font-size: 36px;
  	font-weight: 600;
  	line-height: 1.2;
  	letter-spacing: 1px;
  	margin-bottom: 26px;
  }

  .hero-title .underline {
  	display: inline-block;
  	/* border-bottom: 1.5px solid var(--accent-blue); */
  	padding-bottom: 1px;
  }

  .hero-subtitle {
  	font-size: 15px;
  	line-height: 1.65;
  	opacity: 0.95;
  	max-width: 100%;
    margin-top: 16px;
  }

  /* 右下角圓形插畫容器（留作 replace 預留位置） */

  .hero-illustration-wrap {
  	position: absolute;
  	right: 5%;
  	bottom: -10px;
  	width: 285px;
  	height: auto;
  	z-index: 3;
  	overflow: hidden;
  	display: flex;
  	align-items: center;
  	justify-content: center;
  }
  
  .ch1-sub-page .hero-illustration-wrap {
    width: 265px;
  }

  #page-1-2 .hero-illustration-wrap {
    bottom: 10px;
  }

  #page-1-4 .hero-illustration-wrap {
    bottom: 20px;
  }
  
  .ch3-sub-page .hero-illustration-wrap {
    width: 285px;
  }

  .ch2-sub-page .hero-illustration-wrap {
    width: 195px;
  	right: 5%;
  	bottom: -5%;
  }
  
  
  #page-2-3.ch2-sub-page .hero-illustration-wrap {
    right: 10%;
    bottom: -3%;
  }
  
  .hero-illustration-wrap.c3 {
  	right: auto;
  	left: 0;
  	bottom: -20px;
  }
  
  

  .hero-illustration-wrap img {
  	width: 100%;
  	height: auto;
  	/* object-fit: cover; */
  	display: block;
  	/* filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12)); */
  }

  /* 圖片未載入前的 placeholder 視覺 */
  .image-placeholder {
  	font-size: 11px;
  	color: #999;
  	text-align: center;
  	line-height: 1.4;
  	padding: 8px;
  	border: 1px dashed #CCC;
  	border-radius: 8px;
  }

  .hero-header .scroll-down-btn {
  	position: absolute;
  	bottom: 10%;
  	left: 50%;
  	transform: translateX(-50%);
  	width: 40px;
  	height: 55px;
  	border-radius: 20px;
  	border: 1.5px solid rgba(255, 255, 255, 0.6);
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	color: white;
  	z-index: 3;
  }

  /* --- 內容時間軸 --- */
  .timeline-container {
  	padding: 36px 20px 32px 20px;
  	position: relative;
  	flex: 1;
  }

  .timeline-container::before {
  	content: "";
  	position: absolute;
  	top: 48px;
  	bottom: 60px;
  	left: 36px;
  	width: 2px;
  	background: repeating-linear-gradient(to bottom, var(--line-track) 0, var(--line-track) 6px, transparent 6px, transparent 10px);
  	z-index: 1;
  }

  .index-timeline {
  	background-color: var(--bg-cream);
  	position: relative;
  	padding: 40px 20px 60px 20px;
  	display: flex;
  	flex-direction: column;
  	/* gap: 32px; */
  }

  .index-timeline::before {
  	display: none;
  }

  /* --- 底部按鈕 --- */
  .action-group {
  	display: flex;
  	flex-direction: column;
  	align-items: center;
  	padding: 8px 20px 40px 20px;
  	text-align: center;
  }

  .btn-next {
  	background-color: var(--brand-green);
  	color: var(--white);
  	text-decoration: none;
  	padding: 11px 34px;
  	border-radius: 99px;
  	font-size: 15px;
  	font-weight: 700;
  	display: inline-flex;
  	align-items: center;
  	gap: 8px;
  	box-shadow: 0 4px 14px rgba(55, 126, 104, 0.25);
  }

  .next-gate-code {
  	font-size: 12px;
  	color: #9E9689;
  	margin-top: 10px;
  }

  /* --- 頁尾 Footer --- */
  .site-footer {
  	background-color: var(--footer-bg);
  	color: var(--white);
  	padding: 20px 20px calc(20px + var(--safe-bottom));
  	font-size: .9rem;
  	line-height: 1.6;
  }

  .footer-sub {
  	opacity: 0.75;
  	font-size: 11px;
  	margin-bottom: 2px;
  }

  .footer-title {
  	font-size: 16px;
  	font-weight: 700;
  	margin-bottom: 8px;
  	letter-spacing: 0.5px;
  }

  .footer-copyright {
  	opacity: 0.5;
  	font-size: 10px;
  	margin-top: 14px;
  }

  /* --- Slide-out Menu --- */
  .side-menu-overlay {
  	position: fixed;
  	top: 0;
  	left: 0;
  	right: 0;
  	bottom: 0;
  	background: rgba(0, 0, 0, 0.5);
  	z-index: 998;
  	opacity: 0;
  	pointer-events: none;
  	transition: opacity 0.3s ease;
  }

  .side-menu-overlay.active {
  	opacity: 1;
  	pointer-events: auto;
  }

  .side-menu {
  	position: fixed;
  	top: 0;
  	right: 0;
  	width: 75%;
  	max-width: 320px;
  	height: 100vh;
  	background-color: #FFFFFF;
  	z-index: 999;
  	transform: translateX(100%);
  	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  	display: flex;
  	flex-direction: column;
  	box-shadow: none;
  	overflow-y: auto;
  }

  .side-menu.active {
  	transform: translateX(0);
  	box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  }

  .side-menu-header {
  	padding: calc(24px + var(--safe-top)) 20px 24px;
  	display: flex;
  	justify-content: flex-end;
  }

  .menu-close-btn {
  	width: 36px;
  	height: 36px;
  	border-radius: 50%;
  	border: 1.5px solid var(--brand-blue);
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	cursor: pointer;
  	position: relative;
  }

  .menu-close-btn span {
  	position: absolute;
  	width: 16px;
  	height: 2px;
  	background-color: var(--brand-blue);
  	border-radius: 1px;
  }

  .menu-close-btn span:nth-child(1) {
  	transform: rotate(45deg);
  }

  .menu-close-btn span:nth-child(2) {
  	transform: rotate(-45deg);
  }

  .side-menu-content {
  	padding: 0 24px calc(40px + var(--safe-bottom)) 24px;
  }

  .menu-link-main {
  	display: block;
  	font-size: 18px;
  	font-weight: 700;
  	color: var(--brand-blue);
  	text-decoration: none;
  	margin-bottom: 24px;
  	padding-bottom: 14px;
  	border-bottom: 1px solid #ECE7DE;
  }

  .menu-section {
  	margin-bottom: 24px;
  }

  .menu-section-title {
  	font-size: 16px;
  	font-weight: 700;
  	color: var(--brand-blue);
  	margin-bottom: 12px;
  }

  .menu-link {
  	display: flex;
  	align-items: flex-start;
  	gap: 10px;
  	font-size: 15px;
  	color: var(--text-main);
  	text-decoration: none;
  	line-height: 1.4;
  	margin-bottom: 16px;
  }

  .menu-tag {
  	background-color: #a6bce4;
  	color: white;
  	font-size: 12px;
  	font-weight: 500;
  	padding: 1px 10px 1px 4px;
  	display: inline-flex;
  	justify-content: center;
  	align-items: center;
  	clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%);
  	flex-shrink: 0;
  }

  .menu-link:hover {
  	color: var(--brand-blue);
  	font-weight: 600;
  }

  /* Menu Accordion */
  .menu-section-title {
  	cursor: pointer;
  	display: flex;
  	justify-content: space-between;
  	align-items: center;
  }

  .menu-icon {
  	transition: transform 0.3s ease;
  }

  .menu-section.active .menu-icon {
  	transform: rotate(180deg);
  }

  .menu-sub-list {
  	display: grid;
  	grid-template-rows: 0fr;
  	transition: grid-template-rows 0.3s ease-out;
  }

  .menu-sub-list-inner {
  	overflow: hidden;
  }

  .menu-section.active .menu-sub-list {
  	grid-template-rows: 1fr;
  }

  /* --- 內頁內文段落 (ch1-desc / ch2-desc / ch3-desc) --- */
  /* 三章目前設定相同；之後要個別微調，把該章的選擇器拆出來另寫即可 */
  .ch1-sub-page .ch1-desc,
  .ch2-sub-page .ch2-desc,
  .ch3-sub-page .ch3-desc {
  	color: #4A4A4A;
  	font-size: 14px;
  	line-height: 1.6;
  	margin: 0;
  }

  /* 段與段之間 10px */
  .ch1-sub-page .ch1-desc + .ch1-desc,
  .ch2-sub-page .ch2-desc + .ch2-desc,
  .ch3-sub-page .ch3-desc + .ch3-desc {
  	margin-top: 10px;
  }

  .ch1-sub-page .ch1-desc strong,
  .ch2-sub-page .ch2-desc strong,
  .ch3-sub-page .ch3-desc strong {
  	color: #333333;
  	font-weight: 700;
  }

  /* --- 工具 class --- */
  .mt-16 {
  	margin-top: 16px;
  }

  /* 暫時隱藏但保留程式碼的區塊 */
  .is-hidden {
  	display: none !important;
  }

  .desktop-only {
  	display: none;
  }

  @media (min-width: 768px) {
  	.desktop-only {
  		display: block;
  	}

  	.mobile-only {
  		display: none !important;
  	}
  }


  /* =========================================
     2. 章節首頁共用
     chapter1_index、chapter2_index、chapter3_index
     ========================================= */

  .index-hero .hero-ch1-bg,
  .index-hero .hero-ch2-bg,
  .index-hero .hero-ch3-bg {
  	clip-path: ellipse(125% 75% at 50% 20%);
  }

  .index-card-gate {
  	margin-left: -20px;
  	margin-bottom: 12px;
  	align-items: flex-end;
  }


 

  .nav-card-wrap {
  	position: relative;
  	z-index: 10;
  }

  .nav-card {
  	background: white;
  	border-radius: 12px;
  	padding: 24px;
  	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  }

  .nav-card .card-title {
  	font-family: "Songti TC", "Noto Serif TC", serif;
  	font-size: 22px;
  	color: #0B3564;
  	line-height: 1.4;
  	margin-bottom: 12px;
  	font-weight: 700;
  }

  .nav-card .card-text {
  	font-size: 14px;
  	color: var(--text-muted);
  	line-height: 1.6;
  	margin-bottom: 20px;
  }

  .nav-card .btn-more {
  	display: inline-block;
  	background-color: var(--brand-green);
  	color: white;
  	padding: 10px 24px;
  	border-radius: 99px;
  	text-decoration: none;
  	font-size: 14px;
  	font-weight: 600;
  	box-shadow: 0 4px 14px rgba(55, 126, 104, 0.25);
  }

  .index-illustration img {
  	width: 100%;
  	height: auto;
  }

  /* --- 章節首頁 Hero：快速跳轉按鈕 + 插圖靠右縮小，讓整個 Hero 放得進一個手機畫面 ---
     用法：<header class="hero-header index-hero index-hero-compact">
     hero-content 內放 <ul class="hero-quick-links">，連結指向下方區塊的 id (例如 #gate-1-1) */
  .ch2-section {
  	scroll-margin-top: 24px; /* 跳轉後區塊上方留一點空間 */
  }


  .index-hero-compact .hero-title {
  	margin-top: 0;
  	margin-bottom: 20px;
  }

  .index-hero-compact .index-illustration {
  	position: absolute;
  	right: 20px;
  	bottom: -10%;
  	width: 52%;
  	z-index: 3;
  }

  /* 插圖比例各章不同，限制最高 200px，避免較高的圖往上壓到介紹文字 */
  .index-hero-compact .index-illustration img {
  	/* max-height: 200px; */
  	object-fit: contain;
  	object-position: right bottom;
  }

  /* 已有快速跳轉按鈕，不需要下滑按鈕 */
  .index-hero-compact .scroll-down-btn {
  	display: none;
  }

  .hero-quick-links {
  	list-style: none;
  	display: flex;
  	flex-direction: column;
  	align-items: flex-start;
  	gap: 10px;
  	margin-top: 40px;
  	max-width: 66%; /* 右側留給插圖 */
  }

  /* 連結多時改成橫向換行排列，避免 header 被拉長 */
  .hero-quick-links--wrap {
  	flex-direction: row;
  	flex-wrap: wrap;
  	gap: 8px;
  	max-width: 100%;
  	margin-top: 28px;
  }

  .hero-quick-links--wrap a {
  	padding: 6px 12px;
  	font-size: 13px;
  }

  .hero-quick-links a {
  	display: inline-flex;
  	align-items: center;
  	gap: 6px;
  	padding: 8px 14px;
  	border: 1.5px solid rgba(255, 255, 255, 0.8);
  	border-radius: 20px;
  	background-color: rgba(255, 255, 255, 0.12);
  	color: var(--white);
  	font-size: 14px;
  	font-weight: 700;
  	line-height: 1.4;
  	text-decoration: none;
  }

  .hero-header.index-hero {
  	padding-bottom: 110%;
  }

  .ch2-section,
  .ch2-section {
  	display: flex;
  	flex-direction: column;
  	margin-bottom: 60px;
  	position: relative;
  	z-index: 10;
  }

  .ch2-icon-title,
  .ch2-icon-title {
  	display: flex;
  	align-items: center;
  	gap: 16px;
  	margin-bottom: 16px;
  	padding-left: 10px;
  	padding-right: 10px;
  }

  .ch2-icon,
  .ch2-icon {
  	width: 60px;
  	height: 60px;
  	object-fit: contain;
  	flex-shrink: 0;
  }


  .ch2-title {
  	/* font-family: "Songti TC", "Noto Serif TC", serif; */
    /* font-family: "M PLUS Rounded 1c", "Arial Rounded MT Bold", sans-serif; */
  	font-size: 23px;
  	color: #0B3564;
  	font-weight: 500;
  	line-height: 1.4;
  }

  .ch2-text-card,
  .ch2-text-card {
  	background: white;
  	border-radius: 12px;
  	padding: 20px 24px;
  	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  	font-size: 16px;
  	color: var(--text-main);
  	line-height: 1.6;
  	margin-bottom: 24px;
  }

  .ch2-btn-wrap,
  .ch2-btn-wrap {
  	text-align: center;
  }

  .index-card-gate,
  .index-card-gate {
  	margin-left: -20px;
  	margin-bottom: 24px;
  	align-items: flex-end;
  	display: flex;
  }


  .index-card-gate .gate-badge {
  	background-color: #0B3564;
  	color: white;
  	font-size: 14px;
  	font-weight: 700;
  	padding: 16px 8px 4px 20px;
  	line-height: 1;
  }

  .index-card-gate .gate-number {
  	color: #0B3564;
  	font-size: 48px;
  	font-weight: 800;
  	line-height: 0.85;
  	margin-left: 10px;
  }


  /* =========================================
     3. 第一章 Chapter 1
     ========================================= */

  /* --- Hero 與共用 --- */
  .hero-ch1-bg {
  	position: absolute;
  	top: 0;
  	left: 0;
  	width: 100%;
  	height: 100%;
  	background-color: var(--ch1-hero-bg);
  	/* 暫時沿用藍色 */
  	clip-path: ellipse(120% 75% at 0% 15%);
  	z-index: 1;
  }

  .ch1-sub-page .gate-badge {
    background-color: #fff;
    color: var(--brand-green);
    font-size: 14px;
    font-weight: 700;
    padding: 16px 8px 4px 24px;
    line-height: 1;
    letter-spacing: 0.5px;
  }

  .ch1-sub-page .gate-badge {
  	color: var(--ch1-hero-bg);
  	/* 暫時沿用藍色 */
  }

  .ch1-sub-page .btn-next {
    background-color: #63a7fa;
    box-shadow: 0 4px 14px rgba(0, 60, 129, 0.25);
  }
  
  .btn-more-blue, .btn-more-pink,  .btn-more-green{
    display: inline-block;
    color: white;
    padding: 10px 40px;
    border-radius: 99px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(137, 173, 211, 0.4);
  }

  .btn-more-blue {
  	/* background-color: #63a7fa; */
    background-color: var(--brand-blue);
    
  }

  .ch1-sub-page .index-timeline,
  #page-1-index .index-timeline {
  	background-color: var(--bg-cream);
  	position: relative;
  	padding: 40px 20px 60px 20px;
  	display: flex;
  	flex-direction: column;
  }

  .ch1-section {
  	display: flex;
  	margin-bottom: 24px;
  	background: white;
  	border-radius: 16px;
  	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  	overflow: hidden;
  }

  .ch1-sub-page .hero-header {
  	padding-bottom: 50%;
  }
  
  

  /* --- Chapter 1-1 Step Guide（今天，可以先做三件事） --- */
  .step-guide-section {
  	width: 100%;
  }

  /* 顏色以變數控制，預設為第一章；其他章節在下方覆寫 (例：3-1) */
  .step-guide-section,
  .support-card {
  	--step-color: var(--ch1-hero-bg);
  	--step-accent: #6094C6;
  	--step-title: var(--ch1-hero-bg);
  	--step-dots: rgba(99, 167, 250, 0.28);
  }

  .ch3-sub-page .step-guide-section,
  .ch3-sub-page .support-card {
  	--step-color: var(--brand-green);
  	--step-accent: var(--brand-green);
  	--step-title: var(--brand-green-dark);
  	--step-dots: rgba(255, 183, 93, 0.4);
  	--step-icon-bg: #FFE6C7;
  }

  .step-guide-accent {
  	width: 32px;
  	height: 4.5px;
  	background-color: var(--step-accent);
  	border-radius: 3px;
  	margin-bottom: 12px;
  }

  .step-guide-heading {
  	font-size: 22px;
  	font-weight: 600;
  	color: #0B3564;
  	margin: 0 0 24px 0;
  	line-height: 1.35;
  	letter-spacing: 0.5px;
  }

  /* 每一步是一張白色卡片：左上角大數字壓在卡片邊緣 → 標題 → 說明
     1-4 的支持項目卡片 (.support-card) 也共用這組卡片、點點與數字樣式 */
  .step-guide-list {
  	display: flex;
  	flex-direction: column;
  	gap: 56px;
  	padding-top: 34px; /* 預留第一張卡片數字超出上緣的空間 */
  }

  .step-guide-item,
  .support-card {
  	position: relative;
  	background-color: white;
  	border-radius: 24px;
  	padding: 44px 22px 30px;
  	box-shadow: 0 4px 16px rgba(11, 53, 100, 0.05);
  }

  /* 右上角點點裝飾 */
  .step-guide-item::before,
  .support-card::before {
  	content: "";
  	position: absolute;
  	top: 16px;
  	right: 16px;
  	width: 72px;
  	height: 48px;
  	background-image: radial-gradient(var(--step-dots) 1.3px, transparent 1.6px);
  	background-size: 8px 8px;
  	border-radius: 0 22px 0 0;
  	pointer-events: none;
  }

  /* 數字底座用頁面底色，看起來像卡片左上角被切掉一塊 */
  .step-guide-num-wrap,
  .support-card-num {
  	position: absolute;
  	top: -22px;
  	left: 0;
  	padding: 0 16px 6px 20px;
  	background-color: var(--bg-cream);
  	border-bottom-right-radius: 28px;
  }

  .step-guide-num,
  .support-card-num {
  	font-family: "M PLUS Rounded 1c", "Arial Rounded MT Bold", sans-serif;
  	font-size: 38px;
  	font-weight: 800;
  	color: var(--step-color);
  	line-height: 1;
  	letter-spacing: 1px;
  }

  /* 數字位置改放文字標籤時 (例：3-4「常見副作用 - 1」)，字級縮小 */
  .step-guide-num--label {
  	font-size: 22px;
  	letter-spacing: 0.5px;
  }

  /* 文字較矮，底座往下移，讓標籤一半壓進卡片缺口 */
  .step-guide-num-wrap:has(.step-guide-num--label) {
  	top: -14px;
  	padding-bottom: 8px;
  }

  /* 右上角小圖示 (選用，例：3-4 常見副作用)：圓形底，圖稍微往上出格
     結構：<div class="step-guide-icon"><img ...></div>，放在 .step-guide-item 內 */
  .step-guide-icon {
  	position: absolute;
  	top: -30px;
  	right: 16px;
  	width: 92px;
  	height: 92px;
  	border-radius: 50%;
  	background-color: var(--step-icon-bg, #E3EEFD);
  	z-index: 1;
  }

  .step-guide-icon img {
  	position: absolute;
  	left: 50%;
  	bottom: 4px;
  	width: 88px;
  	height: auto;
  	transform: translateX(-50%);
  }

  /* 有圖示時：拿掉右上角點點，標題右側讓出圖示的位置 */
  .step-guide-item:has(.step-guide-icon)::before {
  	display: none;
  }

  .step-guide-item:has(.step-guide-icon) .step-guide-title {
  	padding-right: 96px;
  }

  /* 卡片版不需要數字旁的分隔線 */
  .step-guide-divider {
  	display: none;
  }

  .step-guide-title,
  .support-card-title {
  	color: var(--step-title);
  	font-size: 18px;
  	font-weight: 700;
  	line-height: 1.4;
  	margin: 0 0 12px 0;
  }

  /* 卡片內若還有白底小卡 (3-1 的 highlight-card、doctor-callout)，改用淡底色區分 */
  .step-guide-content .highlight-card,
  .step-guide-content .doctor-callout,
  .support-card .highlight-card,
  .support-card .doctor-callout {
  	background: #FAF8F5;
  	box-shadow: none;
  }

  /* 卡片內的展開面板：左上角缺口改用卡片的白色 */
  .step-guide-content .guide-accordion {
  	--acc-notch-bg: #FFFFFF;
  }

  .step-guide-content .pill-box,
  .feel-section .pill-box {
  	background: transparent;
  }

  /* --- Chapter 1-3 生活面對事項時間軸 (Concern Timeline) --- */
  /* 每一項是一張白色卡片，樣式比照 1-1 Step Guide，但不標數字 */
  #page-1-3 .concern-timeline {
  	display: flex;
  	flex-direction: column;
  	gap: 56px;
  	padding-top: 34px; /* 預留第一張卡片圖示超出上緣的空間 */
  }

  #page-1-3 .concern-item {
  	position: relative;
  	background-color: white;
  	border-radius: 24px;
  	padding: 54px 22px 30px;
  	box-shadow: 0 4px 16px rgba(11, 53, 100, 0.05);
  }

  /* 右上角點點裝飾 */
  #page-1-3 .concern-item::before {
  	content: "";
  	position: absolute;
  	top: 16px;
  	right: 16px;
  	width: 72px;
  	height: 48px;
  	background-image: radial-gradient(rgba(99, 167, 250, 0.28) 1.3px, transparent 1.6px);
  	background-size: 8px 8px;
  	border-radius: 0 12px 0 0;
  	pointer-events: none;
  }

  /* 卡片版不需要時間軸圓點 */
  #page-1-3 .concern-dot {
  	display: none;
  }

  /* 左上角圖示：底座用頁面底色，看起來像卡片左上角被切掉一塊 (同 1-1 的數字) */
  #page-1-3 .concern-icon-wrap {
  	position: absolute;
  	top: -34px;
  	left: 0;
  	padding: 0 16px 6px 20px;
  	background-color: var(--bg-cream);
  	border-bottom-right-radius: 28px;
  }

  #page-1-3 .concern-icon {
  	display: block;
  	width: 52px;
  	height: 52px;
  	object-fit: contain;
  }

  /* 文字疊在點點裝飾上方 */
  #page-1-3 .concern-content {
  	position: relative;
  	z-index: 1;
  }

  #page-1-3 .concern-title {
  	color: var(--ch1-hero-bg);
  	font-size: 20px;
  	font-weight: 700;
  	line-height: 1.4;
  	margin: 0 0 12px 0;
  }

  /* --- 內頁段落 (Feel Sections)：1-2、1-4、3-2 共用 ---
     --feel-bar 標題左側直條色、--feel-title 標題色，預設為第一章 */
  .ch3-sub-page {
  	--feel-bar: var(--brand-green);
  	--feel-title: var(--brand-green-dark);
  }

  .ch1-sub-page .feel-section,
  .ch3-sub-page .feel-section {
  	padding: 24px 0;
  	border-bottom: 1px solid #DDD7CB;
  }

  .ch1-sub-page .feel-section:first-child,
  .ch3-sub-page .feel-section:first-child {
  	padding-top: 4px;
  }

  .ch1-sub-page .feel-section:last-child,
  .ch3-sub-page .feel-section:last-child {
  	padding-bottom: 4px;
  	border-bottom: none;
  }

  /* 標題左側的藍色直條 */
  .ch1-sub-page .feel-head,
  .ch3-sub-page .feel-head {
  	position: relative;
  	padding-left: 24px;
  }

  .ch1-sub-page .feel-head::before,
  .ch3-sub-page .feel-head::before {
  	content: "";
  	position: absolute;
  	left: 0;
  	top: 2px;
  	bottom: 2px;
  	width: 3px;
  	border-radius: 2px;
  	background-color: var(--feel-bar, #4A7FE0);
  }

  .ch1-sub-page .feel-body,
  .ch3-sub-page .feel-body {
  	padding-left: 24px;
  }
  
  .ch3-sub-page .feel-body{
    margin-bottom:24px;
  }
  
  .ch1-sub-page .feel-img{
    width:80%;
    height:auto;
    display: block;
    margin:1rem auto;
  }

  .ch1-sub-page .feel-title,
  .ch3-sub-page .feel-title {
  	color: var(--feel-title, #0E2C7E);
  	font-size: 20px;
  	font-weight: 800;
  	line-height: 1.45;
  	letter-spacing: 0.02em;
  	margin: 0;
  }

  .ch1-sub-page .feel-list {
  	list-style: none;
  	margin: 8px 0 0 0;
  	padding: 0;
  }

  .ch1-sub-page .feel-list li {
  	position: relative;
  	padding-left: 26px;
  	color: #4A4A4A;
  	font-size: 14px;
  	line-height: 1.95;
  }

  .ch1-sub-page .feel-list li::before {
  	content: "";
  	position: absolute;
  	left: 2px;
  	top: 50%;
  	width: 9px;
  	height: 9px;
  	margin-top: -4.5px;
  	border-radius: 50%;
  	background-color: #4A7FE0;
  }

.feel-quote {
  	margin: 16px 0 14px 18px;
  	padding: 18px 12px;
  	background-color: #FFFFFF;
  	border-radius: 22px;
  	color: #333333;
  	font-size: 14px;
  	line-height: 1.6;
  	text-align: center;
  }

  .ch1-sub-page .feel-blank {
  	display: inline-block;
  	width: 5.5em;
  	margin: 0 2px;
  	border-bottom: 1px solid #333333;
  	vertical-align: baseline;
  }

  /* feel-body 的第一段與上方標題保留一點距離 */
  .ch1-sub-page .feel-body > .ch1-desc:first-child {
  	margin-top: 6px;
  }

  /* 支持項目卡片 (1-4)：點擊按鈕後展開內容
     卡片外觀、左上角數字、標題與 1-1 Step Guide 共用 (見上方 Chapter 1-1 區塊) */
  .support-card {
  	margin-bottom: 56px; /* 預留下一張卡片數字超出上緣的空間 */
  }

  .support-card-head {
  	display: block;
  	margin: 0;
  }

  .support-card-title {
  	display: block;
  	position: relative;
  	z-index: 1;
  }
  
  .support-sub-card-title{
    border:1px solid var(--step-title);
    color: var(--step-title);
    padding:2px 8px;
    display: block;
    width:fit-content;
    border-radius: 8px;
    margin-bottom:10px;
  }
  
  .ch2-text-section p.sub-card-title{
    font-size: 18px;
    color: var(--ch1-hero-bg);
  }

  .support-card-toggle {
  	display: inline-flex;
  	align-items: center;
  	gap: 10px;
  	margin-top: 16px;
  	padding: 10px 18px 10px 20px;
  	border: none;
  	border-radius: 999px;
  	background-color: #E8F1FA;
  	color: #0B3564;
  	font-family: inherit;
  	font-size: 14px;
  	font-weight: 700;
  	cursor: pointer;
  }

  .support-card-toggle svg {
  	transition: transform 0.3s;
  }

  .support-card.active .support-card-toggle svg {
  	transform: rotate(90deg);
  }

  .support-card-body {
  	display: grid;
  	grid-template-rows: 0fr;
  	transition: grid-template-rows 0.3s ease-out;
  }

  .support-card.active .support-card-body {
  	grid-template-rows: 1fr;
  }

  .support-card-body-inner {
  	overflow: hidden;
  	min-height: 0;
    padding-left: 10px;
  }

  .support-card-body-inner ul {
  	padding-left: 20px;
  	margin: 16px 0 12px;
  	line-height: 1.6;
  }

 

  /* --- Chapter 1-4 追加元件 --- */
  #page-1-4 .ch1-desc {
  	text-wrap: pretty;
  }

  #page-1-4 .feel-sub {
  	color: #D9952B;
  	font-size: 14px;
  	font-weight: 700;
  	line-height: 1.6;
  	margin: 6px 0 10px 0;
  }

  .support-card-group {
  	margin-top: 56px; /* 預留第一張卡片數字超出上緣的空間 */
  }

  .support-card-group > .support-card:last-child {
  	margin-bottom: 32px;
  }

  #page-1-4 .feel-quote-strong {
  	margin-left: 0;
  	padding: 18px 10px;
  	color: #333333;
  	font-size: 14px;
  	font-weight: 700;
  	line-height: 1.8;
  	text-wrap: pretty;
  }

  #page-1-4 .feel-contact {
  	margin-top: 20px;
  	padding: 12px 14px 14px;
  	background-color: #DCE9FB;
  	border-radius: 14px;
  }

  #page-1-4 .feel-contact-title {
  	color: #2F6FD6;
  	font-size: 14px;
  	font-weight: 800;
  	margin: 0 0 6px 0;
  }

  #page-1-4 .feel-contact-row {
  	display: flex;
  	flex-direction: column;
  	color: #4A4A4A;
  	font-size: 14px;
  	line-height: 1.7;
  }

  #page-1-4 .feel-contact-row span {
  	white-space: nowrap;
  }

  #page-1-4 .feel-note {
  	margin-top: 12px;
  	padding: 12px 14px 14px;
  	background-color: #FBEFE0;
  	border-radius: 14px;
  }

  #page-1-4 .feel-note-title {
  	color: #D9952B;
  	font-size: 14px;
  	font-weight: 800;
  	margin: 0 0 4px 0;
  }

  #page-1-4 .feel-note p {
  	color: #777777;
  	font-size: 13px;
  	line-height: 1.7;
  	margin: 0;
  }

  #page-1-4 .feel-closing {
  	margin: 28px 0 0 0;
  	color: #0E2C7E;
  	font-size: 14px;
  	font-weight: 700;
  	line-height: 1.9;
  	text-align: center;
  }

  #page-1-4 .feel-nowrap {
  	white-space: nowrap;
  }

  /* --- 滿版底色的延伸區塊 (1-4 延伸了解、2-3 我的檢查安排、3-2 結語) --- */
  /* 上緣是由左下往右上的弧線，呼應 header 的弧形；--ext-curve 為弧線區高度
     顏色變數放在 body 層級，讓區塊後面接的 .action-group 也能讀到同一個底色：
     --ext-band-bg 底色、--ext-accent 標籤與短線色、--ext-title 主標色、
     --ext-note-bg / --ext-note-title 提醒框底色與標題色 */
  .ch1-sub-page {
  	--ext-band-bg: #E3EEFD;
  	--ext-accent: var(--ch1-hero-bg);
  	--ext-title: #0E2C7E;
  	--ext-note-bg: #FDEBEA;
  	--ext-note-title: #D9706B;
  }

  .ch2-sub-page {
  	--ext-band-bg: #fde4e0;
  	--ext-accent: #E2756A;
  	--ext-title: #0B3564;
  	--ext-note-bg: #FFFFFF;
  	--ext-note-title: #D9706B;
  }

  .ch3-sub-page {
  	--ext-band-bg: #FFEFD9;
  	--ext-accent: var(--brand-green);
  	--ext-title: var(--brand-green-dark);
  	--ext-note-bg: #FFFFFF;
  	--ext-note-title: #D9706B;
  }

  .ext-band {
  	--ext-curve: 260px;
  	position: relative;
  	z-index: 0;
  	margin-top: 24px;
  	padding: 0 24px 40px;
  	background: linear-gradient(var(--ext-band-bg), var(--ext-band-bg)) 0 var(--ext-curve) / 100% 100% no-repeat;
  }

  .ext-band::before {
  	content: "";
  	position: absolute;
  	top: 0;
  	left: 0;
  	right: 0;
  	height: calc(var(--ext-curve) + 1px);
  	background-color: var(--ext-band-bg);
  	clip-path: ellipse(100% 100% at 100% 100%);
  	z-index: -1;
  }

  .ext-band-head {
  	display: flex;
  	flex-direction: column;
  	align-items: center;
  	text-align: center;
  }

  /* 插圖往上出格，超出弧線上緣 */
  .ext-band-img {
  	display: block;
  	width: 90%;
  	height: auto;
  	margin: -24px 0 16px;
  }

  /* 方形小插圖用：寬度改小 */
  .ext-band-img--icon {
  	width: 90%;
  }

  .ext-band-title {
  	margin: 0;
  	color: var(--ext-title);
  	font-size: 22px;
  	font-weight: 800;
  	line-height: 1.45;
  	letter-spacing: 0.02em;
  }

  .ext-band-kicker {
  	display: table;
  	margin: 0 auto 10px;
  	padding: 4px 14px;
  	border-radius: 6px;
  	/* border:1px solid var(--ch1-hero-bg); */
  	color: var(--ext-accent);
  	font-size: 18px;
  	font-weight: 700;
  	letter-spacing: 0.08em;
  }

  /* 「延伸了解」下方的短粗線，區分上方標籤與下方主標 */
  .ext-band-kicker {
  	position: relative;
  }

  .ext-band-kicker::after {
  	content: "";
  	position: absolute;
  	left: 50%;
  	bottom: -5px;
  	width: 28px;
  	height: 3px;
  	margin-left: -14px;
  	border-radius: 2px;
  	background-color: var(--ext-accent);
  }

  .ext-band-sep {
  	display: none;
  }

  .ext-band-body {
  	margin-top: 20px;
    padding:0 1rem;
  }

  /* 機構 logo 放在說明文字左側 */
  .ch1-sub-page .ext-band-org {
  	display: flex;
  	align-items: center;
  	justify-content: space-evenly;
  	gap: 8px;
    margin-bottom:1rem;
  }

  .ch1-sub-page .ext-band-org-logo {
  	flex-shrink: 0;
  	width: 100px;
  	height: auto;
  }

  .ch1-sub-page .ext-band-org + .ch1-desc {
  	margin-top: 10px;
  }

  .ch1-sub-page .ext-band-quote {
  	margin: 16px 1rem 1rem;
  	padding: 20px 18px;
  	background-color: #FFFFFF;
  	border-radius: 22px;
  	box-shadow: 0 6px 18px rgba(74, 127, 224, 0.12);
  	color: #333333;
  	font-size: 14px;
  	font-weight: 700;
  	line-height: 1.8;
  	text-align: center;
  }

  .ch1-sub-page .ext-band-contact {
  	margin-top: 24px;
    padding:0 1rem;
  }

  .ch1-sub-page .ext-band-contact > .ch1-desc {
  	margin-bottom: 18px;
  }

  .ch1-sub-page .ext-band-contact-title {
  	margin: 0 0 10px;
  	color: #2F6FD6;
  	font-size: 15px;
  	font-weight: 800;
  	letter-spacing: 0.04em;
  }

  .ch1-sub-page .ext-band-contact-row {
  	display: flex;
  	flex-direction: column;
  	gap: 12px;
  }

  .ch1-sub-page .ext-band-contact-row a {
  	display: flex;
  	align-items: center;
  	justify-content: center;
  	gap: 8px;
  	padding: 13px 16px;
  	border-radius: 16px;
  	border: 1.5px solid #B9D3FA;
  	background-color: #FFFFFF;
  	box-shadow: 0 3px 0 #C9DDFB;
  	color: #2F6FD6;
  	font-size: 15px;
  	font-weight: 700;
  	text-decoration: none;
  	white-space: nowrap;
  	transition: transform 0.15s ease, box-shadow 0.15s ease;
  }

  .ch1-sub-page .ext-band-contact-row a:active {
  	transform: translateY(3px);
  	box-shadow: 0 0 0 #C9DDFB;
  }

  .ch1-sub-page .ext-band-tel-icon {
  	flex-shrink: 0;
  	width: 18px;
  	height: 18px;
  }

  .ext-band-note {
  	margin: 24px 1rem 0 1rem;
  	padding: 14px 16px 16px;
  	background-color: var(--ext-note-bg);
  	border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);

  }

  .ext-band-note-title {
  	margin: 0 0 4px;
  	color: var(--ext-note-title);
  	font-size: 15px;
  	font-weight: 800;
  }

  .ext-band-note p {
  	margin: 0;
  	color: #4A4A4A;
  	font-size: 14px;
  	line-height: 1.6;
  }

  /* 下一站按鈕區接續同一個底色 */
  .ext-band + .action-group {
  	padding-top: 8px;
  	background-color: var(--ext-band-bg);
  }

  /* 一般段落：小標 + 內文 */
  .ext-band-section {
  	margin-top: 24px;
  	padding: 0 1rem;
  }

  .ext-band-section-title {
  	margin: 0 0 8px;
  	color: var(--ext-title);
  	font-size: 17px;
  	font-weight: 800;
  	line-height: 1.45;
  }

  /* 白色卡片 (表格、清單等) */
  .ext-band-card {
  	margin: 20px 1rem 0;
  	padding: 18px 20px;
  	background-color: #FFFFFF;
  	border-radius: 15px;
  	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  }

  /* --- Chapter 1-4 內文區塊 --- */
  .ch2-text-section h3 {
  	font-size: 18px;
  	font-weight: 700;
  	color: #0B3564;
  	margin-bottom: 12px;
  	margin-top: 12px;
  }

  .ch2-text-section p {
  	font-size: 14px;
  	line-height: 1.6;
  	color: var(--text-main);
  }

  /* 照設計圖斷行的段落：每一行各自成一個區塊，字級放大後若折行，
     讓兩行長度接近，避免句尾只剩一兩個字 */
  .ch1-sub-page .ln {
  	display: block;
  	text-wrap: balance;
  }


  /* =========================================
     4. 第二章 Chapter 2
     ========================================= */

  /* --- Hero 與共用 --- */
  /* 藍色曲面背景（第二章用） */
  .hero-ch2-bg {
  	position: absolute;
  	top: 0;
  	left: 0;
  	width: 100%;
  	height: 100%;
  	background-color: var(--ch2-hero-bg);
  	/* 由左上到右下的圓弧 */
  	/* clip-path: ellipse(110% 70% at 100% 30%); */
    clip-path: ellipse(115% 78% at 0% 20%);
  	z-index: 1;
  }

  /* 第二章子頁面 Gate Badge 文字顏色配合背景 */
  .ch2-sub-page .gate-badge {
  	color: var(--ch2-hero-bg);
    font-size: 14px;
    font-weight: 700;
    padding: 16px 8px 4px 24px;
    line-height: 1;
    letter-spacing: 0.5px;
  }

  .ch2-sub-page .btn-next {
  	background-color: var(--ch2-hero-bg);
  	box-shadow: 0 4px 14px rgba(0, 60, 129, 0.25);
  }

  .btn-more-pink {
  	/* background-color: #ef8579; */
    background-color: var(--brand-blue);
    
  }

  .ch2-sub-page .index-timeline,
  #page-2-index .index-timeline {
  	background-color: var(--bg-cream);
  	position: relative;
  	padding: 40px 20px 80px 20px;
  	display: flex;
  	flex-direction: column;
  }

  /* 內文後面接清單、卡片等其他元素時，保留 12px 距離 */
  .ch2-sub-page .ch2-desc:has(+ :not(.ch2-desc)) {
  	margin-bottom: 12px;
  }

  /* --- 內頁 Hero（舊版，目前未使用） --- */
  .ch2-sub-hero {
  	position: relative;
  	background-color: #73a0cb;
  	/* background-color: #7B99B6; */
  	/* 根據設計圖，背景為淺灰藍色，或者用漸層，我先使用相近的藍灰色 */
  	padding: 0px 0px 80px 0px;
  	color: white;
  	/* clip-path: ellipse(150% 80% at 50% 10%); */
  	clip-path: ellipse(115% 78% at 90% 20%);
  	z-index: 1;
  }

  .ch2-sub-nav {
  	display: flex;
  	justify-content: space-between;
  	align-items: center;
  	margin-bottom: 24px;
  }

  .ch2-sub-breadcrumb {
  	color: #F1AFA8;
  	font-size: 18px;
  	font-weight: 700;
  	letter-spacing: 2px;
  }

  .ch2-sub-gate {
  	display: flex;
  	align-items: flex-end;
  	margin-left: -20px;
  	margin-bottom: 24px;
  }

  .ch2-sub-gate .gate-badge {
  	background-color: #ffffff;
  	color: #7B99B6;
  	font-size: 14px;
  	font-weight: 700;
  	padding: 12px 8px 4px 20px;
  	line-height: 1;
  }

  .ch2-sub-gate .gate-number {
  	color: white;
  	font-size: 44px;
  	font-weight: 800;
  	line-height: 0.85;
  	margin-left: 10px;
  }

  .ch2-sub-title {
  	font-family: "Songti TC", "Noto Serif TC", serif;
  	font-size: 28px;
  	font-weight: 700;
  	color: white;
  	line-height: 1.4;
  	margin-bottom: 16px;
  }

  .ch2-sub-intro {
  	font-size: 14px;
  	line-height: 1.6;
  	margin-bottom: 24px;
  }

  .ch2-sub-hero-img {
  	display: block;
  	width: 200px;
  	margin: 0 auto;
  }

  /* Accordions (2-1) */
  .ch2-accordion-item {
  	background-color: #E6EAEF;
  	border-radius: 12px;
  	margin-bottom: 16px;
  	overflow: hidden;
  }

  .ch2-accordion-item.active {
  	background-color: white;
  	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  }

  .ch2-accordion-header {
  	padding: 20px;
  	display: flex;
  	justify-content: space-between;
  	align-items: center;
  	cursor: pointer;
  }

  .ch2-accordion-title {
  	font-size: 18px;
  	font-weight: 700;
  	color: #0B3564;
  	line-height: 1.4;
  	padding-right: 16px;
  }

  .ch2-accordion-icon {
  	width: 32px;
  	height: 32px;
  	border-radius: 50%;
  	border: 1.5px solid #0B3564;
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	color: #0B3564;
  	flex-shrink: 0;
  	transition: transform 0.3s;
  }

  .ch2-accordion-item.active .ch2-accordion-icon {
  	transform: rotate(180deg);
  }

  .ch2-accordion-body {
  	display: grid;
  	grid-template-rows: 0fr;
  	transition: grid-template-rows 0.3s ease-out;
  }

  .ch2-accordion-body-inner {
  	overflow: hidden;
  	padding: 0 20px;
  	font-size: 14px;
  	color: var(--text-main);
  	line-height: 1.7;
  	min-height: 0;
  }

  .ch2-accordion-item.active .ch2-accordion-body {
  	grid-template-rows: 1fr;
  }

  .ch2-accordion-item.active .ch2-accordion-body-inner {
  	padding-bottom: 20px;
  }

  /* --- 通用展開面板 (guide-accordion) ---
     收合時是實心色塊按鈕；展開後保留色框、內容區改為白底深色字。
     顏色用變數控制，各章節覆寫 --acc-color 即可沿用。 */
  .guide-accordion {
  	--acc-color: #7B99B6;
  	--acc-text: #FFFFFF;
  	--acc-body-bg: #FFFFFF;
  	--acc-body-text: var(--text-main);
  	--acc-notch-bg: var(--bg-cream);
  	background-color: var(--acc-color);
  	border: 2px solid var(--acc-color);
  	border-radius: 12px;
  	margin-bottom: 12px;
  	overflow: hidden;
  }

  .ch2-sub-page .guide-accordion {
  	--acc-color: var(--ch2-hero-bg);
  }

  /* 第三章主色偏淺，白字不易閱讀，改用深一階的橘色 */
  .ch3-sub-page .guide-accordion {
  	--acc-color: var(--ch3-hero-bg);
  }

  .guide-accordion-header {
  	display: flex;
  	justify-content: space-between;
  	align-items: center;
  	gap: 12px;
  	padding: 14px 18px;
    padding-left:10px;
  	cursor: pointer;
  }

  /* 標題前的小圖示 (選用)：白色圓底比圖小，圖往外出格
     結構：<div class="guide-accordion-lead"><img ...></div> */
  .guide-accordion-lead {
  	position: relative;
  	flex-shrink: 0;
  	width: 54px;
  	height: 54px;
  	margin: 0 6px;
  	border-radius: 50%;
  	background-color: #fbd9d5;
  }

  .guide-accordion-lead img {
  	position: absolute;
  	top: 50%;
  	left: 50%;
  	width: 45px;
  	height: auto;
  	object-fit: contain;
  	transform: translate(-50%, -56%);
  }

  /* 小圖示放在左上角缺口 (同 1-3 卡片)：加上 .guide-accordion--notch
     缺口底色用 --acc-notch-bg，要和頁面底色相同 */
  .guide-accordion--notch {
  	position: relative;
  	overflow: visible;
  	margin-top: 30px;
  }

  /* 外層不再裁切，內容區自己收圓角 (12px 外框扣掉 2px 邊框) */
  .guide-accordion--notch .guide-accordion-body {
  	border-radius: 0 0 10px 10px;
  }

  .guide-accordion--notch .guide-accordion-header {
  	padding: 32px 18px 14px;
  }

  .guide-accordion--notch .guide-accordion-lead {
  	position: absolute;
  	top: -32px;
  	left: -2px;
  	width: auto;
  	height: auto;
  	margin: 0;
  	padding: 0 12px 6px 14px;
  	border-radius: 0 0 22px 0;
  	background-color: var(--acc-notch-bg);
  }

  .guide-accordion--notch .guide-accordion-lead img {
  	position: static;
  	display: block;
  	width: 46px;
  	height: 46px;
  	object-fit: contain;
  	transform: none;
  }

  .guide-accordion-title {
  	flex: 1;
  	font-size: 16px;
  	font-weight: 400;
  	color: var(--acc-text);
  }

  .guide-accordion-icon {
  	flex-shrink: 0;
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	width: 24px;
  	height: 24px;
  	border: 1px solid var(--acc-text);
  	border-radius: 50%;
  	transition: transform 0.3s;
  }

  .guide-accordion-icon::before {
  	content: "";
  	display: inline-block;
  	width: 6px;
  	height: 6px;
  	border-right: 1.5px solid var(--acc-text);
  	border-bottom: 1.5px solid var(--acc-text);
  	/* 先水平往左移再旋轉：箭頭尖端偏右，左移 1px 視覺上才置中；若先旋轉再位移會斜向往下偏 */
  	transform: translateX(-1px) rotate(-45deg);
  }

  .guide-accordion.active .guide-accordion-icon {
  	transform: rotate(90deg);
  }

  .guide-accordion-body {
  	display: grid;
  	grid-template-rows: 0fr;
  	background-color: var(--acc-body-bg);
  	transition: grid-template-rows 0.3s ease-out;
  }

  .guide-accordion.active .guide-accordion-body {
  	grid-template-rows: 1fr;
  }

  .guide-accordion-body-inner {
  	overflow: hidden;
  	padding: 0 18px;
  	font-size: 15px;
  	color: var(--acc-body-text);
  	line-height: 1.7;
  	transition: padding 0.3s ease-out;
  }

  .guide-accordion.active .guide-accordion-body-inner {
  	padding-top: 16px;
  	padding-bottom: 20px;
  }

  .guide-accordion-body-inner p,
  .guide-accordion-body-inner ul {
  	margin-bottom: 12px;
  }

  .guide-accordion-body-inner *:last-child {
  	margin-bottom: 0;
  }

  /* Image Cards (2-2) */
  .ch2-exam {
  	--exam-border: var(--ch2-hero-bg);
  	background-color: white;
  	border-radius: 16px;
  	padding: 24px 20px;
  	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  	margin-bottom: 24px;
  }

  /* 線框卡片：透明底，只留邊框 (邊框色可用 --exam-border 換) */
  .ch2-exam--outline {
  	background-color: transparent;
  	border: 1.5px solid var(--exam-border);
  	box-shadow: none;
  }

  .ch2-exam--outline-white {
  	--exam-border: #FFFFFF;
  }

  /* 滿版底色：抵銷 main 的左右 padding，讓底色貼齊兩側，卡片放在裡面 */
  .ch2-exam-band {
  	margin: 0 -20px 24px;
  	padding: 32px 20px;
  	background-color: #ffdeda;
  }

  .ch2-exam-band .ch2-exam {
  	margin-bottom: 0;
  }

  .ch2-exam-header {
  	display: flex;
  	align-items: center;
  	gap: 16px;
  	padding-bottom: 16px;
  	border-bottom: 1px solid #EBEBEB;
  	margin-bottom: 16px;
  }

  .ch2-exam--outline .ch2-exam-header {
  	border-bottom-color: var(--exam-border);
  }

  .ch2-exam-icon {
  	width: 60px;
  	height: 60px;
  	object-fit: contain;
  }

  .ch2-exam-title {
  	font-size: 20px;
  	font-weight: 700;
  	color: #0B3564;
  	line-height: 1.3;
  }

  .ch2-exam-title span {
  	font-size: 24px;
  	display: block;
  }

  .ch2-exam-subtitle {
  	font-size: 16px;
  	font-weight: 700;
  	color: #f44336;
  	margin-bottom: 12px;
  	line-height: 1.5;
  }

  .ch2-exam-text {
  	font-size: 14px;
  	color: var(--text-main);
  	line-height: 1.7;
  	margin-bottom: 20px;
  }

  .btn-blue-dark {
  	display: inline-block;
  	background-color: #0B3564;
  	color: white;
  	padding: 10px 32px;
  	border-radius: 99px;
  	text-decoration: none;
  	font-size: 15px;
  	font-weight: 700;
  }

  .ch2-exam-btn-wrap {
  	text-align: center;
  }

  /* Checklist (2-3) */
  .ch2-step-tag {
  	display: inline-block;
  	border: 1px solid #C5A059;
  	color: #C5A059;
  	padding: 4px 12px;
  	/* border-radius: 4px; */
  	font-size: 14px;
  	font-weight: 700;
  	margin-bottom: 12px;
  	align-self: flex-start;
  }

  .ch2-numbered-list .ch2-accordion-body-inner {
  	padding-left: 56px;
  }

  .ch2-step-title {
  	font-size: 20px;
  	font-weight: 700;
  	color: #0B3564;
  	margin-bottom: 16px;
  }

  .ch2-checklist-card {
  	background-color: white;
  	border-radius: 12px;
  	padding: 24px;
  	margin-bottom: 40px;
  }

  .ch2-checklist-card {
  	list-style: none;
  }

  /* 一般項目符號 (圓點)，避免方格讓人誤以為可以勾選 */
  .ch2-checklist-item {
  	display: flex;
  	align-items: center;
  	gap: 12px;
  	margin-bottom: 16px;
  	font-size: 15px;
  	color: var(--text-main);
  }

  .ch2-checklist-item::before {
  	content: "";
  	flex-shrink: 0;
  	width: 6px;
  	height: 6px;
  	border-radius: 50%;
  	background-color: var(--ch2-hero-bg);
  }

  .ch2-checklist-item:last-child {
  	margin-bottom: 0;
  }

  .ch2-numbered-list {
  	margin-bottom: 40px;
  }

  .ch2-numbered-item {
  	background-color: white;
  	border-radius: 99px;
  	padding: 12px 20px;
  	display: flex;
  	align-items: center;
  	gap: 12px;
  	margin-bottom: 12px;
  	font-size: 15px;
  	font-weight: 700;
  	color: var(--text-main);
  	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }

  .ch2-numbered-circle {
  	width: 24px;
  	height: 24px;
  	background-color: #71C9CE;
  	color: white;
  	border-radius: 50%;
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	font-size: 14px;
  	flex-shrink: 0;
  }

  .ch2-form-line {
  	border-bottom: 1px solid #999;
  	display: inline-block;
  	width: 60%;
  }

  .ch2-form-row {
  	font-size: 15px;
  	color: var(--text-main);
  	margin-bottom: 12px;
  	display: flex;
  	align-items: flex-end;
  }

  .ch2-form-label {
  	margin-right: 8px;
  }

  /* --- Chapter 2-3 檢查準備清單 --- */
  #page-2-3 .ch2-step-tag {
  	margin: 0 0 12px 0;
  	padding: 3px 10px;
  	border: none;
  	border-radius: 6px;
  	background-color: #F8DCD0;
  	color: #D98A6C;
  	font-size: 12.5px;
  	letter-spacing: 0.04em;
  }

  /* 標題左側的珊瑚色直條 */
  /* --- 通用：左側色條標題 + 縮排內文 ---
     .bar-title 標題左側加一條色條，.bar-indent 讓內文和標題文字對齊。
     色條顏色用 --bar-color 換，預設第二章主色。 */
  .bar-title {
  	--bar-color: var(--ch2-hero-bg);
  	position: relative;
  	padding-left: 20px;
  	font-size: 18px;
  	font-weight: 800;
  	line-height: 1.45;
  	color: #0B3564;
  	margin: 8px 0 8px;
  }

  .bar-title::before {
  	content: "";
  	position: absolute;
  	left: 0;
  	top: 1px;
  	bottom: 1px;
  	width: 3px;
  	border-radius: 2px;
  	background-color: var(--bar-color);
  }

  .ch1-sub-page .bar-title {
  	--bar-color: var(--ch1-hero-bg);
  }

  .ch3-sub-page .bar-title {
  	--bar-color: var(--ch3-hero-bg);
  }

  .bar-indent {
  	padding-left: 20px;
  }

  #page-2-3 .ch2-step-title {
  	position: relative;
  	padding-left: 20px;
  	font-size: 18px;
  	font-weight: 800;
  	line-height: 1.45;
  	margin-bottom: 8px;
  }

  #page-2-3 .ch2-step-title::before {
  	content: "";
  	position: absolute;
  	left: 0;
  	top: 1px;
  	bottom: 1px;
  	width: 3px;
  	border-radius: 2px;
  	background-color: #EF8579;
  }

  /* 文字樣式用 ch2-desc，這裡只放版面 */
  #page-2-3 .prep-lead,
  #page-2-3 .prep-text {
  	padding-left: 20px;
  }

  #page-2-3 .prep-lead {
  	margin-bottom: 12px;
  }

  #page-2-3 .prep-text {
  	margin-bottom: 28px;
  }

  #page-2-3 .prep-text:last-child {
  	margin-bottom: 0;
  }

  #page-2-3 .ch2-checklist-card,
  #page-2-3 .prep-form-card {
  	background-color: #FFFFFF;
  	border-radius: 18px;
  	padding: 20px 24px;
  	margin: 4px 0 32px 0;
  }

  #page-2-3 .ch2-checklist-item {
  	margin-bottom: 12px;
  	font-size: 14px;
  }

  #page-2-3 .ch2-checklist-item:last-child {
  	margin-bottom: 0;
  }

  #page-2-3 .ch2-checklist-item .ch2-form-line {
  	flex: 1;
  	align-self: flex-end;
  	margin-bottom: 3px;
  }

  #page-2-3 .ch2-numbered-list {
  	margin: 4px 0 28px 0;
  }

  #page-2-3 .ch2-accordion-item {
  	background-color: #FFFFFF;
  	border-radius: 14px;
  	margin-bottom: 10px;
  }

  #page-2-3 .ch2-accordion-item.active {
  	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  }

  #page-2-3 .ch2-accordion-header {
  	padding: 12px 16px;
  }

  #page-2-3 .prep-q {
  	display: flex;
  	align-items: center;
  	gap: 14px;
  	padding-right: 12px;
  }

  #page-2-3 .prep-q-title {
  	color: var(--text-main);
  	font-size: 14px;
  	font-weight: 700;
  	line-height: 1.5;
  }

  #page-2-3 .ch2-numbered-circle {
  	width: 26px;
  	height: 26px;
  	background-color: #F5A99B;
  	font-weight: 700;
  }

  #page-2-3 .ch2-accordion-icon {
  	width: 26px;
  	height: 26px;
  }

  #page-2-3 .ch2-accordion-body-inner {
  	font-size: 14px;
  }

  /* 我的檢查安排：插圖較矮，弧線區跟著縮小 */
  /* 3-5：準備單底色 (--sheet-band-bg) 會一路延伸到病友故事的弧線上方，病友故事區塊用橘底 */
  #page-3-5 {
  	--sheet-band-bg: transparent; /* 準備單不加底色，直接用頁面米色；要恢復粉橘改回 #FFEFD9 */
  	--ext-band-bg: #FFE1BA;
  	--ext-accent: var(--ch3-hero-bg-dark); /* 底色變深，小標與箭頭也加深才看得清楚 */
  	--story-card-bg: #FFFFFF;
  }

  #page-3-5 .content-container {
  	padding-bottom: 0;
  }

  #page-3-5 .ext-band {
  	margin-top: 0;
  	padding-top: 24px;
  	background-color: var(--sheet-band-bg);
  }

  #page-3-2 .ext-band {
  	--ext-curve: 150px;
  }

  #page-3-2 .ext-band-img {
  	width: 150px;
  }

  #page-2-3 .ext-band {
  	--ext-curve: 250px;
  }

  #page-2-3 .ch2-form-row {
  	font-size: 14px;
  	margin-bottom: 12px;
  }

  #page-2-3 .ch2-form-row:last-child {
  	margin-bottom: 0;
  }

  #page-2-3 .ch2-form-row .ch2-form-line {
  	flex: 1;
  	width: auto;
  	margin-bottom: 3px;
  }

  /* 各頁 header 的飛機與航線已全部開放；2 章首頁時間軸上的第二條航線仍暫時隱藏 (要恢復時刪除此段) */
  #page-2-index .index-timeline .hero-flight-svg {
  	display: none;
  }


  /* =========================================
     5. 第三章 Chapter 3
     ========================================= */

  /* --- Hero 與共用 --- */
  /* 綠色曲面背景（以 SVG 蒙版精準還原右下弧線） */
  .hero-ch3-bg {
  	position: absolute;
  	top: 0;
  	left: 0;
  	width: 100%;
  	height: 100%;
  	background-color: var(--ch3-hero-bg);
  	/* 右下方大弧度內縮曲線 */
  	clip-path: ellipse(115% 78% at 0% 20%);
  	z-index: 1;
  }

  .btn-more-green {
  	/* background-color: var(--brand-green); */
    background-color: var(--brand-blue);
  }

  /* 最後一段內文（後面接清單、卡片，或是區塊結尾）保留 12px 距離 */
  .ch3-sub-page .ch3-desc:not(:has(+ .ch3-desc)) {
  	margin-bottom: 12px;
  }
  
  .ch3-sub-page .ch3-desc.mb-0{
    margin-bottom: 0;
  }

  /* 讓工具 class .mt-16 在內文上仍然有效 */
  .ch3-sub-page .ch3-desc.mt-16 {
  	margin-top: 16px;
  }

  /* --- 內頁時間軸與內文 --- */
  .flow-step {
  	position: relative;
  	display: flex;
  	gap: 16px;
  	margin-bottom: 34px;
  	z-index: 2;
  }

  .step-badge {
  	flex-shrink: 0;
  	width: 34px;
  	height: 34px;
  	border-radius: 50%;
  	background-color: var(--bg-cream);
  	border: 1.5px solid var(--brand-green);
  	color: var(--brand-green);
  	font-size: 13px;
  	font-weight: 700;
  	display: flex;
  	align-items: center;
  	justify-content: center;
  	box-shadow: 0 0 0 4px var(--bg-cream);
  }

  .step-content {
  	flex: 1;
  	padding-top: 3px;
  }

  .step-heading {
  	font-size: 17px;
  	font-weight: 700;
  	color: var(--brand-green-dark);
  	margin-bottom: 8px;
  }

  .step-outro {
  	font-size: 13px;
  	color: #4A4A4A;
  	font-weight: 600;
  	line-height: 1.6;
  	margin-top: 12px;
  }

  /* 01 專屬：單欄膠囊網格 (為適應長問句) */
  .pill-grid {
  	display: grid;
  	grid-template-columns: 1fr;
  	gap: 5px;
  }

  .pill-box {
  	background: rgba(255, 255, 255, 0.75);
  	/* border: 1px solid rgba(55, 126, 104, 0.15); */
  	/* border-radius: 8px; */
  	/* padding: 10px 12px; */
  	font-size: 12.5px;
  	color: var(--text-main);
  	display: flex;
  	align-items: flex-start;
  	gap: 8px;
  	line-height: 1.4;
  }

  .pill-box::before {
  	content: "";
  	width: 4px;
  	height: 4px;
  	border-radius: 50%;
  	background: var(--brand-green);
  	flex-shrink: 0;
  	margin-top: 6px;
  }

  /* 02 專屬：全頁唯一高亮卡片 */
  .highlight-card {
  	background: #FFFFFF;
  	border-radius: 12px;
  	padding: 14px 16px;
  	/* border: 1px solid rgba(55, 126, 104, 0.12); */
  	box-shadow: 0 3px 12px rgba(55, 126, 104, 0.05);
  	margin-top: 12px;
  }

  .stat-banner {
  	display: flex;
  	align-items: center;
  	gap: 16px;
  	padding-bottom: 16px;
  	border-bottom: 1px solid #ECE7DE;
  	margin-bottom: 16px;
  }

  .stat-val {
  	font-size: 14px;
  	font-weight: 800;
  	color: var(--white);
  	background-color: var(--accent-coral);
  	line-height: 1;
  	width: 82px;
  	height: 82px;
  	border-radius: 50%;
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	flex-shrink: 0;
  	box-shadow: 0 4px 12px rgba(217, 106, 78, 0.25);
  }

  .stat-desc {
  	font-size: 12.5px;
  	color: var(--text-muted);
  	line-height: 1.5;
  }

  /* 手風琴折疊展開次要細節 (按鈕化樣式) */
  details.accordion summary {
  	list-style: none;
  	font-size: 13px;
  	font-weight: 600;
  	color: var(--white);
  	background-color: var(--brand-green);
  	padding: 10px 14px;
  	border-radius: 8px;
  	display: flex;
  	justify-content: space-between;
  	align-items: center;
  	cursor: pointer;
  	user-select: none;
  	box-shadow: 0 2px 8px rgba(55, 126, 104, 0.2);
  	transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
  }

  details.accordion summary:hover {
  	background-color: var(--brand-green-dark);
  	box-shadow: 0 4px 12px rgba(55, 126, 104, 0.28);
  }

  details.accordion summary:active {
  	transform: translateY(1px);
  }

  details.accordion summary::-webkit-details-marker,
  details.accordion summary::marker {
  	display: none;
  }

  details.accordion summary::after {
  	content: "";
  	display: inline-block;
  	width: 16px;
  	height: 16px;
  	background: url('../images/next_w.svg') no-repeat center center;
  	background-size: contain;
  	transition: transform 0.25s ease;
  	flex-shrink: 0;
  	margin-left: 8px;
  	transform-origin: center center;
  }

  details[open] summary::after {
  	transform: rotate(90deg);
  }

  .accordion-inner {
  	margin-top: 10px;
  	padding: 12px 14px;
  	background: #FAF8F5;
  	border-radius: 8px;
  	/* border: 1px solid rgba(55, 126, 104, 0.12); */
  	font-size: 12.5px;
  	color: var(--text-muted);
  	line-height: 1.65;
  }

  .accordion-inner p {
  	margin-bottom: 8px;
  }

  .accordion-inner p:last-child {
  	margin-bottom: 0;
  }

  /* 通用檢核行清單 */
  .check-list {
  	list-style: none;
  	display: flex;
  	flex-direction: column;
  	gap: 8px;
  }

  .check-list-item {
  	display: flex;
  	align-items: flex-start;
  	gap: 8px;
  	font-size: 12.5px;
  	color: var(--text-main);
  	line-height: 1.5;
  }

  .check-list-icon {
  	color: var(--brand-green);
  	font-size: 13px;
  	line-height: 1.2;
  	flex-shrink: 0;
  	margin-top: 2px;
  }

  .doctor-callout {
  	/* background: rgba(55, 126, 104, 0.08); */
    background: #fff;
  	border-radius: 8px;
  	padding: 10px 12px;
  	font-size: 12px;
  	color: var(--text-muted);
  	line-height: 1.5;
  	margin-top: 12px;
  }

  .btn-story {
    /* background-color: var(--brand-green); */
    color: var(--brand-green);
    border:1px solid var(--brand-green);
    text-decoration: none;
    padding: 11px 34px;
    border-radius: 99px;
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(55, 126, 104, 0.25);
  }

  /* 3-2 專屬樣式 */
  .intro-block {
  	background: #FFFFFF;
  	margin: 24px 20px 0 20px;
  	padding: 20px;
  	border-radius: 12px;
  	box-shadow: 0 4px 16px rgba(55, 126, 104, 0.08);
  	position: relative;
  	z-index: 10;
  }

  .intro-block .intro-text-1 {
  	margin-bottom: 8px;
  }

  .intro-block .intro-text-2 {
  	margin-bottom: 12px;
  }

  .intro-block .intro-outro {
  	margin-top: 16px;
  }

  .content-container {
  	padding: 32px 20px 48px 20px;
  	flex: 1;
  	display: flex;
  	flex-direction: column;
  	gap: 40px;
  }

  .info-step .step-eyebrow {
  	border: 1px solid var(--brand-green-dark);
    color: var(--brand-green-dark);
    padding: 2px 8px;
    display: block;
    width: fit-content;
    border-radius: 8px;
    margin-bottom: 10px;
  }

  .info-step .step-heading {
  	margin-bottom: 12px;
  	font-size: 19px;
  }

  .highlight-card .text-strong {
  	font-size: 13.5px;
  	color: var(--text-main);
  	line-height: 1.6;
  	font-weight: 600;
  	margin-bottom: 8px;
  }

  .highlight-card .text-normal {
  	font-size: 13px;
  	color: var(--text-muted);
  	line-height: 1.6;
  }

  .variant-heading {
  	font-size: 14px;
  	color: var(--brand-green-dark);
  	margin: 12px 0 6px 0;
  }

  .variant-heading-lg {
  	font-size: 14px;
  	color: var(--brand-green-dark);
  	margin: 16px 0 6px 0;
  }

  .compare-table-note {
  	font-size: 11px;
  	color: #999;
  	margin-top: 8px;
  	line-height: 1.4;
  }

  .path-step-active {
  	background: var(--brand-green);
  	color: var(--white);
  	border-color: var(--brand-green);
  }

  .path-step-dashed {
  	background: #F3F7F5;
  	border: 1.5px dashed var(--brand-green);
  }

  /* Mobile Tabs Style */
  .tabs-nav {
  	display: flex;
  	background: #EAF0EE;
  	/* border-radius: 12px; */
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
  	overflow: hidden;
  	/* margin-bottom: 16px; */
  }

  .tab-btn {
  	flex: 1;
  	display: flex;
  	flex-direction: column;
  	align-items: center;
  	justify-content: center;
  	padding: 12px 0;
  	border: none;
  	background: transparent;
  	color: var(--brand-green);
  	font-weight: 700;
  	font-size: 13.5px;
  	cursor: pointer;
  	transition: all 0.3s;
  	outline: none;
  }

  .tab-btn img {
  	width: 28px;
  	height: 28px;
  	margin-bottom: 6px;
  	opacity: 0.9;
  }

  .tab-btn.active {
  	background: var(--brand-green);
  	color: var(--white);
  }

  .tab-btn.active img {
  	opacity: 1;
  	filter: brightness(0) invert(1);
  }

  .tab-pane {
  	display: none;
  	flex-direction: column;
  	gap: 0px;
  }

  .tab-pane.active {
  	display: flex;
  }

  .accordion-card {
  	background: #F9FAFB;
  	border-radius: 12px;
  	border: 1px solid rgba(55, 126, 104, 0.1);
  	overflow: hidden;
  }

  .accordion-card summary {
  	display: flex;
  	align-items: center;
  	padding: 14px 16px;
  	cursor: pointer;
  	list-style: none;
  	font-weight: 700;
  	font-size: 14.5px;
  	color: var(--brand-green-dark);
  }

  .accordion-card summary::-webkit-details-marker {
  	display: none;
  }

  .acc-icon {
  	width: 24px;
  	height: 24px;
  	margin-right: 12px;
  }

  .acc-title {
  	flex: 1;
  	color: var(--brand-green);
  }

  .acc-arrow {
  	width: 10px;
  	height: 10px;
  	border-right: 2px solid var(--brand-green);
  	border-bottom: 2px solid var(--brand-green);
  	transform: rotate(45deg);
  	transition: transform 0.3s;
  	margin-right: 4px;
  }

  .accordion-card.active .acc-arrow {
  	transform: rotate(225deg);
  	margin-top: 4px;
  }

  .acc-content {
  	padding: 0 16px 0 16px;
  	font-size: 13.5px;
  	color: var(--text-main);
  	line-height: 1.6;
  }

  .accordion-card.active .acc-content {
  	padding-bottom: 16px;
  }

  /* 既有表格與路徑樣式 */
  .table-responsive {
  	width: 100%;
  	overflow-x: auto;
  	margin-top: 16px;
  	background: #FFFFFF;
  	border-radius: 12px;
  	box-shadow: 0 3px 12px rgba(55, 126, 104, 0.05);
  	border: 1px solid rgba(55, 126, 104, 0.12);
  }

  .compare-table {
  	width: 100%;
  	min-width: 720px; /* 手機上一次看到比較項目＋一欄，其餘向右滑 */
  	table-layout: fixed; /* 三個世代欄位等寬 */
  	border-collapse: collapse;
  }

  .compare-table th,
  .compare-table td {
  	padding: 12px;
  	text-align: left;
  	border-bottom: 1px solid #ECE7DE;
  	font-size: 13px;
  	vertical-align: top;
  	color: var(--text-main);
  	line-height: 1.5;
  }

  .compare-table th {
  	background-color: var(--brand-green);
  	color: var(--white);
  	font-weight: 600;
  	white-space: nowrap;
    text-align: center;
  }

  .compare-table th:first-child,
  .compare-table td:first-child {
  	position: sticky;
  	left: 0;
  	background-color: #fdf4e5;
  	z-index: 2;
  	border-right: 1px solid #ECE7DE;
  	font-weight: 600;
  	color: var(--brand-green-dark);
  	width: 120px;
  }

  .compare-table th:first-child {
  	background-color: var(--brand-green-dark);
  	color: var(--white);
  	z-index: 3;
  }
  
  .compare-table th.g3{
    background-color: #ff9c22;
  }
  
  .compare-table th.g2{
    background-color: #ffa93e;
  }
  
  .compare-table th.g1{
    background-color: #ffb75d;
  }

  /* 比較表左右滑動提示：提示遮罩＋左右邊緣漸層 (由 chapter3_2 script 切換 class) */
  .compare-scroll-arrow {
  	font-size: 20px;
  	line-height: 1;
  	animation: compare-nudge-left 1.2s ease-in-out infinite;
  }

  .compare-scroll-arrow.is-right {
  	animation-name: compare-nudge-right;
  }

  @keyframes compare-nudge-left {
  	0%, 100% { transform: translateX(0); }
  	50% { transform: translateX(-4px); }
  }

  @keyframes compare-nudge-right {
  	0%, 100% { transform: translateX(0); }
  	50% { transform: translateX(4px); }
  }

  .compare-scroll-wrap {
  	position: relative;
  	margin-top: 16px;
  }

  .compare-scroll-wrap .table-responsive {
  	margin-top: 0;
  }

  .compare-scroll-wrap::before,
  .compare-scroll-wrap::after {
  	content: "";
  	position: absolute;
  	top: 1px;
  	bottom: 1px;
  	width: 15px;
  	pointer-events: none;
  	opacity: 0;
  	transition: opacity 0.2s ease;
  	z-index: 4;
  }

  /* 左側漸層貼在固定的「比較項目」欄右邊 */
  .compare-scroll-wrap::before {
  	left: 121px;
  	background: linear-gradient(to right, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0));
  }

  .compare-scroll-wrap::after {
  	right: 1px;
  	border-radius: 0 12px 12px 0;
  	background: linear-gradient(to left, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0));
  }

  .compare-scroll-wrap.can-scroll-left::before,
  .compare-scroll-wrap.can-scroll-right::after {
  	opacity: 1;
  }

  /* 滑到表格時蓋在表格上段的淡深色遮罩，往下漸淡；pointer-events: none 讓手指直接滑到下方表格 */
  .compare-scroll-overlay {
  	position: absolute;
  	top: 0;
  	left: 0;
  	right: 0;
  	height: 200px;
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	border-radius: 12px 12px 0 0;
  	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 55%, rgba(0, 0, 0, 0));
  	pointer-events: none;
  	opacity: 0;
  	transition: opacity 0.3s ease;
  	z-index: 5;
  }

  .compare-scroll-overlay.is-visible {
  	opacity: 1;
  }

  .compare-scroll-overlay.is-dismissed {
  	opacity: 0;
  }

  .compare-scroll-overlay-label {
  	display: flex;
  	align-items: center;
  	gap: 10px;
  	padding: 10px 20px;
  	border-radius: 999px;
  	background: rgba(0, 0, 0, 0.55);
  	color: var(--white);
  	font-size: 16px;
  	font-weight: 600;
  	white-space: nowrap;
  }

  .compare-scroll-overlay-label .compare-scroll-arrow {
  	font-size: 24px;
  }

  /* Chapter 3-2 Treatment Path Flow (New 01-06 Layout) */
  .path-flow {
  	display: flex;
  	flex-direction: column;
  	margin: 24px 0;
  	background: transparent;
  	border: none;
  	box-shadow: none;
  	padding: 0;
  	width: 100%;
  }

  /* 放在 feel-body 內時，抵銷 feel-body 的左側縮排，讓流程卡片和標題對齊 */
  .feel-body > .path-flow {
  	margin-left: -24px;
  	width: calc(100% + 24px);
  }

  .flow-step-item {
  	display: flex;
  	align-items: center;
  	width: 100%;
  	padding: 12px 16px 12px 14px;
  	background-color: var(--white);
  	border-radius: 14px;
  	box-shadow: 0 3px 10px rgba(179, 103, 40, 0.10);
  }

  .flow-num-wrap {
  	display: flex;
  	align-items: center;
  	flex-shrink: 0;
  	margin-right: 12px;
  }

  .flow-num {
  	font-family: "M PLUS Rounded 1c", "Arial Rounded MT Bold", sans-serif;
  	font-size: 22px;
  	font-weight: 300;
  	color: var(--ch3-hero-bg);
  	line-height: 1;
  	letter-spacing: -0.5px;
  	min-width: 28px;
  	text-align: center;
  }

  .flow-divider {
  	display: inline-block;
  	width: 1.5px;
  	height: 28px;
  	background-color: #CAD8E4;
  	margin-left: 10px;
  }

  .flow-content-wrap {
  	display: flex;
  	align-items: center;
  	flex: 1;
  	min-width: 0;
  }

  .flow-icon-badge {
  	width: 64px;
  	height: 64px;
  	border-radius: 50%;
  	background-color: #ffedd7;
  	display: flex;
  	align-items: center;
  	justify-content: center;
  	flex-shrink: 0;
  	margin-right: 12px;
  }

  .flow-icon-img {
  	width: 40px;
  	height: 40px;
  	object-fit: contain;
  }

  .flow-step-text {
  	color: #0F354A;
  	font-size: 15px;
  	font-weight: 700;
  	line-height: 1.4;
  	letter-spacing: -0.2px;
  }

  .flow-arrow-row {
  	position: relative;
  	display: flex;
  	align-items: center;
  	justify-content: center;
  	margin: 8px 0;
  	width: 100%;
  }

  /* 每一步改成獨立白卡後，不再需要橫線分隔 */
  .flow-arrow-row::before {
  	display: none;
  	content: "";
  	position: absolute;
  	top: 50%;
  	left: 0;
  	right: 0;
  	height: 1px;
  	background-color: #DCE5ED;
  	z-index: 1;
  }

  .flow-arrow-badge {
  	position: relative;
  	z-index: 2;
  	background-color: var(--bg-cream, #F5EFE6);
  	padding: 0 14px;
  	display: flex;
  	align-items: center;
  	justify-content: center;
  }

  .highlight-text {
  	color: var(--accent-coral);
  	font-weight: 700;
  }

  /* Animated Accordions for Chapter 3 */
  div.accordion {
  	margin-bottom: 0px;
  }

  div.accordion .summary {
  	list-style: none;
  	font-size: 13px;
  	font-weight: 600;
  	color: var(--white);
  	background-color: var(--brand-green);
  	padding: 10px 14px;
  	border-radius: 8px;
  	display: flex;
  	justify-content: space-between;
  	align-items: center;
  	cursor: pointer;
  	user-select: none;
  	box-shadow: 0 2px 8px rgba(55, 126, 104, 0.2);
  	transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
  }

  div.accordion .summary:after {
  	content: "";
  	display: inline-block;
  	width: 16px;
  	height: 16px;
  	background: url('../images/next_w.svg') no-repeat center center;
  	background-size: contain;
  	transition: transform 0.25s ease;
  	flex-shrink: 0;
  	margin-left: 8px;
  	transform-origin: center center;
  }

  div.accordion.active .summary:after {
  	transform: rotate(90deg);
  }

  div.accordion .acc-body {
  	display: grid;
  	grid-template-rows: 0fr;
  	transition: grid-template-rows 0.3s ease-out;
  }

  div.accordion.active .acc-body {
  	grid-template-rows: 1fr;
  }

  div.accordion .accordion-inner {
  	overflow: hidden;
  	padding: 0 8px;
  }

  div.accordion .accordion-inner>*:first-child {
  	margin-top: 16px;
  }

  div.accordion .accordion-inner>*:last-child {
  	margin-bottom: 16px;
  }

  /* Animated Accordion Card for Chapter 3 */
  div.accordion-card {
  	background-color: #E6EAEF;
  	border-radius: 12px;
    /* border-bottom: 1px solid #c2c5bc; */
  	margin-bottom: 5px;
  	overflow: hidden;
  	transition: background-color 0.3s ease, box-shadow 0.3s ease;
  }

  div.accordion-card.spec1 {
    background-color: #E6EAEF;
    border-radius: 0px;
    border-bottom: 1px solid #c2c5bc;
    margin-bottom: 0px;
    overflow: hidden;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
  }

  div.accordion-card.active {
  	background-color: var(--white);
  	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  }

  .accordion-card.spec1:last-child{
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    border-bottom: 0px;
  }

  div.accordion-card .summary {
  	list-style: none;
  	padding: 20px;
  	display: flex;
  	justify-content: space-between;
  	align-items: center;
  	cursor: pointer;
  	user-select: none;
  }

  div.accordion-card .acc-title {
  	font-size: 14px;
  	font-weight: 700;
  	/* color: var(--brand-blue); */
    color:var(--brand-green);
  	line-height: 1.4;
  	padding-right: 16px;
  }

  div.accordion-card .acc-body {
  	display: grid;
  	grid-template-rows: 0fr;
  	transition: grid-template-rows 0.3s ease-out;
  }

  div.accordion-card.active .acc-body {
  	grid-template-rows: 1fr;
  }

  div.accordion-card .acc-content {
  	overflow: hidden;
  	padding: 0 20px 0 20px;
  	font-size: 14px;
  	color: var(--text-main);
  	line-height: 1.7;
  }

  div.accordion-card.active .acc-content {
  	padding-bottom: 20px;
  }

  /* --- Story Modal (SweetAlert-style) --- */
  .story-modal-overlay {
  	position: fixed;
  	top: 0;
  	left: 0;
  	width: 100%;
  	height: 100%;
  	background: rgba(0, 0, 0, 0.6);
  	z-index: 9999;
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	opacity: 0;
  	pointer-events: none;
  	transition: opacity 0.3s ease;
  }

  .story-modal-overlay.show {
  	opacity: 1;
  	pointer-events: auto;
  }

  .story-modal-content {
  	background: var(--bg-cream);
  	width: 90%;
  	max-width: 400px;
  	max-height: 85vh;
  	border-radius: 16px;
  	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  	position: relative;
  	transform: scale(0.9);
  	transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  	display: flex;
  	flex-direction: column;
  }

  .story-modal-overlay.show .story-modal-content {
  	transform: scale(1);
  }

  /* 關閉按鈕壓在彈窗右上角、一半出格 (原本在彈窗外上方 48px，手機上容易超出畫面看不到)；
     彈窗左右各留 5% 寬度，出格 12px 不會超出手機畫面；彈窗內容捲動時按鈕固定不動 */
  .story-modal-close {
  	position: absolute;
  	top: -12px;
  	right: -12px;
  	width: 36px;
  	height: 36px;
  	padding: 0;
  	background: var(--ch3-hero-bg-dark);
  	border: none;
  	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  	line-height: 1;
  	border-radius: 50%;
  	font-size: 24px;
  	color: white;
  	cursor: pointer;
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	z-index: 10;
  }

  .story-modal-body {
  	padding: 32px 24px;
  	overflow-y: auto;
  	border-radius: 16px; /* 捲動區自己收圓角，最上方主圖才不會超出 */
  	--story-accent: var(--ch3-hero-bg-dark);
  	--story-soft: #FFEFD9;
  }

  /* 文章主圖：貼齊彈窗上緣與左右，底色同內頁的粉橘 */
  .story-modal-hero {
  	margin: -32px -24px 20px;
  	padding: 24px 24px 0;
  	background-color: var(--ext-band-bg, #FFDDB0); /* 跟內頁病友故事區塊同一個底色 */
  	text-align: center;
  }

  .story-modal-hero img {
  	display: block;
  	width: 80%;
  	max-width: 280px;
  	height: auto;
  	margin: 0 auto;
  }

  /* 人名：置中小標 + 下方短線 (同內頁「病友故事」小標) */
  .story-modal-title {
  	position: relative;
  	margin-bottom: 20px;
  	color: var(--story-accent);
  	font-size: 16px;
  	font-weight: 700;
  	letter-spacing: 0.15em;
  	text-align: center;
  }

  .story-modal-title::after {
  	content: "";
  	position: absolute;
  	left: 50%;
  	bottom: -12px;
  	width: 28px;
  	height: 2px;
  	margin-left: -14px;
  	border-radius: 2px;
  	background-color: var(--story-accent);
  }

  /* 文章主標：置中大字，下方虛線和內文分開 */
  .story-modal-quote {
  	margin-bottom: 20px;
  	padding-bottom: 18px;
  	border-bottom: 1.5px dashed #E2D9CB;
  	color: var(--brand-green-dark);
  	font-size: 19px;
  	font-weight: 800;
  	line-height: 1.5;
  	text-align: center;
  	text-wrap: auto;
  }

  /* 故事影片：16:9 自適應寬度，放在主標與內文之間 */
  .story-modal-video {
  	position: relative;
  	width: 100%;
  	aspect-ratio: 16 / 9;
  	margin-bottom: 20px;
  	border-radius: 12px;
  	overflow: hidden;
  	background-color: #000;
  }

  .story-modal-video iframe {
  	position: absolute;
  	inset: 0;
  	width: 100%;
  	height: 100%;
  	border: 0;
  }

  /* 段落小標：左側直條 */
  .story-modal-subtitle {
  	position: relative;
  	margin-top: 24px;
  	margin-bottom: 10px;
  	padding-left: 14px;
  	color: #0B3564;
  	font-size: 16px;
  	font-weight: 700;
  	line-height: 1.5;
  }

  .story-modal-subtitle::before {
  	content: "";
  	position: absolute;
  	left: 0;
  	top: 3px;
  	bottom: 3px;
  	width: 3px;
  	border-radius: 2px;
  	background-color: var(--story-accent);
  }

  .story-modal-text p {
  	font-size: 15px;
  	color: var(--text-main);
  	line-height: 1.6;
  	margin-bottom: 12px;
  }

  /* 信件署名：靠右 */
  .story-modal-text p.story-modal-sign {
  	margin-top: 20px;
  	text-align: right;
  	font-weight: 700;
  	color: #0B3564;
  }

  /* 研究說明、文獻出處：小字 */
  .story-modal-text p.story-modal-note {
  	font-size: 12px;
  	color: #888;
  	line-height: 1.5;
  	margin-bottom: 6px;
  }

  /* 醫師短評：粗框白卡，上緣壓一個標籤 */
  .story-modal-review {
  	position: relative;
  	margin-top: 36px;
  	padding: 26px 18px 6px;
  	background-color: #FFFFFF;
  	border: 2px solid var(--story-accent);
  	border-radius: 16px;
  	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  }

  .story-modal-review-head {
  	position: absolute;
  	top: -14px;
  	left: 50%;
  	transform: translateX(-50%);
  	padding: 4px 16px;
  	border-radius: 99px;
  	background-color: var(--story-accent);
  	color: #FFFFFF;
  	font-size: 14px;
  	font-weight: 700;
  	letter-spacing: 0.1em;
  	white-space: nowrap;
  }

  .story-modal-review-item + .story-modal-review-item {
  	margin-top: 4px;
  	padding-top: 16px;
  	border-top: 1.5px dashed #E2D9CB;
  }

  .story-modal-text .story-modal-review-doctor {
  	margin-bottom: 2px;
  	font-size: 13px;
  	color: var(--text-muted);
  }

  .story-modal-review-doctor b {
  	color: #0B3564;
  	font-size: 15px;
  }

  .story-modal-text .story-modal-review-title {
  	margin-bottom: 8px;
  	color: var(--brand-green-dark);
  	font-size: 16px;
  	font-weight: 700;
  	line-height: 1.5;
  }

  /* 文章結尾照片 */
  .story-modal-photo {
  	margin: 28px 0 0;
  }

  .story-modal-photo img {
  	display: block;
  	width: 100%;
  	height: auto;
  	border-radius: 12px;
  }

  /* 治療歷程：白色卡片 + 垂直時間軸 */
  .story-modal-timeline {
  	margin-top: 28px;
  	margin-bottom: 28px;
  	padding: 20px 18px 8px;
  	background-color: #FFFFFF;
  	border-top: 5px solid var(--story-accent);
  	border-radius: 6px 6px 16px 16px;
  	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  	color: var(--text-main);
  }

  .story-modal-timeline-title {
  	margin-bottom: 10px;
  	color: #0B3564;
  	font-size: 17px;
  	font-weight: 800;
  }

  /* 基因變異：淡橘標籤 */
  .story-timeline-gene {
  	display: inline-block;
  	margin-bottom: 18px;
  	padding: 4px 12px;
  	border-radius: 99px;
  	background-color: var(--story-soft);
  	color: var(--brand-green-dark);
  	font-size: 13px;
  	font-weight: 700;
  	line-height: 1.5;
  }

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

  .story-timeline li {
  	position: relative;
  	padding: 0 0 18px 28px;
  }

  /* 連接線：從這一點接到下一點，最後一項不畫 */
  .story-timeline li::before {
  	content: "";
  	position: absolute;
  	left: 6px;
  	top: 12px;
  	bottom: -12px;
  	width: 2px;
  	background-color: #F3D9B5;
  }

  .story-timeline li:last-child::before {
  	display: none;
  }

  /* 節點圓點：空心，最後一項 (目前階段) 為實心 */
  .story-timeline li::after {
  	content: "";
  	position: absolute;
  	left: 0;
  	top: 4px;
  	width: 14px;
  	height: 14px;
  	box-sizing: border-box;
  	border: 3px solid var(--story-accent);
  	border-radius: 50%;
  	background-color: #FFFFFF;
  }

  .story-timeline li:last-child::after {
  	background-color: var(--story-accent);
  	box-shadow: 0 0 0 4px var(--story-soft);
  }

  .story-timeline-label {
  	display: inline-block;
  	margin-bottom: 4px;
  	padding: 1px 10px;
  	border-radius: 99px;
  	background-color: var(--story-accent);
  	color: #FFFFFF;
  	font-size: 13px;
  	font-weight: 700;
  	line-height: 1.6;
  }

  .story-timeline-text {
  	display: block;
  	font-size: 14px;
  	line-height: 1.6;
  }

  /* 兩個節點之間的間隔時間 (例：約一年半)：不畫圓點，只留線與小字 */
  .story-timeline li.story-timeline-gap {
  	padding-bottom: 14px;
  	color: var(--text-muted);
  	font-size: 12.5px;
  	font-style: italic;
  }

  .story-timeline li.story-timeline-gap::after {
  	display: none;
  }

  /* --- Chapter 3-2 ~ 3-5 內文 h2：標題左側直條（同 2-3 的做法） --- */
  #page-3-2 .step-heading,
  #page-3-3 .step-heading,
  #page-3-4 .step-heading,
  #page-3-5 .step-heading,
  #page-3-1a .step-heading,
  #page-3-1b .step-heading {
  	position: relative;
  	color: #0B3564;
  	padding-left: 24px;
  	line-height: 1.45;
  }

  #page-3-2 .step-heading::before,
  #page-3-3 .step-heading::before,
  #page-3-4 .step-heading::before,
  #page-3-5 .step-heading::before,
  #page-3-1a .step-heading::before,
  #page-3-1b .step-heading::before {
  	content: "";
  	position: absolute;
  	left: 0;
  	top: 1px;
  	bottom: 1px;
  	width: 3px;
  	border-radius: 2px;
  	background-color: var(--brand-green);
  }

  /* 3-4 的紅色提醒標題：直條跟著標題顏色 */
  #page-3-4 .step-heading[style*="color"]::before {
  	background-color: currentColor;
  }

  /* --- 滿版警示色帶 (3-4 急診提醒)：左右貼齊螢幕邊，症狀排兩欄 ---
     --alert-color 標題、圖示與圓點色，--alert-bg 底色；
     左右負邊距需等於外層內容區的左右 padding (content-container 為 20px) */
  .alert-band {
  	--alert-color: #D96A4E;
  	--alert-bg: #FBE6DF;
  	margin: 0 -20px;
  	padding: 28px 24px 30px;
  	background-color: var(--alert-bg);
  }

  .alert-band-title {
  	display: flex;
  	align-items: flex-start;
  	gap: 10px;
  	margin: 0 0 16px;
  	padding-bottom: 14px;
  	border-bottom: 1px dashed rgba(217, 106, 78, 0.35);
  	color: var(--alert-color);
  	font-size: 18px;
  	font-weight: 800;
  	line-height: 1.45;
  }

  /* 標題前的驚嘆號圓形圖示 */
  .alert-band-title::before {
  	content: "!";
  	flex-shrink: 0;
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	width: 26px;
  	height: 26px;
  	border-radius: 50%;
  	background-color: var(--alert-color);
  	color: #FFFFFF;
  	font-size: 16px;
  	font-weight: 800;
  	line-height: 1;
  }

  .alert-band-list {
  	list-style: none;
  	margin: 0;
  	padding: 0;
  	display: grid;
  	grid-template-columns: 1fr 1fr;
  	gap: 10px 16px;
  }

  .alert-band-list li {
  	position: relative;
  	padding-left: 14px;
  	color: var(--text-main);
  	font-size: 14px;
  	line-height: 1.5;
  }

  .alert-band-list li::before {
  	content: "";
  	position: absolute;
  	left: 0;
  	top: 0.6em;
  	width: 6px;
  	height: 6px;
  	border-radius: 50%;
  	background-color: var(--alert-color);
  }

  /* --- 滿版底色區塊 + 白色準備單 (3-5 治療討論準備單) ---
     底色沿用各章節的 --ext-band-bg；左右負邊距需等於外層內容區的左右 padding (20px) */
  .sheet-band {
  	margin: 0 -20px;
  	padding: 44px 20px 32px;
  	background-color: var(--sheet-band-bg, var(--ext-band-bg, #F3EFE7));
  }

  .sheet-band > .doctor-callout {
  	margin-top: 12px;
  }

  /* 準備單下方的小標題 (搭配 .bar-title 左側直條) */
  .sheet-band-subtitle {
  	margin-top: 32px;
  }

  /* 白色單據：上緣一條主色色帶，像是一張可以填寫的紙 */
  .prep-sheet {
  	position: relative;
  	padding: 28px 22px 10px;
  	background-color: #FFFFFF;
  	border-radius: 6px;
    /* border-top: 6px solid var(--ext-accent, var(--brand-green)); */
    border-top: 6px solid #cbc3af;
    border-bottom: 6px solid #cbc3af;
  	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
  }

  /* 右上角小圖示，往上出格 */
  .prep-sheet-icon {
  	position: absolute;
  	top: -40px;
  	right: 14px;
  	width: 90px;
  	height: auto;
  }

  .prep-sheet-title {
  	margin: 0 0 18px;
  	padding: 0 76px 14px 0;
  	border-bottom: 1.5px dashed #E2D9CB;
  	color: var(--ext-title, #0B3564);
  	font-size: 18px;
  	font-weight: 800;
  	line-height: 1.45;
  }

  .prep-sheet-row {
  	margin-bottom: 18px;
  }

  .prep-sheet-label {
  	display: block;
  	color: var(--text-main);
  	font-size: 14px;
  	font-weight: 700;
  	line-height: 1.5;
  }

  /* 兩條書寫橫線 */
  .prep-sheet-lines {
  	display: block;
  	height: 64px;
  	background-image: repeating-linear-gradient(transparent 0, transparent 31px, #D9D2C5 31px, #D9D2C5 32px);
  }

  /* --- 故事卡片 (3-5 病友故事)：上下排列，上圖下標題，整張可點 --- */
  .story-cards {
  	display: grid;
  	grid-template-columns: 1fr;
  	gap: 16px;
  	margin: 24px 1rem 0;
  }

  .story-card {
  	display: flex;
  	flex-direction: column;
  	align-items: center;
  	gap: 10px;
  	padding: 18px 20px 18px;
  	border: none;
  	border-radius: 18px;
  	background-color: var(--story-card-bg, #FFFFFF);
  	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
  	font-family: inherit;
  	cursor: pointer;
  	transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .story-card:active {
  	transform: translateY(2px);
  	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
  }

  .story-card-img {
  	display: block;
  	width: 100%;
  	height: 180px;
  	object-fit: contain;
  }

  /* 卡片下方的標題：文字不加底色，後面接一個主色圓形底 + 白色箭頭，提示可以點開
     (和下一站的實心膠囊按鈕做出區分) */
  .story-card-title {
  	display: inline-flex;
  	align-items: center;
  	gap: 10px;
  	color: var(--ext-title, #0B3564);
  	font-size: 16px;
  	font-weight: 700;
  	letter-spacing: 0.5px;
  }

  .story-card-title::after {
  	content: "";
  	flex-shrink: 0;
  	width: 28px;
  	height: 28px;
  	border-radius: 50%;
  	background: var(--ext-title, #0B3564) url('../images/next_w.svg') no-repeat center / 14px 14px;
  	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  	transition: transform 0.2s ease;
  }

  .story-card:active .story-card-title::after {
  	transform: translateX(3px);
  }

  /* --- Chapter 3-3 提問卡片：白底圓角置中（同 1-2 的開口句卡片） --- */
  #page-3-3 .doctor-callout {
  	padding: 18px 12px;
  	border: none;
  	border-radius: 12px;
  	background: #FFFFFF;
  	box-shadow: none;
  	color: #333333;
  	font-size: 14px;
  	font-weight: 400;
  	line-height: 1.9;
  	text-align: center;
  }

  /* --- Chapter 3-2 ~ 3-5 內文縮排：標題下方的文字與標題文字對齊（同第一章） --- */
  .ch3-sub-page .info-step > .step-heading ~ p:not(.compare-table-note),
  .ch3-sub-page .info-step > .step-heading ~ ul,
  .ch3-sub-page .info-step > .step-heading ~ h3,
  .ch3-sub-page .info-step > .step-heading ~ .discussion-form-row {
  	padding-left: 24px;
  }


  /* =========================================
     6. 內頁字級統一（第一章、第三章內頁）
     內文 14px、區塊標題 18px、註解 13px；放在最後以覆蓋前面的設定
     ========================================= */

  .ch1-sub-page .support-card-body-inner li,
  .ch3-sub-page .step-outro,
  .ch3-sub-page .check-list-item,
  .ch3-sub-page .check-list-item span,
  .ch3-sub-page .doctor-callout,
  .ch3-sub-page .pill-item,
  .ch3-sub-page .stat-desc,
  .ch3-sub-page .accordion-inner p,
  .ch3-sub-page .accordion .summary span,
  .ch3-sub-page .highlight-card .text-strong,
  .ch3-sub-page .highlight-card .text-normal,
  .ch3-sub-page .table-responsive th,
  .ch3-sub-page .table-responsive td,
  .ch3-sub-page .discussion-form-label {
  	font-size: 14px;
  }

  .ch3-sub-page .step-heading,
  .ch3-sub-page .info-step .step-heading {
  	font-size: 18px;
  }

  .ch3-sub-page .compare-table-note {
  	font-size: 13px;
  }

  .ch3-sub-page .info-step .info-step-body{
    padding: 0 0 0 24px;
  }

  .ch3-sub-page .info-step .info-step-body .pill-box{
    background:transparent;
  }
  
  /* --- 3-1 的 04：兩個分流按鈕 (並排在卡片內) --- */
  .gene-choice {
  	display: grid;
  	grid-template-columns: 1fr;
  	gap: 12px;
  	margin-top: 16px;
  }

  .gene-choice-btn {
  	display: flex;
  	flex-direction: column;
  	padding: 14px 12px;
  	/* border: 1.5px solid var(--brand-green); */
  	border-radius: 14px;
  	background-color: #FFF4E4;
  	color: var(--text-main);
  	text-decoration: none;
  }

  .gene-choice-title {
  	/* color: var(--brand-green-dark); */
    color: #0B3564;
  	font-size: 15px;
  	font-weight: 700;
  	line-height: 1.4;
  }

  .gene-choice-desc {
  	flex: 1;
  	margin-top: 6px;
  	color: #555555;
  	font-size: 12.5px;
  	line-height: 1.5;
  }

  /* 底部做成實心膠囊按鈕，看起來可以點擊 */
  .gene-choice-link {
  	align-self: anchor-center;
  	display: inline-flex;
  	align-items: center;
  	gap: 8px;
  	margin-top: 12px;
  	padding: 7px 8px 7px 16px;
  	border-radius: 999px;
  	background-color: var(--brand-green-dark);
  	color: #FFFFFF;
  	font-size: 13.5px;
  	font-weight: 700;
  	line-height: 1.4;
  	box-shadow: 0 3px 10px rgba(252, 132, 45, 0.25);
  }

  .gene-choice-arrow {
  	display: inline-flex;
  	justify-content: center;
  	align-items: center;
  	width: 22px;
  	height: 22px;
  	border-radius: 50%;
  	background-color: #FFFFFF;
  	color: var(--brand-green-dark);
  	font-size: 13px;
  	line-height: 1;
  }

  /* --- 3-1A / 3-1B 治療藥物清單 --- */
  #page-3-1a .content-container,
  #page-3-1b .content-container {
  	gap: 36px;
  }

  .drug-acc-group {
  	margin-top: 14px;
  }

  .drug-acc-group .guide-accordion-title strong {
  	font-weight: 700;
  }

  .drug-acc-group .guide-accordion-body-inner,
  .tx-card {
  	font-size: 14px;
  	line-height: 1.7;
  }

  .drug-field + .drug-field {
  	margin-top: 14px;
  }

  .drug-label {
  	margin: 0 0 4px 0 !important;
  	color: var(--brand-green-dark);
  	font-size: 13px;
  	font-weight: 700;
  }

  .drug-field p {
  	margin: 0 0 6px 0;
  }

  .drug-note {
  	color: var(--text-muted);
  	font-size: 13px;
  }

  /* 健保給付 / 自費 小標籤 */
  .pay-tag {
  	display: inline-block;
  	margin: 0 0 6px 0;
  	padding: 1px 10px;
  	border-radius: 999px;
  	font-size: 12.5px;
  	font-weight: 700;
  	line-height: 1.6;
  }

  .pay-tag--nhi {
  	background-color: #cef0ff;
  	color: #2196F3;
  }

  .pay-tag--self {
  	background-color: #FDEBEA;
  	color: #D9706B;
  }

  .drug-list {
  	list-style: none;
  	margin: 0 0 6px 0;
  	padding: 0;
  }

  .drug-list li {
  	position: relative;
  	padding-left: 14px;
  }

  .drug-list li + li {
  	margin-top: 4px;
  }

  .drug-list li::before {
  	content: "";
  	position: absolute;
  	left: 2px;
  	top: 0.75em;
  	width: 5px;
  	height: 5px;
  	border-radius: 50%;
  	background-color: var(--brand-green);
  }

  .drug-list strong {
  	color: #333333;
  	font-weight: 700;
  }

  /* 兩種藥共用的給付說明 (例：BRAF) */
  .drug-shared-card,
  .tx-card {
  	background-color: #FFFFFF;
  	border-radius: 14px;
  	padding: 16px 18px;
  	box-shadow: 0 4px 16px rgba(11, 53, 100, 0.05);
  }

  .drug-shared-card {
  	font-size: 14px;
  	line-height: 1.7;
  }

  .tx-card {
  	margin-top: 14px;
  }

  .tx-card-title {
  	margin: 0 0 10px 0;
  	color: #0B3564;
  	font-size: 16px;
  	font-weight: 700;
  	line-height: 1.45;
  }

  .tx-card .drug-label {
  	margin-top: 0;
  }

  /* 連到其他頁的外框按鈕 (例：EGFR → 3-2) */
  .group-link {
  	display: inline-flex;
  	align-items: center;
  	gap: 6px;
  	margin: 15px auto;
  	padding: 15px 18px;
  	/* border: 1px solid var(--brand-green-dark); */
    background-color: var(--brand-blue);
  	border-radius: 999px;
  	color: #fff;
  	font-size: 14px;
  	font-weight: 700;
  	text-decoration: none;
  }

  /* 文字與箭頭分成兩塊：文字斷行時，箭頭仍與整段文字垂直置中 */
  .group-link-text {
  	flex: 1;
  	min-width: 0;
  }

  /* 箭頭：白色圓底、深藍色箭頭 */
  .group-link-arrow {
  	flex-shrink: 0;
  	display: inline-flex;
  	justify-content: center;
  	align-items: center;
  	width: 26px;
  	height: 26px;
  	border-radius: 50%;
  	background-color: #FFFFFF;
  	color: var(--brand-blue);
  	font-size: 14px;
  	line-height: 1;
  }

  /* custom */
  /* page-1-index */
  #page-1-index .index-card-gate .gate-badge {
    background-color: var(--ch1-hero-bg);
  }
  
  #page-1-index .index-card-gate .gate-number{
    color: var(--ch1-hero-bg);
  }
  
  #page-1-index .index-hero-compact .index-illustration {
    right: 25px;
    bottom: -15px;
    width: 36%;
  }
  
  #page-1-index .hero-header.index-hero.index-hero-compact{
    padding-bottom: 96px;
  }
  
  
  /* page-2-index */
  #page-2-index .index-card-gate .gate-badge {
    background-color: var(--ch2-hero-bg);
  }
  
  #page-2-index .index-card-gate .gate-number{
    color: var(--ch2-hero-bg);
  }
  
  #page-2-index .index-hero-compact .index-illustration {
    bottom:-20%;
  }
  
  #page-2-index .hero-header.index-hero.index-hero-compact{
    padding-bottom: 120px;
  }
  
  
  /* page-3-index */
  #page-3-index .index-card-gate .gate-badge {
    background-color: var(--ch3-hero-bg);
  }
  
  #page-3-index .index-card-gate .gate-number{
    color: var(--ch3-hero-bg);
  }
  
  #page-3-index .index-hero-compact .index-illustration {
    bottom:0%;
  }
  
  
  #page-3-index .hero-header.index-hero.index-hero-compact{
    padding-bottom: 196px;
  }
  
  /* =========================================
     7. 停用中的舊樣式（保留備查，可刪除）
     ========================================= */

  /* .hero-title {
  	font-size: 25px;
  } */
  /* .hero-header {
  	padding-bottom: 420px;
  } */
  /* .scroll-down-btn {
  	position: absolute;
  	bottom: 20px;
  	left: 50%;
  	transform: translateX(-50%);
  	width: 40px;
  	height: 40px;
  	border-radius: 50%;
  	border: 1.5px solid rgba(255, 255, 255, 0.6);
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	color: white;
  	z-index: 3;
  } */
