/* ===== Herald Village 子頁面樣式（對齊演示站）===== */

/* 頁尾：淺米色背景＋右欄連結靠右 */
.site-below-footer-wrap[data-section="section-below-footer-builder"] {
	background-color: #f6f1e8 !important;
	background-image: none !important;
}
.site-footer-below-section-2 { text-align: right; }

/* 子頁面：隱藏 Astra 預設頁面標題列 */
.hv-subpage .entry-header { display: none; }

/* 英文小標：小字大寫、字距寬、品牌橘（只認 hv-eyebrow 類，不再按位置猜） */
.hv-subpage .wpb_text_column p.hv-eyebrow {
	color: #b4502e;
	font-size: 15px;
	letter-spacing: .35em;
	font-weight: 700;
	text-transform: uppercase;
	margin: 0 0 16px;
}

/* 中文大標題 */
.hv-subpage h1.vc_custom_heading {
	font-size: 44px;
	line-height: 1.35;
	font-weight: 900;
	color: #26311f;
	margin: 0 0 22px;
}
.hv-subpage h2.vc_custom_heading {
	font-size: 40px;
	line-height: 1.4;
	font-weight: 900;
	color: #26311f;
	margin: 0 0 22px;
}
.hv-subpage h3.vc_custom_heading {
	font-size: 26px;
	line-height: 1.45;
	font-weight: 800;
	color: #26311f;
	margin: 44px 0 14px;
}

/* 段落：18px、行高 1.8 */
.hv-subpage .wpb_text_column p {
	font-size: 18px;
	line-height: 1.8;
	margin-bottom: 20px;
}

/* 手機：標題縮小，避免溢出 */
@media (max-width: 768px) {
	.hv-subpage h1.vc_custom_heading { font-size: 32px; }
	.hv-subpage h2.vc_custom_heading { font-size: 30px; }
	.hv-subpage h3.vc_custom_heading { font-size: 22px; }
	.hv-subpage .wpb_text_column p.hv-eyebrow { letter-spacing: .2em; }
}

/* 活動列表 shortcode [hvm_activities]：題目／時間＋類別／介紹／圖片 */
.hvm-act-list { max-width: 960px; margin: 0 auto; }
.hvm-act-card { margin: 0 auto 56px; }
.hvm-act-card + .hvm-act-card { border-top: 1px solid #DDDCD1; padding-top: 56px; }
.hvm-act-card:last-child { margin-bottom: 0; }
.hvm-act-body { margin-top: 20px; line-height: 1.9; }
.hvm-act-list .hvm-act-card .hvm-act-meta { color: #8a8a8a; font-size: 15px; letter-spacing: .05em; }
.hvm-act-excerpt { color: #a3502e; }
.hvm-act-strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 4px 2px 12px; scrollbar-width: thin; margin-top: 20px; }
.hvm-act-strip figure { flex: 0 0 100%; margin: 0; scroll-snap-align: center; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; }
.hvm-act-strip img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.hvm-act-strip figure.hvm-pos-upper img { object-position: center 25%; }
.hvm-act-strip figure.hvm-pos-center img { object-position: center center; }
.hvm-act-strip figure.hvm-pos-lower img { object-position: center 75%; }
.hvm-act-strip figure.hvm-pos-bottom img { object-position: center bottom; }
.hvm-act-strip figure.hvm-fit-contain img { object-fit: contain; }
.hvm-act-single { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; margin-top: 20px; }
.hvm-act-single img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.hvm-act-single.hvm-pos-upper img { object-position: center 25%; }
.hvm-act-single.hvm-pos-center img { object-position: center center; }
.hvm-act-single.hvm-pos-lower img { object-position: center 75%; }
.hvm-act-single.hvm-pos-bottom img { object-position: center bottom; }
.hvm-act-single.hvm-fit-contain img { object-fit: contain; }
.hvm-act-hint { text-align: center; color: #999; font-size: 14px; }
.hvm-act-more { margin-top: 12px; }
.hvm-act-empty p { margin-bottom: 8px; }
