/* 基本重置與排版設定 */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: "Microsoft JhengHei", "PingFang TC", sans-serif;
	line-height: 1.8; /* 調整行高以符合截圖的舒適閱讀感 */
	color: #333;
	background-color: #fff;
}

/* 輔助樣式 */
.container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
}

.content-padding {
	padding: 40px 0 60px; /* 區塊間距 */
}

h1, h2, h3 {
	line-height: 1.3;
}

p {
	margin-bottom: 1.5em;
	font-size: 1.1em;
}

/* --- 1. 主視覺區塊 (Hero Section) - 仿照首頁的設計 --- */
.hero-section {
	background-color: #f0efec; /* 淺藍色背景，與首頁的淺色基調一致 */
	padding: 60px 0 60px 0;
}

.hero-content {
	display: flex;
	gap: 40px;
	align-items: flex-start; /* 讓內容靠上對齊 */
}

/* .text-block {
	flex: 2;
}

.image-block {
	flex: 1; 
	min-height: 350px;
	border-radius: 8px;
	background-color: #ccc; 
} */

/* 標題與標籤 */
.hero-section h1 {
	font-size: 2.5em;
	color: #658e91; /* 標題顏色 */
	margin-bottom: 10px;
}

.tag-line {
	margin-bottom: 30px;
}

.tag {
	display: inline-block;
	background-color: #23506f; /* 綠色背景 */
	color: #fff;
	padding: 5px 15px;
	/* border-radius: 20px; */
	font-weight: bold;
	font-size: 1.2rem;
}

/* 圖片區塊樣式 - 模擬截圖中的父子圖 */
.father-son-image {
	background: url('../images/story1.png') no-repeat center center / cover;
	/* 這裡僅為示意，請替換成實際圖片路徑 */
	box-shadow: 0 10px 20px rgba(0,0,0,0.1); /* 讓圖片更立體 */
}



/* 戒菸服務資源 */
.source-section {
	background-color: #f0efec; /* 淺藍色背景，與首頁的淺色基調一致 */
	padding: 60px 0 60px 0;
}

.source-section h2{
	font-size: 2.6rem;
	line-height: 1.5;
	margin-bottom:2rem;
	text-align: center;
	padding: 2.5rem 0;
	color:#5e5e5e;
}

.source-block{
	display: flex;
	align-items: center;
	margin-bottom:2.5rem;
}

.source-block.reverse{
	flex-direction: row-reverse
}

.source-block .imgblock{
	padding:.5rem;
}

.source-block .txtblock{
	padding: 2rem;
	border-radius: 8px;
	background: #fff;
	margin-left: 2.3rem;
}

.source-block.reverse .txtblock{
	margin-left: 0;
	margin-right: 2.3rem;
}

.source-block .txtblock p:last-child{
	margin-bottom:0;
}

/* --- 2. 內文敘事區塊 (Story Section) --- */
.story-content {
	max-width: 900px; /* 內文可以稍微收窄，讓閱讀更舒適 */
	margin: 0 auto;
}

.story-paragraph {
	margin-bottom: 30px;
}

/* 突出顯示的區塊 - 模仿截圖中第二段的視覺強調 */
.highlight-block {
	padding: 30px;
	background-color: #f0f8ff; /* 淺藍色背景 */
	border-left: 5px solid #1e90ff; /* 藍色側邊框 */
	border-radius: 5px;
}

.highlight-block p:last-child {
	margin-bottom: 0;
}

/* 結尾的呼籲文字 */
.story-callout {
	text-align: center;
	padding-top: 40px;
	border-top: 1px dashed #ccc;
	margin-top: 30px;
}

.story-callout p {
	font-size: 1.2em;
}

.cta-text {
	color: #ff4500; /* 橘紅色強調文字 */
	font-size: 1.4em !important;
}

.hero-banner-section .story-banner{
	text-align: center;
	background: #f0efec;
}

.resource-banner{
	text-align: center;
	background: #81d1ad;
}

/* --- 響應式設計 --- */
@media (max-width: 768px) {
	
	.hero-section{
		padding: 40px 0 40px 0;
	}
	
	.hero-content {
		flex-direction: column;
		align-items: center;
		text-align: justify;
	}

	.text-block, .image-block {
		flex: none;
		width: 100%;
		max-width: 100%;
	}

	.image-block {
		min-height: 250px; /* 手機版圖片高度調整 */
		order: -1; /* 將圖片移到標題下面 */
		margin-bottom: 30px;
	}

	.hero-section h1 {
		font-size: 2em;
	}

	p {
		font-size: 1em; /* 手機版字體略微縮小 */
	}

	.cta-text {
		font-size: 1.2em !important;
	}
	
	.source-section h2{
		font-size: 2.3rem;
		color:#6aa9bc;
		font-weight: bold;
	}
	
	.source-block {
		margin-bottom: 2rem;
		flex-direction: column;
	}
	
	.source-block.reverse{
		flex-direction: column;
	}
	
	
	.source-block.reverse .txtblock {
		margin-left: 0;
		margin-right: 0;
	}
	
	.source-block .imgblock{
		padding-bottom:0;
		text-align: center;
	}
	
	.source-block .imgblock img{
		width:80%;
		margin:0 auto;
	}
	
	.source-block .txtblock {
		padding: 1.5rem;
		border-radius: 8px;
		background: #fff;
		margin-left: 0;
	}
}