/**
 * Booking page (ID 1885) — closing section
 * Styles the legacy post_content image + quote that Elementor used to wrap.
 * Scoped via body.page-id-1885.
 */

/* Parent <p> of the closing image — center its inline <picture>/<img> */
body.page-id-1885 .entry-content p:has(img[src*="右小圖-預約健檢"]),
body.page-id-1885 .entry-content p:has(img[data-src*="右小圖-預約健檢"]) {
	margin: 96px 0 48px;
	padding: 0;
	text-align: center;
}

/* Closing image (右小圖-預約健檢) */
body.page-id-1885 .entry-content img[src*="右小圖-預約健檢"],
body.page-id-1885 .entry-content img[data-src*="右小圖-預約健檢"] {
	display: inline-block;
	max-width: 520px;
	width: 100%;
	height: auto;
	border-radius: 16px;
	box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1);
	vertical-align: middle;
}

/* Strip the stray <br /> that wpautop leaves before the picture */
body.page-id-1885 .entry-content p:has(img[src*="右小圖-預約健檢"]) br,
body.page-id-1885 .entry-content p:has(img[data-src*="右小圖-預約健檢"]) br {
	display: none;
}

/* Inspirational quote (林肯名言) */
body.page-id-1885 .entry-content > h4 {
	max-width: 680px;
	margin: 0 auto 120px;
	padding: 40px 32px 0;
	font-family: 'Noto Serif TC', serif;
	font-size: 17px;
	font-weight: 500;
	line-height: 2.2;
	letter-spacing: 2px;
	color: #595757;
	text-align: center;
	position: relative;
}

/* Hairline divider above the quote */
body.page-id-1885 .entry-content > h4::before {
	content: "";
	display: block;
	width: 48px;
	height: 1.5px;
	background: #79895f;
	margin: 0 auto 32px;
}

/* Mobile */
@media (max-width: 767px) {
	body.page-id-1885 .entry-content p:has(img[src*="右小圖-預約健檢"]),
	body.page-id-1885 .entry-content p:has(img[data-src*="右小圖-預約健檢"]) {
		margin: 60px 16px 32px;
	}

	body.page-id-1885 .entry-content img[src*="右小圖-預約健檢"],
	body.page-id-1885 .entry-content img[data-src*="右小圖-預約健檢"] {
		border-radius: 12px;
		box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
	}

	body.page-id-1885 .entry-content > h4 {
		font-size: 15px;
		letter-spacing: 1.5px;
		line-height: 2;
		margin-bottom: 80px;
		padding: 32px 20px 0;
	}

	body.page-id-1885 .entry-content > h4::before {
		margin-bottom: 24px;
		width: 40px;
	}
}

/* ===== 移除 parkone-health-booking shortcode 產生的 box 陰影、讓容器融入頁面背景 ===== */
body.page-id-1885 .ph-booking-form,
body.page-id-1885 .ph-booking-form-wrapper,
body.page-id-1885 .ph-form-section,
body.page-id-1885 .ph-package-option,
body.page-id-1885 .ph-package-info,
body.page-id-1885 .ph-upload-area,
body.page-id-1885 .ph-gender-selection,
body.page-id-1885 .ph-package-selection,
body.page-id-1885 .ph-tag-group,
body.page-id-1885 .ph-tag-packages,
body.page-id-1885 .ph-radio-group,
body.page-id-1885 .ph-colonoscopy-field,
body.page-id-1885 .ph-form-actions,
body.page-id-1885 .ph-meal-preference-group,
body.page-id-1885 .ph-uniform-size-group {
	background: transparent !important;
	box-shadow: none !important;
}

/* 主表單容器：拿掉圓角與 padding，徹底融入背景 */
body.page-id-1885 .ph-booking-form {
	border-radius: 0 !important;
	padding: 0 !important;
}

/* 方案選項：保留細邊框讓使用者能區分項目，但邊框調淡、陰影消掉 */
body.page-id-1885 .ph-package-option {
	border-color: rgba(0,0,0,.08) !important;
}
body.page-id-1885 .ph-package-option:hover {
	background: rgba(0,0,0,.02) !important;
	border-color: rgba(121,137,95,.35) !important;
}

/* 分隔線調淡 */
body.page-id-1885 .ph-form-section {
	border-bottom-color: rgba(0,0,0,.06) !important;
}
