html {
	position: relative;
	min-height: 100%;
}

body {
	/* Margin bottom for footer height */
	margin-bottom: 60px;
	padding-top: 56px;
	/* ===== 新增：整体字体与背景 ===== */
	font-family: "Georgia", "Times New Roman", "Noto Serif", serif;
	background-color: #f8f9fb;
	color: #1f2937;
	line-height: 1.8;
	letter-spacing: 0.3px;
}

section {
	padding: 50px 0;
}

img {
	max-width: 100%;
}

pre,
code {
	background: #f8f8f8;
	color: #333;
}

pre {
	border-left: 2px solid #ccc;
	padding: 10px;
}

code {
	display: inline-block;
	padding: 0 0.5em;
	line-height: 1.4em;
	border-radius: 3px;
}

table {
	empty-cells: show;
	border: 1px solid #cbcbcb;
	width: 100%;
	font-size: 0.9em;
	margin-bottom: 1rem;
}

thead {
	background-color: #e0e0e0;
	color: #000;
	text-align: left;
	vertical-align: bottom;
}

tr {
	display: table-row;
	vertical-align: inherit;
	border-color: inherit;
}

th,
td {
	padding: 0.5em 1em;
}

h1.title,
h2.title {
	font-size: 2.3rem;
}

/* ===== 新增：标题更有敬拜感 ===== */
h1, h2, h3, h4 {
	letter-spacing: 1px;
	font-weight: 600;
}

blockquote {
	padding: 10px 20px;
	margin: 0 0 20px 20px;
	border-left: 5px solid #e5e7eb;
	font-style: italic;
	color: #4b5563;
}

.bi {
	margin-right: .5rem !important;
}

/* Paginator */
.paginator {
	margin-top: 20px;
	margin-bottom: 80px;
}

/* ======================
   Navbar
====================== */
img.nav-svg-icon {
	width: 1rem;
	height: 1rem;
	padding-bottom: 2px;
}

.nav-link {
	font-size: 0.8em;
	letter-spacing: 1.5px;
	position: relative;
}

/* ===== 新增：神圣金色下划线 ===== */
.nav-link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -6px;
	width: 0;
	height: 1px;
	background: #d4af37;
	transition: all 0.3s ease;
}

.nav-link:hover::after {
	width: 100%;
}

.navbar {
	background: rgba(17, 24, 39, 0.92) !important;
	backdrop-filter: blur(4px);
}

.navbar-brand {
	font-weight: 700;
	letter-spacing: 3px;
}

/* ======================
   Footer
====================== */
footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 60px;
	line-height: 60px;
	font-size: 0.8em;

	/* ===== 覆盖：更庄重的渐变 ===== */
	background: rgba(17, 24, 39, 0.92) !important;
	color: #9ca3af;
}

footer a {
	color: #d4af37;
	text-decoration: none;
}

footer a:hover {
	text-decoration: underline;
}

.mini-logo {
	height: 22px;
	padding-bottom: 5px;

	/* ===== 新增：柔和金色光晕 ===== */
	filter: drop-shadow(0 0 4px rgba(212,175,55,0.35));
}

/* ======================
   Home - Header
====================== */
header.welcome {
	padding: 120px 0;
	width: 100%;
	height: 70vh;
	margin-top: -56px;
	/* ===== 新增：Hero 圣洁背景 ===== */
	background-size: cover;
	background-position: center;
	color: #ffffff;
	text-align: center;
	position: relative;
	overflow: hidden;
}
header.welcome .header-video {
  position: absolute;
  inset: 0;
  z-index: 1;
}
header.welcome .header-video video{
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}
header.welcome::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 47, 0.55);
  z-index: 2;
  pointer-events: none;
}
header.welcome .container {
  position: relative;
  z-index: 3;
  color: #fff;
  margin-top: 10vh;
}
header.welcome h1 {
	font-size: clamp(2.4rem, 5vw, 3.6rem);
	letter-spacing: 4px;
	text-transform: uppercase;
}

/* ===== 新增：标题下金色分隔线 ===== */
header.welcome h1::after {
	content: "";
	display: block;
	width: 90px;
	height: 2px;
	background: #d4af37;
	margin: 1.2rem auto 0;
}

header.welcome .lead {
	font-size: 1.1rem;
	color: #e5e7eb;
	letter-spacing: 1px;
	margin-top: 1.5rem;
}

/* ======================
   Home - Page
====================== */
section.home-page:nth-child(even) {
	background: #FAFAFA;
}

.page-cover-image {
	background-size: cover;
	background-position: center;
}

.page-description {
	color: #9ca3af;
	font-style: italic;
}

/* ======================
   内容卡片（No pages found / 页面正文）
====================== */
.text-center.p-4 {
	background: #ffffff;
	border-radius: 14px;
	box-shadow: 0 20px 40px rgba(0,0,0,0.08);
	margin-top: -60px;
	padding: 3rem !important;
	color: #6b7280;
}

/* ======================
   VIDEO EMBED RESPONSIVE
====================== */
.video-embed {
	overflow: hidden;
	padding-bottom: 56.25%;
	position: relative;
	height: 0;
}

.video-embed iframe {
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	position: absolute;
}

/* ======================
   Responsive
====================== */
@media (max-width: 768px) {
	header.welcome {
		padding: 90px 0;
	}

	header.welcome h1 {
		letter-spacing: 2px;
	}

	.text-center.p-4 {
		margin-top: -40px;
		padding: 2rem !important;
	}
}
.home-page {
	padding: 3.5rem 0;
	border-bottom: 1px solid rgba(0,0,0,0.06);
}

.home-page:last-child {
	border-bottom: none;
}

.title {
	font-size: 1.6rem;
	font-weight: 600;
	line-height: 1.35;
	margin-bottom: 0.6rem;
	letter-spacing: -0.02em;
}

a.text-dark {
	text-decoration: none;
}

a.text-dark:hover .title {
	color: #1f6fd8;
}

/* =========================
   Cover Image (Thumbnail Feel)
========================= */

.page-cover {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 12px;
	background: #f4f6f8;
}

.page-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.page-cover a:hover img {
	transform: scale(1.03);
}

/* =========================
   Description
========================= */

.page-description {
	color: #666;
	font-size: 0.95rem;
	line-height: 1.6;
	margin-bottom: 1rem;
}

/* =========================
   Content Preview
========================= */

.home-page > .container p {
	font-size: 1rem;
	line-height: 1.75;
	color: #333;
}

/* =========================
   Read More Button
========================= */

.btn-primary.btn-sm {
	background-color: #1f6fd8;
	border: none;
	padding: 0.45rem 1rem;
	border-radius: 20px;
	font-size: 0.85rem;
}

.btn-primary.btn-sm:hover {
	background-color: #1558b0;
}

/* =========================
   Date Style (Optional)
========================= */

.color-blue {
	display: inline-block;
	margin-top: 0.8rem;
	color: #888;
	font-size: 0.8rem;
}

/* =========================
   Mobile Optimization
========================= */

@media (max-width: 768px) {

	.home-page {
		padding: 2.5rem 0;
	}

	.title {
		font-size: 1.35rem;
	}

	.page-cover {
		max-height: 200px;
	}

}
.cc-ministries {
  padding: 50px 0;
  background-color: #f8f9fb;  
}

.cc-container {
  padding-left: 15px;
  padding-right: 15px;
  margin: 0 auto;
}

.cc-section-title {
  text-align: center;
  font-size: 2.3rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #111827;
}

.cc-section-subtitle {
  text-align: center;
  color: #6b7280;
  margin-top: 12px;
  margin-bottom: 64px;
  font-size: 1rem;
}

/* ===== Tabs ===== */

.cc-tabs input {
  display: none;
}

.cc-tab-labels {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.cc-tab-labels label {
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 0.95rem;
  cursor: pointer;
  background-color: #ffffff;
  color: #374151;
  border: 1px solid #e5e7eb;
  transition: all 0.25s ease;
}

.cc-tab-labels label:hover {
  background-color: #1e3a8a;
  color: #ffffff;
  border-color: #1e3a8a;
}

/* ===== Content Area ===== */

.cc-tab-contents {
  background-color: #ffffff;
  border-radius: 22px;
  padding: 56px;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.06);
}

.cc-tab-content {
  display: none;
  animation: ccFadeIn 0.4s ease;
}

.cc-tab-content h3 {
  font-size: 1.55rem;
  margin-bottom: 10px;
  color: #111827;
}

.cc-tab-content p {
  font-size: 1rem;
  line-height: 1.9;
  color: #374151;
}

/* ===== Ministry Time Badge ===== */

.cc-ministry-time {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 28px;
  padding: 10px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #ffffff;
  font-size: 0.95rem;
  box-shadow: 0 10px 24px rgba(30, 58, 138, 0.25);
}

.cc-ministry-time span {
  opacity: 0.9;
}

.cc-ministry-time strong {
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* ===== Active Tab Logic ===== */

#cc-tab-worship:checked ~ .cc-tab-labels label[for="cc-tab-worship"],
#cc-tab-chinese:checked ~ .cc-tab-labels label[for="cc-tab-chinese"],
#cc-tab-men:checked ~ .cc-tab-labels label[for="cc-tab-men"],
#cc-tab-women:checked ~ .cc-tab-labels label[for="cc-tab-women"],
#cc-tab-young-adults:checked ~ .cc-tab-labels label[for="cc-tab-young-adults"],
#cc-tab-youth:checked ~ .cc-tab-labels label[for="cc-tab-youth"],
#cc-tab-children:checked ~ .cc-tab-labels label[for="cc-tab-children"] {
  background-color: #1e3a8a;
  color: #ffffff;
  border-color: #1e3a8a;
}

#cc-tab-worship:checked ~ .cc-tab-contents .cc-tab-content:nth-child(1),
#cc-tab-chinese:checked ~ .cc-tab-contents .cc-tab-content:nth-child(2),
#cc-tab-men:checked ~ .cc-tab-contents .cc-tab-content:nth-child(3),
#cc-tab-women:checked ~ .cc-tab-contents .cc-tab-content:nth-child(4),
#cc-tab-young-adults:checked ~ .cc-tab-contents .cc-tab-content:nth-child(5),
#cc-tab-youth:checked ~ .cc-tab-contents .cc-tab-content:nth-child(6),
#cc-tab-children:checked ~ .cc-tab-contents .cc-tab-content:nth-child(7) {
  display: block;
}

/* ===== Animation ===== */

@keyframes ccFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {

  .cc-tab-labels {
    display: flex;
    flex-wrap: nowrap;        /* 不换行 */
    overflow-x: auto;         /* 横向滚动 */
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding-bottom: 6px;
	justify-content: flex-start;
  }

  .cc-tab-labels::-webkit-scrollbar {
    display: none;            /* 隐藏滚动条 */
  }

  .cc-tab-labels label {
    flex: 0 0 auto;
    padding: 6px 14px;
    font-size: 0.85rem;
    white-space: nowrap;
  }

}