/* ==========================================================================
   2026 首頁改版 CSS（僅套用於 index.html，不更動任何 HTML 結構）
   桃園市安心點愛心餐食服務 - 2026 視覺更新
   色系：桃紅 x 紫 x 暖黃
   ========================================================================== */

:root{
	/* 覆蓋原本的 bootstrap 主題色變數（skin.css） */
	--primary: #e23f83;         /* 桃紅 */
	--secondary: #7c5cc4;       /* 紫 */
	--tertiary: #ffe27a;        /* 暖黃 */
	--quaternary: #3f2b5b;      /* 深紫（文字/footer 用） */

	/* 2026 新增輔助色 */
	--c-pink: #ff5b9a;
	--c-pink-deep: #d6337a;
	--c-purple: #70569d;
	--c-purple-deep: #5b3f8f;
	--c-purple-darker: #45305f;
	--c-yellow: #ffdd6b;
	--c-yellow-soft: #fff3d0;
	--c-lavender: #efe6fd;
	--c-heading-font: 'Poppins', sans-serif;
}

/* ---------- 全站背景（首頁） ---------- */
.body-bg::before,
.body-bg::after{
	content: "";
	position: absolute;
	border-radius: 50%;
	filter: blur(2px);
	opacity: 0.5;
	z-index: 0;
	pointer-events: none;
}
/*.body-bg::before{
	width: 420px;
	height: 420px;
	background: radial-gradient(circle at 30% 30%, rgba(255,140,190,0.55), rgba(255,140,190,0) 70%);
	top: -120px;
	right: -120px;
}*/
/*.body-bg::after{
	width: 520px;
	height: 520px;
	background: radial-gradient(circle at 60% 40%, rgba(138,111,209,0.35), rgba(138,111,209,0) 70%);
	bottom: 10%;
	left: -180px;
}*/
.body-bg > *{
	position: relative;
	z-index: 1;
}

h1,h2,h3,h4,.section-title,.pageTitle{
	font-family: var(--c-heading-font);
}

/* ==========================================================================
   v2 (2026-08-10)：依實際素材圖重做 Header + Hero，僅套用在 index_2026.html
   其餘區塊（登入卡以下的活動成果/公告/FAQ/Footer）沿用上一輪，本次不動
   ========================================================================== */

/* ---------- Header ---------- */
#header .header-body{
	background-color: transparent;
}
#header .header-top{
	background-color: #ffffff;
}
/* 上方工具列：右側連結區加寬，文字單行不換行 */
#header .header-top > .container-fluid > .header-row > .header-column:first-child{
	flex: 0 1 auto;
	max-width: 42%;
}
#header .header-top > .container-fluid > .header-row > .header-column.justify-content-end{
	flex: 1 1 auto;
	min-width: 0;
}
#header .header-top .header-logo img{
	max-width: min(100%, 420px);
	height: auto;
}
#header .header-nav-top .nav{
	flex-wrap: nowrap;
	align-items: center;
}
#header .header-nav-top .nav-item a{
	color: #3a3a3a !important;
	white-space: nowrap;
}
#header .header-nav-top .nav-item a:hover,
#header .header-nav-top .nav-item a:focus{
	color: var(--c-pink-deep) !important;
}
#header .header-nav-top .nav-item a.header-shop-entry{
	white-space: nowrap;
	max-width: none;
}
/* 手機摺疊選單仍允許全名換行 */
#header .header-nav-main nav > ul#mainNav > li > a.nav-link.header-shop-entry{
	white-space: normal;
	line-height: 1.3;
}
@media (min-width: 992px) and (max-width: 1399.98px){
	#header .header-nav-top .nav > li > a{
		padding-left: 8px;
		padding-right: 8px;
		font-size: 0.95em;
	}
}

/* 主選單：滿版黃底，不用格線 */
#header .header-main{
	background-color: var(--c-yellow);
}
#header .header-nav-main{
	width: 100%;
}
#header .header-nav-main nav{
	width: 100%;
}
#header .header-nav-main nav > ul#mainNav{
	width: 100%;
	justify-content: space-evenly;
	background: transparent;
}
#header .header-nav-main nav > ul#mainNav > li > a{
	color: #4a3b1f !important;
	font-weight: 700;
	padding: 1rem 0.75rem !important;
	border-bottom: 3px solid transparent;
}
#header .header-nav-main nav > ul#mainNav > li > a:hover,
#header .header-nav-main nav > ul#mainNav > li > a:focus,
#header .header-nav-main nav > ul#mainNav > li.active > a{
	color: var(--c-pink-deep) !important;
	background-color: transparent !important;
	text-decoration: dotted var(--c-pink-deep) underline;
	/*border-bottom-color: var(--c-pink-deep);*/
}
#header .header-nav-main nav > ul#mainNav > li > a:after{
	display: none;
}
@media (max-width: 992px){
	#header .header-main{
		background-image: none;
	}
	#header .header-nav-main nav > ul#mainNav{
		background: #fff;
		justify-content: flex-start;
	}
	#header .header-nav-main nav > ul#mainNav > li > a{
		color: var(--c-purple-darker) !important;
		border-bottom: 0;
	}
	#header .header-nav-main nav > ul#mainNav > li > a.active{
		color: #fff !important;
	}
}

/* ---------- Hero / Banner ---------- */
.section.banner-section{
	background-color: var(--c-yellow-soft) !important;
	background-image: url(../img/deco/grid_bg.svg), url(../img/deco/star_bg.svg) !important;
	background-size: cover, cover !important;
	background-position: center, center !important;
	background-repeat: no-repeat, no-repeat !important;
	border-radius: 0;
	position: relative;
	overflow: hidden;
	padding-bottom: 100px;
}
/* 素材提供的黃色柔霧色塊，貼齊左下/右上角落 */
.section.banner-section::before,
.section.banner-section::after{
	content: "";
	position: absolute;
	pointer-events: none;
	z-index: 0;
}
.section.banner-section::before{
	width: 60%;
	height: 70%;
	left: 0;
	bottom: 0;
	background: url(../img/deco/banner_left.svg) no-repeat left bottom / contain;
}
.section.banner-section::after{
	width: 60%;
	height: 70%;
	right: -6px;
	bottom: 0;
	background: url(../img/deco/banner_right.svg) no-repeat right top / contain;
}
.section.banner-section .container{
	position: relative;
	z-index: 1;
}

/* ---------- 其他頁面的 page-header（副頁標題列）
   比照首頁 hero 的 banner-section 樣式：格子背景 + 左右兩張裝飾圖，
   蓋掉原本 custom.css 的 pageheader7.png ---------- */
.page-header{
	background-color: var(--c-yellow-soft) !important;
	background-image: url(../img/deco/grid_bg.svg) !important;
	background-size: cover !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	position: relative;
	overflow: hidden;
}
.page-header::before{
	content: "" !important;
	position: absolute;
	top: auto !important;
	pointer-events: none;
	z-index: 0;
	width: 40vw;
	height: 40vw;
	left: 0;
	bottom: 0;
	background: url(../img/deco/banner_left.svg) no-repeat left bottom / contain !important;
}
/* 右下角不再放 banner_right.svg，改放各頁的英文標題浮水印字，
   樣式比照登入頁 .index-form-wrapper .tabs::before（大字級、低透明度）。
   英文字內容寫在各頁 .page-header 的 data-title-en 屬性上，
   這樣同一份 CSS 就能套用到每個頁面、各自顯示不同英文字。 */
.page-header::after{
	content: attr(data-title-en) !important;
	position: absolute;
	top: auto !important;
	right: 3%;
	bottom: -0.15em;
	left: auto;
	width: auto;
	height: auto;
	background: none !important;
	pointer-events: none;
	z-index: 0;
	text-align: right;
	font-family: var(--c-heading-font);
	font-size: clamp(3.5rem, 12vw, 8rem);
	font-weight: 600;
	letter-spacing: 4px;
	color: rgb(236 195 59 / 36%);
	line-height: 1;
	white-space: nowrap;
}
.page-header .pageTitleWrapper{
	position: relative;
	z-index: 1;
}
.hero-wrapper{
	background-color: transparent !important;
}
.hero-wrapper .swiper{
	border-radius: 16px !important;
	box-shadow: 0 20px 45px -18px rgba(90, 40, 90, 0.25);
}
.hero-wrapper .swiper .image{
	box-shadow: none;
}
.swiper-pagination-bullet{
	background: var(--c-purple) !important;
	opacity: 0.4;
}
.swiper-pagination-bullet-active{
	background: var(--c-pink-deep) !important;
	opacity: 1;
}
.slider_title{
	background: linear-gradient(90deg, var(--c-pink-deep), var(--c-purple-deep)) !important;
	color: #fff !important;
	opacity: 0.94;
}
.pauseBtn,.playBtn{
	background: linear-gradient(90deg, var(--c-pink-deep), var(--c-purple-deep)) !important;
}

.gomap-link{
	background-image: url(../img/deco/mapbtn-1.png) !important;
	background-color: #fff3d0 !important;
	border: 2px solid var(--c-purple) !important;
	box-shadow: none;
}
.gomap-link::before{
	opacity: 0 !important;
}
.gomap-link p{
	color: var(--c-purple-darker) !important;
	font-weight: 700;
	text-shadow: none;
}

/* SCROLL 指示器：hero 區塊左下角（借用 banner-section 的定位錨點，
   因為 .scroll-wrapper 在 DOM 上其實是巢狀在右側登入卡裡面） */
.scroll-wrapper{
	position: absolute !important;
	left: 16px !important;
	right: auto !important;
	top: auto !important;
	bottom: 36px !important;
	overflow: visible !important;
}
#scroll-wrapper-inner{
	overflow: visible !important;
}
.scroll-title{
	color: var(--c-purple-deep) !important;
}
/* 三角形依序變色動畫：三色平均分段，連續漸變（非跳階），營造往下流動的方向感 */
@keyframes scrollTriColor {
  0%   { background-color: var(--c-purple-deep); }
  50%  { background-color: rgb(201, 184, 234); } /* 淺紫，取代原本 66.66% 的值 */
  100% { background-color: var(--c-purple-deep); }
}
/* 容器本身就是最下面那個三角形；::before / ::after 疊出另外兩個，往「上」堆疊
   （用負值 top，往 banner-section 內側延伸），而不是往下堆疊。
   真正的成因：.scroll-wrapper 是用 bottom:16px 貼齊 banner-section 底部，
   banner-section 又有 overflow:hidden；先前 ::before/::after 用正值 top 往下疊，
   會一路疊出 banner-section 底邊之外，直接被 overflow:hidden 裁掉，
   所以畫面上只看得到 .scroll-down 本身那一個三角形。改成往上疊就不會超出邊界。 */
.scroll-down{
	display: block !important;
	position: relative !important;
	overflow: visible !important;
	width: 22px !important;
	height: 14px !important;
	margin: 0 auto !important;
	clip-path: polygon(50% 100%, 0 0, 100% 0);
	-webkit-animation: scrollTriColor 1.2s ease-in-out infinite !important;
	animation: scrollTriColor 1.2s ease-in-out infinite !important;
	-webkit-animation-delay: 0s !important;
	animation-delay: 0s !important;
}
.scroll-down:nth-child(2){
	top: -20px !important;
	-webkit-animation-delay: -0.4s !important;
	animation-delay: -0.4s !important;
}
.scroll-down:nth-child(3){
	top: -10px !important;
	-webkit-animation-delay: -0.8s !important;
	animation-delay: -0.8s !important;
}
.food-stall{
	display: none !important;
}

/* login / store 登入卡片：依附圖改為實心紫卡片 + 藥丸切換頁籤 */
.index-form-wrapper{
	padding: 75px 10px 20px;
	overflow: visible;
}
/* LOGIN 浮水印：改掛在 .tabs 卡片上（.tabs 本來就有 position:relative），
   這樣 .index-form-wrapper 就不用再佔用定位錨點，SCROLL 才能正確往上一層找到 banner-section */
.index-form-wrapper .tabs::before{
	content: "LOGIN";
    position: absolute;
    top: -89px;
    left: 0;
    right: 0;
    text-align: center;
    font-family: var(--c-heading-font);
    font-size: clamp(3rem, 12vw, 6.5rem);
    font-weight: 600;
    letter-spacing: 4px;
    color: rgba(122, 92, 196, 0.12);
    z-index: 0;
    pointer-events: none;
    line-height: 1;
}
.index-form-wrapper .tabs{
	position: relative;
	z-index: 1;
	background: #d5c9e700;
	border-radius: 22px;
	padding: 0;
	box-shadow: 0 20px 45px -18px rgba(80, 40, 110, 0.35);
}
/* 頁籤改回原站 .tabs 的樣式（頂部圓角、無底線），只改配色：一般白底、active 用 #d5c9e7 */
.index-form-wrapper .tabs .nav-tabs li .nav-link,
.index-form-wrapper .tabs .nav-tabs li .nav-link:hover{
	border-radius:12px 12px 0 0 !important;
	border: 0 !important;
}
html body .index-form-wrapper .tabs .nav-tabs .nav-link{
	border-color: #d5c9e7;
	color: var(--c-purple-darker);
	background-color: #ffffff;
	z-index: 1;
	position: relative;
	padding: 12px 10px;
}
html body .index-form-wrapper .tabs .nav-tabs .nav-link:hover,
html body .index-form-wrapper .tabs .nav-tabs .nav-link:focus,
html body .index-form-wrapper .tabs .nav-tabs .nav-link.active{
	color: var(--c-purple-darker);
	background-color: #d5c9e7;
	border-color: #d5c9e7;
}
.index-form-wrapper .tab-content{
	background: #d5c9e7 !important;
	border-radius: 0 0 10px 10px;
	box-shadow: none;
	padding: 32px 28px;
}
.index-form-wrapper label{
	color: var(--c-purple-darker);
	font-weight: 700;
}
.index-form-wrapper .form-control{
	border-radius: 10px !important;
	border: 1px solid #c3b3e0 !important;
	background-color: #fff !important;
}
.index-form-wrapper .form-control:focus{
	border-color: var(--c-purple) !important;
	box-shadow: 0 0 0 3px rgba(138,111,209,0.25) !important;
}
.index-form-wrapper .sm-text,
.index-form-wrapper .sm-text.text-decoration-underline{
	color: var(--c-purple-darker) !important;
}
.index-form-wrapper .submit-btn{
	background: var(--c-purple-darker) !important;
	border: 0 !important;
	border-radius: 30px !important;
	box-shadow: 0 10px 22px -8px rgba(69, 48, 95, 0.6);
}
.index-form-wrapper hr{
	border-top: 1px dashed #c3b3e0;
	opacity: 1;
}

/* 查詢附近愛心店家：樣式統一移到上面的 .gomap-link 規則，
   這裡原本有一份重複的 .gomap-link{ background:#ffffff !important; ... }，
   因為在檔案後面、規則會蓋掉前面那份，導致 background 一直移除不掉，現在刪除。 */

/* ---------- 成效資訊：整塊（標題／指標／說明／按鈕）包在紫色面板內 ---------- */
.achievements-section{
	background: transparent !important;
	position: relative;
	padding-bottom: 0;
}
.achievements-section--v2{
	padding-top: 1rem;
	margin-bottom: 2rem;
}
/* 紫色只打在 panel（單層） */
.achievements-section--v2 .achievements-panel{
	background-color: #70569d !important;
	background: #70569d !important;
	border-radius: 22px;
	padding: 1.5rem 1.75rem 1.75rem;
	box-shadow: 0 8px 28px rgba(91, 63, 143, 0.18);
}
/* 標題列：icon + 標題文字置中 */
.achievements-section--v2 .achievements-heading{
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 1rem 1.25rem;
	margin-bottom: 0.75rem;
	position: relative;
	z-index: 2;
}
.achievements-section--v2 .achievements-heading__icon{
	width: auto;
	max-width: 200px;
	height: auto;
	flex: 0 0 auto;
}
.achievements-section--v2 .achievements-heading .title-set{
	display: block !important;
	text-align: left !important;
}
/* 標題與螢火蟲圖高度相近；不顯示 section-title 預設愛心圖示 */
.achievements-section--v2 .achievements-heading .section-title{
	display: block !important;
	color: #ffffff !important;
	font-size: clamp(2.8rem, 5.5vw, 4.5rem) !important;
	line-height: 1.1 !important;
	letter-spacing: 0.08em;
	margin: 0 !important;
	font-weight: 700 !important;
	justify-content: flex-start;
}
.achievements-section--v2 .achievements-heading .section-title::before{
	content: none !important;
	display: none !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	background: none !important;
	-webkit-mask: none !important;
	mask: none !important;
}
/* 三卡：店家／安心點／待用餐 */
.achievements-section--v2 .achievements-cards{
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: center;
	gap: 1rem;
	margin: 0.75rem 0 1.25rem;
}
.achievements-section--v2 .achievements-card{
	flex: 1 1 220px;
	background: rgba(48, 28, 84, 0.42);
	border-radius: 18px;
	padding: 1.15rem 1.1rem 1rem;
	text-align: center;
	min-width: 0;
}
.achievements-section--v2 .achievements-card--shop{
	flex: 0 1 240px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.achievements-section--v2 .achievements-card--split{
	flex: 1 1 320px;
}
.achievements-section--v2 .achievements-card__title{
	margin: 0 0 0.85rem;
	color: #f9e774 !important;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.35;
}
.achievements-section--v2 .achievements-card__cols{
	display: flex;
	align-items: stretch;
	gap: 0;
}
.achievements-section--v2 .achievements-card__col{
	flex: 1 1 50%;
	padding: 0 0.65rem;
	min-width: 0;
}
.achievements-section--v2 .achievements-card__col + .achievements-card__col{
	border-left: 2px dotted rgba(255, 255, 255, 0.35);
}
.achievements-section--v2 .achievements-card__subtitle{
	color: #ffffff;
	font-size: 1.05rem;
	font-weight: 700;
	margin-bottom: 0.25rem;
}
.achievements-section--v2 .achievements-card__desc,
.achievements-section--v2 .achievements-card__hint{
	margin: 0 0 0.55rem;
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.82rem;
	line-height: 1.45;
}
.achievements-section--v2 .achievements-card__hint{
	margin: 0.65rem 0 0;
}
.achievements-section--v2 .achievements-card__value strong{
	display: inline-block !important;
	color: #ffffff !important;
	font-size: clamp(1.8rem, 2.8vw, 2.8rem) !important;
	letter-spacing: 0.04em !important;
	font-weight: 800 !important;
	line-height: 1.1 !important;
	text-shadow: 0 0 10px rgba(255, 255, 255, 0.85), 0 0 26px rgba(255, 255, 255, 0.55);
	word-break: keep-all;
}
.achievements-section--v2 .achievements-card__empty{
	text-shadow: none !important;
	font-size: clamp(1.8rem, 2.8vw, 2.6rem) !important;
	opacity: 0.9;
}
.achievements-section--v2 .achievements-card__value strong::after{
	content: none !important;
	display: none !important;
}
.achievements-section--v2 .achievements-card__value strong.counter-unit-shop::after,
.achievements-section--v2 .achievements-card__value strong.counter-unit-point::after{
	display: inline !important;
	font-size: 1.05rem !important;
	font-weight: 600 !important;
	margin-left: 4px;
	letter-spacing: 0;
	text-shadow: none;
}
.achievements-section--v2 .achievements-card__value strong.counter-unit-shop::after{
	content: "家" !important;
}
.achievements-section--v2 .achievements-card__value strong.counter-unit-point::after{
	content: "點" !important;
}
.achievements-section--v2 .achievements-actions{
	padding-top: 0.25rem;
	padding-bottom: 0.25rem;
}
/* 歷年成果按鈕：維持主題紅色；蓋過 skin 的 :focus 變紫 */
html body .achievements-section--v2 .achievements-yearly-btn.btn-primary{
	font-weight: 700;
	padding: 0.55rem 1.75rem;
	min-width: 8.5rem;
	background-color: #ce3e4f !important;
	border-color: #ce3e4f !important;
	color: #fff !important;
}
html body .achievements-section--v2 .achievements-yearly-btn.btn-primary:hover,
html body .achievements-section--v2 .achievements-yearly-btn.btn-primary.hover{
	background-color: #e16472 !important;
	border-color: #e16472 !important;
	color: #fff !important;
}
html body .achievements-section--v2 .achievements-yearly-btn.btn-primary:focus,
html body .achievements-section--v2 .achievements-yearly-btn.btn-primary:focus-visible,
html body .achievements-section--v2 .achievements-yearly-btn.btn-primary.focus,
html body .achievements-section--v2 .achievements-yearly-btn.btn-primary:active,
html body .achievements-section--v2 .achievements-yearly-btn.btn-primary.active{
	background-color: #ce3e4f !important;
	border-color: #ce3e4f !important;
	color: #fff !important;
	box-shadow: none !important;
	outline: none !important;
	background-image: none !important;
}
.achievement-chart-wrap{
	position: relative;
	width: 100%;
	min-height: 360px;
	height: min(60vh, 520px);
}
@media (max-width: 991.98px){
	.achievements-section--v2 .achievements-heading{
		flex-direction: column;
		text-align: center;
	}
	.achievements-section--v2 .achievements-heading .title-set{
		text-align: center !important;
	}
	.achievements-section--v2 .achievements-heading .section-title{
		justify-content: center;
		text-align: center !important;
		font-size: clamp(2.4rem, 8vw, 3.6rem) !important;
	}
	.achievements-section--v2 .achievements-cards{
		flex-direction: column;
	}
	.achievements-section--v2 .achievements-card,
	.achievements-section--v2 .achievements-card--shop,
	.achievements-section--v2 .achievements-card--split{
		flex: 1 1 auto;
		width: 100%;
	}
	.achievements-section--v2 .achievements-card__title{
		font-size: 1.2rem;
	}
	.achievements-section--v2 .achievements-card__value strong{
		font-size: clamp(1.6rem, 6vw, 2.3rem) !important;
	}
	#header .header-nav-main nav > ul#mainNav > li.d-lg-none{
		background-color: #e8dbf161;
	}
	#header .header-nav-main nav > ul#mainNav > li.d-lg-none > a{
		color:#444;
	}
}
@media (max-width: 575.98px){
	.achievements-section--v2 .achievements-panel{
		padding: 1.25rem 1rem 1.5rem;
	}
	.achievements-section--v2 .achievements-heading__icon{
		max-width: 140px;
	}
	.achievements-section--v2 .achievements-heading .section-title{
		font-size: clamp(2rem, 9vw, 2.8rem) !important;
	}
	.achievements-section--v2 .achievements-card__cols{
		flex-direction: column;
		gap: 0.85rem;
	}
	.achievements-section--v2 .achievements-card__col + .achievements-card__col{
		border-left: none;
		border-top: 2px dotted rgba(255, 255, 255, 0.35);
		padding-top: 0.85rem;
	}
}
@media (max-width: 767.98px){
	.achievement-chart-wrap{
		min-height: 420px;
		height: 70vh;
	}
}

/* ---------- 活動成果 / 公告訊息 ---------- */
/* 注意：這裡一定要用 section#maincontent（標籤+ID）而不能只用 #maincontent。
   原因：id="maincontent" 這個 ID 在其他頁面是掛在「跳到主要內容」那個
   無障礙錨點 <a id="maincontent"> 上（純粹當跳轉目標，不是版面容器），
   只有首頁是把它放在包住活動成果/公告區塊的 <section id="maincontent">。
   之前用裸 #maincontent 選取，套用到其他頁面時就會誤套在那個小小的 <a>
   錨點上，讓這裡設定的裝飾背景大圖疊在其他頁面的內容上方，蓋住文字。 */
section#maincontent{
	background-color: #fff;
	position: relative;
	background-image: url(../img/deco/grid_bg2.svg);
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
}
section#maincontent:before{
	content: url(../img/deco/news_light.svg) !important;
	position: absolute;
	width: 100vw;
	top: 17%;
	height: auto;
}

/* ---------- 其他頁面（除了首頁 index_2026.html 以外）的 .main 內頁背景裝飾 ----------
   首頁是用 section#maincontent 掛裝飾圖，但其他頁面沒有這個 section，共用的是
   .main 這個外層容器。這裡故意用 .main:not(.body-bg) 排除首頁——因為首頁的
   .main 也有 class="main"，同時還多一個 class="body-bg"，其他頁面都只有單純
   的 class="main"，用 :not(.body-bg) 就能只套用到「首頁以外」的頁面，不會跟
   首頁自己原本的 body-bg 裝飾（粉紫色泡泡）互相打架。 */
.main:not(.body-bg){
	position: relative;
	/* 第一層 grid_bg2 在前，第二層疊加 star_bg_purple（星星底圖，
	   顏色 #927aa5、透明度40%，由 star_bg.svg 複製一份調色而成，
	   避免影響 banner/FAQ 區塊原本使用的白色star_bg.svg） */
	background-image: url(../img/deco/grid_bg2.svg), url(../img/deco/star_bg_purple.svg);
	/* 用 100% auto（只依寬度縮放、高度自動）取代 cover，
	   避免 cover 依 .main 實際高度（每頁內容多寡不同）重新計算縮放比例，
	   造成背景圖在不同頁面看起來忽大忽小的問題；改 repeat-y 讓圖案往下重複鋪滿，
	   不會因為頁面較長而被拉伸變形 */
	background-repeat: repeat-y, repeat-y;
	background-position: center top, center top;
	background-size: 100% auto, 100% auto;
}
/* 右下角固定放一張 news_light.svg 當裝飾，寬度先抓 50vw，貼齊 .main 容器右下角
   （.main 本身在 custom.css 已經有 position:relative，這裡可以直接用絕對定位） */
.main:not(.body-bg):after{
	content: url(../img/deco/news_light.svg) !important;
	position: absolute;
	right: 0;
	bottom: 0;
	width: 80vw;
	height: auto;
	pointer-events: none;
	z-index: 0;
}
.main.maparea:after,
.main.body-bg:has(.maparea):after{
	content:'' !important;
}
/* 地圖頁關閉裝飾背景，避免地圖下方露出格線／白條 */
.main.maparea:not(.body-bg),
.main.body-bg:has(.maparea),
.maparea{
	background-image: none !important;
}
@media (min-width: 1026px){
	/* 覆蓋下方 height:auto，維持桌機地圖滿高 */
	.main.maparea .mapPageWrapper,
	.maparea .mapPageWrapper{
		height: calc(100vh - 160px);
		height: calc(100dvh - 160px);
	}
}
.news-section .dateList{
	background: transparent !important;
	border-radius: 22px;
	box-shadow: none;
}
/* 英文副標（ACTIVITY / NEWS）改成粗體大寫、視覺主標，中文小標維持在上方當輔助文字 */
.news-section .title-set .section-title{
	font-size: 1.7rem !important;
    color: #666 !important;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.news-section .title-set p,.faq-section .title-set p{
	font-size: 3.3rem !important;
	font-weight: 800 !important;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--c-purple-deep) !important;
	margin-bottom: 24px !important;
    line-height: 1;
}

/* ==================================================
   活動成果 (ACTIVITY) 輪播卡片 - home.jpg 樣式復刻
   原本參考 CSS 用的是 .activity .swiper-slide a / .img_box / .date_box，
   但實際頁面是 owl-carousel，實際 class 是 .item / .inner / .imgbox /
   .imgbox__inner-6-9 / .date / .textbox .title，這裡照樣的邏輯改用真正的
   selector 套用：卡片固定高度、圖片絕對定位滿版、深色漸層遮罩、
   日期/標題疊在左下角。
   ================================================== */
.dateList .item{
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 5 / 3.5;
	border-radius: 20px;
	overflow: hidden;
	text-decoration: none;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-section .owl-2026:before{
	position: absolute;
    content: '';
    width: 100%;
    height: 90%;
    border-radius: 25px;
    background-color: var(--tertiary);
    left: -15px;
    top: 15px;
}
.dateList .item:hover{
	/*transform: translateY(-6px);
	box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);*/
}
/* .inner 不再需要自己的樣式，只當一個透明包裝層，
   讓裡面的 .imgbox 可以直接貼齊 .item 這張卡片的四邊 */
.dateList .item .inner{
	position: static !important;
	overflow: visible;
	border-radius: 0;
	background-color: transparent !important;
	padding: 0;
	box-shadow: none;
}
.dateList .item .imgbox{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border-radius: 0;
}
.dateList .item .imgbox__inner-6-9{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding-top: 0;
	border-radius: 0;
	overflow: hidden;
}
.dateList .item .imgbox__inner-6-9 .image{
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	transition: transform 0.5s ease;
}
.dateList .item:hover .imgbox__inner-6-9 .image{
	transform: scale(1.05);
}
/* 暗色漸層遮罩，壓在圖片上方確保文字清晰 */
.dateList .item .imgbox::after{
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 40%, transparent 75%);
	pointer-events: none;
	z-index: 1;
}
/* 左下角日期 */
.news-section .dateList .date{
	position: absolute;
	bottom: 20px;
	left: 20px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	line-height: 1.1;
	color:var(--tertiary) !important;
	font-weight: 600 !important;
	font-size: 2.5rem;
	letter-spacing: 2px;
	background: transparent !important;
	padding: 0 !important;
}
.dateList .item .date span{
	color: var(--tertiary) !important;
	font-size: 1.8rem;
	letter-spacing: 1px;
	opacity: 0.9;
}
/* 右側活動標題，跟日期左右並排（留出左邊給日期的寬度） */
.dateList .item .textbox{
	position: absolute !important;
	bottom: 22px;
	left: 110px;
	right: 20px;
	z-index: 2;
	background: transparent !important;
	padding: 0 !important;
}
.dateList .item .title{
	color: #ffffff !important;
	font-size: 1.6rem;
	font-weight: 600 !important;
	line-height: 1.4;
	letter-spacing: 2px;
	margin: 0 0 0 20px!important;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.owl-carousel .owl-dots .owl-dot.active span,
.owl-carousel .owl-dots .owl-dot:hover span{
	background: var(--c-pink-deep) !important;
}

/* 小光吉祥物：活動成果 - 加油鼓勵姿勢，取代原本的 encourage.png。
   改掛在 .news-section 本身（跟 .container 同一層），不要掛在
   .dateList/.item 裡面 —— 因為卡片是在 owl-carousel 的軌道裡，
   owl-carousel 的外層容器有 overflow:hidden 用來裁切輪播切換效果，
   之前掛在 .item 上時，只要吉祥物的位置超出卡片本身範圍，
   就會被這個 overflow:hidden 直接切掉，這才是「小光位置不對」的真正原因。
   掛在 .news-section 這一層就完全跳出 carousel 的裁切範圍。 */
.news-section{
	position: relative;
	padding-bottom: 5rem;
}
.news-section::before{
	content: '';
	position: absolute;
	width: 200px;
    aspect-ratio: 1 / 1;
	background: url(../img/mascot/xiaoguang-cheer.png) center/cover !important;
	left: 6%;
	bottom: 0;
	animation: swing 1.5s ease-in-out infinite;
    -moz-animation: swing 1.5s ease-in-out infinite;
    -webkit-animation: swing 1.5s ease-in-out infinite;
    -o-animation: swing 1.5s ease-in-out infinite;
	z-index: 1;
}
.news-section .owl-theme .owl-dots .owl-dot{
	transform: translateY(20px);
}

.news-section-list{
	background: transparent !important;
	box-shadow: none;
	border-radius: 22px;
	position: relative;
}
.title_en{

}
/* 小光吉祥物：公告訊息 - 捧愛心姿勢，縮小尺寸並往下移，貼近 NEWS 標題 */
.news-section-list::before{
	/*content: url(../img/mascot/xiaoguang-heart.png);
	position: absolute;
	width: 74px;
	height: auto;
	top: -20px;
	right: 6%;
	z-index: 2;
	animation: swing 1.5s ease-in-out infinite;*/
}
.news-section-list .item{
	display: flex !important;
	align-items: baseline;
	gap: 15px;
	border: 2px solid #91679f !important;
	background-color: #ffffff !important;
	border-radius: 14px !important;
	margin-bottom: 25px;
}
.news-section-list .date{
	color: #e7818d !important;
	flex: 0 0 auto;
	white-space: nowrap;
}
.news-section-list .title{
	color: #444444 !important;
	flex: 1 1 auto;
}
/* 「查看更多」按鈕改用附圖1的樣式：白底＋玫瑰紅外框與文字，
   箭頭改成右邊一個實心圓圈 */
.news-section-list .btn-secondary.btn-rounded{
	display: inline-flex !important;
	align-items: center;
	gap: 10px;
	background: #ffffff !important;
	border: 2px solid var(--c-pink-deep) !important;
	color: var(--c-pink-deep) !important;
	font-weight: 700;
	box-shadow: none;
}
.news-section-list .btn-secondary.btn-rounded span{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--c-pink-deep) !important;
}
.news-section-list .btn-secondary.btn-rounded span i{
	color: #ffffff !important;
}
.more-link{
	background: linear-gradient(90deg, var(--c-pink-deep), var(--c-pink)) !important;
	border: 0 !important;
	color: #fff !important;
	box-shadow: 0 10px 24px -10px rgba(214,51,122,0.55);
}
.more-link span{
	background: rgba(255,255,255,0.28) !important;
}
.more-link.secondary{
	background: linear-gradient(90deg, var(--c-purple-deep), var(--c-purple)) !important;
	color: #fff !important;
	box-shadow: 0 10px 24px -10px rgba(91,63,143,0.55);
}
.more-link.secondary span{
	background: rgba(255,255,255,0.28) !important;
}

/* ---------- 常見問題 FAQ ---------- */
.section.faq-section{
	background-image: url(../img/deco/star_bg.svg), linear-gradient(180deg, #ffe17e 0%, var(--c-yellow) 55%, #8d75a7 100%) !important;
	border-radius: 50% 50% 0 0 / 250px 250px 0 0;
	background-repeat: no-repeat, no-repeat;
	background-position: center, center;
	background-size: cover, cover;
	position: relative;
}
/* 標題「常見問題 / FAQ」移到白色卡片外面，直接放在黃紫漸層背景上；
   HTML 已經把 .title-set 搬到 .faq-section-inner 外層，這裡只補間距 */
.faq-title-outside{
	margin-bottom: 20px;
}
.faq-section .faq-section-inner{
	background-color: #ffffff;
	border-radius: 28px;
	margin-top: 60px;
	box-shadow: -1px 0px 50px -22px rgb(79 77 70 / 35%);
}
.faq-section-inner.pageContent{
	padding: 20px 24px;
}
/* 分類頁籤：改成純文字＋分隔線，不是圓角按鈕 */
.faq-section .tabs .nav-tabs{
	gap: 0;
	margin-bottom: 60px;
}
.faq-section .tabs .nav-tabs .nav-item{
	position: relative;
	padding: 0 16px;
}
.faq-section .tabs .nav-tabs .nav-item + .nav-item::before{
	content: "";
	position: absolute;
	left: -12px;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 40px;
    border-right: 2px dotted #ddd;
}
.faq-section .tabs .nav-tabs .nav-link{
	color: #7a6f94;
	font-weight: 400;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	padding: 0.5rem 0 !important;
}
.faq-section .tabs .nav-tabs .nav-link.active,
.faq-section .tabs .nav-tabs .nav-link:hover{
	color: var(--c-pink-deep) !important;
	font-weight: 400;
	background: transparent !important;
}
/* 手風琴卡片：不管展開或收合，外框都是實心紫色 */
.faq-section .accordion.accordion-modern .card{
	border: 2px solid #71589d !important;
	border-radius: 14px !important;
	overflow: hidden;
}
/* Q 字樣：主題本身在 .accordion-toggle::before 就有內建的「Q」裝飾字，
   預設就沒有底色（實測 background 是透明的），只是字級太大（40px）、
   用 display:block 自己佔一行，所以之前才會覺得「看不出樣式」而額外加了
   一個 <span class="q-badge"> —— 結果變成畫面上出現兩個 Q。
   這裡改成直接複寫這顆內建的 ::before，縮小、改成 inline 貼齊標題文字，
   不再新增額外的 HTML 節點（HTML 裡的 <span class="q-badge"> 已經移除）。 */
.faq-section .accordion-toggle{
	display: flex !important;
	align-items: center;
	padding: 14px 16px;
}
.faq-section .accordion-toggle::before{
	content: "Q" !important;
	display: inline-flex !important;
	align-items: center;
	height: auto !important;
	line-height: 1 !important;
	color: #71589d !important;
	margin-right: 8px !important;
	flex: 0 0 auto;
}
.faq-section .card-header:has(+ .collapse.show) .accordion-toggle::before{
	color: #ffffff !important;
}
/* 展開狀態：標題列改實心紫色底、白字。
   這裡不能用 .accordion-toggle:not(.collapsed) 判斷──實測發現這個 theme
   的手風琴預設收合時，觸發用的 <a> 標籤並不會自動被加上 .collapsed
   這個 class（要等使用者實際點過一次 Bootstrap 才會補上/移除），
   導致頁面剛載入、還沒有人點擊過的時候，:not(.collapsed) 會誤判
   「全部」都當作展開狀態。改用 :has() 直接檢查後面緊接的收合面板
   有沒有 Bootstrap 真正用來控制展開/收合的 .show class，這個
   class 是可靠的，一定會準確反映實際開合狀態。 */
.faq-section .card-header:has(+ .collapse.show) .accordion-toggle{
	background-color: #71589d;
	color: #ffffff !important;
}
/* 箭頭圖示拿掉圓形底色，改純色小箭頭，展開時翻轉朝上 */
.faq-section .accordion-toggle .btn-circle.btn-secondary{
	background-color: transparent !important;
	border: 0 !important;
	color: #71589d;
	width: auto;
	height: auto;
	line-height: 1;
	transition: transform 0.2s ease;
}
.faq-section .card-header:has(+ .collapse.show) .accordion-toggle .btn-circle.btn-secondary{
	color: #ffffff;
	transform: rotate(180deg);
}
.faq-section .card-body{
	border-top: 1px dashed var(--c-lavender);
}
/* 「查看更多」按鈕跟公告訊息那顆同款式：白底、玫瑰紅框線與文字 */
.faq-section-inner .faq-more-btn{
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #ffffff !important;
	border: 2px solid var(--c-pink-deep) !important;
	color: var(--c-pink-deep) !important;
	font-weight: 700;
	box-shadow: none;
}
.faq-section-inner .nav-tabs li .nav-link{
	font-size: 1.5rem;
	margin-right: 24px;
}
.faq-section-inner .faq-more-btn span{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--c-pink-deep) !important;
}
/* 小光吉祥物：常見問題 - 閱覽姿勢 */
.qa-icon{
	position: relative;
}
.qa-icon::before{
	content: '';
    position: absolute;
    width: 200px;
    aspect-ratio: 1 / 1;
    background: url(../img/mascot/xiaoguang-read.png) center / cover no-repeat;
    top: -15rem;
    left: -3%;
    z-index: 1;
}
.page-header~.qa-icon::before{
	background: url(../img/mascot/xiaoguang-cheer.png) center / cover no-repeat;
    content: '';
    position: absolute;
    width: 200px;
    aspect-ratio: 1 / 1;
    top: -12rem;
    left: -3%;
    z-index: 1;
    -webkit-animation: swing 1.5s ease-in-out infinite;
}
@media (max-width: 913px){
	.qa-icon::before{
		left: -5rem;
	}
}
@media (max-width: 450px){
	.qa-icon::before{
		display: none;
	}
}

/* 標語「Bringing Love to the People of Taoyuan」原本掛在 footer，
   改移到 faq-section 底部。掛在 .container.container-xl-custom 的 ::after，
   而不是 .faq-section 本身——因為這個 container 就是標題／白色卡片實際使用的
   寬度容器，把文字放在同一個 container 裡面，寬度會自動跟其他內容切齊，
   不用另外量測、寫死尺寸。用 text-align-last:justify 讓「只有一行」的文字
   也能被拉開字距、頭尾對齊整個容器寬度（text-align-last 對單行文字一樣有效，
   因為規格上「唯一的一行」同時也是「最後一行」）。 */
.faq-section .container.container-xl-custom{
	position: relative;
	padding-bottom: 56px;
}
.faq-section .container.container-xl-custom::after{
	content: "Bringing Love to the People of Taoyuan\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0 Bringing Love to the People of Taoyuan\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0";
	display: block;
	width: max-content;;
	line-height: 1;
	margin-top: 40px;
	font-family: var(--c-heading-font);
	font-style: normal;
	font-weight: 600;
	font-size: clamp(2.5rem, 6vw, 6rem); /* 隨螢幕寬度縮放，手機不會爆版 */
    color: rgba(255, 255, 255, 0.4);
	white-space: nowrap;
    animation: faqMarquee 20s linear infinite; 
}
@keyframes faqMarquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%); 
  }
}
@media (max-width: 768px){
	.faq-section .container.container-xl-custom::after{
		text-align: center;
		text-align-last: center;
		font-size: 1rem;
		letter-spacing: normal;
	}
	.main:not(.body-bg):after{
		bottom: -16rem;
	}
}

/* ---------- Footer ---------- */
#footer.bg-primary-lt{
	background-color: #70579d !important;
	background-image: none !important;
}
/* 主題預設 section.section 有內建的粉色卡片背景(#fccbcb)，
   footer 內層的 section 沒有額外的 bg-* class 可以蓋掉它，
   會蓋在剛剛設定的紫色之上，這裡把它中和掉 */
#footer section.section{
	background: transparent !important;
	border-top: 0 !important;
}
#footer .footer-icon{
	position: relative;
	text-align: center;
	padding-top: 46px;
}
/* 標題「相關連結／網站資訊」文字+icon 改用黃色，跟附圖一致
   （原本整條 i.text-primary 規則會連 icon 圓點裡的白色小 icon 也一起
   染黃，所以拆開：標題本身用這條，圓點內的 icon 另外在下面用
   .footer-icon-badge i 蓋成白色） */
#footer .h4.text-primary{
	color: var(--c-yellow) !important;
}
#footer .h4.text-primary i{
	color: var(--c-yellow) !important;
}
#footer a{
	color: rgba(255,255,255,0.85) !important;
}
#footer a:hover{
	color: var(--c-yellow) !important;
}
#footer .footer-time,
#footer p,
#footer li{
	color: rgba(255,255,255,0.85);
}
/* logo 換成白色圓角卡片包住，跟附圖一致 */
#footer .footer-logo{
	background-color: #ffffff;
	border-radius: 20px;
	padding: 4px 14px;
	box-shadow: 0 14px 28px -14px rgba(0,0,0,0.35);
}
/* 連結清單：加大行距，跟附圖的寬鬆排版一致 */
#footer .list.list-unstyled li{
	margin-bottom: 14px !important;
	line-height: 1.5;
}
#footer .list.list-unstyled li:last-child{
	margin-bottom: 0 !important;
}
/* 聯絡資訊每一列前面的圓形色塊 icon（定位/電話/時鐘），取代原本純色小 icon */
#footer .footer-icon-badge{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background-color: var(--c-yellow);
	flex: 0 0 auto;
	margin-right: 12px;
	margin-top: 1px;
}
#footer .footer-icon-badge i{
	color: var(--c-purple-deep) !important;
	font-size: 13px;
	position: static !important;
	margin: 0 !important;
	top: auto !important;
}
#footer .footer-contact-list li,
#footer .footer-phone-secondary,
#footer .footer-time{
	margin-bottom: 14px !important;
}
/* 電話號碼群組跟服務時間中間的虛線分隔，對應附圖 */
#footer .footer-time{
	border-top: 1px dashed rgba(255, 255, 255, 0.3);
	padding-top: 14px;
	margin-top: 4px;
}
#footer .footer-copyright{
	background-color: #70579d !important;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}
#footer .footer-copyright p{
	color: rgba(255,255,255,0.6) !important;
}
/* 回到頂端按鈕：主題預設是深灰方角，改成白底圓形＋紫色箭頭，跟附圖一致 */
.scroll-to-top{
	background-color: #ffffff !important;
	border-radius: 50% !important;
	width: 50px !important;
	height: 50px !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 18px -8px rgba(0,0,0,0.35);
	right: 20px !important;
	bottom: 20px !important;
}
.scroll-to-top i{
	color: var(--c-purple-deep) !important;
}

@media (max-width: 450px){
	.index-form-wrapper::before{
		font-size: 2.4rem;
	}
}

/* ---------- 公告訊息列表頁 (news.html)：卡片改套用首頁「活動成果」的
   深色漸層疊圖＋左下角日期＋右側白色標題樣式，並比照首頁的錯位色塊裝飾，
   一列 3 則（col-lg-4，見 news_2026.html 的 grid class） ---------- */
.news_box .col-lg-4,
.news_box .col-md-6{
	position: relative;
	margin-bottom: 30px;
}
.news_box .item{
	position: relative;
	display: block;
	background-color: #ffffff !important;
	border: 0 !important;
	border-radius: 20px !important;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	height: 100%;
	z-index: 1;
}
/* 錯位色塊裝飾，跟活動成果／story_2026 同一套手法 */
.news_box .col-lg-4:before,
.news_box .col-md-6:before{
	content: "";
	position: absolute;
	width: calc(100% - 30px);
	height: 100%;
	border-radius: 25px;
	background-color: var(--tertiary);
	left: -15px;
	top: 15px;
	z-index: 0;
}
.news_box .item:hover{
	transform: translateY(-4px);
	box-shadow: 0 16px 30px -14px rgba(90, 40, 90, 0.35);
}
.news_box .item .inner{
	position: relative;
	border: 0 !important;
	margin-bottom: 0 !important;
	padding: 0 !important;
}
.news_box .item .imgbox{
	position: relative;
	aspect-ratio: 5 / 3.5;
	border-radius: 0;
	overflow: hidden;
	border: 0 !important;
	box-shadow: none !important;
	outline: none !important;
}
.news_box .item .imgbox__inner-6-9{
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border-radius: 0;
	padding-top: 0;
	border: 0 !important;
	box-shadow: none !important;
}
.news_box .item .imgbox__inner-6-9 .image{
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	border: 0 !important;
	box-shadow: none !important;
	margin: 0 !important;
}
.news_box .item .imgbox::after{
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 40%, transparent 75%);
	pointer-events: none;
	z-index: 1;
}
.news_box .item .date{
	position: absolute !important;
	left: 16px;
	top: 50%;
	bottom: auto;
	transform: translateY(-50%);
	z-index: 2;
	display: flex;
	flex-direction: column;
	line-height: 1.1;
	color: var(--tertiary) !important;
	background-color: transparent !important;
	font-weight: 600 !important;
	font-size: 1.6rem;
	letter-spacing: 1px;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 0;
}
.news_box .item .date span{
	color: var(--tertiary) !important;
	font-size: 1.1rem;
	opacity: 0.9;
	margin-left: 0;
}
.news_box .item .title{
	position: absolute !important;
	left: 110px;
	right: 16px;
	top: 50%;
	bottom: auto;
	transform: translateY(-50%);
	z-index: 2;
	color: #ffffff !important;
	font-size: 1rem;
	height: auto !important;
	font-weight: 600;
	margin: 0 !important;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.news_box .item .info{
	display: none !important;
	color: #777777;
	font-size: 0.9rem;
	line-height: 1.6;
	margin: 0 !important;
	padding: 12px 14px 16px;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ---------- story_2026.html：內文卡片加金框＋錯位色塊裝飾 ---------- */
.news_innerpage .pageContent,.pageContent{
	border: 2px solid #91679f !important;
	box-shadow: none;
	position: relative;
}
.news_innerpage .pageContent:before,.pageContent:before{
	position: absolute;
	content: '';
	width: 100%;
	height: 100%;
	border-radius: 25px;
	background-color: #e8dbf1;
	left: -15px;
	top: 15px;
	z-index: -1;
}
.pageContent{
	overflow: visible;
}

/* ---------- store_2026.html：地圖入口＋搜尋表單改用紫色卡片包住，
   並跟下方 .store-list 拉開間距 ---------- */
.store-search-panel{
	background-color: #d5c9e7;
	border: none;
	border-radius: 25px;
	padding: 24px 28px;
	margin-bottom: 40px !important;
	box-shadow: 0 20px 45px -18px rgba(80, 40, 110, 0.35);
}
/* 配色比照 index_2026.html 的 .index-form-wrapper：淺紫底＋深紫字＋白底輸入框 */
.store-search-panel label{
	color: var(--c-purple-darker) !important;
	font-weight: 700;
	opacity: 1 !important;
}
.store-search-panel .form-control{
	border-radius: 10px !important;
	border: 1px solid #c3b3e0 !important;
	background-color: #fff !important;
}
.store-search-panel .form-control:focus{
	border-color: var(--c-purple) !important;
	box-shadow: 0 0 0 3px rgba(138,111,209,0.25) !important;
}
.pageBody .store-item{
	background-color: #fff;
}
.store-list{
	margin-bottom: 3rem;
}
.store-list{
	position: relative;
	background-color: #ffffff;
	border-radius: 25px;
	padding: 15px 30px;
	border: 2px solid #91679f !important;
}
.maparea .store-list{
	padding: 15px;
}
.store-list:before{
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 25px;
	background-color: #e8dbf1;
	left: -15px;
	top: 15px;
	z-index: -1;
}
.pageBody .store-item .inner{
	border: none;
	padding: 10px;
	background-color: #fff;
	border-radius: 0;
}
.maparea .pageBody .store-item{
	border-bottom: 2px solid #f3ecf8;
}
.store-list-header .inner >div{
	padding: 4px 12px;
	font-size: 1.2em;
	color: var(--c-purple);
	opacity: 1;
	font-weight: 700;
}
.pagination.pagination-rounded.pagination-md .page-link{
	border: 2px solid #e8dbf1;
}
.pagination > .active > a,
.pagination .page-item.active .page-link{
	background-color: #91679f !important;
	border-color: 2px solid #e8dbf1;
	color: #fff;
}
.pagination > li > a{
	color: #91679f;
}

/* ---------- news_list_2026.html：公告訊息改為橫向列表呈現
   （縮圖／日期／標題＋摘要／箭頭一列排開），取代原本的三欄卡片 ---------- */
.news_list{
	display: block;
}
.news_list .item{
	display: grid;
	grid-template-columns: 200px 1fr 20px;
	grid-template-rows: auto auto auto;
	align-items: center;
	column-gap: 18px;
	padding: 22px 6px;
	border-bottom: 1px dashed #e7dcee;
	text-decoration: none;
	background: transparent !important;
}
.news_list .item:last-child{
	border-bottom: 0;
}
.news_list .item:hover .title{
	color: #91679f !important;
}
.news_list .item .inner{
	display: contents;
}
/* .imgbox 本身也要 display:contents，否則裡面的 .date 只是 .imgbox 的
   子層而不是 .item 的直接格線項目，grid-column/grid-row 對它完全無效，
   而且會被絕對定位、鋪滿整格的圖片蓋在上面，導致日期整個消失不見。
   真正負責縮圖大小/圓角/裁切的框改放到 .imgbox__inner-6-9 上。 */
.news_list .item .imgbox{
	display: contents;
}
.news_list .item .imgbox__inner-6-9{
	grid-column: 1;
	grid-row: 1 / span 3;
	position: relative !important;
	width: 200px;
	height: 133px;
	max-height: 133px;
	min-height: 133px;
	border-radius: 14px;
	overflow: hidden;
	border: 0 !important;
	box-shadow: none !important;
	padding-top: 0 !important;
}
.news_list .item .imgbox__inner-6-9 .image{
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	background-size: cover !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
}
.news_list .item .title{
	grid-column: 2;
	grid-row: 1;
	position: static !important;
	color: #444444 !important;
	font-size: 1.05rem;
	font-weight: 600;
	height: auto !important;
	margin: 0 !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: color 0.2s ease;
}
/* 日期改放在標題下方（獨立一列），不再另外佔一欄，
   所以排列方向改成橫向、靠左，跟標題對齊 */
.news_list .item .date{
	grid-column: 2;
	grid-row: 2;
	position: static !important;
	display: flex;
	flex-direction: row;
	align-items: baseline;
	justify-content: flex-start;
	gap: 0px;
	text-align: left;
	/* 年度跟月份/日期用同一套樣式，不再讓年度看起來比較重 */
	color: var(--text-secondary, #888) !important;
	background-color: transparent !important;
	font-size: 1rem;
	font-weight: 400 !important;
	line-height: 1.3;
	padding: 0 !important;
	margin: 4px 0 !important;
	border-radius: 0;
}
.news_list .item .date span{
	color: var(--text-secondary, #888) !important;
	font-size: 1rem;
	font-weight: 400 !important;
	opacity: 1;
	margin-top: 0;
}
.news_list .item .info{
	grid-column: 2;
	grid-row: 3;
	display: -webkit-box !important;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: #777777;
	font-size: 0.85rem;
	line-height: 1.5;
	margin: 0 !important;
	padding: 0 !important;
}
.news_list .item::after{
	content: "\f0da";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	grid-column: 3;
	grid-row: 1 / span 3;
	color: #91679f;
	font-size: 18px;
	justify-self: end;
}
.whitePage.dateList .item{
	padding: 10px;
	background-color: #ffffff !important;
	border: 2px solid #fff0d4;
	aspect-ratio: auto;
}
.whitePage.dateList .news_list .item .info{
	grid-column: 2;
	grid-row: 3;
	display: -webkit-box !important;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: #777777;
	font-size: 1rem;
	line-height: 1.5;
	margin: 0 !important;
	padding: 0 !important;
}
.whitePage.dateList .item{
	padding: 15px;
}
.dateList.whitePage .news_list .item .title{
	font-size: 1.5rem;
}
.dateList.whitePage .item .imgbox::after{
	background: none;
}
.whitePage.dateList .item{
	border: none;
	border-radius: 0;
	border-bottom: 2px solid #f3ecf8;
	/* 拿掉殘留在 .dateList .item 的 margin-bottom:24px（來自 custom.css），
	   否則分隔線只會貼在上一張卡片底部、離下一張卡片還隔了 24px，
	   線不會落在兩張卡片中間。padding 目前上下都是 15px（對稱），
	   margin 歸零後，線就會剛好落在兩卡之間的正中央。 */
	margin: 0 !important;
}

/* ---------- news_page_2026.html：文章標題列改淺紫底＋紫色底線，
   日期不再拆年/月/日各自標色，直接顯示純文字，也拿掉白底 dateBox ---------- */
.news-header{
	background-color: #f3ecf8;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin-bottom: 38px;
	padding: 10px;
	border-bottom: 2px solid #91679f;
	border-radius: 5px;
}
.news-header .date{
	display: inline-block;
	background: none !important;
	color: #91679f;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.3;
	padding: 0;
	margin: 0 0 6px 0;
}
.news-header .title{
	font-size: 2.2em;
	font-weight: 600;
	line-height: 1.4;
	color: var(--c-purple-darker) !important;
	margin: 0 16px 0 0;
}
.news-header .news-share{
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
}
.news-header .news-share a{
	display: inline-flex;
	line-height: 0;
}

/* ---------- store_page_2026.html：店家詳細資料卡片 ---------- */
.store-infoBox{
	padding: 24px;
	background-color: #f9f5fb;
	border-radius: 15px;
}
.sidebar li.active a{
	color: #91679f;
	background-color: #f8f1fc;
	border-radius: 0;
	border:none;
}
.sidebar li.active a::before,.sidebar a:hover::before{
	border-color:  #91679f;
}
.deco-leaf{
	background:none; 
}
.deco-leaf::before{content: none;}
html .btn-with-arrow.btn-secondary {
    background-color: #fff6d9;
    border-color: transparent;
    color: #796629;
}
.up-frame,.form-text-item > label{
	border:none;
	background-color:#fff7d8;
}
.up-title{
	border:none;
	background-color:#fff7d8;
}
.dash-list-vertify table th, .dash-list-store table th,.bg-dk-info{
	background-color: #91679f !important;
}
.dash-list-vertify table td a, .dash-list-store table td a {
    color:#91679f;
}
.sidebar{
	border-right: 2px dashed #f3ebf8;
}
.sidebar a::before{
	position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
}
.sidebar a:hover{
	color: #91679f;
}
.form-section-title::before{
	border-top-left-radius: 10px;
	background-color: #91679f
}
.addingItem .form-section-title::before{
    background-color: #f9e29f;
}
.addingItem .form-section-title{
	color:#4f4e4e;
}
.addingItem{
	border-color:#f9e29f;
	background-color: #fff
}

/* 寬螢幕（1600px 以上）微調：scroll 指示器與 qa-icon 吉祥物定位 */
@media (max-width: 1600px){
	.scroll-wrapper{
		left: -9px !important;
	}
	.page-header~.qa-icon::before{
		left: 2%;
	}
}

/* 1025px 以下微調：qa-icon 定位／地圖頁高度改自動／首頁查詢附近店家高度 */
@media (max-width: 1025px){
	.page-header~.qa-icon::before{
		left: -5%;
	}
	/* 一般頁可 auto；地圖頁維持滿高 */
	.mapPageWrapper{
		height: auto;
	}
	.main.maparea .mapPageWrapper,
	.maparea .mapPageWrapper{
		height: calc(100vh - 142px);
		height: calc(100dvh - 142px);
	}
	.hero-wrapper .index-form-wrapper .gomap-link{
		height: 150px;
	}
	.news-section::before{
		right: 0;
		left: auto;
	}
	.sidebar a {
        padding: 16px;
    }
}
/* 821px 以下微調：qa-icon 定位／store.html 店家清單改 2 欄格狀卡片
   （用 .body:not(.maparea) 排除 map.html，因為兩頁共用同一份 .store-list-body 標記）
   卡片內部樣式參考手機版（450px）既有的堆疊排版：隱藏表頭、編號/區域/類型同一排、
   店名加粗、地址獨立一行 */
@media (max-width: 821px){
	.page-header~.qa-icon::before{
		left: -5rem;
        width: 180px;
	}
	.body:not(.maparea) .store-list-header{
		display: none;
	}
	.body:not(.maparea) .store-list-body{
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
	.body:not(.maparea) .store-item{
		margin-bottom: 0;
	}
	.body:not(.maparea) .store-item .inner{
		flex-wrap: wrap;
		padding: 10px;
		gap: 6px;
	}
	.body:not(.maparea) .store-list .number,
	.body:not(.maparea) .store-list .space{
		width: auto;
		font-size: 1rem;
		color: #8a8a8a;
		padding: 0;
	}
	.body:not(.maparea) .store-list .type{
		width: auto;
		padding: 0;
	}
	.body:not(.maparea) .store-list .type .badge.badge-store{
		font-size: 0.95rem;
		padding: 2px 8px;
	}
	.body:not(.maparea) .store-list .title{
		width: 100%;
		font-weight: 600;
		font-size: 1.3rem;
		color: var(--c-purple-darker);
		padding: 0;
	}
	.body:not(.maparea) .store-list .addr{
		width: 100%;
		font-size: 1rem;
		color: var(--c-purple);
		padding: 0;
	}
	.page-header[data-title-en="INFO"] ~ .container .col-md-10{
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100% !important;
	}
	.sidebar li.active a{
		border-radius: 80px;
	}
	.dash-list-vertify table tr, .dash-list-store table tr{
		border: 2px solid #e8dbf1;
        border-radius: 10px;
        background-color: transparent;
	}
	.dash-list-vertify table tbody tr:nth-child(even), .dash-list-store table tbody tr:nth-child(even){
		background-color: #f9f6fb
	}
}

/* iPad Pro／平板：拿掉右下角吉祥物裝飾，避免半截蓋住表單；縮短頁尾空白 */
@media (max-width: 1200px){
	.main:not(.body-bg):after{
		content: none !important;
		display: none !important;
	}
	.main:not(.body-bg){
		margin-bottom: 0;
	}
	/* 平板改卡片列表（含標籤），避免欄位擠壓 */
	.dash-list-store,
	.dash-list-vertify{
		border: 0;
	}
	.dash-list-vertify table,
	.dash-list-store table{
		border: 0;
	}
	.dash-list-vertify table thead,
	.dash-list-store table thead{
		border: none;
		clip: rect(0 0 0 0);
		height: 1px;
		margin: -1px;
		overflow: hidden;
		padding: 0;
		position: absolute;
		width: 1px;
	}
	.dash-list-vertify table tr,
	.dash-list-store table tr{
		display: block;
		margin-bottom: 24px;
		border: 2px solid #e8dbf1;
		border-radius: 10px;
		background-color: #fff;
	}
	.dash-list-vertify table tbody tr:nth-child(even),
	.dash-list-store table tbody tr:nth-child(even){
		background-color: #f9f6fb;
	}
	.dash-list-vertify table td,
	.dash-list-store table td{
		border-bottom: 1px solid #f4eddf;
		display: flex;
		justify-content: space-between;
		align-items: baseline;
		gap: 12px;
		text-align: left;
		padding: 10px 12px;
		word-break: normal;
		overflow-wrap: break-word;
	}
	.dash-list-vertify table td:not([data-label]),
	.dash-list-store table td:not([data-label]){
		text-align: left;
	}
	.dash-list-vertify table td::before,
	.dash-list-store table td::before{
		content: attr(data-label);
		float: none;
		flex: 0 0 auto;
		font-weight: bold;
		margin-right: 0;
		color: var(--c-purple-deep, #5b3f8f);
	}
	.dash-list-store table td[data-label="序號"],
	.dash-list-vertify table td[data-label="序號"]{
		white-space: nowrap;
		overflow-wrap: normal;
	}
	.dash-list-vertify table td:last-child,
	.dash-list-store table td:last-child{
		border-bottom: 0;
	}
}

@media (max-width: 1033px){
	section#maincontent:before{
		width: 121vw;
		top: -6rem;
		right: 0;
	}
}

@media (max-width: 1024px){
	.news-section .row > .col-md-5,
	.news-section .row > .col-md-7{
		flex: 0 0 100% !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	.news-section .owl-2026:before{
		height: 93%;
	}
	.main.user{
		margin-bottom: 0;
	}
}
@media (max-width: 768px){
	.index-form-wrapper .tabs::before{
		top:-78px;
	}
	.page-header~.qa-icon::before {
        left: -4rem;
        width: 170px;
    }

}
@media (max-width: 660px){
	#header .header-main .header-logo img{
		width: 90%;
	}
	.index-form-wrapper .tabs::before{
		font-size: 6rem;
	}
	.news-section .owl-2026:before {
        height: 86%;
    }
    .news-section-list .item{
    	flex-wrap: wrap;
    }
    .news-section::before{
    	content:'' !important;
    	background: url(../img/mascot/xiaoguang-cheer.png) center/cover;
    	aspect-ratio:1/1;
    	width: 170px;
    	left: -6%;
    }
    .section.faq-section{
    	border-radius: 100% 100% 0 0 / 110px 110px 0 0;
    }
    .faq-section .tabs .nav-tabs{
    	margin-bottom: 40px;
    }
    .faq-section .tabs .nav-tabs .nav-item{
    	padding: 0 5px;
    }
    .whitePage.dateList .item{
    	display: block;
    }
    .news_list .item .imgbox__inner-6-9{
    	width: 100%;
    	height: auto;
    	max-width: none;
    	max-height: none;
    	aspect-ratio:9/6;
    	margin-bottom: 15px;
    }
    .news_list .item::after{
    	content:none;
    }
    .whitePage.dateList .news_list .item .info{
    	font-size: 1.2rem;
    }
    .page-header .pageTitle {
        font-size: 1.8em;
    }
    .body:not(.maparea) .store-list-body{
    	grid-template-columns: repeat(1, 1fr);
    }
    #header .header-nav-main nav > ul li a{
    	font-size: 1.2rem;
    }
    .faq-section .faq-section-inner{
    	padding: 35px 20px;
    }
    .news-section .dateList .date{
    	font-size: 2rem;
    }
    .dateList .item .date span{
    	font-size: 1.4rem; 
    }
    .dateList .item .title{
    	font-size: 1.4rem;
    	margin: 0 0 0 10px !important;
    }
    .news-section .title-set p, .faq-section .title-set p{
    	font-size: 2.5rem
    }
}
@media (max-width: 400px){

    #header .header-main .header-logo img {
        width: 80%;
    }
}

/* 意見反應：標籤在上、編輯器全寬，對齊其他欄位 */
.form-item--editor{
	display: block;
	width: 100%;
}
.form-item--editor > label{
	display: block;
	width: 100%;
	margin-bottom: 8px;
	font-weight: 600;
	color: #444;
}
.form-item--editor .editor-box{
	display: block;
	width: 100%;
}
/* Summernote 初始化後會隱藏原 textarea；切勿對 .summernote1 設 display:block，
   否則會同時露出原始欄位（看到 <ol><li>… 原始 HTML）與編輯器 UI */
.form-item--editor textarea.summernote1{
	display: none !important;
}
.form-item--editor .note-editor,
.form-item--editor .note-editor.note-frame{
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
	border-radius: 0.375rem;
}
/* Summernote 白底編輯區＋工具列換行 */
.form-item--editor .note-editor.note-frame,
.form-item--editor .note-editor.note-frame .note-editing-area{
	max-width: 100%;
	background-color: #fff !important;
	color-scheme: light;
	border: 1px solid #ced4da;
}
.form-item--editor .note-editor .note-editing-area .note-editable,
.form-item--editor .note-editor .note-editable,
.form-item--editor .note-editor .note-codable{
	background-color: #fff !important;
	color: #333 !important;
	color-scheme: light;
	min-height: 200px;
}
.form-item--editor .note-editor .note-toolbar{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px;
	background-color: #f8f9fa !important;
	border-bottom: 1px solid #dee2e6;
}
.form-item--editor .note-editor .note-toolbar .note-btn-group{
	margin: 2px 0;
}
/* 還原 Summernote 圖示字型，避免被全站 font-family 蓋掉變成空白方框 */
.form-item--editor .note-editor [class^="note-icon-"]:before,
.form-item--editor .note-editor [class*=" note-icon-"]:before{
	font-family: summernote !important;
	speak: none;
	display: inline-block;
	font-style: normal;
	font-weight: normal;
	text-decoration: inherit;
	text-transform: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.form-item--editor .note-editor .note-statusbar{
	background-color: #f8f9fa !important;
}

/* 頁首隱藏標題（無障礙／SEO，視覺由 h2.pageTitle 呈現） */
/* 檢視核銷：兌換時間維持在自己的欄位內，避免蓋到兌換店面 */
.dash-list-store table td.cell-exchange-time {
	white-space: normal;
	line-height: 1.4;
	overflow-wrap: normal;
	word-break: keep-all;
}

/* 頁碼只留一小段時仍可換行，避免窄螢幕再溢出 */
ul.custom-pagination-style-1.pagination {
	flex-wrap: wrap;
	row-gap: 8px;
}

.page-header .pageTitleWrapper h1.hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
