/**
 * 主日敬拜页：深色顶栏 + 左视频 / 右 Zoom 与证道列表
 */

.ccgc-worship-board {
	--ccgc-worship-ink: #1a1a1a;
	--ccgc-worship-muted: #666;
	--ccgc-worship-line: #e5e5e5;
	--ccgc-worship-band: #ebe8e2; /* 暖灰底 */
	--ccgc-worship-gold: #c9a15c;
	background: transparent;
	color: var(--ccgc-worship-ink);
	padding: 48px 0 72px;
}

.ccgc-worship-board a {
	color: inherit;
	text-decoration: none;
}

.ccgc-worship-board a:hover,
.ccgc-worship-board a:focus {
	text-decoration: underline;
	outline: none;
}

/* 标题：与「欢迎新朋友」同构——上金英小字、下中文大标题 */
.ccgc-worship-board__heading {
	margin: 0 0 20px;
	padding: 0 4px;
}

.ccgc-worship-board__eyebrow {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ccgc-worship-gold);
}

.ccgc-worship-board__title {
	margin: 0;
	font-size: clamp(1.75rem, 3.2vw, 2.45rem);
	font-weight: 700;
	line-height: 1.25;
	color: var(--ccgc-worship-ink);
}

.ccgc-worship-board__full {
	font-weight: 600;
}

/*
 * 全屏宽暖灰板块：背景通栏（本块在 .container 之外）；
 * 内部图文仍包一层 .container，宽度与导航一致。
 */
.ccgc-worship-band {
	width: 100%;
	margin: 0 0 40px;
	padding: 36px 0 40px;
	box-sizing: border-box;
}

/* 布局由 Bootstrap row + col-lg-8 / col-lg-4 控制；地图与左侧齐高 */
.ccgc-worship-band__layout.has-map {
	align-items: stretch;
}

.ccgc-worship-band__layout.has-map > [class*="col-"] {
	display: flex;
	flex-direction: column;
}

.ccgc-worship-band__main {
	min-width: 0;
	width: 100%;
}

.ccgc-worship-board__meta {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--ccgc-worship-muted);
}

/* 图文正文：支持编辑器插入的图片与段落 */
.ccgc-worship-band__body {
	font-size: 15px;
	line-height: 1.75;
	color: var(--ccgc-worship-muted);
}

.ccgc-worship-band__body > *:first-child {
	margin-top: 0;
}

.ccgc-worship-band__body > *:last-child {
	margin-bottom: 0;
}

.ccgc-worship-band__body img {
	display: block;
	max-width: 100%;
	height: auto;
}

.ccgc-worship-band__body .alignnone,
.ccgc-worship-band__body .aligncenter,
.ccgc-worship-band__body .alignleft,
.ccgc-worship-band__body .alignright {
	max-width: 100%;
}

.ccgc-worship-band__body .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.ccgc-worship-board__map {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-width: 0;
	min-height: 0;
	height: 100%;
	width: 100%;
	margin-left: -11px;
}

.ccgc-worship-board__map-frame {
	position: relative;
	flex: 1 1 auto;
	width: 100%;
	height: 100%;
	min-height: 280px;
	overflow: hidden;
	border: 1px solid var(--ccgc-worship-line);
	background: #f0f0f0;
}

.ccgc-worship-board__map-frame iframe {
	display: block;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

/*
 * 「欢迎新朋友」：与上方地图同用 container + col-lg-7/5，图片与地图同宽；
 * 暖灰底仍通栏。
 */
.ccgc-worship-split {
	--ccgc-worship-split-gold: #c9a15c;
	width: 100%;
	margin: 0 0 40px;
	padding: 0;
	background: var(--ccgc-worship-band);
	box-sizing: border-box;
	overflow: hidden;
	/* 锚点 #new-to-ccgc：避开 sticky 顶栏 */
	scroll-margin-top: 80px;
}

/* 已登录时多一层 WP 管理栏 */
.admin-bar .ccgc-worship-split {
	scroll-margin-top: 112px;
}

.ccgc-worship-split__layout {
	align-items: stretch;
	min-height: min(52vw, 480px);
}

/* 图在右（默认 HTML 顺序）；图在左时对调列顺序 */
.ccgc-worship-split--img-right .ccgc-worship-split__copy {
	order: 1;
}

.ccgc-worship-split--img-right .ccgc-worship-split__media-col {
	order: 2;
}

.ccgc-worship-split--img-left .ccgc-worship-split__media-col {
	order: 1;
}

.ccgc-worship-split--img-left .ccgc-worship-split__copy {
	order: 2;
}

.ccgc-worship-split__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	background: transparent;
	box-sizing: border-box;
	padding-top: clamp(36px, 5vw, 72px);
	padding-bottom: clamp(36px, 5vw, 72px);
}

.ccgc-worship-split__media-col {
	display: flex;
	min-width: 0;
	/* 与上方地图列的轻微左移对齐 */
	margin-left: -11px;
}

.ccgc-worship-split__copy-inner {
	width: 100%;
	max-width: 100%;
}

.ccgc-worship-split__eyebrow {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ccgc-worship-split-gold);
}

.ccgc-worship-split__title {
	margin: 0 0 18px;
	font-size: clamp(1.75rem, 3.2vw, 2.45rem);
	font-weight: 700;
	line-height: 1.25;
	color: var(--ccgc-worship-ink);
}

/* 富文本：段落、列表、强调等正常块级排版 */
.ccgc-worship-split__body {
	min-width: 0;
	font-size: 15px;
	line-height: 1.8;
	color: var(--ccgc-worship-ink);
}

.ccgc-worship-split__body > *:first-child {
	margin-top: 0;
}

.ccgc-worship-split__body > *:last-child {
	margin-bottom: 0;
}

.ccgc-worship-split__body p {
	margin: 0 0 1em;
}

.ccgc-worship-split__body p:last-child {
	margin-bottom: 0;
}

.ccgc-worship-split__body ul,
.ccgc-worship-split__body ol {
	margin: 0 0 1em;
	padding-left: 1.35em;
}

.ccgc-worship-split__body li + li {
	margin-top: 0.35em;
}

.ccgc-worship-split__body strong,
.ccgc-worship-split__body b {
	font-weight: 700;
	color: var(--ccgc-worship-ink);
}

.ccgc-worship-split__body a {
	color: var(--ccgc-worship-split-gold);
	text-decoration: underline;
}

.ccgc-worship-split__body img,
.ccgc-worship-split__body .alignnone,
.ccgc-worship-split__body .aligncenter,
.ccgc-worship-split__body .alignleft,
.ccgc-worship-split__body .alignright {
	max-width: 100%;
	height: auto;
}

.ccgc-worship-split__cta {
	margin: 28px 0 0;
}

/* 按钮：默认白字；悬停金色（覆盖 board 内 a { color: inherit }） */
.ccgc-worship-split__btn.default-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 28px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none !important;
	border-radius: 0;
	color: #fff !important;
}

.ccgc-worship-split__btn.default-btn:hover,
.ccgc-worship-split__btn.default-btn:focus {
	color: var(--ccgc-worship-split-gold) !important;
	text-decoration: none !important;
}

.ccgc-worship-board .ccgc-worship-split__btn.default-btn:hover,
.ccgc-worship-board .ccgc-worship-split__btn.default-btn:focus {
	text-decoration: none !important;
}

.ccgc-worship-split__media {
	margin: 0;
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	min-height: 280px;
	overflow: hidden;
	background: #e9e7e3;
	align-self: stretch;
}

.ccgc-worship-split__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* 布局由 Bootstrap row + col-lg-7 / col-lg-5 控制 */
.ccgc-worship-board__grid {
	align-items: start;
}

.ccgc-worship-board__label {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--ccgc-worship-ink);
}

.ccgc-worship-board__label span[lang="en"] {
	font-weight: 500;
}

.ccgc-worship-board__num {
	margin-right: 4px;
}

.ccgc-worship-player {
	position: relative;
	margin-bottom: 16px;
}

.ccgc-worship-player__frame {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	background: #0d2136;
	overflow: hidden;
}

.ccgc-worship-player__frame img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ccgc-worship-player__play {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 64px;
	height: 64px;
	margin: -32px 0 0 -32px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.35);
}

.ccgc-worship-player__play::after {
	content: "";
	position: absolute;
	left: 26px;
	top: 18px;
	border-style: solid;
	border-width: 12px 0 12px 18px;
	border-color: transparent transparent transparent #fff;
}

.ccgc-worship-player__yt {
	position: absolute;
	right: 14px;
	bottom: 14px;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: #16324f !important;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none !important;
}

.ccgc-worship-board__titleline {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 700;
	color: var(--ccgc-worship-ink);
}

.ccgc-worship-board__speaker,
.ccgc-worship-board__empty {
	margin: 0;
	font-size: 14px;
	color: var(--ccgc-worship-muted);
}

.ccgc-worship-board__aside {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.ccgc-worship-zoom__box {
	padding: 18px 20px;
	font-size: 15px;
	line-height: 1.7;
}

.ccgc-worship-zoom__box p {
	margin: 0 0 8px;
}

.ccgc-worship-zoom__box p:last-child {
	margin-bottom: 0;
}

.ccgc-worship-zoom__note {
	color: var(--ccgc-worship-muted);
	font-size: 14px;
}

.ccgc-worship-links {
	padding: 0 10px 0 5px;
}
.ccgc-worship-links ul {
	list-style: none;
	margin: 0;
	padding: 12px 0 0;
	border-top: 1px solid var(--ccgc-worship-line);
}

.ccgc-worship-links li {
	margin: 0;
	padding: 8px 0;
	font-size: 15px;
}

.ccgc-worship-links__all {
	margin: 12px 0 0;
	font-size: 15px;
}

@media (max-width: 991px) {
	.ccgc-worship-board {
		padding: 32px 0 48px;
	}

	.ccgc-worship-board__heading {
		margin-bottom: 16px;
	}

	.ccgc-worship-band {
		margin-bottom: 32px;
		padding: 28px 0 32px;
	}

	.ccgc-worship-split {
		margin-bottom: 32px;
		overflow: visible;
	}

	/*
	 * 选择器需覆盖桌面 .has-both.ccgc-worship-split--img-* 的双列规则，
	 * 否则窄屏仍按 8/4 列宽算，图片可撑到数千像素、文案被挤没。
	 */
	.ccgc-worship-split__layout {
		min-height: 0;
	}

	.ccgc-worship-split--img-left .ccgc-worship-split__media-col,
	.ccgc-worship-split--img-right .ccgc-worship-split__media-col,
	.ccgc-worship-split--img-left .ccgc-worship-split__copy,
	.ccgc-worship-split--img-right .ccgc-worship-split__copy {
		order: 0;
	}

	/* 窄屏：图在上、文在下；限制图片高度 */
	.ccgc-worship-split__media-col {
		order: -1 !important;
		margin-left: 0;
		width: 100%;
		max-width: 100%;
		flex: none;
	}

	.ccgc-worship-split__media {
		width: 100%;
		max-width: 100%;
		min-height: 0;
		height: auto;
		aspect-ratio: 16 / 9;
		max-height: 220px;
	}

	.ccgc-worship-split__media img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.ccgc-worship-split__copy {
		width: 100%;
		max-width: 100%;
		min-height: 0;
		padding: 28px 5px 36px;
	}

	.ccgc-worship-board__map {
		position: static;
	}

	.ccgc-worship-board__map-frame {
		aspect-ratio: 16 / 10;
		min-height: 220px;
	}

}
