:root {
  --bg: #f4efe7;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #fffdf8;
  --text: #1d2a24;
  --muted: #5d695f;
  --line: rgba(29, 42, 36, 0.12);
  --accent: #bf5b2c;
  --accent-deep: #7d3c18;
  --green: #305f4e;
  --shadow: 0 20px 50px rgba(50, 42, 32, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1240px;
  --feature-width: 1200px;
  --font-display: "Avenir Next", "Helvetica Neue", sans-serif;
  --font-body: "Noto Sans TC", "PingFang TC", sans-serif;
  --body-copy-size: 17px;
  --hero-title-size: clamp(2.4rem, 5vw, 4.4rem);
  --hero-copy-size: 1.1rem;
  --quick-nav-size: 1.12rem;
  --section-title-size: clamp(1.9rem, 3vw, 2.8rem);
  --section-body-size: 1rem;
  --scripture-size: clamp(1.6rem, 3vw, 2.5rem);
  --about-page-size: 18px;
  --alpha-page-size: 18px;
  --donation-page-size: 18px;
  --prayer-preview-size: 18px;
  --prayer-page-size: 18px;
  --footer-size: 1.02rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--body-copy-size);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(191, 91, 44, 0.14), transparent 26%),
    radial-gradient(circle at top right, rgba(48, 95, 78, 0.18), transparent 32%),
    linear-gradient(180deg, #fbf8f2 0%, var(--bg) 48%, #f2ece4 100%);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell,
.admin-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 0 0 48px;
}

body[data-page="home"] .page-shell {
  padding-top: 0;
  padding-bottom: 0;
}

body[data-page="prayer-page"] .page-shell,
body[data-page="admin"] .admin-shell {
  padding-top: 0;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  background: rgba(255, 253, 248, 0.7);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 999px;
  position: sticky;
  top: 16px;
  z-index: 10;
  box-shadow: var(--shadow);
}

.full-bleed-header {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 14px 26px;
  border-radius: 0 0 32px 32px;
  top: 0;
  transition:
    padding 260ms ease,
    transform 260ms ease,
    border-radius 260ms ease,
    background 260ms ease,
    box-shadow 260ms ease,
    opacity 220ms ease;
}

.full-bleed-header.is-compact {
  padding: 10px 22px;
  border-radius: 0 0 24px 24px;
  background: rgba(255, 252, 246, 0.9);
  box-shadow: 0 16px 30px rgba(50, 42, 32, 0.14);
}

.full-bleed-header.is-compact .brand img {
  width: 54px;
  height: 54px;
}

.full-bleed-header.is-compact .brand-copy strong {
  font-size: clamp(1.12rem, 1.65vw, 1.55rem);
}

.full-bleed-header.is-compact .brand-copy span {
  font-size: clamp(0.82rem, 1vw, 0.96rem);
}

.full-bleed-header.is-hidden {
  transform: translateY(-108%);
  opacity: 0;
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 999px;
  transition: transform 180ms ease, background 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.brand img {
  width: 78px;
  height: 78px;
}

.full-bleed-header .brand img {
  width: 64px;
  height: 64px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-copy strong {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 2.25rem);
}

.full-bleed-header .brand-copy strong {
  font-size: clamp(1.24rem, 1.9vw, 1.8rem);
}

.brand-copy span {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  font-weight: 600;
}

.full-bleed-header .brand-copy span {
  font-size: clamp(0.88rem, 1.08vw, 1.04rem);
}

.header-actions,
.admin-actions,
.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.header-nav-item {
  position: relative;
}

.header-nav-item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}

.header-nav-submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 180px;
  padding: 8px;
  display: grid;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
  background: rgba(255, 253, 248, 0.98);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  z-index: 14;
}

.header-nav-item:hover .header-nav-submenu,
.header-nav-item:focus-within .header-nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.header-nav-submenu-link {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: 16px;
  color: var(--green);
  font-weight: 700;
  transition: transform 180ms ease, background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.header-nav-submenu-link:hover,
.header-nav-submenu-link:focus-visible {
  transform: translateX(3px);
  background: linear-gradient(135deg, #305f4e, #447460);
  color: #fffaf3;
  box-shadow: 0 14px 22px rgba(48, 95, 78, 0.16);
}

.lang-toggle,
.admin-link,
.header-nav-link,
.primary-btn,
.secondary-btn,
.carousel-controls button {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
  transition:
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease,
    background 260ms ease,
    color 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease,
    letter-spacing 220ms ease,
    filter 220ms ease;
}

.lang-toggle,
.secondary-btn,
.admin-link,
.header-nav-link,
.carousel-controls button {
  background: rgba(48, 95, 78, 0.08);
  color: var(--green);
}

.primary-btn {
  background: linear-gradient(135deg, var(--accent), #d47f37);
  color: white;
  box-shadow: 0 14px 30px rgba(191, 91, 44, 0.22);
}

.brand:hover,
.lang-toggle:hover,
.admin-link:hover,
.header-nav-link:hover,
.primary-btn:hover,
.secondary-btn:hover,
.carousel-controls button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 34px rgba(48, 95, 78, 0.18);
  letter-spacing: 0.02em;
  filter: saturate(1.05);
}

.brand:hover,
.lang-toggle:hover,
.admin-link:hover,
.header-nav-link:hover,
.secondary-btn:hover,
.carousel-controls button:hover {
  background: rgba(48, 95, 78, 0.12);
  color: #244638;
}

.primary-btn:hover {
  background: linear-gradient(135deg, #cb693b, #e48f42);
}

.hero-cta a,
.header-nav-link,
.admin-link,
.footer-links a {
  position: relative;
}

.hero-cta a::after,
.header-nav-link::after,
.admin-link::after,
.footer-links a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 10px;
  height: 2px;
  background: currentColor;
  opacity: 0.22;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 240ms ease;
}

.hero-cta a:hover::after,
.header-nav-link:hover::after,
.admin-link:hover::after,
.footer-links a:hover::after {
  transform: scaleX(1);
}

.header-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  font-weight: 700;
}

.mobile-menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border: 1px solid rgba(48, 95, 78, 0.14);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.86);
  color: var(--green);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.mobile-menu-button span {
  position: absolute;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-menu-button span:nth-child(1) {
  transform: translateY(-7px);
}

.mobile-menu-button span:nth-child(3) {
  transform: translateY(7px);
}

.mobile-menu-button.is-open span:nth-child(1) {
  transform: rotate(45deg);
}

.mobile-menu-button.is-open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-button.is-open span:nth-child(3) {
  transform: rotate(-45deg);
}

.mobile-menu-layer {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
}

.mobile-menu-layer.is-open {
  pointer-events: auto;
}

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 42, 36, 0.2);
  opacity: 0;
  transition: opacity 220ms ease;
}

.mobile-menu-layer.is-open .mobile-menu-backdrop {
  opacity: 1;
}

.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(86vw, 390px);
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  padding: 22px;
  background: rgba(255, 253, 248, 0.98);
  border-left: 1px solid rgba(48, 95, 78, 0.12);
  box-shadow: -18px 0 36px rgba(29, 42, 36, 0.12);
  transform: translateX(100%);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu-layer.is-open .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(48, 95, 78, 0.1);
}

.mobile-menu-top strong {
  display: block;
  margin-top: 2px;
  color: var(--green);
  font-family: var(--font-display);
  font-size: 1.08rem;
}

.mobile-menu-eyebrow {
  margin: 0;
  color: var(--accent-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mobile-menu-close {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(48, 95, 78, 0.12);
  border-radius: 999px;
  background: rgba(48, 95, 78, 0.06);
  color: var(--green);
  cursor: pointer;
  font-size: 1.55rem;
  line-height: 1;
}

.mobile-menu-nav {
  display: grid;
  align-content: start;
  gap: 6px;
  overflow-y: auto;
  padding-right: 2px;
}

.mobile-menu-group {
  display: grid;
  gap: 4px;
}

.mobile-menu-link,
.mobile-menu-child-link,
.mobile-menu-lang {
  display: flex;
  align-items: center;
  min-height: 48px;
  border-radius: 14px;
  color: var(--text);
  font-weight: 800;
}

.mobile-menu-link {
  padding: 12px 14px;
  background: rgba(48, 95, 78, 0.055);
}

.mobile-menu-children {
  display: grid;
  gap: 2px;
  padding-left: 12px;
}

.mobile-menu-child-link {
  min-height: 42px;
  padding: 10px 14px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.mobile-menu-link:hover,
.mobile-menu-link:focus-visible,
.mobile-menu-child-link:hover,
.mobile-menu-child-link:focus-visible,
.mobile-menu-lang:hover,
.mobile-menu-lang:focus-visible {
  background: rgba(48, 95, 78, 0.1);
  color: var(--green);
  outline: none;
}

.mobile-menu-bottom {
  padding-top: 16px;
  border-top: 1px solid rgba(48, 95, 78, 0.1);
}

.mobile-menu-lang {
  width: 100%;
  justify-content: center;
  border: 1px solid rgba(48, 95, 78, 0.12);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

body.mobile-menu-open {
  overflow: hidden;
}

.admin-avatar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
}

.avatar-icon {
  position: relative;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.avatar-head,
.avatar-body {
  position: absolute;
  background: currentColor;
}

.avatar-head {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  top: 1px;
}

.avatar-body {
  width: 22px;
  height: 13px;
  border-radius: 14px 14px 8px 8px;
  bottom: 0;
}

.floating-top-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  border: 0;
  border-radius: 999px;
  background: rgba(48, 95, 78, 0.94);
  color: #fffaf3;
  width: 46px;
  height: 46px;
  padding: 0;
  box-shadow: 0 12px 22px rgba(29, 42, 36, 0.18);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 220ms ease, background 220ms ease;
}

.floating-top-arrow {
  display: inline-flex;
  width: 13px;
  height: 13px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg) translate(2px, 2px);
}

.floating-top-btn:hover {
  transform: translateY(-2px);
  background: rgba(191, 91, 44, 0.96);
  box-shadow: 0 16px 26px rgba(29, 42, 36, 0.22);
}

.about-values-trigger,
.about-values-sheet {
  display: none;
}

.about-values-sheet[hidden] {
  display: none !important;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 290px;
  gap: 18px;
  padding: 20px 0 24px;
}

.hero-stage {
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.8), rgba(255, 249, 240, 0.62));
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: 28px 30px;
  box-shadow: var(--shadow);
}

.home-hero-stage {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.top-banner-section {
  padding: 10px 0 4px;
}

.about-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr);
  gap: 18px;
  padding: 24px;
  border-radius: 38px;
  background:
    linear-gradient(120deg, rgba(255, 251, 245, 0.9), rgba(249, 241, 231, 0.8)),
    radial-gradient(circle at top right, rgba(191, 91, 44, 0.12), transparent 28%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about-banner-copy {
  display: grid;
  gap: 16px;
}

.about-banner-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  line-height: 1.06;
}

.about-subtitle {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 800;
}

.about-banner .section-heading {
  margin-bottom: 0;
}

.about-banner-panel,
.about-banner-values {
  height: 100%;
}

.about-banner-panel {
  max-height: 390px;
  overflow-y: auto;
  padding: 28px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.84);
}

.about-banner-panel::-webkit-scrollbar {
  width: 10px;
}

.about-banner-panel::-webkit-scrollbar-thumb {
  background: rgba(29, 42, 36, 0.35);
  border-radius: 999px;
}

.about-banner-panel p {
  font-size: 1.05rem;
  line-height: 2;
}

.about-article-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.2;
}

.eyebrow,
.section-label,
.quick-nav-title {
  margin: 0 0 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--accent-deep);
}

.hero h1,
.section-heading h2,
.admin-intro h1,
.admin-panel h2 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.08;
}

.hero h1 {
  font-size: var(--hero-title-size);
  max-width: 11ch;
  letter-spacing: -0.04em;
}

.hero-description {
  margin: 18px 0 0;
  font-size: var(--hero-copy-size);
  color: var(--muted);
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.carousel-shell {
  margin-top: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.carousel-track {
  position: relative;
  min-height: 540px;
}

.slide-card {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  border-radius: 28px;
  background: var(--surface-strong);
  border: 1px solid rgba(255, 255, 255, 0.5);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 360ms ease, transform 360ms ease;
  box-shadow: var(--shadow);
}

.slide-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.slide-image {
  background-size: cover;
  background-position: center;
  min-height: 380px;
}

.slide-body {
  padding: 20px;
  display: grid;
  gap: 8px;
}

.slide-body h3,
.card h3,
.schedule-card h3,
.alpha-card h3 {
  margin: 0;
  font-family: var(--font-display);
}

.slide-body p,
.card p,
.schedule-card p,
.alpha-card p,
.copy-panel p,
.copy-panel li,
.values-panel li,
.site-footer p,
.admin-panel p,
.editor-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--section-body-size);
  line-height: 1.7;
}

.quick-nav-title,
.quick-nav > .quick-nav-card > nav > a,
.quick-nav-item > a,
.quick-submenu-link {
  font-size: var(--quick-nav-size);
}

.slide-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 4px;
  color: var(--accent-deep);
  font-weight: 700;
}

.carousel-controls {
  display: grid;
  gap: 10px;
}

.media-showcase {
  display: grid;
  gap: 14px;
  padding: 14px;
  border-radius: 26px;
  background: rgba(255, 252, 246, 0.88);
  border: 1px solid rgba(48, 95, 78, 0.08);
  box-shadow: var(--shadow);
}

.media-showcase-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.media-showcase-tab {
  border: 1px solid rgba(48, 95, 78, 0.12);
  background: rgba(255, 255, 255, 0.82);
  color: var(--green);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 200ms ease, background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.media-showcase-tab:hover,
.media-showcase-tab.active {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #305f4e, #447460);
  color: #fffaf3;
  box-shadow: 0 16px 28px rgba(48, 95, 78, 0.18);
}

.media-showcase-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(48, 95, 78, 0.08);
}

.media-showcase-image {
  width: 100%;
  background-color: #f7f0e3;
}

.media-showcase-image img {
  display: block;
  width: 100%;
  height: auto;
}

.media-showcase-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px;
}

.media-showcase-text {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.media-showcase-copy .eyebrow,
.media-showcase-copy h3,
.media-showcase-copy p {
  margin: 0;
}

.media-showcase-link {
  flex: none;
  padding: 12px 24px;
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
}

.quick-nav {
  position: sticky;
  top: 100px;
  align-self: start;
}

.quick-nav-card,
.copy-panel,
.values-panel,
.scripture-card,
.card,
.schedule-card,
.alpha-card,
.editor-card,
.admin-panel,
.admin-intro {
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.quick-nav-card {
  padding: 20px 18px 18px;
  background: rgba(255, 253, 248, 0.82);
}

.quick-nav nav {
  display: grid;
  gap: 8px;
}

.quick-nav-item {
  position: relative;
}

.quick-nav-item::before {
  content: "";
  position: absolute;
  top: -14px;
  bottom: -14px;
  right: 100%;
  width: 28px;
}

.quick-nav > .quick-nav-card > nav > a,
.quick-nav-item > a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 66px;
  width: 100%;
  padding: 14px 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(245, 242, 236, 0.96), rgba(237, 233, 227, 0.94));
  color: var(--green);
  font-size: 1rem;
  font-weight: 700;
  border: 1px solid rgba(48, 95, 78, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition:
    transform 180ms ease,
    color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.quick-nav > .quick-nav-card > nav > a:hover,
.quick-nav > .quick-nav-card > nav > a:focus-visible,
.quick-nav-item > a:hover,
.quick-nav-item > a:focus-visible,
.quick-nav-item-courses:hover > a {
  transform: none;
  color: #fffaf3;
  background: linear-gradient(135deg, #305f4e, #447460);
  box-shadow: 0 14px 26px rgba(48, 95, 78, 0.22);
  border-color: rgba(48, 95, 78, 0.2);
}

.quick-submenu {
  position: absolute;
  right: calc(100% + 18px);
  left: auto;
  top: 0;
  min-width: 196px;
  padding: 8px;
  display: grid;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-8px);
  transition: opacity 180ms ease, transform 180ms ease;
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.quick-nav-item-donation:hover .quick-submenu,
.quick-nav-item-courses:hover .quick-submenu,
.quick-nav-item-donation:focus-within .quick-submenu,
.quick-nav-item-courses:focus-within .quick-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.quick-submenu-link {
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 14px 18px;
  font-size: 0.96rem;
  border-radius: 18px;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.quick-submenu-link:hover,
.quick-submenu-link:focus-visible {
  transform: translateX(-6px) scale(1.01);
  background: linear-gradient(135deg, #305f4e, #447460);
  color: #fffaf3;
  box-shadow: 0 16px 26px rgba(48, 95, 78, 0.18);
}

.content-section {
  padding: 28px 0;
  scroll-margin-top: 120px;
}

.content-section.muted .copy-panel,
.content-section.muted .card {
  background: rgba(248, 242, 233, 0.9);
}

.content-section.accent .card,
.content-section.accent .copy-panel {
  background: linear-gradient(180deg, rgba(48, 95, 78, 0.9), rgba(32, 72, 58, 0.94));
  color: #f4eee4;
}

.content-section.accent .card p,
.content-section.accent .copy-panel p,
.content-section.accent .card a {
  color: rgba(244, 238, 228, 0.86);
}

#testimony {
  padding: 34px 0 42px;
}

#testimony .section-heading {
  margin-bottom: 18px;
}

#testimony .section-heading h2 {
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(2.2rem, 4vw, 3.35rem);
  line-height: 1.08;
}

#testimony-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.testimony-home-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  gap: 0;
  overflow: hidden;
  min-height: 300px;
  max-height: 420px;
  border: 1px solid rgba(48, 95, 78, 0.14);
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 22px 46px rgba(38, 53, 46, 0.14);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.testimony-home-card:hover {
  transform: translateY(-4px);
  border-color: rgba(48, 95, 78, 0.24);
  box-shadow: 0 28px 58px rgba(38, 53, 46, 0.2);
}

.testimony-home-media {
  min-height: 300px;
  padding: 18px;
  background: rgba(48, 95, 78, 0.08);
}

.testimony-home-media img {
  width: 100%;
  height: 100%;
  min-height: 264px;
  border-radius: 20px;
  object-fit: cover;
}

.testimony-home-body {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 14px;
  min-width: 0;
  padding: clamp(24px, 4vw, 46px);
  color: var(--text);
}

.testimony-home-label {
  margin: 0;
  color: var(--accent-deep);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.testimony-home-body h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.12;
}

.testimony-home-body p:not(.testimony-home-label) {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  font-weight: 700;
  line-height: 1.75;
}

.testimony-home-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 4px;
  border-radius: 999px;
  background: var(--green);
  color: #fffaf1;
  padding: 12px 22px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 26px rgba(48, 95, 78, 0.2);
  transition: transform 180ms ease, background 220ms ease, box-shadow 220ms ease;
}

.testimony-home-cta:hover,
.testimony-home-cta:focus-visible {
  transform: translateY(-2px);
  background: #244d3f;
  color: #fffaf1;
  box-shadow: 0 18px 34px rgba(48, 95, 78, 0.28);
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.section-heading h2 {
  font-size: var(--section-title-size);
}

.alpha-grid,
.card-grid,
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.alpha-card,
.card,
.schedule-card,
.copy-panel,
.values-panel,
.editor-card,
.admin-intro,
.admin-panel {
  padding: 22px;
}

.alpha-card ul,
.values-panel ul {
  padding-left: 18px;
  margin: 10px 0 0;
}

.alpha-page-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}

.alpha-page-copy {
  display: grid;
  gap: 8px;
  align-content: start;
}

.alpha-page-list {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 12px;
  line-height: 1.9;
}

.alpha-media-lines {
  display: grid;
  gap: 4px;
}

.alpha-media-lines p {
  margin: 0;
  line-height: 1.55;
}

.alpha-page-info {
  display: grid;
  gap: 18px;
}

.alpha-page-sections {
  display: grid;
  gap: 8px;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.alpha-sections-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.alpha-page-summary {
  margin: 0;
}

.alpha-page-lines {
  font-size: 1.02rem;
}

.alpha-content-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.alpha-activity-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 16px 30px rgba(50, 42, 32, 0.1);
  align-content: start;
  width: 100%;
  justify-self: center;
}

.alpha-content-card-media {
  aspect-ratio: 16 / 5.8;
  background: rgba(235, 226, 208, 0.72);
}

.alpha-content-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.alpha-content-card-body {
  display: grid;
  gap: 6px;
  padding: 12px 16px 14px;
}

.alpha-activity-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.32rem, 1.7vw, 1.72rem);
}

.alpha-activity-block {
  display: grid;
  gap: 2px;
}

.alpha-activity-block h4 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--green);
  font-size: 1rem;
}

.alpha-activity-block p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  line-height: 1.55;
}

body[data-page="alpha-page"] .alpha-activity-block > *,
body[data-page="alpha-page"] .alpha-media-lines > * {
  margin-block: 0;
}

.alpha-activity-block:nth-of-type(1) p,
.alpha-activity-block:nth-of-type(3) p {
  -webkit-line-clamp: 5;
}

.alpha-activity-block:nth-of-type(2) p {
  -webkit-line-clamp: 6;
}

.alpha-activity-actions {
  margin-top: 4px;
}

.alpha-activity-actions .primary-btn,
.alpha-activity-actions .secondary-btn {
  width: fit-content;
  padding: 10px 18px;
}

body[data-page="activities-page"] {
  background:
    radial-gradient(circle at 18% 10%, rgba(230, 197, 136, 0.22), transparent 28%),
    linear-gradient(180deg, #fff8eb 0%, #fbf3e5 48%, #fffaf2 100%);
}

.activities-page-main {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 28px;
  padding: 18px 0 56px;
}

.activities-page-main::before {
  content: "";
  position: absolute;
  inset: 0 -24px;
  pointer-events: none;
  opacity: 0.06;
  background:
    linear-gradient(118deg, transparent 0 44%, rgba(63, 92, 76, 0.56) 45% 46%, transparent 47% 100%),
    linear-gradient(62deg, transparent 0 48%, rgba(185, 133, 72, 0.46) 49% 50%, transparent 51% 100%);
  background-size: 180px 220px, 220px 190px;
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 86%, transparent);
}

.activities-page-hero,
.activities-page-section {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.activities-page-hero {
  padding-top: 18px;
}

.activities-page-copy {
  display: grid;
  gap: 12px;
  max-width: 560px;
}

.activities-page-copy .section-label {
  margin: 0;
  color: var(--accent-deep);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.activities-page-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--green);
  max-width: 560px;
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1.05;
}

.activities-page-copy p:last-child {
  margin: 0;
  max-width: 560px;
  color: rgba(39, 55, 49, 0.74);
  font-size: 1.05rem;
  line-height: 1.75;
  font-weight: 600;
}

.activities-page-section {
  display: grid;
  gap: 24px;
}

.activities-page-filter {
  display: flex;
  justify-content: flex-start;
  flex-wrap: nowrap;
  align-items: center;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 0;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(54, 84, 70, 0.12);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.activities-page-filter::-webkit-scrollbar {
  display: none;
}

.activities-filter-chip {
  flex: 0 0 auto;
  position: relative;
  border: 0;
  border-radius: 0;
  padding: 7px 1px;
  background: transparent;
  color: rgba(39, 55, 49, 0.68);
  cursor: pointer;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: none;
  transition: color 180ms ease;
}

.activities-filter-chip:hover,
.activities-filter-chip:focus-visible {
  color: var(--green);
}

.activities-filter-chip.active {
  background: transparent;
  color: var(--green);
}

.activities-filter-chip.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--accent-deep);
}

.activities-filter-divider {
  flex: 0 0 auto;
  display: inline-flex;
  width: 1px;
  height: 1em;
  margin: 0 12px;
  background: rgba(39, 55, 49, 0.26);
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.activities-card {
  overflow: hidden;
  display: grid;
  align-content: start;
  min-height: 100%;
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid rgba(54, 84, 70, 0.12);
  border-radius: 28px;
  box-shadow: 0 18px 38px rgba(50, 42, 32, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.activities-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(50, 42, 32, 0.14);
}

.activities-card-media {
  aspect-ratio: 16 / 8.6;
  background: rgba(235, 226, 208, 0.7);
}

.activities-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activities-card-body {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.activities-card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.activities-card-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(219, 185, 126, 0.2);
  color: #835a2b;
  font-size: 0.82rem;
  font-weight: 800;
}

.activities-card h2 {
  margin: 0;
  color: var(--green);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.2;
}

.activities-card p {
  margin: 0;
  color: rgba(39, 55, 49, 0.76);
  line-height: 1.7;
  font-weight: 600;
}

.activities-card-footer {
  display: grid;
  gap: 14px;
  align-items: end;
  margin-top: 4px;
}

.activities-card-footer > span {
  color: rgba(39, 55, 49, 0.62);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.55;
}

.activities-card-action,
.activities-card-closed {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 800;
}

.activities-card-action {
  background: var(--green);
  color: #fffaf0;
  box-shadow: 0 12px 24px rgba(47, 103, 82, 0.18);
}

.activities-card-action:hover,
.activities-card-action:focus-visible {
  color: #fffaf0;
  transform: translateY(-1px);
}

.activities-card-closed {
  background: rgba(54, 84, 70, 0.08);
  color: rgba(39, 55, 49, 0.64);
}

.activities-empty {
  margin: 26px 0 0;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.78);
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.registration-deadline {
  color: var(--muted);
  font-size: 0.92em;
  font-weight: 800;
}

.registration-closed {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  background: rgba(97, 103, 94, 0.14);
  color: var(--muted);
  padding: 10px 18px;
  font-weight: 900;
}

.alpha-side-btn {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
}

.card {
  display: grid;
  gap: 16px;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 260ms ease, border-color 260ms ease;
}

.card:hover,
.alpha-card:hover,
.schedule-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(50, 42, 32, 0.14);
  border-color: rgba(48, 95, 78, 0.16);
}

.card-media {
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
}

.card a,
.alpha-card a,
.schedule-card a {
  color: var(--accent-deep);
  font-weight: 700;
}

.hero-cta a,
.slide-link,
.card a,
.alpha-card a,
.schedule-card a,
.footer-links a {
  position: relative;
  transition:
    color 220ms ease,
    transform 180ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.slide-link:hover,
.slide-link:focus-visible,
.card a:hover,
.card a:focus-visible,
.alpha-card a:hover,
.alpha-card a:focus-visible,
.schedule-card a:hover,
.schedule-card a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--green);
  transform: translateX(3px);
}

.about-grid,
.prayer-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.schedule-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#meetings {
  width: min(calc(100vw - 32px), 1880px);
  margin-left: calc(50% - min(calc(100vw - 32px), 1880px) / 2);
  margin-right: calc(50% - min(calc(100vw - 32px), 1880px) / 2);
  padding-top: 6px;
  padding-bottom: 6px;
}

.meetings-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.meetings-heading-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.9);
  color: #8a4a22;
  border: 1px solid rgba(138, 74, 34, 0.12);
  box-shadow: 0 14px 30px rgba(95, 69, 42, 0.08);
}

.meetings-heading-mark svg,
.meeting-time-badge svg,
.meeting-place svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.meetings-heading-mark svg {
  width: 25px;
  height: 25px;
}

.meetings-heading-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.meetings-heading-copy h2 {
  margin: 0;
  color: #74401f;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.55vw, 1.9rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.meetings-heading-copy p {
  margin: 0;
  color: rgba(69, 78, 70, 0.78);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
}

#meetings .schedule-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.15vw, 22px);
  align-items: stretch;
}

.meeting-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px;
  gap: 12px;
  min-height: 0;
  height: clamp(244px, 16.5vw, 272px);
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(29, 42, 36, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 20px rgba(50, 42, 32, 0.055);
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.meeting-card:hover,
.meeting-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(48, 95, 78, 0.18);
  box-shadow: 0 18px 36px rgba(50, 42, 32, 0.11);
}

.meeting-card-content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: start;
  gap: 10px;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  padding-bottom: 0;
}

.meeting-time-badge {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  max-width: none;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #047857;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.34;
  white-space: normal;
}

.meeting-time-badge svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 1px;
}

.meeting-time-lines {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.meeting-time-note {
  color: rgba(4, 120, 87, 0.78);
  font-size: 0.82rem;
  line-height: 1.3;
}

.meeting-card-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
}

.meeting-card h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  color: #16372b;
  font-size: clamp(1.1rem, 1.1vw, 1.26rem);
  font-weight: 650;
  line-height: 1.22;
  letter-spacing: 0;
}

.meeting-place {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(83, 89, 84, 0.82);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.3;
}

.meeting-place svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.meeting-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  max-width: none;
  color: rgba(68, 76, 69, 0.86);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
}

.meeting-card-media {
  position: relative;
  z-index: 1;
  align-self: start;
  justify-self: end;
  width: 88px;
  height: 88px;
  min-height: 0;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(235, 226, 208, 0.72);
}

.meeting-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.26), transparent 48%);
  pointer-events: none;
}

.meeting-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.meetings-page-main {
  padding: 32px 0 54px;
}

.meetings-page-hero {
  display: grid;
  gap: 14px;
  padding: clamp(34px, 5vw, 70px);
  border: 1px solid rgba(40, 65, 60, 0.1);
  border-radius: 30px;
  background:
    radial-gradient(circle at 14% 12%, rgba(215, 184, 121, 0.2), transparent 32%),
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(247, 240, 229, 0.88));
  box-shadow: 0 18px 48px rgba(35, 42, 38, 0.08);
}

.meetings-page-hero h1,
.meetings-page-hero p {
  margin: 0;
}

.meetings-page-hero h1 {
  max-width: 760px;
  color: var(--green);
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.7vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.meetings-page-hero > p:not(.section-label) {
  max-width: 720px;
  color: rgba(31, 46, 52, 0.72);
  font-size: 1.08rem;
  font-weight: 650;
  line-height: 1.8;
}

.meetings-page-section {
  margin-top: 24px;
}

.meetings-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.meeting-page-card {
  display: grid;
  grid-template-columns: minmax(180px, 34%) minmax(0, 1fr);
  gap: 20px;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(29, 42, 36, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(50, 42, 32, 0.07);
}

.meeting-page-card-media {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(235, 226, 208, 0.72);
}

.meeting-page-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.meeting-page-card-media span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.9);
  color: #74401f;
  font-size: 0.82rem;
  font-weight: 850;
}

.meeting-page-card-body {
  display: grid;
  align-content: center;
  gap: 10px;
  min-width: 0;
}

.meeting-page-time {
  display: grid;
  gap: 2px;
  color: #047857;
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.35;
}

.meeting-page-time small {
  color: rgba(4, 120, 87, 0.74);
  font-size: 0.88rem;
  font-weight: 650;
}

.meeting-page-card h2,
.meeting-page-place,
.meeting-page-description {
  margin: 0;
}

.meeting-page-card h2 {
  color: #16372b;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.18;
}

.meeting-page-place {
  color: rgba(29, 42, 36, 0.75);
  font-size: 0.98rem;
  font-weight: 750;
}

.meeting-page-description {
  color: rgba(68, 76, 69, 0.86);
  font-size: 0.98rem;
  font-weight: 550;
  line-height: 1.7;
}

.schedule-card .pill {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(191, 91, 44, 0.1);
  color: var(--accent-deep);
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.scripture-banner {
  width: min(100%, var(--feature-width));
  margin: 0 auto;
  padding: 0;
}

.feature-switcher {
  width: min(100%, var(--feature-width));
  margin: 0 auto;
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 32px;
  isolation: isolate;
}

.feature-switcher-tabs {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 20;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0;
}

.feature-switcher-tab {
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: #2f6b57;
  padding: 12px 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-weight: 800;
  font-size: clamp(0.95rem, 1vw, 1rem);
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(52, 47, 37, 0.14);
  transition: transform 200ms ease, background 200ms ease, color 200ms ease, box-shadow 200ms ease;
}

.feature-switcher-tab:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 26px rgba(52, 47, 37, 0.16);
}

.feature-switcher-tab.active {
  background: #2f6b57;
  color: #fff;
  box-shadow: 0 16px 30px rgba(47, 107, 87, 0.28);
}

.feature-switcher-tab.active:hover {
  background: #2f6b57;
}

.feature-switcher-panel {
  display: none;
}

.feature-switcher-panel.active {
  display: block;
}

.feature-carousel-arrow,
.feature-carousel-indicators,
.mission-open-hint,
.scripture-poster-mobile,
.mission-vision-poster-mobile {
  display: none;
}

.scripture-card {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 32px;
  background: #e0bb63;
  position: relative;
}

.scripture-hidden-copy,
.mission-vision-toggle {
  display: none;
}

.scripture-card::before,
.mission-vision-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent 34%, transparent 68%, rgba(0, 0, 0, 0.2));
}

.scripture-poster {
  width: 100%;
  display: block;
  border-radius: 0;
  border: 0;
  box-shadow: 0 26px 44px rgba(90, 71, 33, 0.16);
}

.scripture-content {
  display: grid;
  gap: 10px;
  justify-items: start;
  max-width: min(700px, 58%);
  padding: 0;
  background: transparent;
  border-radius: 0;
  backdrop-filter: none;
  align-self: end;
  margin: 0 0 14px 4px;
}

.scripture-card blockquote {
  margin: 0;
  max-width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: clamp(2rem, 3.1vw, 3.2rem);
  line-height: 1.32;
  font-family: "Kokonor", "BiauKai", "DFKai-SB", "STKaiti", "KaiTi TC", "KaiTi", serif;
  font-weight: 700;
  letter-spacing: 0.015em;
  color: rgba(12, 10, 8, 0.98);
  text-shadow: 0 1px 1px rgba(255, 248, 233, 0.14);
}

.scripture-card .section-label,
.scripture-card p {
  color: rgba(21, 18, 13, 0.92);
}

.scripture-card .section-label {
  font-family: "Kokonor", "BiauKai", "DFKai-SB", "STKaiti", "KaiTi TC", "KaiTi", serif;
  font-size: 0.82rem;
  margin-bottom: 0;
  opacity: 0.82;
}

#scripture-reference {
  font-family: "Kokonor", "BiauKai", "DFKai-SB", "STKaiti", "KaiTi TC", "KaiTi", serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: rgba(10, 8, 7, 0.98);
  text-shadow: 0 1px 1px rgba(255, 248, 233, 0.12);
  justify-self: end;
  margin-top: 4px;
}

.mission-vision-section {
  width: min(100%, var(--feature-width));
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: hidden;
  border-radius: 32px;
  position: relative;
  aspect-ratio: 1280 / 560;
  min-height: 520px;
}

.mission-vision-poster {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: 1px solid rgba(78, 70, 52, 0.14);
  box-shadow: 0 26px 50px rgba(62, 54, 42, 0.12);
  display: block;
  object-fit: cover;
  filter: saturate(0.86) brightness(1.06) contrast(0.96);
  opacity: 0.88;
  transform: scale(1.02);
  transform-origin: center center;
}

.mission-vision-copy-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  padding: clamp(14px, 2vw, 24px) 9.2% clamp(12px, 1.6vw, 22px);
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.32), rgba(255, 250, 241, 0.1)),
    linear-gradient(90deg, rgba(255, 250, 241, 0.18), rgba(255, 250, 241, 0.04));
}

.mission-vision-copy-wrap h2 {
  margin: 0;
  font-family: "Kokonor", "BiauKai", "DFKai-SB", "STKaiti", "KaiTi TC", "KaiTi", serif;
  font-size: clamp(2rem, 3vw, 3.3rem);
  line-height: 1.05;
  font-weight: 900;
  color: rgba(18, 17, 15, 0.96);
  letter-spacing: 0.04em;
  text-shadow: 0 2px 2px rgba(255, 248, 235, 0.26);
  text-align: center;
}

.mission-vision-copy-wrap h2 span,
.mission-vision-copy-wrap h2 strong {
  color: var(--green);
}

.mission-vision-copy {
  width: 100%;
  margin: 0 auto;
  display: grid;
  gap: clamp(7px, 0.85vw, 13px);
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
}

.mission-vision-block {
  display: block;
  max-width: 100%;
}

.mission-vision-block h3,
.mission-vision-belief > p:first-child {
  margin: 0;
  font-family: "Kokonor", "BiauKai", "DFKai-SB", "STKaiti", "KaiTi TC", "KaiTi", serif;
  font-size: clamp(1.65rem, 2.65vw, 3.1rem);
  color: rgba(15, 14, 12, 0.96);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 2px rgba(255, 249, 239, 0.26);
}

.mission-vision-block:not(.mission-vision-belief) {
  margin-left: 0;
}

.mission-vision-block:not(.mission-vision-belief) h3 {
  display: inline;
  margin-right: 0.22em;
}

.mission-vision-block:not(.mission-vision-belief) h3::after {
  content: "：";
}

.mission-vision-block:not(.mission-vision-belief) p:first-of-type {
  display: inline;
}

.mission-vision-block:not(.mission-vision-belief) p:first-of-type::after {
  content: "\A";
  white-space: pre;
}

.mission-vision-block p {
  margin: 0;
  line-height: 1.32;
  font-size: clamp(1.12rem, 1.82vw, 2.2rem);
  color: rgba(12, 10, 8, 0.98);
  font-family: "Kokonor", "BiauKai", "DFKai-SB", "STKaiti", "KaiTi TC", "KaiTi", serif;
  font-weight: 900;
  letter-spacing: 0.045em;
  text-shadow:
    0 1px 0 rgba(255, 250, 241, 0.72),
    0 2px 3px rgba(255, 250, 241, 0.38);
}

.mission-vision-belief {
  padding-top: clamp(6px, 1.15vw, 18px);
  text-align: center;
}

.mission-vision-belief > p:first-child {
  margin-bottom: clamp(6px, 0.9vw, 12px);
  font-size: clamp(1.65rem, 2.55vw, 3rem);
  line-height: 1.1;
}

.mission-vision-belief-lines {
  display: grid;
  gap: 2px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  justify-items: start;
}

.mission-vision-belief-lines p {
  text-align: left;
  font-size: clamp(1.18rem, 1.82vw, 2.15rem);
  line-height: 1.22;
}

.feature-more-button {
  display: none;
}

.mobile-harvest-title,
.mobile-harvest-verse,
.mobile-harvest-reference,
.mobile-mission-summary {
  display: none;
}

.feature-dialog {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  pointer-events: none;
}

.feature-dialog[hidden] {
  display: none;
}

.feature-dialog.is-open {
  pointer-events: auto;
}

.feature-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 28, 24, 0.42);
  opacity: 0;
  transition: opacity 220ms ease;
}

.feature-dialog.is-open .feature-dialog-backdrop {
  opacity: 1;
}

.feature-dialog-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  display: grid;
  gap: 18px;
  overflow: auto;
  padding: 26px;
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.98);
  border: 1px solid rgba(48, 95, 78, 0.12);
  box-shadow: 0 24px 60px rgba(20, 28, 24, 0.22);
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition: opacity 220ms ease, transform 220ms ease;
}

.feature-dialog.is-open .feature-dialog-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.feature-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(48, 95, 78, 0.12);
}

.feature-dialog-header h2 {
  margin: 0;
  color: var(--green);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.2;
}

.feature-dialog-close {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid rgba(48, 95, 78, 0.12);
  border-radius: 999px;
  background: rgba(48, 95, 78, 0.06);
  color: var(--green);
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
}

.feature-dialog-content {
  display: grid;
  gap: 14px;
}

.feature-dialog-image {
  display: none;
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 18px;
}

.feature-dialog-section {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(48, 95, 78, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
}

.feature-dialog-section h3 {
  margin: 0;
  color: var(--green);
  font-size: 1.08rem;
}

.feature-dialog-section p,
.feature-dialog-section blockquote {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.feature-dialog-section blockquote {
  color: var(--text);
  font-weight: 700;
}

.feature-dialog-reference {
  color: var(--accent-deep) !important;
  font-weight: 800;
}

body.feature-dialog-open {
  overflow: hidden;
}

.section-focus {
  animation: sectionSpotlight 1100ms ease;
}

@keyframes sectionSpotlight {
  0% {
    transform: scale(0.985);
    box-shadow: 0 0 0 rgba(191, 91, 44, 0);
  }
  35% {
    transform: scale(1);
    box-shadow: 0 24px 48px rgba(191, 91, 44, 0.18);
  }
  100% {
    transform: scale(1);
    box-shadow: none;
  }
}

@keyframes featureCarouselFade {
  from {
    opacity: 0;
    transform: translateX(8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.site-footer {
  margin-top: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 0;
}

.footer-showcase {
  width: 100%;
  margin: 34px 0 0;
  padding: 0;
  background: #3f4843;
  color: rgba(255, 252, 245, 0.9);
  border: 0;
  border-top: 1px solid rgba(255, 250, 241, 0.16);
  border-radius: 0;
  box-shadow: none;
}

.footer-showcase-inner {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 26px 42px 14px;
  display: grid;
  gap: 20px;
}

.footer-showcase-top {
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: flex-start;
}

.footer-showcase-bottom {
  display: flex;
  align-items: center;
  min-height: 32px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 250, 241, 0.12);
}

.footer-brand-block {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.footer-brand-copy {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.footer-brand-logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 12px;
  background: rgba(255, 251, 245, 0.1);
  box-shadow: none;
  margin-top: 2px;
}

.footer-brand-block strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(1.15rem, 1.5vw, 1.42rem);
  line-height: 1.25;
  color: #fff8ef;
}

.footer-brand-block p,
.footer-copyright {
  margin: 0;
  color: rgba(238, 234, 224, 0.8);
  font-size: min(var(--footer-size), 0.95rem);
  line-height: 1.65;
}

.footer-copyright {
  color: rgba(238, 234, 224, 0.7);
  font-size: 0.86rem;
}

.footer-copyright-link {
  display: inline-block;
  cursor: default;
  text-decoration: none;
}

.footer-copyright-link:hover,
.footer-copyright-link:focus-visible {
  color: rgba(238, 234, 224, 0.7);
  text-decoration: none;
  outline: none;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 250, 241, 0.08);
  color: rgba(255, 250, 241, 0.86);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0;
  border: 1px solid rgba(255, 250, 241, 0.12);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.footer-social:hover,
.footer-social:focus-visible {
  transform: translateY(-2px);
  background: rgba(214, 163, 94, 0.16);
  color: #f3d69d;
  border-color: rgba(243, 214, 157, 0.38);
  box-shadow: none;
}

.footer-nav-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: clamp(24px, 4vw, 44px);
}

.footer-nav-column {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-column-title {
  color: rgba(255, 250, 241, 0.92);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.footer-nav-column a,
.footer-showcase .footer-links a {
  width: fit-content;
  color: rgba(235, 230, 218, 0.72);
  font-size: 0.96rem;
  line-height: 1.45;
}

.footer-nav-column a:hover,
.footer-nav-column a:focus-visible,
.footer-showcase .footer-links a:hover,
.footer-showcase .footer-links a:focus-visible {
  color: #f3d69d;
}

.footer-showcase .footer-links {
  gap: 18px;
}

.footer-showcase .footer-links a::after {
  bottom: -2px;
  opacity: 0.28;
}

.admin-main {
  display: grid;
  gap: 20px;
  padding-top: 24px;
}

.admin-login-view {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.92), rgba(235, 244, 238, 0.9)),
    url("/images/slide-courses.svg") center / cover no-repeat;
}

.admin-login-panel {
  width: min(100%, 420px);
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: var(--shadow);
}

.admin-login-panel h1 {
  margin: 4px 0 0;
  color: var(--green);
  font-size: 32px;
}

.admin-login-status {
  min-height: 24px;
  margin: 0;
  color: #9a3412;
  font-weight: 700;
}

.admin-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

#admin-user-label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.admin-tabs-panel {
  display: grid;
  gap: 18px;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.88);
  color: var(--green);
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 180ms ease, background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.admin-tab:hover,
.admin-tab.active {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #305f4e, #447460);
  color: #fffaf3;
  box-shadow: 0 14px 26px rgba(48, 95, 78, 0.18);
}

.admin-workspace {
  padding: 24px;
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.admin-section-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.admin-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

body.alpha-admin-mode .admin-section-toolbar {
  justify-content: flex-start;
  align-items: end;
  gap: 22px;
  margin-bottom: 14px;
}

body.alpha-admin-mode .admin-toolbar-actions {
  justify-content: flex-start;
}

body.alpha-admin-mode .admin-panel {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.alpha-admin-mode .admin-panel > h2 {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 2vw, 2.15rem);
}

body.alpha-admin-mode .admin-panel > .admin-stack {
  gap: 12px;
}

.workspace-picker-control {
  min-width: 240px;
  padding: 0;
}

.workspace-picker-control label {
  gap: 6px;
  font-size: 0.94rem;
}

.prayer-picker-control {
  min-width: min(560px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 12px;
}

.prayer-picker-control label span {
  display: block;
  margin-bottom: 6px;
}

.admin-section-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
}

.admin-section-layout.single-mode {
  grid-template-columns: 1fr;
}

.admin-collection {
  padding: 20px;
  background: rgba(247, 242, 235, 0.88);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.collection-header h3,
.admin-subpanel h3 {
  margin: 0;
  font-family: var(--font-display);
}

.collection-header p {
  margin: 8px 0 0;
}

.collection-grid {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.collection-card {
  display: grid;
  gap: 6px;
  text-align: left;
  border: 1px solid rgba(48, 95, 78, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  padding: 16px;
  cursor: pointer;
  transition: transform 180ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.collection-card strong,
.collection-card span {
  pointer-events: none;
}

.collection-card span {
  color: var(--muted);
  line-height: 1.6;
}

.collection-card:hover,
.collection-card.active {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(48, 95, 78, 0.96), rgba(68, 116, 96, 0.92));
  border-color: transparent;
  box-shadow: 0 16px 28px rgba(48, 95, 78, 0.16);
}

.collection-card:hover strong,
.collection-card.active strong,
.collection-card:hover span,
.collection-card.active span {
  color: #fffaf3;
}

.admin-detail {
  min-width: 0;
}

.admin-stack {
  display: grid;
  gap: 14px;
}

.admin-inline-group {
  display: grid;
  gap: 14px;
}

.admin-inline-group-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.admin-inline-group-header h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.42rem;
}

.admin-inline-group-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.alpha-compact-stack {
  display: grid;
  gap: 12px;
}

.alpha-tag-toolbar {
  overflow: hidden;
  border: 1px solid rgba(48, 95, 78, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
}

.alpha-tag-toolbar summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 10px 14px;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.alpha-tag-toolbar summary::-webkit-details-marker {
  display: none;
}

.alpha-tag-toolbar strong {
  color: var(--green);
}

.alpha-tag-toolbar b {
  color: var(--green);
  font-size: 1rem;
}

.alpha-tag-fields {
  display: grid;
  gap: 12px;
  padding: 0 14px 14px;
  border-top: 1px solid rgba(48, 95, 78, 0.1);
}

.alpha-activity-manager {
  overflow: hidden;
  border: 1px solid rgba(48, 95, 78, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
}

.alpha-activity-table-head,
.alpha-activity-row {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(170px, 1fr) 110px 316px;
  align-items: center;
  gap: 12px;
}

.alpha-activity-table-head {
  padding: 11px 14px;
  border-bottom: 1px solid rgba(48, 95, 78, 0.12);
  background: rgba(48, 95, 78, 0.05);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.compact-alpha-grid {
  margin-top: -2px;
}

.activity-dashboard-item {
  background: transparent;
  transition: background 180ms ease;
}

.activity-dashboard-item:hover {
  background: rgba(48, 95, 78, 0.035);
}

.activity-dashboard-summary {
  display: block;
  min-height: 0;
  padding: 0;
}

.activity-summary-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(130px, 0.34fr) minmax(250px, auto);
  gap: 12px;
  align-items: center;
  min-height: 38px;
}

.alpha-activity-row {
  border-bottom: 1px solid rgba(48, 95, 78, 0.1);
  grid-template-columns: minmax(160px, 1fr) minmax(170px, 1fr) 110px 316px;
  min-height: 0;
  padding: 12px 14px;
}

.alpha-activity-row:last-child {
  border-bottom: 0;
}

.alpha-activity-name,
.alpha-activity-en {
  overflow: hidden;
  min-width: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.alpha-activity-en {
  color: var(--muted);
  font-weight: 800;
}

.activity-summary-main {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.activity-summary-label {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.activity-summary-main strong {
  overflow: hidden;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-summary-main small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-summary-status {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.alpha-activity-status {
  justify-content: flex-start;
}

.activity-status-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 3px 8px;
  font-style: normal;
  font-size: 0.74rem;
  font-weight: 900;
  white-space: nowrap;
}

.activity-status-badge.is-enabled {
  background: rgba(48, 95, 78, 0.12);
  color: var(--green);
}

.activity-status-badge.is-disabled {
  background: rgba(97, 103, 94, 0.12);
  color: var(--muted);
}

.activity-summary-actions {
  display: grid;
  grid-template-columns: repeat(4, auto) 28px;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}

.alpha-activity-actions {
  display: flex;
  justify-content: flex-end;
  overflow-x: auto;
}

.activity-summary-actions .compact-btn {
  min-height: auto;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.84rem;
  line-height: 1.15;
}

.activity-edit-btn {
  background: var(--green);
  color: #fffaf1;
}

.alpha-expand-label {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  border-radius: 8px;
  background: rgba(48, 95, 78, 0.08);
  color: var(--green);
  padding: 6px 12px;
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.15;
  white-space: nowrap;
}

.alpha-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(26, 36, 31, 0.16);
}

.alpha-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 41;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(640px, calc(100vw - 24px));
  height: 100vh;
  overflow: hidden;
  border-left: 1px solid rgba(48, 95, 78, 0.16);
  background: rgba(255, 253, 248, 0.98);
  box-shadow: -24px 0 54px rgba(31, 49, 41, 0.2);
}

.alpha-drawer-header,
.alpha-drawer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(48, 95, 78, 0.12);
}

.alpha-drawer-header p {
  margin: 0 0 4px;
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 900;
}

.alpha-drawer-header h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 900;
}

.alpha-drawer-body {
  min-height: 0;
  overflow: auto;
  padding: 18px 22px 24px;
}

.alpha-drawer-footer {
  position: sticky;
  bottom: 0;
  z-index: 1;
  border-top: 1px solid rgba(48, 95, 78, 0.12);
  border-bottom: 0;
  background: rgba(255, 253, 248, 0.96);
  justify-content: flex-end;
}

.alpha-drawer-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(48, 95, 78, 0.12);
}

.alpha-drawer-tab {
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--green);
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
}

.alpha-drawer-tab:hover,
.alpha-drawer-tab.active {
  background: rgba(48, 95, 78, 0.1);
}

.alpha-drawer-tab.active {
  color: #fffaf1;
  background: var(--green);
}

.alpha-drawer-panel {
  padding-top: 16px;
}

.alpha-drawer-section,
.alpha-form-settings {
  display: grid;
  gap: 14px;
}

.alpha-drawer-section h3,
.alpha-form-settings h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 900;
}

.alpha-drawer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.alpha-drawer-section label,
.alpha-form-settings label {
  gap: 6px;
  font-size: 0.9rem;
}

.alpha-drawer-section input,
.alpha-drawer-section select,
.alpha-drawer-section textarea,
.alpha-form-settings input,
.alpha-form-settings textarea {
  border-radius: 12px;
  padding: 9px 11px;
  font-size: 0.94rem;
}

.alpha-drawer-section textarea,
.alpha-form-settings textarea {
  min-height: 100px;
  max-height: 220px;
  overflow: auto;
  line-height: 1.6;
}

.alpha-registration-toggle {
  display: inline-flex;
  width: fit-content;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  color: var(--green);
  white-space: nowrap;
}

.alpha-registration-toggle input {
  width: auto;
}

.admin-lang-tabs {
  display: inline-flex;
  width: fit-content;
  padding: 4px;
  gap: 4px;
  border-radius: 999px;
  background: rgba(48, 95, 78, 0.08);
}

.admin-lang-tab {
  border: 0;
  border-radius: 999px;
  padding: 7px 14px;
  color: var(--green);
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 900;
  cursor: pointer;
}

.admin-lang-tab.active {
  color: #fffaf1;
  background: var(--green);
}

.admin-lang-panel {
  display: none;
  gap: 8px;
}

.admin-lang-panel.active {
  display: grid;
}

.compact-activity-editor label,
.compact-action-editor label {
  font-size: 0.9rem;
}

.compact-activity-editor input,
.compact-activity-editor select,
.compact-activity-editor textarea,
.compact-action-editor input,
.compact-action-editor select,
.compact-action-editor textarea {
  padding: 9px 11px;
  border-radius: 12px;
}

.compact-activity-editor textarea,
.compact-action-editor textarea {
  line-height: 1.55;
}

.compact-action-editor {
  padding: 12px;
}

body.courses-admin-mode .admin-workspace {
  padding: 24px;
}

.courses-admin-panel {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.courses-admin-stack {
  display: grid;
  gap: 12px;
}

.course-tag-toolbar {
  border-bottom: 1px solid rgba(48, 95, 78, 0.12);
}

.course-tag-toolbar:not(details) {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 0 0 12px;
  color: var(--green);
}

.course-tag-toolbar:not(details) strong {
  font-size: 1.02rem;
  font-weight: 900;
}

.course-tag-toolbar:not(details) span {
  color: rgba(24, 49, 39, 0.68);
  font-size: 0.92rem;
  font-weight: 700;
}

.course-tag-toolbar summary {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: 40px;
  padding: 0 0 10px;
  color: var(--green);
  font-size: 1.02rem;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.course-tag-toolbar summary::-webkit-details-marker,
.course-activity-summary::-webkit-details-marker {
  display: none;
}

.course-tag-toolbar summary b {
  font-size: 0.82rem;
  transition: transform 180ms ease;
}

.course-tag-toolbar[open] summary b {
  transform: rotate(180deg);
}

.course-tag-fields {
  display: grid;
  gap: 12px;
  padding: 0 0 14px;
}

.course-tag-fields .form-grid {
  gap: 12px;
}

.course-tag-fields label {
  gap: 6px;
  font-size: 0.88rem;
}

.course-tag-fields input {
  min-height: 38px;
  border-radius: 12px;
  padding: 8px 11px;
  font-size: 0.92rem;
}

.course-activity-table {
  display: grid;
  border-top: 1px solid rgba(48, 95, 78, 0.12);
}

.course-activity-head,
.course-activity-summary {
  display: grid;
  grid-template-columns: minmax(160px, 1.1fr) minmax(180px, 1.1fr) minmax(96px, 0.55fr) minmax(320px, auto);
  gap: 12px;
  align-items: center;
}

.course-activity-head {
  min-height: 40px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0;
  border-bottom: 1px solid rgba(48, 95, 78, 0.12);
}

.course-activity-row {
  border-bottom: 1px solid rgba(48, 95, 78, 0.12);
}

.course-activity-summary {
  min-height: 52px;
  padding: 7px 0;
  cursor: pointer;
  list-style: none;
}

.course-activity-row:hover {
  background: rgba(48, 95, 78, 0.035);
}

.course-cell {
  min-width: 0;
}

.course-cell-title,
.course-cell-en {
  overflow: hidden;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 850;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.course-cell-en {
  color: var(--muted);
  font-weight: 700;
}

.course-cell-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}

.course-row-action {
  min-height: auto;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.95rem;
  line-height: 1.15;
  box-shadow: none;
  white-space: nowrap;
}

.course-row-action:hover {
  transform: none;
}

.course-activity-body {
  padding: 0 0 14px;
}

.course-row-editor {
  padding: 10px 0 0;
}

.course-row-editor .activity-editor-section {
  padding: 10px 0;
}

.course-row-editor .admin-accordion {
  border-radius: 12px;
  background: rgba(247, 242, 235, 0.42);
}

.course-row-editor .admin-accordion-summary {
  padding: 10px 12px;
}

.course-row-editor .admin-accordion-body {
  padding: 0 12px 12px;
}

body.courses-admin-mode .admin-section-toolbar {
  align-items: end;
  gap: 14px;
  margin-bottom: 12px;
}

body.courses-admin-mode .admin-toolbar-actions {
  gap: 8px;
}

body.courses-admin-mode #workspace-add,
body.courses-admin-mode #workspace-add-tag {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.88rem;
}

body.courses-admin-mode #workspace-picker select {
  min-height: 38px;
  border-radius: 12px;
  padding: 8px 11px;
  font-size: 0.92rem;
}

.courses-cms {
  display: grid;
  gap: 14px;
}

.courses-cms-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  min-height: 520px;
}

.courses-cms-sidebar {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 12px;
  border-right: 1px solid rgba(48, 95, 78, 0.12);
  padding-right: 14px;
}

.courses-cms-list {
  display: grid;
  align-content: start;
}

.courses-cms-list-item {
  display: grid;
  gap: 4px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(48, 95, 78, 0.1);
  border-radius: 0;
  background: transparent;
  padding: 12px 14px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.courses-cms-list-item:hover {
  background: rgba(97, 103, 94, 0.1);
}

.courses-cms-list-item.active {
  background: var(--green);
  color: #fffaf1;
}

.courses-cms-list-item strong,
.courses-cms-list-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.courses-cms-list-item strong {
  color: inherit;
  font-size: 1rem;
  line-height: 1.35;
}

.courses-cms-list-item span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.courses-cms-list-item em {
  overflow: hidden;
  color: rgba(39, 55, 49, 0.58);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.courses-cms-list-item.active span {
  color: rgba(255, 250, 241, 0.72);
}

.courses-cms-list-item.active em {
  color: rgba(255, 250, 241, 0.62);
}

.courses-cms-sidebar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(48, 95, 78, 0.12);
}

.courses-cms-sidebar-actions .compact-btn,
.course-delete-tag-btn {
  min-width: 0;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.15;
}

.courses-cms-editor {
  min-width: 0;
}

.course-editor-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(48, 95, 78, 0.12);
}

.course-editor-tab {
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--green);
  padding: 8px 12px;
  font-size: 0.92rem;
  font-weight: 900;
  cursor: pointer;
}

.course-editor-tab:hover,
.course-editor-tab.active {
  background: rgba(48, 95, 78, 0.1);
}

.course-editor-tab.active {
  color: #fffaf1;
  background: var(--green);
}

.course-editor-panel {
  padding: 16px 0 74px;
}

.course-editor-section {
  display: grid;
  gap: 14px;
}

.course-editor-section h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 900;
}

.course-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.course-editor-fieldset {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(48, 95, 78, 0.12);
  border-radius: 16px;
  background: rgba(247, 242, 235, 0.42);
}

.course-editor-fieldset h4 {
  margin: 0;
  color: var(--green);
  font-size: 0.92rem;
}

.course-tag-select {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.course-tag-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  border: 1px solid rgba(48, 95, 78, 0.14);
  border-radius: 999px;
  padding: 6px 11px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 850;
}

.course-tag-option input {
  width: 15px;
  height: 15px;
  accent-color: var(--green);
}

.course-editor-section label,
.course-form-settings label {
  gap: 6px;
  font-size: 0.9rem;
}

.course-editor-section input,
.course-editor-section select,
.course-editor-section textarea,
.course-form-settings input,
.course-form-settings textarea {
  border-radius: 12px;
  padding: 9px 11px;
  font-size: 0.94rem;
}

.course-editor-section textarea,
.course-form-settings textarea {
  min-height: 120px;
  max-height: 240px;
  overflow: auto;
  line-height: 1.6;
}

.course-registration-toggle {
  display: inline-flex;
  width: fit-content;
  grid-template-columns: auto 1fr;
  align-items: center;
  align-self: end;
  gap: 8px;
  color: var(--green);
  white-space: nowrap;
}

.course-registration-toggle input {
  width: auto;
}

.course-registration-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-weight: 850;
}

.course-form-settings {
  display: grid;
  gap: 12px;
  border-top: 1px solid rgba(48, 95, 78, 0.12);
  padding-top: 12px;
}

.course-form-settings h4 {
  margin: 0;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 900;
}

.course-form-settings p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.5;
}

.course-form-settings .admin-lang-tabs {
  margin-top: 4px;
}

.courses-save-bar {
  position: sticky;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  padding-top: 12px;
  border-top: 1px solid rgba(48, 95, 78, 0.12);
  background: rgba(255, 253, 248, 0.96);
}

.courses-save-bar .primary-btn {
  min-height: 38px;
  border-radius: 12px;
  padding: 8px 18px;
}

.courses-cms-empty {
  color: var(--muted);
  line-height: 1.65;
}

.admin-accordion {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(247, 242, 235, 0.88);
  overflow: hidden;
}

.admin-accordion-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
}

.admin-accordion-summary::-webkit-details-marker {
  display: none;
}

.admin-accordion-summary strong {
  display: block;
  font-family: var(--font-display);
}

.admin-accordion-summary span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.admin-accordion-arrow {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--green);
  font-size: 1.35rem;
  line-height: 1;
  transform: rotate(0deg);
  transform-origin: center;
  transition:
    color 180ms ease,
    transform 200ms ease;
  flex: none;
  margin-right: 0;
}

.admin-accordion-arrow::before {
  content: "▾";
  display: block;
  line-height: 1;
}

.admin-accordion-summary[aria-expanded="true"] .admin-accordion-arrow {
  transform: rotate(180deg);
}

.alpha-activity-manager .activity-dashboard-summary {
  display: block;
  padding: 0;
}

.alpha-activity-manager .alpha-activity-row {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(170px, 1fr) 110px 316px;
  width: 100%;
  box-sizing: border-box;
}

.alpha-activity-manager .admin-accordion-summary span,
.alpha-activity-manager .admin-accordion-summary strong {
  margin-top: 0;
  font-family: var(--font-sans);
}

.alpha-activity-manager .alpha-activity-en {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.alpha-activity-manager .alpha-activity-status {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.admin-accordion-body {
  padding: 0 20px 20px;
  border-top: 1px solid rgba(48, 95, 78, 0.08);
}

.image-upload-control {
  display: grid;
  gap: 10px;
}

.image-upload-actions-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.image-upload-preview img {
  width: 100%;
  max-width: 220px;
  border-radius: 18px;
  border: 1px solid rgba(48, 95, 78, 0.12);
  box-shadow: 0 10px 20px rgba(48, 95, 78, 0.08);
}

.admin-dialog {
  width: min(92vw, 420px);
  border: 1px solid rgba(48, 95, 78, 0.12);
  border-radius: 28px;
  padding: 0;
  background: rgba(255, 252, 246, 0.98);
  box-shadow: 0 30px 60px rgba(40, 36, 29, 0.18);
}

.admin-dialog::backdrop {
  background: rgba(29, 42, 36, 0.28);
}

.admin-dialog-form {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.admin-dialog-form h3 {
  margin: 0;
  font-family: var(--font-display);
}

.admin-subpanel {
  margin-top: 18px;
  padding: 20px;
  background: rgba(247, 242, 235, 0.88);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.admin-compact-tools {
  display: grid;
  gap: 14px;
}

.admin-inline-controls {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.7fr auto;
  gap: 12px;
  align-items: end;
}

.admin-inline-controls.compact-three {
  grid-template-columns: 1.2fr 0.9fr auto;
}

.admin-inline-controls label {
  gap: 6px;
}

.admin-tab-settings {
  display: grid;
  gap: 12px;
}

.admin-tab-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.admin-tab-row-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.compact-btn {
  min-width: 44px;
  padding: 10px 12px;
}

.course-cell-actions .compact-btn,
.course-cell-actions .course-row-action {
  min-width: 0;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.15;
}

.tab-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.about-page-main {
  padding-top: 28px;
  display: grid;
  gap: 18px;
}

body[data-page="alpha-page"] .about-page-main {
  padding-top: 12px; /* Reduced by 30% from 20px */
  gap: 28px; /* Spacing between title section and card section */
}

body[data-page="alpha-page"] .alpha-page-hero {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 16px 0 0;
}

body[data-page="alpha-page"] .alpha-page-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

body[data-page="alpha-page"] #alpha-page-label {
  margin: 0 0 8px; /* mb-2 spacing */
  font-size: 0.875rem; /* text-sm */
  font-weight: 500; /* font-medium */
  color: var(--accent-deep);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body[data-page="alpha-page"] #alpha-page-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3rem); /* text-4xl ~ text-5xl */
  font-weight: 700; /* font-bold */
  color: var(--text);
  line-height: 1.15;
}

body[data-page="alpha-page"] .alpha-page-description {
  margin: 0;
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.6;
}

.about-page-article p {
  font-size: var(--about-page-size);
}

.alpha-page-summary,
.alpha-media-lines p {
  font-size: var(--alpha-page-size);
}

#donation-page-content p {
  font-size: var(--donation-page-size);
}

.donation-page-cta {
  margin-top: 18px;
}

.response-form-panel {
  padding: 28px;
}

.response-form {
  display: grid;
  gap: 18px;
}

#response-status {
  margin: 0;
  color: var(--green);
  font-weight: 700;
}

.about-page-hero {
  padding: 24px 6px 0;
}

.about-page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  line-height: 1.04;
}

.about-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.7fr);
  gap: 18px;
}

.single-column-page {
  grid-template-columns: 1fr;
}

.about-page-article,
.about-page-side {
  padding: 28px;
}

.about-page-article p {
  line-height: 2;
  font-size: var(--about-page-size);
}

.alpha-content-section,
.donation-content-block {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.alpha-content-section h3,
.donation-content-block h3 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--green);
}

.alpha-content-section:first-child,
.donation-content-block:first-child {
  margin-top: 0;
}

.prayer-preview-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: var(--prayer-preview-size);
}

.prayer-more-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  font-weight: 800;
  color: var(--accent-deep);
}

.prayer-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.prayer-heading-row h2 {
  margin: 0;
}

.prayer-heading-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.prayer-chip-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0 18px;
}

.prayer-chip,
.prayer-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(48, 95, 78, 0.14);
  background: rgba(255, 255, 255, 0.78);
  color: var(--green);
  font-weight: 700;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.prayer-chip:hover,
.prayer-filter:hover,
.prayer-filter.active {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #305f4e, #447460);
  color: #fffaf3;
  box-shadow: 0 14px 24px rgba(48, 95, 78, 0.16);
}

.prayer-page-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.prayer-page-grid {
  display: grid;
  gap: 18px;
}

.prayer-page-card {
  padding: 28px;
}

.prayer-page-card h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
}

.prayer-page-card p:last-child {
  font-size: var(--prayer-page-size);
  line-height: 2;
}

.about-page-side {
  position: sticky;
  top: 150px;
  align-self: start;
}

body[data-page="about-page"] {
  background:
    linear-gradient(180deg, rgba(244, 221, 169, 0.18) 0%, transparent 28%),
    radial-gradient(circle at 88% 30%, rgba(190, 146, 82, 0.14), transparent 28%),
    linear-gradient(180deg, #f7eedf 0%, #f6ecdc 52%, #f4ead8 100%);
}

body[data-page="about-page"] .page-shell {
  width: 100%;
  max-width: none;
  padding-bottom: 0;
}

body[data-page="about-page"] .site-header:not(.admin-header),
body[data-page="about-page"] .full-bleed-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body[data-page="about-page"] .full-bleed-header.is-compact {
  background: rgba(255, 250, 240, 0.88);
  box-shadow: 0 16px 34px rgba(37, 54, 42, 0.13);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body[data-page="about-page"] .site-header .brand,
body[data-page="about-page"] .site-header .header-nav-link,
body[data-page="about-page"] .site-header .lang-toggle {
  color: #1f4f3d;
  text-shadow: 0 1px 18px rgba(255, 250, 232, 0.72);
}

body[data-page="about-page"] .site-header .brand-copy span {
  color: rgba(31, 79, 61, 0.74);
}

body[data-page="about-page"] .site-header .header-nav-link,
body[data-page="about-page"] .site-header .lang-toggle {
  background: rgba(255, 248, 230, 0.38);
  box-shadow: 0 10px 24px rgba(43, 69, 50, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body[data-page="about-page"] .about-page-main {
  display: block;
  padding-top: 0;
}

body[data-page="about-page"] .about-story-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 680px;
  overflow: hidden;
  width: 100%;
  padding: 128px max(24px, calc((100vw - var(--max-width)) / 2)) 150px;
  background:
    linear-gradient(90deg, rgba(247, 236, 208, 0.84) 0%, rgba(247, 236, 208, 0.58) 31%, rgba(247, 236, 208, 0.08) 66%),
    linear-gradient(180deg, rgba(255, 244, 209, 0.26) 0%, rgba(246, 236, 220, 0.1) 54%, #f6ecdc 100%),
    url("/images/scripture-bg.jpg") center / cover;
}

body[data-page="about-page"] .about-story-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 46%, rgba(255, 248, 218, 0.46), transparent 30%),
    linear-gradient(180deg, transparent 42%, rgba(246, 236, 220, 0.64) 86%, #f6ecdc 100%);
}

body[data-page="about-page"] .about-story-hero-inner {
  width: min(650px, 100%);
  display: grid;
  gap: 18px;
}

body[data-page="about-page"] .about-story-hero .section-label {
  width: fit-content;
  margin: 0;
  color: #1f4f3d;
  font-weight: 900;
  letter-spacing: 0.18em;
}

body[data-page="about-page"] .about-story-hero h1 {
  position: relative;
  margin: 0;
  padding-bottom: 26px;
  color: #1f4f3d;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.6vw, 6.9rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

body[data-page="about-page"] .about-story-hero h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(260px, 56%);
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c39a46, rgba(195, 154, 70, 0.18));
}

body[data-page="about-page"] .about-subtitle {
  width: min(560px, 100%);
  margin: 0;
  color: rgba(29, 69, 53, 0.84);
  font-size: clamp(1.08rem, 1.5vw, 1.34rem);
  font-weight: 800;
  line-height: 1.78;
  letter-spacing: 0;
}

body[data-page="about-page"] .about-story-hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 230px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(246, 236, 220, 0), rgba(246, 236, 220, 0.86) 74%, #f6ecdc);
}

body[data-page="about-page"] .about-story-wave {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 1;
  width: 100%;
  height: clamp(92px, 10vw, 154px);
  color: #f6ecdc;
  filter: drop-shadow(0 -14px 24px rgba(101, 86, 52, 0.06));
}

body[data-page="about-page"] .about-story-wave path {
  fill: currentColor;
}

body[data-page="about-page"] .about-story-body {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(36px, 5vw, 64px);
  width: min(calc(100% - 48px), var(--max-width));
  margin: -44px auto 0;
  padding: 0 0 4rem;
}

body[data-page="about-page"] .about-intro-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

body[data-page="about-page"] .about-intro-copy {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(12px, 2vw, 24px) 0;
}

body[data-page="about-page"] .about-intro-copy::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 2px;
  width: 86px;
  height: 126px;
  opacity: 0.2;
  transform: rotate(-18deg);
  background:
    radial-gradient(ellipse at 50% 10%, rgba(195, 154, 70, 0.56) 0 14%, transparent 15%),
    radial-gradient(ellipse at 42% 28%, rgba(195, 154, 70, 0.46) 0 10%, transparent 11%),
    radial-gradient(ellipse at 58% 28%, rgba(195, 154, 70, 0.46) 0 10%, transparent 11%),
    linear-gradient(rgba(195, 154, 70, 0.58), rgba(195, 154, 70, 0.58)) 50% 16% / 2px 104px no-repeat;
}

body[data-page="about-page"] .about-intro-copy .section-label,
body[data-page="about-page"] .about-history-heading .section-label {
  margin: 0;
  color: #b88b38;
  font-weight: 900;
}

body[data-page="about-page"] .about-intro-copy h2,
body[data-page="about-page"] .about-history-heading h2 {
  margin: 0;
  color: #1f4f3d;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 4.1rem);
  line-height: 1.12;
  letter-spacing: 0;
}

body[data-page="about-page"] .about-intro-text {
  display: grid;
  gap: 18px;
}

body[data-page="about-page"] .about-intro-text p {
  margin: 0;
  color: rgba(29, 42, 36, 0.78);
  font-size: var(--about-page-size);
  line-height: 2.05;
}

body[data-page="about-page"] .about-church-photo {
  position: relative;
  min-height: 540px;
  margin: 0;
}

body[data-page="about-page"] .about-church-photo::before {
  content: "";
  position: absolute;
  inset: 11% 7% 5% 5%;
  border-radius: 48% 52% 46% 54% / 58% 42% 58% 42%;
  background: transparent;
  filter: none;
}

body[data-page="about-page"] .about-church-photo img {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  object-position: center 50%;
  border-radius: 50% 42% 48% 38% / 42% 54% 38% 56%;
  box-shadow: 0 34px 74px rgba(42, 61, 45, 0.18);
  mask-image: radial-gradient(ellipse at center, #000 62%, rgba(0, 0, 0, 0.94) 73%, rgba(0, 0, 0, 0.42) 88%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 62%, rgba(0, 0, 0, 0.94) 73%, rgba(0, 0, 0, 0.42) 88%, transparent 100%);
}

body[data-page="about-page"] .about-history-section {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}

body[data-page="about-page"] .about-history-heading {
  width: min(760px, 100%);
  display: grid;
  gap: 12px;
}

body[data-page="about-page"] .about-history-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.42fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: start;
}

body[data-page="about-page"] .about-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 22px 0 0;
}

body[data-page="about-page"] .about-timeline::before {
  content: "";
  position: absolute;
  top: 47px;
  left: 9%;
  right: 9%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(31, 79, 61, 0.14), #c39a46 18% 82%, rgba(31, 79, 61, 0.16));
}

body[data-page="about-page"] .about-timeline-item {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 0 12px;
  text-align: center;
}

body[data-page="about-page"] .about-timeline-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 2px solid rgba(255, 250, 240, 0.92);
  border-radius: 999px;
  background: linear-gradient(135deg, #1f4f3d, #3d745d);
  color: #fff8eb;
  font-weight: 900;
  box-shadow: 0 16px 28px rgba(31, 79, 61, 0.18);
}

body[data-page="about-page"] .about-timeline-year {
  min-height: 24px;
  color: #b28434;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.2;
}

body[data-page="about-page"] .about-timeline-item h3 {
  margin: 0;
  color: #1f4f3d;
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.6vw, 1.34rem);
  line-height: 1.25;
  letter-spacing: 0;
}

body[data-page="about-page"] .about-timeline-item p {
  margin: 0;
  color: rgba(29, 42, 36, 0.7);
  font-size: 0.96rem;
  line-height: 1.72;
}

body[data-page="about-page"] .about-scripture-card {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 10px;
  min-height: 300px;
  margin-top: -72px;
  overflow: hidden;
  padding: clamp(36px, 4vw, 50px) clamp(34px, 4.8vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 34px;
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.96), transparent 36%),
    linear-gradient(145deg, rgba(255, 253, 247, 0.94), rgba(249, 240, 222, 0.86)),
    #f8efdf;
  box-shadow:
    0 24px 50px rgba(79, 67, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

body[data-page="about-page"] .about-scripture-card::before {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 0;
  width: 170px;
  height: 140px;
  opacity: 0.24;
  transform: scaleX(-1);
  background: url("data:image/svg+xml,%3Csvg width='520' height='420' viewBox='0 0 520 420' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23b58a42' stroke-width='6.5' stroke-linecap='round'%3E%3Cpath d='M42 410C104 300 134 184 142 34'/%3E%3Cpath d='M144 94c-42 26-74 62-96 108M151 137c48 20 88 54 120 102M126 219c-56 24-99 61-130 112M158 260c58 16 111 50 157 103'/%3E%3Cpath d='M300 415c-18-116-8-226 42-330'/%3E%3Cpath d='M339 136c-48 24-83 60-106 108M351 188c50 18 91 48 124 91M326 276c-56 18-101 49-135 93'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

body[data-page="about-page"] .about-scripture-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.7), transparent 42%);
  pointer-events: none;
}

body[data-page="about-page"] .about-scripture-mark {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  height: 28px;
  margin: 0 0 4px;
  color: rgba(181, 138, 66, 0.26);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1;
}

body[data-page="about-page"] .about-scripture-mark::before {
  content: "“";
  display: block;
  font-size: clamp(2.4rem, 3.6vw, 3.2rem);
  font-weight: 700;
  line-height: 0.8;
}

body[data-page="about-page"] .about-scripture-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #1f4f3d;
  font-family: "Noto Serif TC", "Songti TC", "STSong", "PMingLiU", serif;
  font-size: clamp(1.38rem, 1.9vw, 1.9rem);
  font-weight: 700;
  line-height: 1.58;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.56);
}

body[data-page="about-page"] .about-scripture-card strong {
  position: relative;
  z-index: 1;
  justify-self: center;
  margin-top: 18px;
  color: #b58a42;
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 1.2vw, 1.08rem);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.pastor-page-main {
  padding: 32px 0 42px;
}

.pastor-profile {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: stretch;
  min-height: 720px;
  overflow: hidden;
  padding: clamp(34px, 5.4vw, 76px);
  border: 1px solid rgba(40, 65, 60, 0.1);
  border-radius: 34px;
  background:
    linear-gradient(90deg, rgba(21, 44, 65, 0.42) 0%, rgba(21, 44, 65, 0.16) 26%, rgba(255, 253, 248, 0) 47%),
    radial-gradient(circle at 70% 18%, rgba(190, 146, 82, 0.14), transparent 32%),
    radial-gradient(circle at 96% 90%, rgba(48, 95, 78, 0.12), transparent 28%),
    linear-gradient(115deg, #f8f1e5 0%, #fffdf8 48%, #f6efe4 100%);
  box-shadow: 0 28px 80px rgba(35, 42, 38, 0.1);
}

.pastor-profile::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: min(37%, 480px);
  z-index: -2;
  background:
    linear-gradient(rgba(31, 45, 44, 0.2), rgba(31, 45, 44, 0.36)),
    url("/images/mission-vision-bg.png") center / cover;
  opacity: 0.78;
}

.pastor-profile::after {
  content: "";
  position: absolute;
  right: clamp(28px, 5vw, 72px);
  bottom: clamp(36px, 5vw, 82px);
  width: 190px;
  height: 132px;
  z-index: -1;
  border-bottom: 2px solid rgba(190, 146, 82, 0.14);
  border-radius: 52% 48% 0 0;
  opacity: 0.8;
  background:
    linear-gradient(90deg, transparent 42%, rgba(190, 146, 82, 0.12) 42% 44%, transparent 44%) 50% 12% / 80px 72px no-repeat,
    linear-gradient(rgba(190, 146, 82, 0.13), rgba(190, 146, 82, 0.13)) 50% 60% / 86px 54px no-repeat,
    linear-gradient(135deg, transparent 50%, rgba(190, 146, 82, 0.13) 51%) 24% 72% / 86px 46px no-repeat;
}

.pastor-profile-photo-wrap {
  position: relative;
  display: grid;
  align-content: center;
  min-width: 0;
}

.pastor-profile-photo {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  justify-self: end;
  aspect-ratio: 0.76;
  border: 12px solid rgba(255, 252, 245, 0.82);
  border-radius: 999px 999px 32px 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 20%, rgba(190, 146, 82, 0.18), transparent 42%),
    rgba(255, 253, 248, 0.78);
  box-shadow: 0 30px 56px rgba(30, 45, 43, 0.18);
  transition:
    transform 420ms ease,
    box-shadow 420ms ease;
}

.pastor-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 700ms ease;
}

.pastor-profile:hover .pastor-profile-photo {
  transform: translateY(-4px);
  box-shadow: 0 34px 64px rgba(30, 45, 43, 0.21);
}

.pastor-profile:hover .pastor-profile-photo img {
  transform: scale(1.055);
}

.pastor-profile-overline {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  margin: 0;
  color: #b98e52;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.44em;
}

.pastor-photo-note {
  position: absolute;
  left: max(0px, 6%);
  bottom: clamp(30px, 6vw, 68px);
  z-index: 3;
  display: grid;
  gap: 10px;
  width: min(260px, 62%);
  padding: 26px 28px;
  border: 1px solid rgba(231, 214, 178, 0.18);
  border-radius: 20px;
  background: linear-gradient(150deg, rgba(10, 42, 65, 0.95), rgba(18, 57, 74, 0.9));
  box-shadow: 0 22px 42px rgba(11, 35, 53, 0.24);
  color: #fff8eb;
}

.pastor-photo-note-mark {
  color: #d7b879;
  font-size: 1.1rem;
}

.pastor-photo-note strong,
.pastor-photo-note span:last-child {
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 2.1vw, 1.72rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.pastor-photo-note span:last-child {
  color: rgba(255, 248, 235, 0.9);
}

.pastor-profile-content {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(26px, 4vw, 42px);
}

.pastor-profile-inner {
  position: relative;
  display: grid;
  align-content: center;
  gap: clamp(20px, 2.5vw, 28px);
  min-width: 0;
  padding: 0;
}

.pastor-verse-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  min-width: 0;
  color: rgba(31, 46, 52, 0.68);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.pastor-verse-row p {
  margin: 0;
  line-height: 1.8;
}

.pastor-cross {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 40px;
}

.pastor-cross::before,
.pastor-cross::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 40px;
  border-radius: 999px;
  background: #b98e52;
  transform: translateX(-50%);
}

.pastor-cross::after {
  top: 11px;
  width: 24px;
  height: 2px;
  transform: translateX(-50%);
}

.pastor-profile-heading {
  display: grid;
  gap: 8px;
}

.pastor-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 0;
  color: #b98e52;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.pastor-eyebrow::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 100% 0;
  background: linear-gradient(135deg, #c7a163, #9e7a43);
  transform: rotate(-18deg);
}

.pastor-profile-heading h1 {
  margin: 0;
  color: #12304b;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 5.9rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.pastor-profile-heading h1::first-letter {
  color: #12304b;
}

.pastor-name-en {
  margin: 0;
  color: #b98e52;
  font-family: "Avenir Next", "Segoe Script", cursive;
  font-size: clamp(1.45rem, 2.6vw, 2.35rem);
  font-style: italic;
  line-height: 1.15;
}

.pastor-philosophy {
  margin: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  max-width: 620px;
  color: rgba(33, 43, 45, 0.78);
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  font-weight: 700;
  line-height: 1.95;
}

.pastor-philosophy::before {
  content: "“";
  color: #b98e52;
  font-family: Georgia, serif;
  font-size: 3.8rem;
  line-height: 0.9;
}

.pastor-intro {
  max-width: 690px;
  margin: 0;
  color: rgba(31, 46, 52, 0.72);
  font-size: clamp(1.02rem, 1.25vw, 1.13rem);
  line-height: 2.05;
  font-weight: 600;
}

.pastor-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 2px;
}

.pastor-info-card {
  display: grid;
  align-content: start;
  gap: 16px;
  min-width: 0;
  min-height: 148px;
  padding: 22px;
  border: 1px solid rgba(35, 58, 55, 0.11);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.68), rgba(255, 253, 248, 0.38)),
    rgba(255, 255, 255, 0.34);
  box-shadow: 0 16px 34px rgba(35, 42, 38, 0.06);
  backdrop-filter: blur(12px);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.pastor-info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 142, 82, 0.3);
  background:
    radial-gradient(circle at 18% 0%, rgba(185, 142, 82, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.84), rgba(255, 253, 248, 0.46));
  box-shadow: 0 22px 40px rgba(35, 42, 38, 0.09);
}

.pastor-info-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.8), transparent 42%),
    rgba(238, 231, 218, 0.85);
}

.pastor-info-icon::before,
.pastor-info-icon::after {
  content: "";
  position: absolute;
}

.pastor-info-icon-education::before {
  width: 22px;
  height: 15px;
  border-radius: 3px;
  background: #12304b;
  clip-path: polygon(50% 0, 100% 32%, 50% 64%, 0 32%);
}

.pastor-info-icon-education::after {
  width: 13px;
  height: 7px;
  top: 27px;
  border-radius: 0 0 8px 8px;
  background: #12304b;
}

.pastor-info-icon-ministry::before {
  width: 12px;
  height: 12px;
  top: 13px;
  left: 14px;
  border-radius: 999px;
  background: #12304b;
  box-shadow: 12px 1px 0 #315f4e;
}

.pastor-info-icon-ministry::after {
  width: 28px;
  height: 14px;
  bottom: 11px;
  border-radius: 16px 16px 8px 8px;
  background: linear-gradient(90deg, #12304b 0 48%, #315f4e 48%);
}

.pastor-info-icon-burden::before {
  width: 17px;
  height: 17px;
  border-radius: 5px 5px 2px 5px;
  background: #12304b;
  transform: rotate(45deg);
}

.pastor-info-icon-burden::after {
  width: 18px;
  height: 18px;
  top: 14px;
  left: 14px;
  border-radius: 999px;
  background: #12304b;
  box-shadow: 8px 0 0 #12304b;
}

.pastor-info-card h2 {
  margin: 0;
  color: #12304b;
  font-family: var(--font-display);
  font-size: 1.14rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.pastor-info-card p {
  margin: 0;
  color: rgba(31, 46, 52, 0.72);
  font-size: 0.96rem;
  line-height: 1.7;
  font-weight: 700;
}

.pastor-voice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  max-width: 720px;
  margin-top: 10px;
}

.pastor-voice-rule {
  width: 2px;
  min-height: 84px;
  border-radius: 999px;
  background: linear-gradient(#b98e52, rgba(185, 142, 82, 0.14));
}

.pastor-voice h2 {
  margin: 0 0 14px;
  color: #12304b;
  font-family: var(--font-display);
  font-size: 1.18rem;
  letter-spacing: 0.06em;
}

.pastor-voice p {
  margin: 0;
  color: rgba(31, 46, 52, 0.74);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.95;
}

.pastor-prayer-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-top: 4px;
  padding: 18px 22px 18px 28px;
  border: 1px solid rgba(215, 184, 121, 0.36);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(8, 40, 65, 0.97), rgba(19, 58, 78, 0.96)),
    #12304b;
  color: #fff8eb;
  box-shadow: 0 22px 46px rgba(10, 36, 57, 0.18);
}

.pastor-prayer-title,
.pastor-prayer-body {
  margin: 0;
}

.pastor-prayer-title {
  color: #d7b879;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.pastor-prayer-body {
  margin-top: 4px;
  color: rgba(255, 248, 235, 0.9);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.7;
}

.pastor-prayer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border: 1px solid rgba(215, 184, 121, 0.54);
  border-radius: 999px;
  background: transparent;
  color: #d7b879;
  font-size: 0.94rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 220ms ease,
    background 220ms ease,
    color 220ms ease;
}

.pastor-prayer-link::after {
  content: "→";
  margin-left: 16px;
}

.pastor-prayer-link:hover {
  transform: translateX(3px);
  background: rgba(255, 248, 235, 0.1);
  color: #fff8eb;
}

.pastor-prayer-dialog {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.pastor-prayer-dialog[hidden] {
  display: none;
}

.pastor-prayer-dialog.is-open {
  opacity: 1;
  pointer-events: auto;
}

.pastor-prayer-dialog-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(215, 184, 121, 0.18), transparent 36%),
    rgba(17, 32, 42, 0.48);
  backdrop-filter: blur(10px);
}

.pastor-prayer-dialog-panel {
  position: relative;
  width: min(100%, 620px);
  max-height: min(720px, calc(100vh - 48px));
  overflow: auto;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(215, 184, 121, 0.22);
  border-radius: 30px;
  background:
    radial-gradient(circle at 86% 0%, rgba(215, 184, 121, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(255, 253, 248, 0.96), rgba(246, 239, 228, 0.94));
  box-shadow: 0 30px 70px rgba(10, 36, 57, 0.28);
  transform: translateY(14px) scale(0.98);
  transition: transform 240ms ease;
}

.pastor-prayer-dialog.is-open .pastor-prayer-dialog-panel {
  transform: translateY(0) scale(1);
}

.pastor-prayer-dialog-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.pastor-prayer-dialog-header h2 {
  margin: 14px 0 0;
  color: #12304b;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.pastor-prayer-dialog-close {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(18, 48, 75, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: #12304b;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.pastor-prayer-dialog-close:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.84);
}

.pastor-prayer-dialog-body {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(48, 95, 78, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.48);
  color: rgba(31, 46, 52, 0.78);
  font-size: 1.04rem;
  font-weight: 650;
  line-height: 1.95;
}

.pastor-prayer-dialog-body p {
  position: relative;
  margin: 0;
  padding-left: 22px;
}

.pastor-prayer-dialog-body p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.82em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #b98e52;
}

body.pastor-prayer-dialog-open {
  overflow: hidden;
}

.gratitude-prayer-main {
  padding-top: 28px;
  display: grid;
  gap: 18px;
}

.gratitude-prayer-hero {
  display: grid;
  gap: 10px;
}

.gratitude-prayer-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.8vw, 4rem);
  line-height: 1.06;
}

.gratitude-prayer-switcher {
  display: grid;
  gap: 16px;
}

.gratitude-prayer-tabs {
  justify-content: flex-start;
}

.gratitude-prayer-card {
  display: none;
  border-radius: 32px;
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.gratitude-prayer-card.active {
  display: block;
}

.gratitude-prayer-card-inner {
  display: grid;
  gap: 16px;
  padding: 34px 36px;
}

.gratitude-prayer-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
}

.gratitude-prayer-card p {
  margin: 0;
  font-size: var(--about-page-size);
  line-height: 2;
}

.gratitude-prayer-list {
  display: grid;
  gap: 14px;
}

.gratitude-prayer-entry {
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.gratitude-prayer-entry summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  cursor: pointer;
  list-style: none;
}

.gratitude-prayer-entry summary::-webkit-details-marker {
  display: none;
}

.gratitude-prayer-date {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(48, 105, 84, 0.11);
  color: var(--green);
  font-size: 0.96rem;
  font-weight: 800;
  padding: 8px 14px;
}

.gratitude-prayer-entry strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.9rem);
  line-height: 1.2;
}

.gratitude-prayer-entry-arrow {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--green);
  font-size: 1.35rem;
  line-height: 1;
  transform: rotate(0deg);
  transform-origin: center;
  transition: transform 200ms ease;
}

.gratitude-prayer-entry-arrow::before {
  content: "▾";
  display: block;
  line-height: 1;
}

.gratitude-prayer-entry summary[aria-expanded="true"] .gratitude-prayer-entry-arrow {
  transform: rotate(180deg);
}

.gratitude-prayer-entry-body {
  border-top: 1px solid var(--line);
  padding: 24px 28px 28px;
  display: grid;
  gap: 12px;
}

.gratitude-prayer-entry-body p,
.gratitude-prayer-empty {
  margin: 0;
  color: var(--muted);
  font-size: var(--about-page-size);
  line-height: 1.9;
  font-weight: 650;
}

.gratitude-prayer-empty {
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 28px;
}

.gratitude-entry-admin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.gratitude-prayer-admin-stack {
  gap: 14px;
}

.gratitude-admin-cms {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(48, 95, 78, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}

.gratitude-admin-list {
  display: grid;
  align-content: start;
  border-right: 1px solid rgba(48, 95, 78, 0.12);
  background: rgba(255, 253, 248, 0.56);
}

.gratitude-admin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(48, 95, 78, 0.1);
  background: transparent;
  color: var(--text);
  padding: 16px;
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.gratitude-admin-row:hover {
  background: rgba(48, 95, 78, 0.07);
}

.gratitude-admin-row.active {
  background: var(--green);
  color: #fffaf1;
}

.gratitude-admin-row span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.gratitude-admin-row strong {
  font-size: 0.98rem;
  font-weight: 900;
}

.gratitude-admin-row em {
  color: var(--muted);
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 700;
}

.gratitude-admin-row small {
  border-radius: 10px;
  background: rgba(48, 95, 78, 0.08);
  color: var(--green);
  padding: 6px 10px;
  font-size: 0.82rem;
  font-weight: 850;
}

.gratitude-admin-row.active em,
.gratitude-admin-row.active small {
  color: rgba(255, 250, 241, 0.82);
}

.gratitude-admin-row.active small {
  background: rgba(255, 255, 255, 0.14);
}

.gratitude-admin-row b {
  font-size: 1.35rem;
  line-height: 1;
}

.gratitude-admin-editor {
  display: grid;
  align-content: start;
  gap: 16px;
  min-width: 0;
  padding: 22px;
}

.gratitude-admin-editor-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(48, 95, 78, 0.12);
}

.gratitude-admin-editor-heading h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 900;
}

.gratitude-admin-editor-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.gratitude-admin-editor > .form-grid {
  gap: 12px;
}

.gratitude-admin-editor label {
  gap: 6px;
  font-size: 0.9rem;
}

.gratitude-admin-editor input,
.gratitude-admin-editor textarea {
  border-radius: 12px;
  padding: 9px 11px;
  font-size: 0.94rem;
}

.gratitude-admin-editor textarea {
  min-height: 120px;
  max-height: 240px;
  overflow: auto;
}

.gratitude-admin-entry-list {
  gap: 10px;
}

.gratitude-entry-admin-row .admin-accordion {
  min-width: 0;
}

.gratitude-entry-delete-btn {
  margin-top: 18px;
  white-space: nowrap;
  box-shadow: none;
}

.testimony-page-main {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 0 76px;
  display: grid;
  gap: 20px;
}

.testimony-page-hero {
  display: grid;
  gap: 10px;
}

.testimony-page-hero h1 {
  margin: 0;
  color: var(--ink);
  max-width: 760px;
  font-size: clamp(2.2rem, 4vw, 3.35rem);
  line-height: 1.08;
}

.testimony-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.testimony-story-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  gap: 0;
  overflow: hidden;
  min-height: 300px;
  max-height: 420px;
  border: 1px solid rgba(48, 95, 78, 0.14);
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.92);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 22px 46px rgba(38, 53, 46, 0.14);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.testimony-story-card:hover {
  transform: translateY(-4px);
  border-color: rgba(48, 95, 78, 0.24);
  box-shadow: 0 28px 58px rgba(38, 53, 46, 0.2);
}

.testimony-story-visual {
  min-height: 300px;
  padding: 18px;
  background: rgba(48, 95, 78, 0.08);
}

.testimony-story-image {
  width: 100%;
  height: 100%;
  min-height: 264px;
  border-radius: 20px;
  object-fit: cover;
}

.testimony-story-body {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 14px;
  min-width: 0;
  padding: clamp(24px, 4vw, 46px);
}

.testimony-story-body h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.12;
}

.testimony-story-body p {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  line-height: 1.75;
  font-weight: 700;
}

.testimony-story-label {
  color: var(--accent-deep) !important;
  font-size: 0.86rem !important;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.testimony-story-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 4px;
  border-radius: 999px;
  background: var(--green);
  color: #fffaf1;
  padding: 12px 22px;
  font-weight: 900;
  box-shadow: 0 14px 26px rgba(48, 95, 78, 0.2);
  transition: transform 180ms ease, background 220ms ease, box-shadow 220ms ease;
}

.testimony-story-card:hover .testimony-story-cta,
.testimony-story-card:focus-visible .testimony-story-cta {
  transform: translateY(-2px);
  background: #244d3f;
  box-shadow: 0 18px 34px rgba(48, 95, 78, 0.28);
}

.testimony-detail-card {
  overflow: hidden;
  border-radius: 34px;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.testimony-detail-card img {
  display: block;
  width: 100%;
  max-height: 540px;
  object-fit: cover;
}

.testimony-detail-body {
  padding: clamp(26px, 5vw, 58px);
  display: grid;
  gap: 18px;
}

.testimony-detail-body p:not(.section-label) {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.45vw, 1.35rem);
  line-height: 1.95;
  font-weight: 700;
}

.testimony-back-link {
  width: fit-content;
  color: var(--green);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
}

.testimony-back-link:hover,
.testimony-back-link:focus-visible {
  color: var(--accent-deep);
}

@media (max-width: 720px) {
  .gratitude-prayer-entry summary {
    grid-template-columns: 1fr auto;
  }

  .gratitude-prayer-date {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .gratitude-entry-admin-row {
    grid-template-columns: 1fr;
  }

  .gratitude-admin-cms {
    grid-template-columns: 1fr;
  }

  .gratitude-admin-list {
    border-right: 0;
    border-bottom: 1px solid rgba(48, 95, 78, 0.12);
  }

  .gratitude-entry-delete-btn {
    margin-top: -6px;
    justify-self: end;
  }

  .church-settings-layout {
    grid-template-columns: 1fr;
  }

  .church-settings-list {
    width: 100%;
    min-width: 0;
    max-width: none;
    border-right: 0;
    border-bottom: 1px solid rgba(48, 95, 78, 0.12);
  }

  .church-settings-editor {
    padding: 18px;
    border-left: 0;
  }

  .activity-dashboard-summary {
    min-height: auto;
  }

  .activity-summary-layout {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: stretch;
    min-height: auto;
  }

  .activity-summary-status {
    justify-content: flex-start;
  }

  .activity-summary-actions {
    grid-template-columns: repeat(4, auto) 28px;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .course-activity-head {
    display: none;
  }

  .course-activity-summary {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 10px 0;
  }

  .course-cell-actions {
    justify-content: flex-start;
    overflow-x: auto;
  }

.course-cell-status {
  font-size: 1rem;
  justify-self: start;
}

  .courses-cms-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .courses-cms-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(48, 95, 78, 0.12);
    padding: 0 0 14px;
  }

  .course-editor-grid {
    grid-template-columns: 1fr;
  }

  .testimony-page-main {
    width: min(100% - 28px, 1200px);
    padding-top: 20px;
  }

  .testimony-page-hero {
    gap: 8px;
  }

  .testimony-page-hero h1 {
    max-width: none;
    font-size: 1.5rem;
    line-height: 1.18;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .testimony-page-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimony-story-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: none;
    border-radius: 28px;
  }

  .testimony-story-visual {
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 3;
    padding: 0;
    background: transparent;
  }

  .testimony-story-image {
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: 28px 28px 0 0;
    object-fit: cover;
  }

  .testimony-story-body {
    gap: 12px;
    padding: 20px;
  }

  .testimony-story-body h2 {
    font-size: 1.5rem;
    line-height: 1.18;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .testimony-story-body p {
    font-size: 1rem;
    line-height: 1.75;
  }

  .testimony-story-body p:not(.testimony-story-label) {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .testimony-detail-card {
    border-radius: 24px;
  }

  .testimony-detail-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: none;
    object-fit: cover;
  }

  .testimony-detail-body {
    gap: 14px;
    padding: 20px;
  }

  .testimony-detail-body p:not(.section-label) {
    font-size: 1rem;
    line-height: 1.85;
  }

  .testimony-back-link {
    margin-top: 4px;
    font-size: 0.92rem;
  }
}

.admin-intro,
.admin-panel {
  padding: 24px;
}

.donation-admin-panel {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.donation-settings-list {
  overflow: hidden;
  border: 1px solid rgba(48, 95, 78, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}

.donation-settings-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(48, 95, 78, 0.1);
  background: transparent;
  color: var(--text);
  padding: 16px 20px;
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease;
}

.donation-settings-row:last-child {
  border-bottom: 0;
}

.donation-settings-row:hover {
  background: rgba(48, 95, 78, 0.055);
}

.donation-settings-row strong {
  flex: 0 0 140px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 900;
  white-space: nowrap;
}

.donation-settings-row span {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.donation-settings-row b {
  flex: 0 0 auto;
  border-radius: 9px;
  background: rgba(48, 95, 78, 0.08);
  color: var(--green);
  padding: 6px 11px;
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.15;
}

.donation-drawer-subsection {
  display: grid;
  gap: 12px;
  padding-top: 4px;
}

.donation-drawer-subsection h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 900;
}

.church-admin-panel {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.church-settings-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 460px;
  overflow: hidden;
  border: 1px solid rgba(48, 95, 78, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}

.church-settings-list {
  display: grid;
  align-content: start;
  width: 260px;
  min-width: 260px;
  max-width: 260px;
  overflow: hidden;
  border-right: 1px solid rgba(48, 95, 78, 0.12);
  background: rgba(255, 253, 248, 0.56);
}

.church-settings-row {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid rgba(48, 95, 78, 0.1);
  background: transparent;
  color: var(--text);
  padding: 16px 20px;
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.church-settings-row:hover {
  background: rgba(48, 95, 78, 0.07);
}

.church-settings-row.active {
  background: var(--green);
  color: #fffaf1;
}

.church-settings-row span {
  display: contents;
}

.church-settings-row strong {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  font-size: 0.98rem;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.church-settings-editor {
  display: grid;
  align-content: start;
  gap: 16px;
  width: 100%;
  min-width: 0;
  padding: 22px 24px 24px 32px;
  border-left: 1px solid rgba(48, 95, 78, 0.12);
}

.church-settings-editor-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(48, 95, 78, 0.12);
}

.church-settings-editor-heading h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 900;
}

.church-settings-editor-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.church-settings-fields {
  display: grid;
  gap: 14px;
}

.church-settings-fields .form-grid {
  gap: 12px;
}

.church-settings-fields label {
  gap: 6px;
  font-size: 0.9rem;
}

.church-settings-fields input,
.church-settings-fields select,
.church-settings-fields textarea {
  border-radius: 12px;
  padding: 9px 11px;
  font-size: 0.94rem;
}

.church-settings-fields textarea {
  min-height: 120px;
  max-height: 240px;
  overflow: auto;
}

.explore-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.explore-admin-card {
  margin-top: 0;
}

.explore-admin-card h3 {
  margin: 0 0 14px;
  color: var(--deep-green);
}

.about-admin-panel {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.about-admin-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 560px;
}

.about-admin-mobile-picker {
  display: none;
  margin-bottom: 14px;
}

.about-admin-nav {
  display: grid;
  align-content: start;
  border-right: 1px solid rgba(48, 95, 78, 0.12);
}

.about-admin-nav-item {
  display: grid;
  gap: 5px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(48, 95, 78, 0.1);
  border-radius: 0;
  background: transparent;
  padding: 14px 16px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.about-admin-nav-item strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.3;
}

.about-admin-nav-item span {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.about-admin-nav-item:hover,
.about-admin-nav-item.active {
  background: rgba(48, 95, 78, 0.07);
}

.about-admin-nav-item.active {
  box-shadow: inset 3px 0 0 var(--green);
}

.about-admin-editor {
  min-width: 0;
  padding: 0 0 0 24px;
}

.about-admin-editor-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(48, 95, 78, 0.12);
}

.about-admin-editor-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.55rem;
}

.about-admin-editor-heading p {
  max-width: 640px;
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.about-admin-fields {
  display: grid;
  gap: 18px;
  padding-top: 18px;
}

.about-admin-fields .form-grid + .form-grid,
.about-admin-fields .image-upload-control + .form-grid {
  padding-top: 16px;
  border-top: 1px solid rgba(48, 95, 78, 0.1);
}

.about-long-textarea {
  max-height: 360px;
  overflow: auto;
}

.about-admin-save-row {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(48, 95, 78, 0.12);
}

.pastor-admin-workspace {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 22px;
  align-items: start;
  padding-bottom: 12px;
}

.pastor-admin-sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(48, 95, 78, 0.1);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.72);
}

.pastor-admin-step {
  display: grid;
  gap: 5px;
  width: 100%;
  border: 0;
  border-radius: 14px;
  background: transparent;
  padding: 12px 13px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.pastor-admin-step strong {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.25;
}

.pastor-admin-step span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
}

.pastor-admin-step:hover,
.pastor-admin-step.active {
  background: rgba(48, 95, 78, 0.08);
}

.pastor-admin-step.active {
  box-shadow: inset 3px 0 0 var(--green);
}

.pastor-admin-card {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(48, 95, 78, 0.1);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 14px 34px rgba(50, 42, 32, 0.08);
}

.pastor-admin-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.pastor-admin-card-heading p,
.pastor-admin-card-heading h3,
.pastor-admin-card-description {
  margin: 0;
}

.pastor-admin-card-heading p {
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.pastor-admin-card-heading h3 {
  margin-top: 5px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.2;
}

.pastor-admin-card-heading span {
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(48, 95, 78, 0.08);
  padding: 6px 10px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
}

.pastor-admin-card-description {
  max-width: 620px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.65;
}

.pastor-language-editor {
  display: grid;
  gap: 14px;
}

.pastor-editor-form {
  display: grid;
  gap: 14px;
  max-width: 640px;
}

.pastor-editor-field {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
}

.pastor-editor-field span {
  color: var(--ink);
}

.pastor-editor-field input,
.pastor-editor-field textarea {
  border-radius: 14px;
  padding: 11px 13px;
  font-size: 0.96rem;
  line-height: 1.55;
}

.pastor-editor-field textarea {
  field-sizing: content;
  min-height: 88px;
  max-height: 220px;
  resize: vertical;
}

.pastor-editor-field input::placeholder,
.pastor-editor-field textarea::placeholder {
  color: rgba(38, 53, 45, 0.34);
}

.pastor-image-editor-card {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  max-width: 680px;
}

.pastor-image-preview-card {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(48, 95, 78, 0.12);
  border-radius: 22px;
  background: rgba(247, 242, 235, 0.82);
  box-shadow: 0 12px 26px rgba(50, 42, 32, 0.08);
}

.pastor-image-preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pastor-image-empty {
  padding: 18px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.pastor-image-editor-fields {
  display: grid;
  gap: 14px;
}

.pastor-image-editor-fields p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.65;
}

.pastor-image-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pastor-admin-save-bar {
  position: sticky;
  bottom: 12px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid rgba(48, 95, 78, 0.12);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 18px 34px rgba(50, 42, 32, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.pastor-admin-save-bar span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.45;
}

.media-admin-panel {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.media-admin-mode .admin-toolbar-actions {
  display: none;
}

.media-admin-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 540px;
}

.media-admin-sidebar {
  display: grid;
  align-content: space-between;
  gap: 16px;
  border-right: 1px solid rgba(48, 95, 78, 0.12);
  padding-right: 14px;
}

.media-admin-list {
  display: grid;
}

.media-admin-list-item {
  display: grid;
  gap: 5px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(48, 95, 78, 0.1);
  border-radius: 0;
  background: transparent;
  padding: 13px 14px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.media-admin-list-item strong {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.3;
}

.media-admin-list-item span {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-admin-list-item:hover,
.media-admin-list-item.active {
  background: rgba(48, 95, 78, 0.07);
}

.media-admin-list-item.active {
  box-shadow: inset 3px 0 0 var(--green);
}

.media-admin-add {
  width: calc(100% - 14px);
  justify-self: start;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 0.9rem;
}

.media-admin-editor {
  position: relative;
  display: grid;
  align-content: start;
  min-width: 0;
  padding-left: 24px;
}

.media-admin-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(48, 95, 78, 0.12);
}

.media-admin-heading h2 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 1.45rem;
}

.media-admin-editor .admin-lang-tabs {
  margin-top: 16px;
}

.media-admin-fields {
  display: grid;
  gap: 16px;
  max-width: 720px;
  padding: 14px 0 76px;
}

.media-admin-fields label,
.media-image-control {
  gap: 6px;
  font-size: 0.9rem;
}

.media-admin-fields input,
.media-admin-fields textarea {
  border-radius: 12px;
  padding: 9px 11px;
  font-size: 0.94rem;
}

.media-admin-fields textarea {
  min-height: 120px;
  max-height: 180px;
  line-height: 1.55;
}

.media-admin-divider {
  height: 1px;
  background: rgba(48, 95, 78, 0.1);
}

.media-image-control {
  display: grid;
  font-weight: 700;
}

.media-image-preview {
  display: grid;
  place-items: center;
  width: min(280px, 100%);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(48, 95, 78, 0.12);
  border-radius: 12px;
  background: rgba(247, 242, 235, 0.62);
}

.media-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-image-placeholder {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.media-image-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.media-admin-footer {
  position: sticky;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: auto;
  padding: 12px 0 0;
  border-top: 1px solid rgba(48, 95, 78, 0.12);
  background: rgba(255, 253, 248, 0.94);
}

.media-admin-footer .primary-btn,
.media-admin-footer .secondary-btn {
  min-height: 38px;
  padding: 8px 18px;
  border-radius: 12px;
}

.media-admin-empty {
  display: grid;
  gap: 10px;
  max-width: 420px;
}

.media-admin-empty h2,
.media-admin-empty p {
  margin: 0;
}

.media-admin-empty p {
  color: var(--muted);
  line-height: 1.65;
}

.meetings-admin-panel {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.meetings-admin-mode .admin-toolbar-actions {
  display: none;
}

.meetings-admin-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 560px;
}

.meetings-admin-sidebar {
  display: grid;
  align-content: space-between;
  gap: 16px;
  border-right: 1px solid rgba(48, 95, 78, 0.12);
  padding-right: 14px;
}

.meetings-admin-list {
  display: grid;
}

.meetings-admin-list-item {
  display: grid;
  gap: 5px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(48, 95, 78, 0.1);
  border-radius: 0;
  background: transparent;
  padding: 12px 14px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.meetings-admin-list-item strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.meetings-admin-list-item span {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.meetings-admin-list-item:hover,
.meetings-admin-list-item.active {
  background: rgba(48, 95, 78, 0.07);
}

.meetings-admin-list-item.active {
  box-shadow: inset 3px 0 0 var(--green);
}

.meetings-admin-add {
  width: calc(100% - 14px);
  justify-self: start;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 0.9rem;
}

.meetings-admin-editor {
  position: relative;
  display: grid;
  align-content: start;
  min-width: 0;
  padding-left: 24px;
}

.meetings-admin-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(48, 95, 78, 0.12);
}

.meetings-admin-toolbar label {
  width: min(320px, 100%);
  gap: 5px;
  font-size: 0.84rem;
}

.meetings-admin-toolbar select {
  min-height: 38px;
  border-radius: 12px;
  padding: 8px 11px;
  font-size: 0.92rem;
}

.meetings-admin-heading {
  padding: 16px 0 14px;
}

.meetings-admin-heading h2 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 1.45rem;
}

.meetings-admin-editor .admin-lang-tabs {
  margin-bottom: 14px;
}

.meetings-admin-fields {
  display: grid;
  gap: 16px;
  max-width: 720px;
  padding-bottom: 76px;
}

.meetings-admin-section {
  display: grid;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(48, 95, 78, 0.1);
}

.meetings-admin-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.meetings-admin-section h3 {
  margin: 0;
  color: var(--green);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
}

.meetings-admin-fields label,
.meetings-admin-section .admin-lang-panel,
.meetings-admin-section .media-image-control {
  gap: 6px;
  font-size: 0.9rem;
}

.meetings-admin-fields input,
.meetings-admin-fields textarea {
  border-radius: 12px;
  padding: 9px 11px;
  font-size: 0.94rem;
}

.meetings-admin-fields textarea {
  min-height: 120px;
  max-height: 220px;
  overflow: auto;
  line-height: 1.55;
}

.meetings-admin-footer {
  position: sticky;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: auto;
  padding: 12px 0 0;
  border-top: 1px solid rgba(48, 95, 78, 0.12);
  background: rgba(255, 253, 248, 0.94);
}

.meetings-admin-footer .primary-btn,
.meetings-admin-footer .secondary-btn {
  min-height: 38px;
  padding: 8px 18px;
  border-radius: 12px;
}

.meetings-admin-empty {
  display: grid;
  gap: 10px;
  max-width: 420px;
}

.meetings-admin-empty h2,
.meetings-admin-empty p {
  margin: 0;
}

.meetings-admin-empty p {
  color: var(--muted);
  line-height: 1.65;
}

body.testimony-admin-mode .admin-toolbar-actions {
  display: none;
}

.testimony-admin-panel {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.testimony-cms {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  min-height: 560px;
}

.testimony-cms-sidebar {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 12px;
  border-right: 1px solid rgba(48, 95, 78, 0.12);
  padding-right: 14px;
}

.testimony-cms-list {
  display: grid;
  align-content: start;
}

.testimony-cms-list-item {
  display: grid;
  gap: 4px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(48, 95, 78, 0.1);
  border-radius: 0;
  background: transparent;
  padding: 12px 14px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.testimony-cms-list-item:hover {
  background: rgba(97, 103, 94, 0.1);
}

.testimony-cms-list-item.active {
  background: var(--green);
  color: #fffaf1;
}

.testimony-cms-list-item strong,
.testimony-cms-list-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.testimony-cms-list-item strong {
  color: inherit;
  font-size: 1rem;
  line-height: 1.35;
}

.testimony-cms-list-item span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.testimony-cms-list-item.active span {
  color: rgba(255, 250, 241, 0.72);
}

.testimony-cms-add {
  min-width: 0;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.88rem;
}

.testimony-cms-editor {
  min-width: 0;
}

.testimony-editor-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(48, 95, 78, 0.12);
}

.testimony-editor-tab {
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--green);
  padding: 8px 12px;
  font-size: 0.92rem;
  font-weight: 900;
  cursor: pointer;
}

.testimony-editor-tab:hover,
.testimony-editor-tab.active {
  background: rgba(48, 95, 78, 0.1);
}

.testimony-editor-tab.active {
  color: #fffaf1;
  background: var(--green);
}

.testimony-editor-panel {
  padding: 16px 0 74px;
}

.testimony-editor-section {
  display: grid;
  gap: 14px;
}

.testimony-editor-section h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 900;
}

.testimony-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.testimony-editor-section label {
  gap: 6px;
  font-size: 0.9rem;
}

.testimony-editor-section input,
.testimony-editor-section textarea {
  border-radius: 12px;
  padding: 9px 11px;
  font-size: 0.94rem;
}

.testimony-editor-section textarea {
  min-height: 140px;
  max-height: 320px;
  overflow: auto;
  line-height: 1.65;
}

.testimony-save-bar {
  position: sticky;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(48, 95, 78, 0.12);
  background: rgba(255, 253, 248, 0.96);
}

.testimony-save-bar .primary-btn,
.testimony-save-bar .secondary-btn {
  min-height: 38px;
  border-radius: 12px;
  padding: 8px 18px;
}

.donation-admin-stack {
  gap: 10px;
}

.church-admin-stack {
  gap: 10px;
}

.donation-admin-stack .admin-accordion,
.church-admin-stack .admin-accordion {
  border-radius: 18px;
}

.donation-admin-stack .admin-accordion-summary,
.church-admin-stack .admin-accordion-summary {
  padding: 14px 16px;
}

.donation-admin-stack .admin-accordion-body,
.church-admin-stack .admin-accordion-body {
  padding: 0 16px 16px;
}

.admin-section-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  padding: 12px 14px;
  color: var(--text);
}

[hidden] {
  display: none !important;
}

textarea {
  resize: vertical;
}

.editor-list {
  display: grid;
  gap: 16px;
}

.editor-card {
  display: grid;
  gap: 14px;
}

.editor-actions {
  display: flex;
  justify-content: flex-end;
}

.compact-action-btn {
  padding: 8px 16px;
  font-size: 0.92rem;
  line-height: 1.2;
  border-radius: 14px;
}

body.prayer-admin-mode .admin-section-toolbar {
  margin-bottom: 12px;
}

body.prayer-admin-mode .admin-section-toolbar > div:first-child {
  display: none;
}

body.prayer-admin-mode .admin-toolbar-actions {
  width: 100%;
  justify-content: space-between;
  align-items: end;
  gap: 8px 10px;
}

body.prayer-admin-mode #workspace-picker {
  flex: 1 1 560px;
}

body.prayer-admin-mode #workspace-add,
body.prayer-admin-mode #workspace-delete,
body.prayer-admin-mode #workspace-delete-tag,
body.prayer-admin-mode #workspace-add-tag {
  padding: 8px 12px;
  font-size: 0.88rem;
  border-radius: 10px;
}

body.prayer-admin-mode .admin-panel.prayer-admin-panel {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.prayer-picker-control label {
  gap: 5px;
  font-size: 0.84rem;
}

.prayer-picker-control select {
  min-height: 38px;
  border-radius: 12px;
  padding: 8px 11px;
  font-size: 0.92rem;
}

.prayer-cms {
  display: grid;
  gap: 12px;
}

.prayer-home-row {
  border-bottom: 1px solid rgba(48, 95, 78, 0.12);
}

.prayer-home-row summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 0 0 10px;
  color: var(--text);
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
}

.prayer-home-row summary::-webkit-details-marker {
  display: none;
}

.prayer-home-row summary strong {
  color: var(--green);
}

.prayer-home-row summary b {
  border-radius: 10px;
  background: rgba(48, 95, 78, 0.08);
  color: var(--green);
  padding: 6px 12px;
  font-size: 0.84rem;
  font-style: normal;
  white-space: nowrap;
}

.prayer-home-settings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 0 12px;
}

.prayer-category-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(48, 95, 78, 0.12);
}

.prayer-category-row span {
  color: var(--green);
  font-weight: 900;
}

.prayer-category-row input,
.prayer-home-settings select,
.prayer-cms-editor input,
.prayer-cms-editor select,
.prayer-cms-editor textarea {
  border-radius: 12px;
  padding: 9px 11px;
  font-size: 0.94rem;
}

.prayer-category-row input {
  max-width: 190px;
}

.prayer-cms-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 20px;
  min-height: 440px;
}

.prayer-cms-list {
  display: grid;
  align-content: start;
  border-right: 1px solid rgba(48, 95, 78, 0.12);
  padding-right: 14px;
}

.prayer-cms-list-item {
  display: grid;
  gap: 5px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(48, 95, 78, 0.1);
  border-radius: 0;
  background: transparent;
  padding: 11px 12px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.prayer-cms-list-item strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prayer-cms-list-item span {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prayer-cms-list-item:hover,
.prayer-cms-list-item.active {
  background: rgba(48, 95, 78, 0.07);
}

.prayer-cms-list-item.active {
  box-shadow: inset 3px 0 0 var(--green);
}

.prayer-cms-editor {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
}

.prayer-editor-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(48, 95, 78, 0.12);
}

.prayer-editor-top > label:first-child {
  width: min(260px, 100%);
}

.prayer-home-toggle {
  display: inline-flex;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 0.9rem;
  white-space: nowrap;
}

.prayer-home-toggle input {
  width: auto;
}

.prayer-editor-fields {
  display: grid;
  gap: 12px;
}

.prayer-editor-fields label {
  gap: 6px;
  font-size: 0.92rem;
}

.prayer-editor-fields textarea {
  min-height: 160px;
  max-height: 280px;
  overflow: auto;
  line-height: 1.65;
}

.prayer-editor-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 10px;
  border-top: 1px solid rgba(48, 95, 78, 0.12);
}

.prayer-editor-actions .primary-btn {
  min-height: 38px;
  border-radius: 12px;
  padding: 8px 18px;
}

.prayer-cms-empty,
.prayer-cms-empty-text {
  color: var(--muted);
  line-height: 1.65;
}

#save-status {
  color: var(--green);
  font-weight: 700;
}

#storage-status {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

#storage-status.is-database {
  color: var(--green);
}

#storage-status.is-file {
  color: #9f4b22;
}

.admin-help-text {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

@media (max-width: 1080px) {
  .about-banner,
  .alpha-page-hero,
  .about-page-layout,
  .pastor-profile,
  .hero {
    grid-template-columns: 1fr;
  }

  .quick-nav {
    position: static;
  }

  .admin-section-layout {
    grid-template-columns: 1fr;
  }

  .about-page-side {
    position: static;
  }

  .quick-submenu {
    position: static;
    min-width: 0;
    margin-top: 8px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .schedule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .alpha-page-sections {
    width: min(100%, 820px);
  }

  .alpha-sections-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .activities-page-hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .activities-page-filter {
    justify-content: flex-start;
  }

  .activities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-nav-submenu {
    position: static;
    min-width: 0;
    margin-top: 8px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .pastor-profile {
    gap: 34px;
    min-height: 0;
    padding: 34px;
  }

  .pastor-profile::before {
    width: 100%;
    height: 360px;
    opacity: 0.42;
  }

  .pastor-profile::after {
    right: 34px;
    bottom: 44px;
  }

  .pastor-profile-photo-wrap {
    min-height: 540px;
  }

  .pastor-profile-photo {
    width: min(100%, 470px);
    justify-self: center;
  }

  .pastor-profile-overline {
    left: 18px;
  }

  .pastor-photo-note {
    left: calc(50% - 250px);
  }

  .pastor-verse-row {
    justify-content: space-between;
  }

  .pastor-profile-inner {
    padding: 0;
  }

  .pastor-prayer-bar {
    border-radius: 28px;
  }
}

@media (max-width: 760px) {
  :root {
    --shadow: 0 10px 24px rgba(50, 42, 32, 0.08);
    --body-copy-size: 16px;
    --section-title-size: clamp(1.55rem, 7vw, 2.1rem);
    --quick-nav-size: 1rem;
  }

  .page-shell,
  .admin-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  body[data-page="home"] main {
    display: flex;
    flex-direction: column;
  }

  body[data-page="home"] #hero {
    order: 2;
  }

  body[data-page="home"] #hero-feature-switcher {
    order: 1;
  }

  body[data-page="home"] #meetings {
    order: 3;
  }

  body[data-page="home"] .quick-nav {
    order: 4;
  }

  body[data-page="home"] #courses {
    order: 4;
  }

  body[data-page="home"] #prayer {
    order: 5;
  }

  body[data-page="home"] #testimony {
    order: 7;
  }

  body[data-page="home"] #alpha {
    order: 6;
  }

  .activities-page-main {
    gap: 22px;
    padding-bottom: 44px;
  }

  .activities-page-hero {
    padding-top: 10px;
  }

  .activities-page-filter {
    gap: 0;
    padding-bottom: 6px;
  }

  .activities-filter-chip {
    padding: 6px 1px;
    font-size: 0.92rem;
  }

  .activities-filter-divider {
    margin: 0 10px;
  }

  .activities-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .activities-card-body {
    padding: 18px;
  }

  .site-header,
  .admin-section-header,
  .site-footer,
  .hero-stage,
  .carousel-shell,
  .media-showcase,
  .hero-cta,
  .header-actions,
  .admin-actions,
  .form-grid,
  .explore-admin-grid,
  .alpha-grid,
  .card-grid,
  .schedule-grid,
  .about-grid,
  .prayer-layout {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .site-header,
  .site-footer {
    border-radius: 28px;
  }

  .site-footer {
    border-radius: 0;
  }

  .site-header:not(.admin-header) {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 0 0 18px 18px;
    border: 0;
    border-bottom: 1px solid rgba(48, 95, 78, 0.1);
    background: rgba(255, 253, 248, 0.94);
    box-shadow: 0 8px 22px rgba(29, 42, 36, 0.08);
  }

  .full-bleed-header.is-hidden {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .site-header:not(.admin-header) .brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: 10px;
    padding: 4px 0;
  }

  .site-header:not(.admin-header) .brand img,
  .full-bleed-header .brand img,
  .full-bleed-header.is-compact .brand img {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }

  .site-header:not(.admin-header) .brand-copy {
    min-width: 0;
    gap: 2px;
  }

  .site-header:not(.admin-header) .brand-copy strong,
  .full-bleed-header .brand-copy strong,
  .full-bleed-header.is-compact .brand-copy strong {
    max-width: 46vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1rem;
    letter-spacing: 0;
  }

  .site-header:not(.admin-header) .brand-copy span,
  .full-bleed-header .brand-copy span,
  .full-bleed-header.is-compact .brand-copy span {
    max-width: 46vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.74rem;
  }

  .site-header:not(.admin-header) .header-actions {
    display: none;
  }

  .mobile-menu-button {
    position: relative;
    display: inline-flex;
  }

  .full-bleed-header {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .full-bleed-header {
    border-radius: 0 0 22px 22px;
    padding: 10px 12px;
  }

  .full-bleed-header.is-compact {
    padding: 8px 12px;
  }

  .quick-nav {
    display: none;
  }

  .hero {
    gap: 14px;
    padding: 14px 0 12px;
  }

  .media-showcase,
  .copy-panel,
  .values-panel,
  .scripture-card,
  .card,
  .schedule-card,
  .alpha-card {
    border-radius: 18px;
    border-color: rgba(48, 95, 78, 0.1);
    box-shadow: 0 8px 20px rgba(50, 42, 32, 0.07);
  }

  .media-showcase {
    padding: 10px;
    gap: 10px;
  }

  .media-showcase-tabs {
    gap: 8px;
  }

  .media-showcase-tab {
    min-height: 42px;
    padding: 9px 14px;
    font-size: 0.94rem;
  }

  .media-showcase-card {
    border-radius: 16px;
  }

  .media-showcase-copy {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    padding: 18px;
  }

  .media-showcase-link,
  .card a,
  .alpha-card a,
  .schedule-card a,
  .primary-btn,
  .secondary-btn {
    min-height: 46px;
    justify-content: center;
  }

  .feature-switcher {
    margin-top: 8px;
  }

  .feature-switcher-tabs {
    gap: 8px;
  }

  .feature-switcher-tab {
    min-height: 42px;
    padding: 9px 14px;
    font-size: 0.95rem;
  }

  .content-section {
    padding: 22px 0;
  }

  .section-heading {
    margin-bottom: 14px;
  }

  #meetings {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .meetings-section-header {
    gap: 12px;
    margin-bottom: 18px;
  }

  .meetings-heading-mark {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    border-radius: 18px;
  }

  .meetings-heading-mark svg {
    width: 25px;
    height: 25px;
  }

  .meetings-heading-copy h2 {
    font-size: 1.58rem;
  }

  .meetings-heading-copy p {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  #meetings .schedule-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .meeting-card {
    grid-template-columns: minmax(0, 1fr) 82px;
    gap: 10px;
    min-height: 0;
    height: clamp(224px, 62vw, 252px);
    padding: 16px;
    border-radius: 22px;
  }

  .meeting-card-content {
    gap: 9px;
    height: 100%;
    overflow: hidden;
    padding-bottom: 0;
  }

  .meeting-time-badge {
    width: 100%;
    max-width: none;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #047857;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.34;
  }

  .meeting-card h3 {
    font-size: 1.12rem;
    line-height: 1.22;
  }

  .meeting-place {
    font-size: 0.84rem;
    line-height: 1.3;
  }

  .meeting-place svg {
    width: 16px;
    height: 16px;
  }

  .meeting-description {
    max-width: none;
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .meeting-card-media {
    order: 0;
    width: 82px;
    height: 82px;
    aspect-ratio: auto;
    border-radius: 16px;
  }

  .footer-showcase {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    gap: 0;
  }

  .footer-showcase-inner {
    padding: 24px 18px 14px;
    gap: 18px;
  }

  .footer-showcase-top,
  .footer-showcase-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .footer-nav-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .admin-toolbar-actions,
  .admin-inline-controls,
  .admin-inline-controls.compact-three {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .footer-brand-copy {
    align-items: flex-start;
    gap: 12px;
  }

  .footer-brand-logo {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  .footer-brand-block strong {
    margin-bottom: 6px;
    font-size: 1.08rem;
  }

  .footer-brand-block p,
  .footer-copyright,
  .footer-nav-column a {
    font-size: 0.9rem;
  }

  .footer-socials {
    margin-top: 2px;
  }

  .footer-showcase-bottom {
    min-height: 0;
    padding-top: 12px;
  }

  .floating-top-btn {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }

  body[data-page="pastor-page"] .pastor-page-main {
    padding: 16px 0 30px;
  }

  body[data-page="pastor-page"] .pastor-profile {
    gap: 0;
    padding: 18px;
    border-radius: 26px;
    background:
      radial-gradient(circle at 14% 4%, rgba(215, 184, 121, 0.18), transparent 34%),
      radial-gradient(circle at 92% 76%, rgba(48, 95, 78, 0.22), transparent 32%),
      linear-gradient(160deg, #183149 0%, #10293a 48%, #0d2b22 100%);
    box-shadow: 0 18px 40px rgba(15, 32, 44, 0.22);
  }

  body[data-page="pastor-page"] .pastor-profile::before {
    height: 250px;
    opacity: 0.22;
  }

  body[data-page="pastor-page"] .pastor-profile::after {
    display: none;
  }

  body[data-page="pastor-page"] .pastor-profile-photo-wrap {
    min-height: 0;
    padding-top: 0;
  }

  body[data-page="pastor-page"] .pastor-profile-overline {
    display: none;
  }

  body[data-page="pastor-page"] .pastor-profile-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-width: 8px;
    border-radius: 30px;
    box-shadow: 0 16px 28px rgba(29, 42, 36, 0.14);
  }

  body[data-page="pastor-page"] .pastor-profile-photo img {
    object-position: center 24%;
  }

  body[data-page="pastor-page"] .pastor-photo-note {
    position: relative;
    left: auto;
    bottom: auto;
    display: flex;
    align-items: center;
    width: 80%;
    min-height: 78px;
    margin: -22px 0 0 20px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 16px 30px rgba(4, 12, 22, 0.22);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  body[data-page="pastor-page"] .pastor-photo-note::before {
    content: "✦ 以真理牧養，以愛陪伴";
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.45;
    white-space: nowrap;
  }

  body[data-page="pastor-page"] .pastor-photo-note-mark,
  body[data-page="pastor-page"] .pastor-photo-note strong,
  body[data-page="pastor-page"] .pastor-photo-note span:last-child {
    display: none;
  }

  body[data-page="pastor-page"] .pastor-profile-content {
    gap: 0;
    margin-top: 32px;
  }

  body[data-page="pastor-page"] .pastor-verse-row {
    display: block;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 2.25rem;
  }

  body[data-page="pastor-page"] .pastor-verse-row p {
    margin: 0;
    line-height: 2.25rem;
  }

  body[data-page="pastor-page"] .pastor-verse-quote,
  body[data-page="pastor-page"] .pastor-verse-reference {
    display: block;
  }

  body[data-page="pastor-page"] .pastor-verse-reference {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
    font-weight: 650;
  }

  body[data-page="pastor-page"] .pastor-cross {
    display: none;
  }

  body[data-page="pastor-page"] .pastor-profile-inner {
    gap: 0;
    margin-top: 40px;
    padding: 0 4px;
  }

  body[data-page="pastor-page"] .pastor-profile-heading {
    gap: 10px;
  }

  body[data-page="pastor-page"] .pastor-eyebrow {
    margin: 0 0 10px;
    color: #f6c965;
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.2em;
  }

  body[data-page="pastor-page"] .pastor-eyebrow::before {
    display: none;
  }

  body[data-page="pastor-page"] .pastor-profile-heading h1 {
    color: #fff;
    font-size: clamp(3rem, 13vw, 3.55rem);
    font-weight: 800;
    line-height: 1.02;
  }

  body[data-page="pastor-page"] .pastor-profile-heading h1::first-letter {
    color: #fff;
  }

  body[data-page="pastor-page"] .pastor-name-en {
    display: none;
  }

  body[data-page="pastor-page"] .pastor-philosophy {
    display: none;
  }

  body[data-page="pastor-page"] .pastor-philosophy::before {
    display: none;
  }

  body[data-page="pastor-page"] .pastor-intro {
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.9;
  }

  body[data-page="pastor-page"] .pastor-info-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }

  body[data-page="pastor-page"] .pastor-info-card {
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: start;
    padding: 16px;
    border-radius: 20px;
    min-height: 0;
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 253, 248, 0.08);
    box-shadow: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  body[data-page="pastor-page"] .pastor-info-card h2 {
    color: #f6c965;
    font-size: 1.08rem;
  }

  body[data-page="pastor-page"] .pastor-info-card p {
    color: rgba(255, 255, 255, 0.76);
  }

  body[data-page="pastor-page"] .pastor-voice {
    gap: 14px;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.84);
  }

  body[data-page="pastor-page"] .pastor-voice h2 {
    color: #fff;
  }

  body[data-page="pastor-page"] .pastor-voice p {
    color: rgba(255, 255, 255, 0.76);
  }

  body[data-page="pastor-page"] .pastor-prayer-bar {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px;
    border-radius: 24px;
  }

  body[data-page="pastor-page"] .pastor-prayer-link {
    width: 100%;
    min-height: 46px;
    padding: 0 18px;
    white-space: normal;
  }

  body[data-page="pastor-page"] .pastor-prayer-dialog {
    align-items: end;
    padding: 14px;
  }

  body[data-page="pastor-page"] .pastor-prayer-dialog-panel {
    width: 100%;
    max-height: calc(100vh - 28px);
    padding: 24px;
    border-radius: 26px;
    transform: translateY(22px);
  }

  body[data-page="pastor-page"] .pastor-prayer-dialog-header {
    gap: 14px;
    margin-bottom: 18px;
  }

  body[data-page="pastor-page"] .pastor-prayer-dialog-header h2 {
    font-size: clamp(1.7rem, 8vw, 2.25rem);
  }

  body[data-page="pastor-page"] .pastor-prayer-dialog-close {
    width: 40px;
    height: 40px;
  }

  body[data-page="pastor-page"] .pastor-prayer-dialog-body {
    padding: 18px;
    border-radius: 20px;
    font-size: 1rem;
    line-height: 1.85;
  }

  body.values-sheet-open {
    overflow: hidden;
  }

  body[data-page="about-page"] .about-page-side {
    display: none;
  }

  body[data-page="about-page"] .about-values-trigger {
    position: fixed;
    right: 20px;
    bottom: 74px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: rgba(4, 120, 87, 0.9);
    color: #fff;
    font: inherit;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.26);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    cursor: pointer;
    transition: transform 180ms ease, background 220ms ease, box-shadow 220ms ease, opacity 180ms ease;
  }

  body[data-page="about-page"] .about-values-trigger:hover,
  body[data-page="about-page"] .about-values-trigger:focus-visible {
    transform: translateY(-2px);
    background: rgba(4, 120, 87, 0.98);
    box-shadow: 0 22px 36px rgba(15, 23, 42, 0.32);
  }

  body[data-page="about-page"].values-sheet-open .about-values-trigger {
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
  }

  .about-values-trigger-icon {
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    color: rgba(255, 250, 243, 0.92);
    font-size: 1rem;
    line-height: 1;
  }

  body[data-page="about-page"] .about-values-sheet {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: block;
    pointer-events: none;
  }

  .about-values-sheet-backdrop {
    position: absolute;
    inset: 0;
    z-index: 100;
    border: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
    transition: opacity 240ms ease;
  }

  .about-values-drawer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 110;
    display: grid;
    gap: 18px;
    max-height: min(90vh, 720px);
    padding: 22px 22px max(32px, env(safe-area-inset-bottom));
    overflow-y: auto;
    border-radius: 28px 28px 0 0;
    background: #1c1917;
    color: #fffaf3;
    box-shadow: 0 -26px 70px rgba(0, 0, 0, 0.34);
    transform: translateY(100%);
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .about-values-sheet.is-open {
    pointer-events: auto;
  }

  .about-values-sheet.is-open .about-values-sheet-backdrop {
    opacity: 1;
  }

  .about-values-sheet.is-open .about-values-drawer {
    transform: translateY(0);
  }

  .about-values-drawer:focus {
    outline: none;
  }

  .about-values-drawer-handle {
    justify-self: center;
    width: 46px;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 250, 243, 0.26);
  }

  .about-values-drawer-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
  }

  .about-values-drawer-heading .section-label {
    margin: 0 0 6px;
    color: rgba(255, 250, 243, 0.68);
  }

  .about-values-drawer-heading h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.75rem;
    line-height: 1.15;
    letter-spacing: 0;
  }

  .about-values-close {
    position: relative;
    z-index: 120;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 250, 243, 0.1);
    color: rgba(255, 250, 243, 0.9);
    font: inherit;
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
    pointer-events: auto;
    touch-action: manipulation;
  }

  .about-values-drawer-list {
    display: grid;
    gap: 12px;
    padding-bottom: max(112px, calc(32px + env(safe-area-inset-bottom)));
  }

  .about-values-drawer-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 250, 243, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 250, 243, 0.08);
  }

  .about-values-drawer-icon {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.16);
    color: #bbf7d0;
    font-size: 1.1rem;
  }

  .about-values-drawer-item h3 {
    margin: 0 0 5px;
    color: #fffaf3;
    font-family: var(--font-display);
    font-size: 1.18rem;
    line-height: 1.25;
    letter-spacing: 0;
  }

  .about-values-drawer-item p {
    margin: 0;
    color: rgba(255, 250, 243, 0.76);
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .admin-section-toolbar {
    align-items: stretch;
  }

  .about-admin-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .about-admin-mobile-picker {
    display: block;
  }

  .about-admin-nav {
    display: none;
  }

  .about-admin-editor {
    padding-left: 0;
  }

  .about-admin-editor-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .about-admin-editor-heading .compact-action-btn {
    width: 100%;
  }

  .about-long-copy-grid {
    grid-template-columns: 1fr;
  }

  .about-long-textarea {
    max-height: 300px;
  }

  .pastor-admin-workspace {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .pastor-admin-sidebar {
    position: static;
    grid-template-columns: 1fr;
    padding: 8px;
    border-radius: 18px;
  }

  .pastor-admin-card {
    padding: 18px;
    border-radius: 22px;
  }

  .pastor-admin-card-heading {
    flex-direction: column;
    gap: 10px;
  }

  .pastor-image-editor-card {
    grid-template-columns: 1fr;
  }

  .pastor-image-preview-card {
    width: min(100%, 260px);
  }

  .pastor-admin-save-bar {
    bottom: 8px;
    align-items: stretch;
    flex-direction: column;
  }

  .pastor-admin-save-bar .primary-btn {
    width: 100%;
  }

  .media-admin-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .media-admin-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(48, 95, 78, 0.12);
    padding: 0 0 14px;
  }

  .media-admin-list {
    border-top: 1px solid rgba(48, 95, 78, 0.1);
  }

  .media-admin-add {
    width: 100%;
  }

  .media-admin-editor {
    padding: 18px 0 0;
  }

  .media-admin-fields {
    max-width: none;
  }

  .media-admin-footer {
    background: rgba(251, 248, 242, 0.96);
  }

  #testimony {
    padding: 28px 0 34px;
  }

  #testimony .section-heading h2 {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }

  .testimony-home-card {
    grid-template-columns: 1fr;
    max-height: none;
  }

  .testimony-home-media {
    min-height: 220px;
    padding: 16px 16px 0;
  }

  .testimony-home-media img {
    min-height: 220px;
  }

  .testimony-home-body {
    padding: 22px;
  }

  .meetings-admin-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .meetings-admin-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(48, 95, 78, 0.12);
    padding: 0 0 14px;
  }

  .meetings-admin-list {
    border-top: 1px solid rgba(48, 95, 78, 0.1);
  }

  .meetings-admin-add {
    width: 100%;
  }

  .meetings-admin-editor {
    padding: 18px 0 0;
  }

  .meetings-admin-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .meetings-admin-toolbar label,
  .meetings-admin-fields {
    max-width: none;
    width: 100%;
  }

  .meetings-admin-footer {
    background: rgba(251, 248, 242, 0.96);
  }

  .prayer-picker-control {
    grid-template-columns: 1fr;
  }

  body.prayer-admin-mode .admin-toolbar-actions {
    align-items: stretch;
  }

  .prayer-home-row summary,
  .prayer-category-row,
  .prayer-editor-top {
    align-items: stretch;
    flex-direction: column;
  }

  .prayer-home-settings,
  .prayer-cms-layout {
    grid-template-columns: 1fr;
  }

  .prayer-category-row input,
  .prayer-editor-top > label:first-child {
    max-width: none;
    width: 100%;
  }

  .prayer-cms-list {
    border-right: 0;
    border-bottom: 1px solid rgba(48, 95, 78, 0.12);
    padding: 0 0 14px;
  }

  .prayer-home-toggle {
    justify-content: flex-start;
  }

  .testimony-cms {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .testimony-cms-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(48, 95, 78, 0.12);
    padding: 0 0 14px;
  }

  .testimony-editor-grid {
    grid-template-columns: 1fr;
  }

  .brand {
    align-items: flex-start;
  }

  .brand img {
    width: 64px;
    height: 64px;
  }

  .prayer-heading-row,
  .prayer-heading-chips {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .admin-avatar-link {
    width: 52px;
    height: 52px;
  }

  .carousel-track {
    min-height: 480px;
  }

  .media-showcase-tabs {
    justify-content: stretch;
  }

  .media-showcase-tab {
    flex: 1 1 0;
    text-align: center;
  }

  .media-showcase-copy {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: 22px 24px;
  }

  .media-showcase-link {
    width: fit-content;
  }

  .slide-image {
    min-height: 300px;
  }

  .feature-switcher {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: visible;
    border-radius: 0;
  }

  .feature-switcher-panel.active,
  .scripture-banner,
  .scripture-card,
  .mission-vision-section {
    display: contents;
  }

  .scripture-card::before,
  .mission-vision-section::before {
    content: none;
  }

  .scripture-poster,
  .mission-vision-poster {
    order: 1;
    width: 100%;
    height: 220px;
    border: 1px solid rgba(48, 95, 78, 0.1);
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(50, 42, 32, 0.07);
  }

  .scripture-poster {
    object-position: center center;
    transform: scale(1.16);
    transform-origin: left center;
  }

  .mission-vision-poster {
    opacity: 1;
    filter: saturate(0.94) brightness(1.02) contrast(0.98);
    transform: none;
    object-position: center 42%;
  }

  .feature-switcher-tabs {
    position: static;
    order: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
  }

  .feature-switcher-tab {
    min-height: 46px;
    width: 100%;
    flex: 1 1 0;
    padding: 10px 12px;
    text-align: center;
    border: 1px solid rgba(48, 95, 78, 0.1);
    background: rgba(255, 253, 248, 0.82);
    color: var(--green);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    font-size: 0.95rem;
  }

  .feature-switcher-tab:hover {
    transform: none;
    box-shadow: none;
  }

  .feature-switcher-tab.active {
    background: #305f4e;
    color: #fffaf3;
    box-shadow: none;
  }

  .scripture-hidden-copy,
  .mission-vision-copy-wrap {
    order: 3;
    display: block;
    position: static;
    padding: 18px;
    border: 1px solid rgba(48, 95, 78, 0.1);
    border-radius: 20px;
    background: rgba(255, 253, 248, 0.92);
    box-shadow: 0 8px 20px rgba(50, 42, 32, 0.07);
  }

  .scripture-content {
    max-width: none;
    margin: 0;
    gap: 8px;
  }

  .scripture-card .section-label,
  .scripture-card p,
  .scripture-card blockquote,
  #scripture-reference {
    color: var(--text);
    text-shadow: none;
  }

  .scripture-card .section-label {
    font-family: var(--font-body);
    color: var(--accent-deep);
    font-size: 0.78rem;
  }

  .scripture-card blockquote {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.72;
    letter-spacing: 0;
  }

  #scripture-reference {
    justify-self: start;
    font-family: var(--font-body);
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--muted);
  }

  .mission-vision-copy-wrap::before {
    content: "使命與異象";
    display: block;
    margin-bottom: 10px;
    color: var(--accent-deep);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .mission-vision-copy-wrap h2 {
    margin-bottom: 14px;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 7vw, 1.75rem);
    line-height: 1.22;
    letter-spacing: 0;
    text-align: left;
    text-shadow: none;
  }

  .mission-vision-copy {
    display: grid;
    gap: 10px;
    width: 100%;
    padding: 0;
    background: transparent;
  }

  .mission-vision-block,
  .mission-vision-belief {
    display: grid;
    gap: 7px;
    padding: 14px;
    border: 1px solid rgba(48, 95, 78, 0.09);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    text-align: left;
  }

  .mission-vision-block:not(.mission-vision-belief) h3 {
    display: block;
    margin-right: 0;
  }

  .mission-vision-block:not(.mission-vision-belief) h3::after,
  .mission-vision-block:not(.mission-vision-belief) p:first-of-type::after {
    content: none;
  }

  .mission-vision-block h3,
  .mission-vision-belief > p:first-child {
    font-family: var(--font-display);
    font-size: 1.08rem;
    line-height: 1.35;
    color: var(--green);
    letter-spacing: 0;
    text-shadow: none;
  }

  .mission-vision-block p,
  .mission-vision-belief-lines p {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.72;
    letter-spacing: 0;
    color: var(--muted);
    text-shadow: none;
  }

  .mission-vision-belief-lines {
    width: 100%;
    margin: 0;
    gap: 6px;
  }

  .mission-vision-copy-wrap:not(.is-expanded) .mission-vision-block p,
  .mission-vision-copy-wrap:not(.is-expanded) .mission-vision-belief-lines p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .mission-vision-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 12px;
    padding: 10px 16px;
    border: 1px solid rgba(48, 95, 78, 0.14);
    border-radius: 999px;
    background: rgba(48, 95, 78, 0.08);
    color: var(--green);
    font-weight: 800;
    cursor: pointer;
  }

  .feature-switcher {
    position: relative;
    display: block;
    aspect-ratio: 2.25 / 1;
    height: auto;
    min-height: 0;
    margin: 12px 0 18px;
    overflow: hidden;
    border-radius: 24px;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
  }

  .feature-switcher-panel {
    display: none;
  }

  .feature-switcher-panel.active {
    animation: featureCarouselFade 260ms ease;
  }

  .feature-switcher-panel.active,
  .scripture-banner,
  .scripture-card,
  .mission-vision-section {
    display: block;
    width: 100%;
    height: 100%;
  }

  .scripture-banner,
  .mission-vision-section {
    padding: 0;
  }

  .scripture-card,
  .mission-vision-section {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #171812;
    border: 0;
    box-shadow: none;
    min-height: 0;
    aspect-ratio: auto;
  }

  .scripture-card::before,
  .mission-vision-section::before {
    content: none;
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: rgba(9, 18, 15, 0.04);
  }

  .scripture-card::after {
    content: "";
    position: absolute;
    inset: -12px;
    z-index: 0;
    background-image:
      linear-gradient(rgba(16, 18, 13, 0.1), rgba(16, 18, 13, 0.1)),
      url("/images/scripture-key-preview.jpg");
    background-position: center center;
    background-size: cover;
    filter: blur(10px) saturate(1.02) brightness(0.92);
    transform: scale(1.04);
    pointer-events: none;
  }

  .mission-vision-section::before {
    background: linear-gradient(180deg, rgba(9, 18, 15, 0.08), rgba(9, 18, 15, 0.04) 48%, rgba(9, 18, 15, 0.5));
  }

  .scripture-poster,
  .scripture-poster-mobile,
  .mission-vision-poster {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    object-fit: cover;
    box-shadow: none;
  }

  .scripture-poster {
    display: none;
  }

  .scripture-poster-mobile {
    display: block;
    object-fit: contain;
    object-position: center center;
    background: transparent;
  }

  .mission-vision-poster {
    opacity: 1;
    filter: saturate(0.98) brightness(0.96) contrast(1.02);
    transform: none;
    object-position: center 42%;
  }

  .feature-switcher-panel.active .mission-open-hint {
    position: absolute;
    right: 14px;
    bottom: 18px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: calc(100% - 96px);
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .mission-open-hint span {
    font-size: 1rem;
    line-height: 1;
  }

  .feature-switcher-tabs {
    display: none;
  }

  .feature-carousel-arrow {
    position: absolute;
    top: 38%;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.22);
    color: #fff;
    box-shadow: none;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 180ms ease, transform 180ms ease;
  }

  .feature-carousel-arrow:hover {
    background: rgba(0, 0, 0, 0.34);
    transform: translateY(-50%) scale(1.04);
  }

  .feature-carousel-arrow span {
    display: block;
    margin-top: -2px;
    font-size: 1.62rem;
    line-height: 1;
  }

  .feature-carousel-arrow-prev {
    left: 14px;
  }

  .feature-carousel-arrow-next {
    right: 14px;
  }

  .feature-carousel-indicators {
    position: absolute;
    left: 50%;
    bottom: 16px;
    z-index: 5;
    display: flex;
    gap: 7px;
    transform: translateX(-50%);
  }

  .feature-carousel-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    transition: width 180ms ease, background 180ms ease;
  }

  .feature-carousel-dot.active {
    width: 18px;
    background: #305f4e;
  }

  .scripture-hidden-copy {
    display: none;
  }

  .mission-vision-copy-wrap {
    position: absolute;
    top: auto;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 3;
    display: block;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .scripture-content {
    max-width: none;
    margin: 0;
    gap: 7px;
  }

  #scripture-label,
  #scripture-verse,
  #scripture-reference {
    display: none;
  }

  .scripture-card .section-label,
  .scripture-card p,
  .scripture-card blockquote,
  #scripture-reference,
  .mission-vision-copy-wrap h2,
  .mission-vision-copy-wrap::before {
    color: #fffaf3;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.34);
  }

  .scripture-card .section-label,
  .mission-vision-copy-wrap::before {
    display: block;
    margin-bottom: 2px;
    color: rgba(255, 241, 211, 0.86);
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .mission-vision-copy-wrap::before {
    content: none;
  }

  .scripture-card blockquote {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 0;
  }

  .mobile-harvest-title {
    display: none;
  }

  .mobile-harvest-verse {
    display: none;
  }

  .mobile-harvest-reference {
    display: none;
  }

  .mission-vision-copy-wrap > h2 {
    display: none;
  }

  .mobile-mission-summary {
    display: none;
  }

  .mission-vision-copy {
    display: none;
  }

  .feature-more-button,
  .mission-vision-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    width: fit-content;
    margin-top: 10px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 250, 241, 0.28);
    border-radius: 999px;
    background: rgba(255, 250, 241, 0.14);
    color: #fffaf3;
    font-size: 0.9rem;
    font-weight: 800;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
  }

  .feature-dialog {
    place-items: stretch;
    align-items: stretch;
    padding: 0;
  }

  .feature-dialog-backdrop {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .feature-dialog-panel {
    width: 100%;
    height: 100dvh;
    max-height: none;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 20px;
    overflow: auto;
    padding: 68px 20px 28px;
    border: 0;
    border-radius: 0;
    background: rgba(9, 12, 14, 0.96);
    box-shadow: none;
    transform: scale(0.98);
  }

  .feature-dialog-image {
    display: block;
    justify-self: center;
    height: auto;
    max-height: 42vh;
    object-fit: contain;
    background: transparent;
    border-radius: 18px;
  }

  .feature-dialog.is-open .feature-dialog-panel {
    transform: scale(1);
  }

  .feature-dialog-header {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 4;
    padding: 0;
    border: 0;
  }

  .feature-dialog-header > div {
    display: none;
  }

  .feature-dialog-header h2 {
    font-size: 1.35rem;
  }

  .feature-dialog-close {
    width: 42px;
    height: 42px;
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.12);
    color: #fffaf3;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .feature-dialog-content {
    align-content: start;
    gap: 18px;
    width: min(100%, 680px);
    margin: 0 auto;
    padding-bottom: 24px;
  }

  .feature-dialog-section {
    display: grid;
    gap: 10px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .feature-dialog-section h3 {
    color: #7dd3fc;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.35;
  }

  .feature-dialog-section p,
  .feature-dialog-section blockquote {
    color: rgba(255, 250, 241, 0.86);
    font-size: 1rem;
    line-height: 2;
  }

  .feature-dialog-belief {
    gap: 10px;
    padding-top: 10px;
  }

  .feature-dialog-belief h3 {
    margin-top: 8px;
    margin-bottom: 2px;
    color: #7dd3fc;
  }

  .feature-dialog.is-image-only .feature-dialog-panel {
    place-items: center;
    grid-template-rows: 1fr;
    gap: 0;
    overflow: hidden;
    padding: 20px;
  }

  .feature-dialog.is-image-only .feature-dialog-header {
    position: fixed;
    top: 16px;
    right: 16px;
  }

  .feature-dialog.is-image-only .feature-dialog-header > div,
  .feature-dialog.is-image-only .feature-dialog-content {
    display: none;
  }

  .feature-dialog.is-image-only .feature-dialog-close {
    width: 42px;
    height: 42px;
  }

  .feature-dialog.is-image-only .feature-dialog-image {
    max-width: calc(100vw - 28px);
    max-height: 85vh;
    border-radius: 18px;
  }

  .alpha-sections-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Thanksgiving and Prayer Page (感恩及代禱) Specific Redesign
   ========================================================================== */

/*body[data-page="gratitude-prayer-page"] {
  background: 
    radial-gradient(circle at 5% 5%, rgba(48, 95, 78, 0.04), transparent 30%),
    radial-gradient(circle at 95% 5%, rgba(191, 91, 44, 0.02), transparent 25%),
    linear-gradient(180deg, #FDFCF9 0%, #FAF8F4 50%, #F5F0E6 100%);
  min-height: 100vh;
}

/* Layout Main Spacing */
body[data-page="gratitude-prayer-page"] .gratitude-prayer-main {
  width: 100%;
  padding: 32px 24px 80px; /* Reduced top padding to shift content up */
  box-sizing: border-box;
  display: block;
}

/* Two-column centered layout container */
body[data-page="gratitude-prayer-page"] .gratitude-prayer-container {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 72px;
  align-items: center;
  max-width: 1200px;
  margin: 24px auto 0; /* Reduced top margin and removed giant min-height constraint */
  min-height: auto;
}

/* Left Column: Info styling */
body[data-page="gratitude-prayer-page"] .gratitude-prayer-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

body[data-page="gratitude-prayer-page"] .gratitude-prayer-info .section-label {
  color: var(--green);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

body[data-page="gratitude-prayer-page"] #gratitude-page-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.2vw, 2.75rem);
  color: #1a3c30;
  line-height: 1.3;
  font-weight: 800;
}

body[data-page="gratitude-prayer-page"] .gratitude-page-description {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.85;
  color: rgba(48, 95, 78, 0.76);
  font-weight: 550;
  max-width: 540px;
}

body[data-page="gratitude-prayer-page"] .gratitude-page-art {
  margin-top: 10px;
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 36px rgba(50, 42, 32, 0.08);
  border: 1px solid var(--line);
}

body[data-page="gratitude-prayer-page"] #gratitude-page-img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

body[data-page="gratitude-prayer-page"] .gratitude-page-art:hover #gratitude-page-img {
  transform: scale(1.03);
}

/* Right Column: content containing tabs and card */
body[data-page="gratitude-prayer-page"] .gratitude-prayer-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 480px;
  justify-self: end;
}

/* Simplified Capsule Tabs Switcher sitting directly above the card */
body[data-page="gratitude-prayer-page"] .gratitude-prayer-tabs {
  display: flex;
  background: rgba(48, 95, 78, 0.05);
  padding: 6px;
  border-radius: 999px;
  gap: 4px;
  border: 1px solid rgba(48, 95, 78, 0.06);
  box-sizing: border-box;
  width: 100%;
}

body[data-page="gratitude-prayer-page"] .gratitude-tab-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 20px;
  font-weight: 800;
  font-size: 0.98rem;
  color: rgba(48, 95, 78, 0.65);
  cursor: pointer;
  border-radius: 999px;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

body[data-page="gratitude-prayer-page"] .gratitude-tab-btn:hover {
  color: var(--green);
}

body[data-page="gratitude-prayer-page"] .gratitude-tab-btn.active {
  background: #ffffff;
  color: var(--green);
  box-shadow: 0 4px 14px rgba(48, 95, 78, 0.08);
}

/* Date Selector Section sitting between tabs and card */
body[data-page="gratitude-prayer-page"] .gratitude-prayer-date-selector {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: -8px; /* Slightly negative margin to bind visually closer to Tabs capsule */
  box-sizing: border-box;
}

body[data-page="gratitude-prayer-page"] .gratitude-date-pills {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap; /* Strictly prevent wrapping to keep layout height locked */
  width: 100%;
}

body[data-page="gratitude-prayer-page"] .gratitude-date-pill {
  border: 1px solid rgba(48, 95, 78, 0.1);
  background: #ffffff;
  color: var(--green);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  outline: none;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

body[data-page="gratitude-prayer-page"] .gratitude-date-pill:hover {
  background: rgba(48, 95, 78, 0.04);
  border-color: rgba(48, 95, 78, 0.2);
  transform: translateY(-1px);
}

body[data-page="gratitude-prayer-page"] .gratitude-date-pill.active {
  background: var(--green);
  color: #ffffff;
  border-color: var(--green);
  box-shadow: 0 4px 12px rgba(48, 95, 78, 0.15);
  transform: translateY(0);
}

body[data-page="gratitude-prayer-page"] .gratitude-more-select {
  border: 1px solid rgba(48, 95, 78, 0.15);
  background: #ffffff;
  color: var(--green);
  border-radius: 999px;
  padding: 8px 32px 8px 16px; /* Extra padding on the right for arrow spacing */
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  outline: none;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  appearance: none; /* Premium native arrow styling overrides */
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23305F4E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
}

body[data-page="gratitude-prayer-page"] .gratitude-more-select:hover {
  background: rgba(48, 95, 78, 0.04);
  border-color: rgba(48, 95, 78, 0.2);
  transform: translateY(-1px);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23305F4E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
}

body[data-page="gratitude-prayer-page"] .gratitude-more-select.active {
  background: var(--green);
  color: #ffffff;
  border-color: var(--green);
  box-shadow: 0 4px 12px rgba(48, 95, 78, 0.15);
  transform: translateY(0);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
}

body[data-page="gratitude-prayer-page"] .gratitude-date-select {
  display: none;
  width: 100%;
  border: 1px solid rgba(48, 95, 78, 0.15);
  background: #ffffff;
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green);
  cursor: pointer;
  outline: none;
  box-shadow: 0 4px 12px rgba(48, 95, 78, 0.02);
  transition: border-color 0.22s ease;
  box-sizing: border-box;
}

body[data-page="gratitude-prayer-page"] .gratitude-date-select:focus {
  border-color: var(--green);
}

/* Premium Primary Card */
body[data-page="gratitude-prayer-page"] .gratitude-prayer-card {
  background: #ffffff;
  border-radius: 32px;
  padding: 44px 40px;
  border: 1px solid rgba(48, 95, 78, 0.06);
  box-shadow: 0 20px 48px -12px rgba(48, 95, 78, 0.08);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body[data-page="gratitude-prayer-page"] .gratitude-prayer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 64px -16px rgba(48, 95, 78, 0.14);
  border-color: rgba(48, 95, 78, 0.12);
}

body[data-page="gratitude-prayer-page"] .gratitude-prayer-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

body[data-page="gratitude-prayer-page"] .gratitude-card-tag {
  font-size: 0.8rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body[data-page="gratitude-prayer-page"] .tag-gratitude {
  background: rgba(48, 95, 78, 0.06);
  color: var(--green);
}

body[data-page="gratitude-prayer-page"] .tag-prayer {
  background: rgba(191, 91, 44, 0.06);
  color: var(--accent);
}

body[data-page="gratitude-prayer-page"] .gratitude-card-date {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 700;
}

body[data-page="gratitude-prayer-page"] .gratitude-prayer-card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: #12304b;
  line-height: 1.35;
  font-weight: 800;
}

/* Card Body Excerpt with smooth transition animations */
body[data-page="gratitude-prayer-page"] .gratitude-prayer-card-body {
  position: relative;
  overflow: hidden;
  max-height: 135px; /* Fits exactly 3-4 lines neatly */
  transition: max-height 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-sizing: border-box;
}

/* When expanded, reveal full content smoothly */
body[data-page="gratitude-prayer-page"] .gratitude-prayer-card.is-expanded .gratitude-prayer-card-body {
  max-height: 1500px;
}

body[data-page="gratitude-prayer-page"] .gratitude-prayer-card-text {
  font-size: 1.02rem;
  line-height: 1.85;
  color: rgba(31, 46, 52, 0.78);
  font-weight: 550;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}

body[data-page="gratitude-prayer-page"] .gratitude-prayer-card-text p {
  margin: 0;
}

/* Excerpt Fade Overlay */
body[data-page="gratitude-prayer-page"] .gratitude-prayer-card-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Hide Fade overlay in expanded state */
body[data-page="gratitude-prayer-page"] .gratitude-prayer-card.is-expanded .gratitude-prayer-card-fade {
  opacity: 0;
}

body[data-page="gratitude-prayer-page"] .gratitude-prayer-card-actions {
  display: flex;
  width: 100%;
  margin-top: 6px;
}

body[data-page="gratitude-prayer-page"] .gratitude-card-action-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  padding: 12px 24px !important;
  border-radius: 18px !important;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: 1px solid transparent;
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(48, 95, 78, 0.12);
  outline: none;
}

body[data-page="gratitude-prayer-page"] .gratitude-card-action-btn:hover {
  background: #1a3c30;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(48, 95, 78, 0.22);
}

/* ==========================================================================
   Thanksgiving and Prayer Page (感恩及代禱) Mobile View Overrides
   ========================================================================== */
@media (max-width: 960px) {
  body[data-page="gratitude-prayer-page"] .gratitude-prayer-main {
    padding: 40px 16px 80px;
  }

  body[data-page="gratitude-prayer-page"] .gratitude-prayer-container {
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: stretch;
    min-height: auto;
  }

  body[data-page="gratitude-prayer-page"] .gratitude-prayer-info {
    text-align: center;
    align-items: center;
    gap: 14px;
  }

  body[data-page="gratitude-prayer-page"] #gratitude-page-title {
    font-size: 2rem;
    max-width: 100%;
    line-height: 1.35;
  }

  body[data-page="gratitude-prayer-page"] .gratitude-page-description {
    font-size: 0.98rem;
    max-width: 100%;
  }

  body[data-page="gratitude-prayer-page"] .gratitude-prayer-content {
    max-width: 100%;
  }

  body[data-page="gratitude-prayer-page"] .gratitude-prayer-card {
    padding: 36px 28px;
    border-radius: 28px;
  }

  body[data-page="gratitude-prayer-page"] .gratitude-prayer-card-title {
    font-size: 1.38rem;
  }

  body[data-page="gratitude-prayer-page"] .gratitude-prayer-card-text {
    font-size: 0.98rem;
  }

  body[data-page="gratitude-prayer-page"] .gratitude-date-pills {
    display: none;
  }

  body[data-page="gratitude-prayer-page"] .gratitude-date-select {
    display: block;
  }

body[data-page="gratitude-prayer-page"] .gratitude-prayer-date-selector {
    margin-top: 0;
  }
}

/* ==========================================================================
   Home Feature Dialog + Mobile Hero Summary Overrides
   ========================================================================== */
body[data-page="home"] .harvest-summary-verse,
body[data-page="home"] .feature-open-hint {
  display: none;
}

body[data-page="home"] .scripture-card .harvest-summary-verse {
  display: none;
}

body[data-page="home"] .feature-dialog {
  z-index: 1000;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(18px, 3vw, 32px);
}

body[data-page="home"] .feature-dialog-backdrop {
  z-index: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

body[data-page="home"] .feature-dialog-panel {
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(90vh, 860px);
  overflow-y: auto;
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  background: #fffaf0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

body[data-page="home"] .feature-dialog-header {
  align-items: center;
  padding-bottom: 12px;
}

body[data-page="home"] .feature-dialog-image {
  display: block;
  width: 100%;
  max-height: 44vh;
  height: auto;
  object-fit: contain;
  object-position: center center;
  border-radius: 20px;
  background: rgba(21, 33, 27, 0.08);
}

body[data-page="home"] .feature-dialog-content {
  gap: 16px;
}

body[data-page="home"] .feature-dialog-section {
  padding: clamp(18px, 2.2vw, 24px);
  border: 1px solid rgba(48, 95, 78, 0.12);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.92);
}

body[data-page="home"] .feature-dialog-section h3 {
  color: var(--green);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

body[data-page="home"] .feature-dialog-section p,
body[data-page="home"] .feature-dialog-section blockquote {
  color: rgba(29, 42, 36, 0.82);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.85;
}

body[data-page="home"] .feature-dialog-scripture blockquote {
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 850;
  line-height: 1.72;
}

body[data-page="home"].feature-dialog-open .site-header,
body[data-page="home"].feature-dialog-open .mobile-menu-button {
  z-index: 0;
  pointer-events: none;
}

body[data-page="home"] .feature-dialog.is-image-only .feature-dialog-content,
body[data-page="home"] .feature-dialog.is-image-only .feature-dialog-header > div {
  display: block;
}

@media (max-width: 960px) {
  body[data-page="home"] .harvest-full-verse {
    display: none;
  }

  body[data-page="home"] .harvest-summary-verse {
    display: block;
  }

  body[data-page="home"] .scripture-card .harvest-summary-verse {
    font-size: clamp(2rem, 8.5vw, 2.8rem);
    line-height: 1.2;
  }

  body[data-page="home"] .scripture-card .harvest-summary-verse span {
    display: block;
  }

  body[data-page="home"] .mobile-harvest-reference {
    font-size: 1rem;
  }

  body[data-page="home"] .feature-open-hint {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
    margin-top: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.28);
    color: rgba(255, 250, 240, 0.9);
    font-size: 0.78rem;
    font-weight: 850;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.38);
  }

  body[data-page="home"] .mission-vision-copy-wrap {
    top: auto;
    bottom: 82px;
    overflow: visible;
    max-height: none;
  }

  body[data-page="home"] .mission-vision-copy-wrap > h2,
  body[data-page="home"] .mission-vision-copy {
    display: none;
  }

  body[data-page="home"] .mobile-mission-summary {
    display: grid;
    gap: 10px;
  }

  body[data-page="home"] .mobile-mission-summary h2 {
    margin: 0;
    color: #fffaf0;
    font-family: var(--font-display);
    font-size: clamp(2rem, 8.5vw, 2.9rem);
    font-weight: 900;
    line-height: 1.16;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.54);
  }

  body[data-page="home"] .mobile-mission-summary > span:not(.feature-open-hint) {
    color: rgba(255, 250, 240, 0.9);
    font-size: 1rem;
    font-weight: 760;
    line-height: 1.58;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.5);
  }

  body[data-page="home"] .mission-open-hint {
    display: none;
  }

  body[data-page="home"] .feature-dialog {
    place-items: center;
    padding: 14px;
  }

  body[data-page="home"] .feature-dialog-backdrop {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  body[data-page="home"] .feature-dialog-panel,
  body[data-page="home"] .feature-dialog.is-image-only .feature-dialog-panel {
    width: 100%;
    max-height: 90vh;
    height: auto;
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 14px;
    overflow-y: auto;
    padding: 18px;
    border-radius: 28px;
    background: #fffaf0;
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.4);
  }

  body[data-page="home"] .feature-dialog-header,
  body[data-page="home"] .feature-dialog.is-image-only .feature-dialog-header {
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex;
    padding: 0 0 8px;
    border: 0;
    background: #fffaf0;
  }

  body[data-page="home"] .feature-dialog-header > div,
  body[data-page="home"] .feature-dialog.is-image-only .feature-dialog-header > div {
    display: block;
  }

  body[data-page="home"] .feature-dialog-header h2 {
    color: var(--green);
    font-size: 1.35rem;
  }

  body[data-page="home"] .feature-dialog-close,
  body[data-page="home"] .feature-dialog.is-image-only .feature-dialog-close {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(48, 95, 78, 0.16);
    background: rgba(255, 255, 255, 0.72);
    color: var(--green);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body[data-page="home"] .feature-dialog-image,
  body[data-page="home"] .feature-dialog.is-image-only .feature-dialog-image {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: 38vh;
    object-fit: contain;
    border-radius: 20px;
  }

  body[data-page="home"] .feature-dialog-content,
  body[data-page="home"] .feature-dialog.is-image-only .feature-dialog-content {
    display: grid;
    width: 100%;
    gap: 12px;
    margin: 0;
    padding-bottom: 0;
  }

  body[data-page="home"] .feature-dialog-section {
    gap: 8px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 253, 248, 0.96);
  }

  body[data-page="home"] .feature-dialog-section h3 {
    color: var(--green);
    font-size: 1.08rem;
  }

  body[data-page="home"] .feature-dialog-section p,
  body[data-page="home"] .feature-dialog-section blockquote {
    color: rgba(29, 42, 36, 0.82);
    font-size: 0.98rem;
    line-height: 1.82;
  }

  body[data-page="home"] .feature-dialog-scripture blockquote {
    color: var(--text);
    font-size: 1.15rem;
    line-height: 1.72;
  }
}

/* ==========================================================================
   Home Integrated Header + Hero
   ========================================================================== */
body[data-page="home"] {
  background: var(--bg);
}

body[data-page="home"] .page-shell {
  width: 100%;
  max-width: none;
  padding: 0 0 48px;
}

body[data-page="home"] main {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 5vw, 72px);
}

body[data-page="home"] main > section:not(.feature-switcher),
body[data-page="home"] main > .feature-dialog {
  width: min(calc(100% - 32px), var(--max-width));
  margin-inline: auto;
}

body[data-page="home"] .site-header:not(.admin-header),
body[data-page="home"] .full-bleed-header,
body[data-page="home"] .full-bleed-header.is-compact {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 24px 32px;
  transform: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fffdf8;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body[data-page="home"] .full-bleed-header.is-hidden {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

body[data-page="home"] .site-header .brand {
  flex: 0 1 auto;
  min-width: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  text-decoration: none;
  filter: drop-shadow(0 3px 7px rgba(0, 0, 0, 0.38));
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body[data-page="home"] .site-header .brand:hover {
  background: transparent;
}

body[data-page="home"] .site-header .brand img,
body[data-page="home"] .full-bleed-header.is-compact .brand img {
  width: clamp(46px, 5vw, 58px);
  height: clamp(46px, 5vw, 58px);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.24);
}

body[data-page="home"] .site-header .brand-copy {
  min-width: 0;
  gap: 2px;
}

body[data-page="home"] .site-header .brand-copy strong,
body[data-page="home"] .full-bleed-header.is-compact .brand-copy strong {
  color: #ffffff;
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.52);
}

body[data-page="home"] .site-header .brand-copy span,
body[data-page="home"] .full-bleed-header.is-compact .brand-copy span {
  color: rgba(255, 252, 244, 0.9);
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.5);
}

body[data-page="home"] .site-header .header-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-direction: row;
}

body[data-page="home"] .site-header .header-nav-link,
body[data-page="home"] .site-header .lang-toggle {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 252, 244, 0.94);
  font-weight: 850;
  box-shadow: none;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.48);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body[data-page="home"] .site-header .header-nav-link:hover,
body[data-page="home"] .site-header .lang-toggle:hover {
  border-color: transparent;
  background: transparent;
  color: #f6d59a;
}

body[data-page="home"] .site-header .header-nav-submenu {
  left: auto;
  right: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(12, 22, 17, 0.82);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body[data-page="home"] .site-header .header-nav-submenu-link {
  color: rgba(255, 250, 240, 0.88);
}

body[data-page="home"] .site-header .header-nav-submenu-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #f6d59a;
}

body[data-page="home"] #hero-feature-switcher,
body[data-page="home"] .feature-switcher {
  order: 0;
  width: 100%;
  max-width: none;
  height: 100vh;
  min-height: 720px;
  max-height: 920px;
  margin: 0;
  border-radius: 0;
  background: #10130e;
  box-shadow: none;
  cursor: pointer;
}

body[data-page="home"] .feature-switcher::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.2) 45%,
    rgba(0, 0, 0, 0.35)
  );
}

body[data-page="home"] .feature-switcher::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 6;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(11, 16, 12, 0.58));
}

body[data-page="home"] .feature-switcher-panel {
  display: none;
  width: 100%;
  height: 100%;
}

body[data-page="home"] .feature-switcher-panel.active,
body[data-page="home"] .scripture-banner,
body[data-page="home"] .scripture-card,
body[data-page="home"] .mission-vision-section {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: #10130e;
  box-shadow: none;
  aspect-ratio: auto;
  overflow: hidden;
}

body[data-page="home"] .scripture-card::before,
body[data-page="home"] .scripture-card::after,
body[data-page="home"] .mission-vision-section::before {
  content: none;
}

body[data-page="home"] .scripture-poster,
body[data-page="home"] .scripture-poster-mobile,
body[data-page="home"] .mission-vision-poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center center;
  box-shadow: none;
  filter: saturate(1.02) brightness(0.9) contrast(1.04);
  opacity: 1;
  transform: none;
}

body[data-page="home"] .scripture-poster-mobile {
  display: none;
}

body[data-page="home"] .mission-vision-poster {
  object-position: center 44%;
}

body[data-page="home"] .scripture-hidden-copy {
  position: absolute;
  left: clamp(28px, 7vw, 112px);
  right: clamp(24px, 24vw, 420px);
  bottom: clamp(96px, 13vh, 138px);
  z-index: 8;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fffaf0;
}

body[data-page="home"] .scripture-content {
  max-width: min(1120px, 78vw);
  margin: 0;
  gap: 14px;
  color: #fffaf0;
}

body[data-page="home"] #scripture-label,
body[data-page="home"] #scripture-verse,
body[data-page="home"] #scripture-reference {
  display: none;
}

body[data-page="home"] .mobile-harvest-title {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 4px;
  padding: 7px 14px;
  border: 1px solid rgba(246, 213, 154, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #f6d59a;
  font-size: clamp(0.82rem, 1.1vw, 0.95rem);
  font-weight: 850;
  letter-spacing: 0.08em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body[data-page="home"] .scripture-card .mobile-harvest-verse {
  display: block;
  margin: 0;
  max-width: 100%;
  overflow: visible;
  color: #fffaf0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.9vw, 4.05rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
  line-break: strict;
  word-break: keep-all;
  overflow-wrap: normal;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.34),
    0 8px 30px rgba(0, 0, 0, 0.72);
  -webkit-line-clamp: unset;
}

body[data-page="home"] .scripture-card .mobile-harvest-verse span {
  display: inline;
}

body[data-page="home"] .mobile-harvest-reference {
  display: block;
  margin: 6px 0 0;
  color: rgba(255, 250, 240, 0.9);
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  font-weight: 750;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

body[data-page="home"] .mission-open-hint {
  display: none;
}

body[data-page="home"] .mission-vision-copy-wrap {
  position: absolute;
  left: clamp(28px, 7vw, 112px);
  right: clamp(28px, 7vw, 112px);
  top: clamp(128px, 15vh, 170px);
  bottom: clamp(72px, 9vh, 112px);
  z-index: 8;
  display: flex;
  flex-direction: column;
  width: auto;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #fffaf0;
}

body[data-page="home"] .mobile-mission-summary {
  display: none;
}

body[data-page="home"] .mission-vision-copy-wrap > h2 {
  display: block;
  margin: 0 0 clamp(20px, 3vh, 34px);
  color: #fffaf0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3.1vw, 3.45rem);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 5px 28px rgba(0, 0, 0, 0.5);
}

body[data-page="home"] .mission-vision-copy-wrap > h2 span {
  color: #f6d59a;
}

body[data-page="home"] .mission-vision-copy {
  display: grid;
  gap: clamp(14px, 2vh, 22px);
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  color: #fffdf8;
}

body[data-page="home"] .mission-vision-block {
  display: grid;
  gap: 8px;
  max-width: 100%;
}

body[data-page="home"] .mission-vision-block h3,
body[data-page="home"] .mission-vision-belief > p:first-child {
  margin: 0;
  color: #fffdf8;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.15vw, 2.45rem);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

body[data-page="home"] .mission-vision-block p,
body[data-page="home"] .mission-vision-belief-lines p {
  margin: 0;
  color: rgba(255, 253, 248, 0.95);
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 1.55vw, 1.85rem);
  font-weight: 780;
  line-height: 1.62;
  letter-spacing: 0.01em;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.54);
}

body[data-page="home"] .mission-vision-belief {
  margin-top: clamp(4px, 1vh, 12px);
  text-align: center;
}

body[data-page="home"] .mission-vision-belief-lines {
  display: grid;
  gap: 4px;
  justify-items: center;
}

body[data-page="home"] .mission-vision-belief-lines p {
  text-align: center;
}

body[data-page="home"] .feature-switcher-tabs {
  position: absolute;
  top: clamp(112px, 12vh, 150px);
  right: clamp(32px, 4vw, 72px);
  z-index: 20;
  display: inline-flex;
  gap: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body[data-page="home"] .feature-switcher-tab {
  position: relative;
  min-height: 0;
  padding: 0 0 9px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 252, 244, 0.78);
  box-shadow: none;
  font-size: clamp(0.88rem, 1vw, 1rem);
  font-weight: 850;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body[data-page="home"] .feature-switcher-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 180ms ease, transform 180ms ease;
}

body[data-page="home"] .feature-switcher-tab:hover {
  transform: translateY(-1px);
  border-color: transparent;
  background: transparent;
  color: #f6d59a;
  box-shadow: none;
}

body[data-page="home"] .feature-switcher-tab.active,
body[data-page="home"] .feature-switcher-tab.active:hover {
  background: transparent;
  color: #f6d59a;
}

body[data-page="home"] .feature-switcher-tab.active::after {
  opacity: 1;
  transform: scaleX(1);
}

body[data-page="home"] .feature-carousel-arrow {
  display: none;
}

body[data-page="home"] .feature-carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.24);
  color: #f6d59a;
  transform: translateY(-50%) scale(1.03);
}

body[data-page="home"] .feature-carousel-arrow span {
  margin-top: -2px;
  font-size: 2.2rem;
  line-height: 1;
}

body[data-page="home"] .feature-carousel-arrow-prev {
  left: clamp(18px, 3vw, 48px);
}

body[data-page="home"] .feature-carousel-arrow-next {
  right: clamp(18px, 3vw, 48px);
}

body[data-page="home"] .feature-carousel-indicators {
  position: absolute;
  left: 50%;
  bottom: clamp(30px, 5vh, 54px);
  z-index: 20;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

body[data-page="home"] .feature-carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  transition: width 180ms ease, background 180ms ease;
}

body[data-page="home"] .feature-carousel-dot.active {
  width: 20px;
  background: rgba(246, 213, 154, 0.8);
}

@media (max-width: 960px) {
  body[data-page="home"] .page-shell,
  body[data-page="home"] .admin-shell {
    width: 100%;
  }

  body[data-page="home"] .site-header:not(.admin-header),
  body[data-page="home"] .full-bleed-header,
  body[data-page="home"] .full-bleed-header.is-compact {
    top: 0;
    width: 100%;
    height: auto;
    padding: 18px 18px;
    border: 0;
    border-color: transparent;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body[data-page="home"] .site-header .brand {
    flex: 1 1 auto;
    gap: 10px;
    padding: 0;
    border-radius: 0;
    background: transparent;
  }

  body[data-page="home"] .site-header .brand img,
  body[data-page="home"] .full-bleed-header.is-compact .brand img {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
  }

  body[data-page="home"] .site-header .brand-copy strong,
  body[data-page="home"] .full-bleed-header.is-compact .brand-copy strong {
    max-width: 52vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1.02rem;
  }

  body[data-page="home"] .site-header .brand-copy span,
  body[data-page="home"] .full-bleed-header.is-compact .brand-copy span {
    max-width: 52vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.74rem;
  }

  body[data-page="home"] .site-header .header-actions {
    display: none;
  }

  body[data-page="home"] .mobile-menu-button {
    display: inline-flex;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #fffaf0;
    filter: drop-shadow(0 2px 7px rgba(0, 0, 0, 0.48));
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body[data-page="home"] .mobile-menu-button span {
    background: #fffaf0;
  }

  body[data-page="home"] #hero-feature-switcher,
  body[data-page="home"] .feature-switcher {
    height: min(76vh, 700px);
    min-height: 560px;
    max-height: none;
    margin: 0 0 30px;
    aspect-ratio: auto;
    border-radius: 0;
  }

  body[data-page="home"] .scripture-poster {
    display: block;
    object-position: 54% center;
  }

  body[data-page="home"] .scripture-poster-mobile {
    display: none;
  }

  body[data-page="home"] .scripture-hidden-copy,
  body[data-page="home"] .mission-vision-copy-wrap {
    left: 22px;
    right: 22px;
    bottom: 76px;
    width: auto;
    max-height: calc(100% - 190px);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body[data-page="home"] .mission-vision-copy-wrap {
    top: 132px;
    bottom: 58px;
    overflow: hidden;
  }

  body[data-page="home"] .mission-vision-copy-wrap > h2 {
    margin-bottom: 10px;
    font-size: clamp(1.35rem, 6vw, 1.8rem);
    line-height: 1.16;
    text-align: left;
  }

  body[data-page="home"] .mission-vision-copy {
    gap: 8px;
  }

  body[data-page="home"] .mission-vision-block {
    gap: 3px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body[data-page="home"] .mission-vision-block h3,
  body[data-page="home"] .mission-vision-belief > p:first-child {
    font-size: 0.98rem;
    line-height: 1.24;
  }

  body[data-page="home"] .mission-vision-block p,
  body[data-page="home"] .mission-vision-belief-lines p {
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
    overflow: visible;
    font-size: 0.78rem;
    line-height: 1.5;
    letter-spacing: 0;
  }

  body[data-page="home"] .mission-vision-belief {
    margin-top: 2px;
    text-align: left;
  }

  body[data-page="home"] .mission-vision-belief-lines {
    gap: 2px;
    justify-items: start;
  }

  body[data-page="home"] .mission-vision-belief-lines p {
    text-align: left;
  }

  body[data-page="home"] .mission-vision-copy-wrap:not(.is-expanded) .mission-vision-block p,
  body[data-page="home"] .mission-vision-copy-wrap:not(.is-expanded) .mission-vision-belief-lines p {
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
    overflow: visible;
  }

  body[data-page="home"] .scripture-card .mobile-harvest-verse {
    font-size: clamp(1.92rem, 8.2vw, 2.75rem);
    line-height: 1.18;
    word-break: normal;
    overflow-wrap: break-word;
  }

  body[data-page="home"] .scripture-card .mobile-harvest-verse span {
    display: block;
    color: #ffffff;
    -webkit-text-stroke: 0.25px rgba(255, 255, 255, 0.65);
    text-shadow:
      0 2px 3px rgba(0, 0, 0, 0.54),
      0 8px 26px rgba(0, 0, 0, 0.82);
  }

  body[data-page="home"] .mobile-mission-summary h2 {
    font-size: clamp(2rem, 8.4vw, 2.75rem);
    line-height: 1.14;
  }

  body[data-page="home"] .mobile-mission-summary span {
    font-size: 1rem;
    line-height: 1.58;
  }

  body[data-page="home"] .mobile-harvest-reference {
    font-size: 1rem;
  }

  body[data-page="home"] .feature-switcher-tabs {
    top: 104px;
    right: 18px;
    gap: 18px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  body[data-page="home"] .feature-switcher-tab {
    min-height: 0;
    padding: 0 0 7px;
    border: 0;
    background: transparent;
    font-size: 0.82rem;
  }

  body[data-page="home"] .feature-carousel-arrow {
    top: 50%;
    width: 42px;
    height: 42px;
  }

  body[data-page="home"] .feature-carousel-arrow span {
    font-size: 1.85rem;
  }

  body[data-page="home"] .feature-carousel-arrow-prev {
    left: 14px;
  }

  body[data-page="home"] .feature-carousel-arrow-next {
    right: 14px;
  }

  body[data-page="home"] .feature-carousel-indicators {
    bottom: 28px;
  }
}

@media (max-width: 520px) {
  body[data-page="home"] main {
    gap: 30px;
  }

  body[data-page="home"] main > section:not(.feature-switcher),
  body[data-page="home"] main > .feature-dialog {
    width: min(calc(100% - 24px), var(--max-width));
  }

  body[data-page="home"] #hero-feature-switcher,
  body[data-page="home"] .feature-switcher {
    min-height: 560px;
    height: min(72vh, 640px);
  }

  body[data-page="home"] .site-header:not(.admin-header),
  body[data-page="home"] .full-bleed-header,
  body[data-page="home"] .full-bleed-header.is-compact {
    height: auto;
    padding: 16px 14px;
  }

  body[data-page="home"] .site-header .brand {
    gap: 8px;
    padding: 0;
  }

  body[data-page="home"] .site-header .brand img,
  body[data-page="home"] .full-bleed-header.is-compact .brand img {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  body[data-page="home"] .site-header .brand-copy strong,
  body[data-page="home"] .full-bleed-header.is-compact .brand-copy strong {
    max-width: 48vw;
    font-size: 0.96rem;
  }

  body[data-page="home"] .site-header .brand-copy span,
  body[data-page="home"] .full-bleed-header.is-compact .brand-copy span {
    max-width: 48vw;
    font-size: 0.7rem;
  }

  body[data-page="home"] .mobile-menu-button {
    flex-basis: 50px;
    width: 50px;
    height: 50px;
  }

  body[data-page="home"] .feature-switcher-tabs {
    top: 92px;
    right: 12px;
    gap: 15px;
  }

  body[data-page="home"] .feature-switcher-tab {
    padding-inline: 0;
  }

  body[data-page="home"] .scripture-hidden-copy,
  body[data-page="home"] .mission-vision-copy-wrap {
    bottom: 72px;
  }
}

/* Final home hero mobile-summary and dialog overrides */
body[data-page="home"] .harvest-summary-verse,
body[data-page="home"] .feature-open-hint {
  display: none;
}

body[data-page="home"] .feature-dialog {
  z-index: 1000;
  padding: clamp(18px, 3vw, 32px);
}

body[data-page="home"] .feature-dialog-backdrop {
  z-index: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

body[data-page="home"] .feature-dialog-panel {
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(90vh, 860px);
  overflow-y: auto;
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  background: #fffaf0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

body[data-page="home"] .feature-dialog-image {
  display: block;
  width: 100%;
  max-height: 44vh;
  height: auto;
  object-fit: contain;
  object-position: center center;
  border-radius: 20px;
  background: rgba(21, 33, 27, 0.08);
}

body[data-page="home"] .feature-dialog-section {
  padding: clamp(18px, 2.2vw, 24px);
  border: 1px solid rgba(48, 95, 78, 0.12);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.92);
}

body[data-page="home"] .feature-dialog-section h3 {
  color: var(--green);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

body[data-page="home"] .feature-dialog-section p,
body[data-page="home"] .feature-dialog-section blockquote {
  color: rgba(29, 42, 36, 0.82);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.85;
}

body[data-page="home"] .feature-dialog-scripture blockquote {
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 850;
  line-height: 1.72;
}

@media (max-width: 960px) {
  body[data-page="home"] .harvest-full-verse,
  body[data-page="home"] .mission-vision-copy-wrap > h2,
  body[data-page="home"] .mission-vision-copy {
    display: none;
  }

  body[data-page="home"] .scripture-card .harvest-full-verse {
    display: none;
  }

  body[data-page="home"] .harvest-summary-verse,
  body[data-page="home"] .scripture-card .harvest-summary-verse {
    display: block;
  }

  body[data-page="home"] .scripture-card .harvest-summary-verse {
    font-size: clamp(2rem, 8.5vw, 2.8rem);
    line-height: 1.2;
  }

  body[data-page="home"] .scripture-card .harvest-summary-verse span {
    display: block;
  }

  body[data-page="home"] .feature-open-hint {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
    margin-top: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.28);
    color: rgba(255, 250, 240, 0.9);
    font-size: 0.78rem;
    font-weight: 850;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.38);
  }

  body[data-page="home"] .mission-vision-copy-wrap {
    top: auto;
    bottom: 82px;
    overflow: visible;
    max-height: none;
  }

  body[data-page="home"] .mobile-mission-summary {
    display: grid;
    gap: 10px;
  }

  body[data-page="home"] .mobile-mission-summary h2 {
    margin: 0;
    color: #fffaf0;
    font-family: var(--font-display);
    font-size: clamp(2rem, 8.5vw, 2.9rem);
    font-weight: 900;
    line-height: 1.16;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.54);
  }

  body[data-page="home"] .mobile-mission-summary > span:not(.feature-open-hint) {
    color: rgba(255, 250, 240, 0.9);
    font-size: 1rem;
    font-weight: 760;
    line-height: 1.58;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.5);
  }

  body[data-page="home"] .feature-dialog {
    place-items: center;
    padding: 14px;
  }

  body[data-page="home"] .feature-dialog-backdrop {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  body[data-page="home"] .feature-dialog-panel,
  body[data-page="home"] .feature-dialog.is-image-only .feature-dialog-panel {
    width: 100%;
    max-height: 90vh;
    height: auto;
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 14px;
    overflow-y: auto;
    padding: 18px;
    border-radius: 28px;
    background: #fffaf0;
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.4);
  }

  body[data-page="home"] .feature-dialog-header,
  body[data-page="home"] .feature-dialog.is-image-only .feature-dialog-header {
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex;
    padding: 0 0 8px;
    border: 0;
    background: #fffaf0;
  }

  body[data-page="home"] .feature-dialog-header > div,
  body[data-page="home"] .feature-dialog.is-image-only .feature-dialog-header > div,
  body[data-page="home"] .feature-dialog-content,
  body[data-page="home"] .feature-dialog.is-image-only .feature-dialog-content {
    display: grid;
  }

  body[data-page="home"] .feature-dialog-header h2 {
    color: var(--green);
    font-size: 1.35rem;
  }

  body[data-page="home"] .feature-dialog-close,
  body[data-page="home"] .feature-dialog.is-image-only .feature-dialog-close {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(48, 95, 78, 0.16);
    background: rgba(255, 255, 255, 0.72);
    color: var(--green);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body[data-page="home"] .feature-dialog-image,
  body[data-page="home"] .feature-dialog.is-image-only .feature-dialog-image {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: 38vh;
    object-fit: contain;
    border-radius: 20px;
  }

  body[data-page="home"] .feature-dialog-section {
    gap: 8px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 253, 248, 0.96);
  }

  body[data-page="home"] .feature-dialog-section h3 {
    color: var(--green);
    font-size: 1.08rem;
  }

  body[data-page="home"] .feature-dialog-section p,
  body[data-page="home"] .feature-dialog-section blockquote {
    color: rgba(29, 42, 36, 0.82);
    font-size: 0.98rem;
    line-height: 1.82;
  }

  body[data-page="home"] .feature-dialog-scripture blockquote {
    color: var(--text);
    font-size: 1.15rem;
    line-height: 1.72;
  }
}

/* Home story section: worship/devotion + explore cards */
body[data-page="home"] {
  background-color: #f7f2e8;
  background-image:
    url("data:image/svg+xml,%3Csvg width='180' height='180' viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23305f4e' stroke-width='1.35' stroke-linecap='round' opacity='.022'%3E%3Cpath d='M34 164C58 116 72 74 78 22'/%3E%3Cpath d='M78 52c-16 11-27 24-35 42M82 70c15 10 28 23 39 40M72 96c-18 9-32 22-43 39M86 112c18 8 34 20 48 37'/%3E%3Cpath d='M134 170c-9-42-8-82 4-120'/%3E%3Cpath d='M138 76c-11 7-20 17-27 30M142 94c13 6 24 15 33 28M130 124c-14 6-25 15-34 28'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(180deg, #f7f2e8 0%, #faf8f2 100%);
  background-attachment: fixed, fixed;
  background-size: 360px 360px, auto;
  background-position: center top, center top;
}

body[data-page="home"] .page-shell {
  background: transparent;
}

body[data-page="home"] main {
  gap: 0;
}

body[data-page="home"] #hero-feature-switcher,
body[data-page="home"] .feature-switcher {
  margin-bottom: 0;
}

body[data-page="home"] #hero {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(38px, 4.5vw, 58px) max(24px, calc((100vw - var(--max-width)) / 2)) clamp(40px, 4.8vw, 62px);
  background:
    radial-gradient(circle at 14% 12%, rgba(212, 173, 96, 0.18), transparent 34%),
    linear-gradient(180deg, #f7f2e8 0%, #faf8f2 100%);
  overflow: hidden;
}

body[data-page="home"] #hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(48, 95, 78, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(48, 95, 78, 0.035) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.16;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 88%, transparent 100%);
}

body[data-page="home"] #hero::after {
  content: "";
  position: absolute;
  left: min(3vw, 42px);
  bottom: -92px;
  width: min(42vw, 560px);
  height: min(34vw, 440px);
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg width='520' height='420' viewBox='0 0 520 420' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23b58a42' stroke-width='5' stroke-linecap='round' opacity='.07'%3E%3Cpath d='M42 410C104 300 134 184 142 34'/%3E%3Cpath d='M144 94c-42 26-74 62-96 108M151 137c48 20 88 54 120 102M126 219c-56 24-99 61-130 112M158 260c58 16 111 50 157 103'/%3E%3Cpath d='M300 415c-18-116-8-226 42-330'/%3E%3Cpath d='M339 136c-48 24-83 60-106 108M351 188c50 18 91 48 124 91M326 276c-56 18-101 49-135 93'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

body[data-page="home"] #hero .home-hero-stage,
body[data-page="home"] #hero .hero-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="home"] .media-showcase {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="home"] .media-showcase-tabs {
  position: absolute;
  top: -46px;
  right: 0;
  z-index: 3;
  display: inline-flex;
  gap: 8px;
  padding: 0;
}

body[data-page="home"] .media-showcase-tab {
  min-height: 36px;
  padding: 8px 18px;
  border: 1px solid rgba(48, 95, 78, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--green);
  box-shadow: 0 10px 20px rgba(48, 95, 78, 0.08);
  font-size: 0.9rem;
  font-weight: 850;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body[data-page="home"] .media-showcase-tab:hover,
body[data-page="home"] .media-showcase-tab.active {
  transform: translateY(-2px);
  border-color: rgba(48, 95, 78, 0.18);
  background: var(--green);
  color: #fffaf0;
  box-shadow: 0 16px 30px rgba(48, 95, 78, 0.2);
}

body[data-page="home"] .media-showcase-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.35fr) minmax(0, 0.65fr);
  align-items: start;
  gap: clamp(34px, 4vw, 52px);
  overflow: visible;
  min-height: 0;
  padding-top: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="home"] .media-showcase-copy {
  display: grid;
  align-self: start;
  align-content: start;
  justify-content: stretch;
  gap: 28px;
  padding: clamp(4px, 0.8vw, 10px) 0 0;
}

body[data-page="home"] .media-showcase-text {
  display: grid;
  gap: 0;
}

body[data-page="home"] .media-showcase-copy .eyebrow {
  color: #9d6b2d;
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
}

body[data-page="home"] .media-showcase-copy h3 {
  color: #182820;
  font-family: "Noto Serif TC", "Songti TC", "STSong", "PMingLiU", serif;
  font-size: clamp(2.65rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0;
  margin: 0;
}

body[data-page="home"] .media-showcase-divider {
  display: block;
  width: 48px;
  height: 1px;
  margin: 18px 0 24px;
  background: rgba(157, 107, 45, 0.58);
}

body[data-page="home"] .media-showcase-time {
  width: fit-content;
  margin: 0 0 12px;
  padding-top: 0;
  border-top: 0;
  color: #283a33;
  font-size: 1.125rem;
  font-weight: 650;
}

body[data-page="home"] .media-showcase-copy p:not(.eyebrow):not(.media-showcase-time) {
  max-width: 360px;
  margin: 0;
  color: rgba(40, 58, 51, 0.78);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;
}

body[data-page="home"] .media-showcase-actions {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
  margin-top: 4px;
}

body[data-page="home"] .media-showcase-link-primary {
  min-height: 48px;
  gap: 9px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #245642, #3d715b);
  color: #fffaf0;
  box-shadow: 0 18px 34px rgba(48, 95, 78, 0.22);
  font-size: 1rem;
  font-weight: 750;
}

body[data-page="home"] .media-showcase-action-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body[data-page="home"] .media-showcase-link-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(48, 95, 78, 0.28);
}

body[data-page="home"] .media-showcase-replay {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  color: #274438;
  font-size: 1rem;
  font-weight: 750;
  text-decoration: none;
}

body[data-page="home"] .media-showcase-play {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(48, 95, 78, 0.34);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.56);
  color: var(--green);
  font-size: 0.78rem;
  box-shadow: 0 10px 20px rgba(48, 95, 78, 0.08);
}

body[data-page="home"] .media-showcase-play svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

body[data-page="home"] .media-showcase-replay:hover {
  color: #9d6b2d;
}

body[data-page="home"] .media-showcase-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 160 / 87;
  min-height: 0;
  border-radius: 28px;
  background: #211d19;
  box-shadow: 0 28px 60px rgba(50, 42, 32, 0.18);
}

body[data-page="home"] .media-showcase-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(29, 42, 36, 0.18) 100%);
  pointer-events: none;
}

body[data-page="home"] .media-showcase-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  transform: scale(0.975);
}

body[data-page="home"] .quick-nav {
  position: relative;
  z-index: 1;
  top: auto;
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 max(24px, calc((100vw - var(--max-width)) / 2)) clamp(32px, 4vw, 48px);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 10%, rgba(223, 184, 108, 0.18), transparent 34%),
    radial-gradient(circle at 88% 82%, rgba(191, 146, 75, 0.13), transparent 36%),
    linear-gradient(180deg, #fbf8f1 0%, #fbf8f1 100%);
}

body[data-page="home"] .quick-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(48, 95, 78, 0.028) 1px, transparent 1px),
    linear-gradient(180deg, rgba(48, 95, 78, 0.022) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.12;
}

body[data-page="home"] .quick-nav-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="home"] .quick-nav-title {
  position: relative;
  margin: 0;
  padding-left: 16px;
  color: #27372f;
  font-family: var(--font-display);
  font-size: clamp(1.16rem, 1.55vw, 1.38rem);
  font-weight: 900;
}

body[data-page="home"] .quick-nav-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 3px;
  border-radius: 999px;
  background: #9d6b2d;
}

body[data-page="home"] .quick-nav nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

body[data-page="home"] #quick-nav-list > .quick-nav-card-link {
  display: grid;
  align-content: start;
  justify-items: center;
  min-height: 190px;
  padding: 24px 18px 20px;
  border: 1px solid rgba(48, 95, 78, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.7);
  color: #1d2a24;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(50, 42, 32, 0.07);
  transition:
    transform 180ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body[data-page="home"] #quick-nav-list > .quick-nav-card-link:hover,
body[data-page="home"] #quick-nav-list > .quick-nav-card-link:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(157, 107, 45, 0.2);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 34px rgba(50, 42, 32, 0.13);
}

body[data-page="home"] .quick-nav-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  color: #426759;
}

body[data-page="home"] .quick-nav-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body[data-page="home"] .quick-nav-card-copy {
  display: grid;
  gap: 8px;
}

body[data-page="home"] .quick-nav-card-copy strong {
  color: #1d2a24;
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.4vw, 1.24rem);
  font-weight: 900;
}

body[data-page="home"] .quick-nav-card-copy span {
  color: rgba(29, 42, 36, 0.68);
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.55;
}

body[data-page="home"] .quick-nav-arrow {
  margin-top: 14px;
  color: #426759;
  font-size: 1.25rem;
  line-height: 1;
}

@media (max-width: 900px) {
  body[data-page="home"] #hero {
    padding-inline: 22px;
  }

  body[data-page="home"] .media-showcase-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  body[data-page="home"] .media-showcase-copy {
    align-self: auto;
    align-content: start;
    min-height: 0;
    padding: 0;
  }

  body[data-page="home"] .media-showcase-image {
    order: -1;
  }

  body[data-page="home"] .media-showcase-tabs {
    position: relative;
    top: auto;
    justify-content: flex-end;
  }

  body[data-page="home"] .quick-nav nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body[data-page="home"] #hero {
    order: 2;
    padding: 30px 14px 38px;
  }

  body[data-page="home"] .media-showcase {
    gap: 16px;
  }

  body[data-page="home"] .media-showcase-tabs {
    justify-content: center;
    gap: 8px;
  }

  body[data-page="home"] .media-showcase-tab {
    flex: 1 1 0;
    justify-content: center;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 0.94rem;
  }

  body[data-page="home"] .media-showcase-card {
    min-height: 0;
    padding-top: 0;
    gap: 22px;
  }

  body[data-page="home"] .media-showcase-image {
    aspect-ratio: 160 / 87;
    min-height: 0;
    border-radius: 22px;
  }

  body[data-page="home"] .media-showcase-copy {
    gap: 20px;
  }

  body[data-page="home"] .media-showcase-copy h3 {
    font-size: clamp(2.05rem, 11vw, 3rem);
  }

  body[data-page="home"] .media-showcase-divider {
    margin: 16px 0 20px;
  }

  body[data-page="home"] .media-showcase-time {
    padding-top: 0;
    font-size: 1.02rem;
  }

  body[data-page="home"] .media-showcase-copy p:not(.eyebrow):not(.media-showcase-time) {
    max-width: none;
    font-size: 1rem;
  }

  body[data-page="home"] .media-showcase-actions {
    gap: 12px;
  }

  body[data-page="home"] .media-showcase-link-primary {
    flex: 1 1 100%;
    justify-content: center;
    min-height: 50px;
  }

  body[data-page="home"] .media-showcase-replay {
    min-height: 46px;
  }

  body[data-page="home"] .quick-nav {
    display: block;
    margin: 0;
    padding: 0 14px 34px;
  }

  body[data-page="home"] .quick-nav nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  body[data-page="home"] #quick-nav-list > .quick-nav-card-link {
    min-height: 168px;
    padding: 20px 12px 18px;
    border-radius: 22px;
  }

  body[data-page="home"] .quick-nav-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 10px;
  }

  body[data-page="home"] .quick-nav-card-copy strong {
    font-size: 1rem;
  }

  body[data-page="home"] .quick-nav-card-copy span {
    font-size: 0.84rem;
  }
}

@media (max-width: 430px) {
  body[data-page="home"] .quick-nav nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body[data-page="home"] #quick-nav-list > .quick-nav-card-link {
    min-height: 148px;
    padding: 18px 10px 16px;
    text-align: center;
  }

  body[data-page="home"] .quick-nav-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 8px;
  }

  body[data-page="home"] .quick-nav-arrow {
    margin-top: 10px;
  }
}

/* Home lower story: shared wheat background + recent gatherings */
body[data-page="home"] #hero,
body[data-page="home"] #meetings {
  background:
    radial-gradient(circle at 18% 10%, rgba(223, 184, 108, 0.18), transparent 34%),
    radial-gradient(circle at 88% 82%, rgba(191, 146, 75, 0.13), transparent 36%),
    linear-gradient(180deg, #f7f2e8 0%, #fbf8f1 100%);
}

body[data-page="home"] #hero::before,
body[data-page="home"] #meetings::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(48, 95, 78, 0.028) 1px, transparent 1px),
    linear-gradient(180deg, rgba(48, 95, 78, 0.022) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.12;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 88%, transparent 100%);
}

body[data-page="home"] #meetings {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 max(24px, calc((100vw - var(--max-width)) / 2)) 22px;
  overflow: hidden;
}

body[data-page="home"] #meetings::after {
  content: "";
  position: absolute;
  right: min(4vw, 56px);
  bottom: -40px;
  width: min(34vw, 460px);
  height: min(26vw, 320px);
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg width='520' height='420' viewBox='0 0 520 420' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23b58a42' stroke-width='5' stroke-linecap='round' opacity='.075'%3E%3Cpath d='M42 410C104 300 134 184 142 34'/%3E%3Cpath d='M144 94c-42 26-74 62-96 108M151 137c48 20 88 54 120 102M126 219c-56 24-99 61-130 112M158 260c58 16 111 50 157 103'/%3E%3Cpath d='M300 415c-18-116-8-226 42-330'/%3E%3Cpath d='M339 136c-48 24-83 60-106 108M351 188c50 18 91 48 124 91M326 276c-56 18-101 49-135 93'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

body[data-page="home"] #meetings > * {
  position: relative;
  z-index: 1;
}

body[data-page="home"] .meetings-section-header {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto 18px;
  padding-left: 16px;
  position: relative;
}

body[data-page="home"] .meetings-section-header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 3px;
  border-radius: 999px;
  background: #9d6b2d;
}

body[data-page="home"] .meetings-heading-mark,
body[data-page="home"] .meetings-heading-copy p {
  display: none;
}

body[data-page="home"] .meetings-heading-copy h2 {
  color: #4d3927;
  font-family: var(--font-display);
  font-size: clamp(1.16rem, 1.55vw, 1.38rem);
  font-weight: 900;
}

body[data-page="home"] #meetings .schedule-grid {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

body[data-page="home"] .meeting-card {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  gap: 0;
  height: auto;
  min-height: 224px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(48, 95, 78, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 26px rgba(50, 42, 32, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body[data-page="home"] .meeting-card:hover,
body[data-page="home"] .meeting-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(157, 107, 45, 0.18);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 20px 38px rgba(50, 42, 32, 0.14);
}

body[data-page="home"] .meeting-card-media {
  position: relative;
  z-index: 1;
  align-self: stretch;
  justify-self: stretch;
  width: 100%;
  height: 116px;
  border-radius: 0;
  background: rgba(235, 226, 208, 0.72);
}

body[data-page="home"] .meeting-card-media::after {
  background: linear-gradient(180deg, rgba(29, 42, 36, 0.04), rgba(29, 42, 36, 0.2));
}

body[data-page="home"] .meeting-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body[data-page="home"] .meeting-card-badge {
  position: absolute;
  left: 14px;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(241, 236, 221, 0.86);
  color: #315c4d;
  font-size: 0.84rem;
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(29, 42, 36, 0.12);
}

body[data-page="home"] .meeting-card-content {
  display: grid;
  align-content: start;
  gap: 0;
  height: auto;
  min-width: 0;
  padding: 16px 18px 18px;
  overflow: visible;
}

body[data-page="home"] .meeting-card-copy {
  display: grid;
  gap: 7px;
  overflow: visible;
}

body[data-page="home"] .meeting-card h3 {
  display: block;
  margin: 0;
  color: #27372f;
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.25vw, 1.28rem);
  font-weight: 900;
  line-height: 1.22;
}

body[data-page="home"] .meeting-time-badge,
body[data-page="home"] .meeting-place,
body[data-page="home"] .meeting-description {
  margin: 0;
  color: rgba(29, 42, 36, 0.72);
  font-size: 0.92rem;
  font-weight: 680;
  line-height: 1.45;
}

body[data-page="home"] .meeting-time-lines {
  display: grid;
  gap: 1px;
}

body[data-page="home"] .meeting-time-note {
  color: rgba(29, 42, 36, 0.58);
  font-size: 0.82rem;
}

body[data-page="home"] .meeting-description {
  display: none;
}

body[data-page="home"] .meetings-more-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: var(--max-width);
  margin: 22px auto 0;
}

body[data-page="home"] .meetings-more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 28px;
  border-radius: 999px;
  background: rgba(236, 224, 204, 0.86);
  color: #4d3927;
  font-size: 0.98rem;
  font-weight: 850;
  box-shadow: 0 12px 26px rgba(50, 42, 32, 0.08);
}

body[data-page="home"] .meetings-more-link:hover,
body[data-page="home"] .meetings-more-link:focus-visible {
  transform: translateY(-2px);
  background: rgba(225, 211, 188, 0.94);
}

@media (max-width: 900px) {
  body[data-page="home"] #meetings {
    padding-inline: 22px;
  }

  body[data-page="home"] #meetings .schedule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body[data-page="home"] #meetings {
    padding: 0 14px 22px;
  }

  body[data-page="home"] #meetings .schedule-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body[data-page="home"] .meeting-card {
    min-height: 0;
  }

  body[data-page="home"] .meeting-card-media {
    height: 132px;
  }
}

body[data-page="home"] .footer-showcase {
  margin-top: 0;
}

body[data-page="home"] .page-shell {
  padding-bottom: 0;
}

@media (max-width: 1080px) {
  body[data-page="about-page"] .about-story-body {
    width: min(calc(100% - 36px), 860px);
    margin-top: -30px;
  }

  body[data-page="about-page"] .about-intro-section,
  body[data-page="about-page"] .about-history-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="about-page"] .about-church-photo {
    min-height: 460px;
    order: -1;
  }

  body[data-page="about-page"] .about-church-photo img {
    min-height: 460px;
    max-height: 620px;
  }

  body[data-page="about-page"] .about-scripture-card {
    width: min(100%, 560px);
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  body[data-page="about-page"] .site-header:not(.admin-header),
  body[data-page="about-page"] .full-bleed-header,
  body[data-page="about-page"] .full-bleed-header.is-compact {
    position: fixed;
    top: 0;
    width: 100%;
    height: auto;
    padding: 12px 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body[data-page="about-page"] .full-bleed-header.is-compact {
    background: rgba(255, 250, 240, 0.86);
    box-shadow: 0 12px 28px rgba(37, 54, 42, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  body[data-page="about-page"] .site-header:not(.admin-header) .brand {
    flex: 1 1 auto;
    gap: 10px;
    padding: 0;
  }

  body[data-page="about-page"] .site-header:not(.admin-header) .brand-copy strong,
  body[data-page="about-page"] .full-bleed-header .brand-copy strong,
  body[data-page="about-page"] .full-bleed-header.is-compact .brand-copy strong {
    max-width: 52vw;
    color: #1f4f3d;
    font-size: 1rem;
  }

  body[data-page="about-page"] .site-header:not(.admin-header) .brand-copy span,
  body[data-page="about-page"] .full-bleed-header .brand-copy span,
  body[data-page="about-page"] .full-bleed-header.is-compact .brand-copy span {
    max-width: 52vw;
    color: rgba(31, 79, 61, 0.72);
    font-size: 0.74rem;
  }

  body[data-page="about-page"] .site-header:not(.admin-header) .header-actions {
    display: none;
  }

  body[data-page="about-page"] .mobile-menu-button {
    display: inline-flex;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(31, 79, 61, 0.12);
    background: rgba(255, 248, 230, 0.42);
    color: #1f4f3d;
    box-shadow: 0 10px 24px rgba(43, 69, 50, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  body[data-page="about-page"] .mobile-menu-button span {
    background: currentColor;
  }

  body[data-page="about-page"] .about-story-hero {
    min-height: 560px;
    padding: 108px 22px 128px;
    background-position: 57% center;
  }

  body[data-page="about-page"] .about-story-hero h1 {
    max-width: 10ch;
    padding-bottom: 20px;
    font-size: clamp(2.5rem, 12vw, 4.1rem);
  }

  body[data-page="about-page"] .about-subtitle {
    font-size: 1.02rem;
    line-height: 1.72;
  }

  body[data-page="about-page"] .about-story-body {
    width: min(calc(100% - 28px), 620px);
    gap: 66px;
    margin-top: -18px;
    padding-bottom: 72px;
  }

  body[data-page="about-page"] .about-intro-section {
    gap: 26px;
  }

  body[data-page="about-page"] .about-intro-copy h2,
  body[data-page="about-page"] .about-history-heading h2 {
    font-size: clamp(1.9rem, 9vw, 3rem);
  }

  body[data-page="about-page"] .about-intro-text p {
    font-size: 1rem;
    line-height: 1.9;
  }

  body[data-page="about-page"] .about-church-photo,
  body[data-page="about-page"] .about-church-photo img {
    min-height: 390px;
  }

  body[data-page="about-page"] .about-timeline {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 0;
  }

  body[data-page="about-page"] .about-timeline::before {
    top: 24px;
    bottom: 24px;
    left: 26px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, rgba(31, 79, 61, 0.12), #c39a46 16% 84%, rgba(31, 79, 61, 0.12));
  }

  body[data-page="about-page"] .about-timeline-item {
    min-height: 0;
    justify-items: start;
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 18px;
    padding: 0;
    text-align: left;
  }

  body[data-page="about-page"] .about-timeline-icon {
    grid-row: 1 / span 3;
  }

  body[data-page="about-page"] .about-timeline-year,
  body[data-page="about-page"] .about-timeline-item h3,
  body[data-page="about-page"] .about-timeline-item p {
    grid-column: 2;
  }

  body[data-page="about-page"] .about-timeline-item p {
    font-size: 0.95rem;
  }

  body[data-page="about-page"] .about-scripture-card {
    min-height: 250px;
    padding: 30px 28px;
    border-radius: 28px;
  }

  body[data-page="about-page"] .about-scripture-card::before {
    right: 8px;
    bottom: 8px;
    width: 140px;
    height: 115px;
    opacity: 0.24;
  }

  body[data-page="about-page"] .about-scripture-mark {
    height: 24px;
    margin-bottom: 4px;
  }

  body[data-page="about-page"] .about-scripture-card p {
    font-size: clamp(1.28rem, 5.6vw, 1.62rem);
    line-height: 1.58;
  }

  body[data-page="about-page"] .about-scripture-card strong {
    justify-self: start;
    margin-top: 14px;
    font-size: 0.94rem;
  }
}

@media (max-width: 430px) {
  body[data-page="about-page"] .about-story-hero {
    min-height: 540px;
    padding-inline: 18px;
  }

  body[data-page="about-page"] .about-story-hero h1 {
    max-width: 9ch;
    font-size: clamp(2.28rem, 12vw, 3.35rem);
  }

  body[data-page="about-page"] .about-church-photo,
  body[data-page="about-page"] .about-church-photo img {
    min-height: 330px;
  }

  body[data-page="about-page"] .about-scripture-card {
    min-height: 232px;
    padding: 28px 24px;
  }
}

/* Final harvest carousel verse visibility guard. */
body[data-page="home"] .harvest-summary-verse,
body[data-page="home"] .scripture-card .harvest-summary-verse {
  display: none;
}

body[data-page="home"] .harvest-full-verse,
body[data-page="home"] .scripture-card .harvest-full-verse {
  display: block;
}

@media (max-width: 960px) {
  body[data-page="home"] .harvest-full-verse,
  body[data-page="home"] .scripture-card .harvest-full-verse {
    display: none;
  }

  body[data-page="home"] .harvest-summary-verse,
  body[data-page="home"] .scripture-card .harvest-summary-verse {
    display: block;
  }
}

/* Final carousel copy placement guard. */
body[data-page="home"] .scripture-hidden-copy {
  bottom: clamp(150px, 18vh, 190px);
}

body[data-page="home"] .mission-vision-copy-wrap {
  bottom: clamp(112px, 15vh, 160px);
}

@media (max-width: 960px) {
  body[data-page="home"] .scripture-hidden-copy,
  body[data-page="home"] .mission-vision-copy-wrap {
    bottom: 104px;
  }
}

@media (max-width: 520px) {
  body[data-page="home"] .scripture-hidden-copy,
  body[data-page="home"] .mission-vision-copy-wrap {
    bottom: 90px;
  }
}

@media (max-width: 960px) {
  body[data-page="home"] .feature-switcher-panel.active .mission-open-hint {
    display: none;
  }
}

@media (max-width: 760px) {
  body .site-header:not(.admin-header) .header-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
  }

  body .site-header:not(.admin-header) .header-nav-item {
    display: none;
  }

  body .site-header:not(.admin-header) .lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(48, 95, 78, 0.14);
    border-radius: 999px;
    background: rgba(255, 248, 230, 0.5);
    color: var(--green);
    font-weight: 850;
    box-shadow: 0 10px 24px rgba(43, 69, 50, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  body[data-page="home"] .site-header:not(.admin-header) .lang-toggle {
    border-color: rgba(255, 250, 240, 0.24);
    background: rgba(255, 248, 230, 0.2);
    color: #fffaf0;
    text-shadow: 0 2px 7px rgba(0, 0, 0, 0.5);
  }

  body[data-page="about-page"] .site-header:not(.admin-header) .lang-toggle {
    color: #1f4f3d;
  }

  body .mobile-menu-button,
  body .mobile-menu-layer {
    display: none !important;
  }
}

/* Mobile home composition matching the portrait reference. */
@media (max-width: 768px) {
  body[data-page="home"] {
    background: #f8f3eb;
  }

  body[data-page="home"] main {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  body[data-page="home"] #hero-feature-switcher,
  body[data-page="home"] .feature-switcher {
    order: 0;
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    height: min(82vh, 760px);
    min-height: 720px;
    border-radius: 0 0 32px 32px;
    overflow: hidden;
    background: #142018;
    box-shadow: 0 20px 44px rgba(29, 42, 36, 0.18);
  }

  body[data-page="home"] .feature-switcher::before {
    border-radius: inherit;
    background:
      linear-gradient(180deg, rgba(16, 25, 20, 0.65) 0%, rgba(16, 25, 20, 0.15) 35%, transparent 60%),
      linear-gradient(180deg, transparent 40%, rgba(20, 22, 13, 0.25) 63%, rgba(12, 18, 11, 0.85) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, transparent 52%);
  }

  body[data-page="home"] .feature-switcher::after {
    border-radius: inherit;
    height: 48%;
    background: linear-gradient(180deg, transparent, rgba(8, 13, 8, 0.76));
  }

  body[data-page="home"] .scripture-card,
  body[data-page="home"] .mission-vision-section {
    border-radius: 0;
  }

  body[data-page="home"] .feature-switcher-tabs {
    display: none;
  }

  body[data-page="home"] .site-header:not(.admin-header),
  body[data-page="home"] .full-bleed-header,
  body[data-page="home"] .full-bleed-header.is-compact {
    top: 0;
    left: 0;
    right: 0;
    z-index: 80;
    width: 100%;
    padding: 20px 24px 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0 10px;
    color: #fffdf8;
    background: linear-gradient(to bottom, rgba(16, 25, 20, 0.6) 0%, rgba(16, 25, 20, 0.25) 65%, transparent 100%);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-sizing: border-box;
  }

  body[data-page="home"] .site-header .brand {
    order: 1;
    flex: 1 1 100%;
    gap: 12px;
    color: #fffdf8;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
  }

  body[data-page="home"] .site-header .brand img,
  body[data-page="home"] .full-bleed-header.is-compact .brand img {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border-radius: 0;
    box-shadow: none;
  }

  body[data-page="home"] .site-header .brand-copy strong,
  body[data-page="home"] .full-bleed-header.is-compact .brand-copy strong {
    max-width: 70vw;
    overflow: hidden;
    color: #fffdf8;
    font-size: 1.52rem;
    font-weight: 900;
    line-height: 1.15;
    text-overflow: ellipsis;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
  }

  body[data-page="home"] .site-header .brand-copy span,
  body[data-page="home"] .full-bleed-header.is-compact .brand-copy span {
    max-width: 72vw;
    overflow: hidden;
    color: rgba(255, 253, 248, 0.85);
    font-size: 0.94rem;
    font-weight: 650;
    line-height: 1.35;
    text-overflow: ellipsis;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
  }

  body[data-page="home"] .mobile-menu-button {
    order: 2;
    display: none !important;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    margin-top: 4px;
    border: 0;
    background: transparent;
    color: #0f3a2d;
    filter: none;
  }

  body[data-page="home"] .mobile-menu-button span {
    width: 31px;
    height: 4px;
    background: currentColor;
  }

  body[data-page="home"] .mobile-menu-button span:nth-child(1) {
    transform: translateY(-10px);
  }

  body[data-page="home"] .mobile-menu-button span:nth-child(3) {
    transform: translateY(10px);
  }

  body[data-page="home"] .mobile-menu-button.is-open span:nth-child(1) {
    transform: rotate(45deg);
  }

  body[data-page="home"] .mobile-menu-button.is-open span:nth-child(3) {
    transform: rotate(-45deg);
  }

  body[data-page="home"] .mobile-menu-layer {
    display: block !important;
    z-index: 2000;
  }

  body[data-page="home"] .site-header .header-actions {
    order: 3;
    display: flex;
    flex: 0 0 100%;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 28px;
    padding-top: 0;
    border-top: 0;
  }

  body[data-page="home"] .site-header .header-nav-item {
    display: inline-flex;
    align-items: center;
    z-index: 2;
  }

  body[data-page="home"] .site-header .header-nav-item::before {
    display: none !important;
  }

  body[data-page="home"] .site-header .header-nav-submenu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    z-index: 120;
    display: grid !important;
    min-width: 148px;
    padding: 7px;
    gap: 4px;
    border: 1px solid rgba(15, 58, 45, 0.12);
    border-radius: 18px;
    background: rgba(255, 253, 248, 0.97);
    box-shadow: 0 16px 36px rgba(24, 32, 24, 0.2);
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(-8px) scale(0.98);
    transition: opacity 160ms ease, transform 160ms ease;
    visibility: hidden;
  }

  body[data-page="home"] .site-header .header-nav-submenu::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    width: 12px;
    height: 12px;
    border-left: 1px solid rgba(15, 58, 45, 0.12);
    border-top: 1px solid rgba(15, 58, 45, 0.12);
    background: rgba(255, 253, 248, 0.97);
    transform: translateX(-50%) rotate(45deg);
  }

  body[data-page="home"] .site-header .header-nav-submenu-link {
    position: relative;
    z-index: 1;
    justify-content: center;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 13px;
    color: #0f3a2d;
    font-size: 0.93rem;
    font-weight: 850;
    line-height: 1.15;
    text-align: center;
    text-shadow: none;
    white-space: nowrap;
  }

  body[data-page="home"] .site-header .header-nav-submenu-link:hover,
  body[data-page="home"] .site-header .header-nav-submenu-link:focus-visible {
    background: #eef0e5;
    color: #0f3a2d;
  }

  body[data-page="home"] .site-header .header-nav-item.is-open .header-nav-submenu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
    visibility: visible;
  }

  body[data-page="home"] .site-header .header-nav-item + .header-nav-item,
  body[data-page="home"] .site-header .lang-toggle {
    border-left: 1px solid rgba(255, 253, 248, 0.35);
    padding-left: 18px;
  }

  body[data-page="home"] .site-header .header-nav-link,
  body[data-page="home"] .site-header .lang-toggle {
    min-height: 0;
    padding-block: 0;
    padding-right: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 253, 248, 0.94);
    box-shadow: none;
    font-size: 1.06rem;
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  }

  body[data-page="home"] .site-header .lang-toggle {
    min-width: 0;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
  }

  body[data-page="home"] .scripture-poster {
    display: none !important;
  }

  body[data-page="home"] .scripture-poster-mobile {
    display: block !important;
    object-fit: cover;
    object-position: center center;
    filter: saturate(1.08) contrast(1.04);
  }

  body[data-page="home"] .mission-vision-poster {
    display: none !important;
  }

  body[data-page="home"] .mission-vision-poster-mobile {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: saturate(1.05) contrast(1.03) brightness(0.92);
  }

  body[data-page="home"] .scripture-hidden-copy,
  body[data-page="home"] .mission-vision-copy-wrap {
    left: 34px;
    right: 26px;
    bottom: 86px;
    max-height: none;
  }

  body[data-page="home"] .scripture-content {
    gap: 13px;
    max-width: 100%;
  }

  body[data-page="home"] .mission-vision-copy-wrap {
    top: auto;
    display: block;
    overflow: visible;
  }

  body[data-page="home"] .mission-vision-copy-wrap > h2,
  body[data-page="home"] .mission-vision-copy {
    display: none !important;
  }

  body[data-page="home"] .mobile-mission-summary {
    display: grid;
    gap: 14px;
    max-width: 100%;
    color: #fffdf8;
    text-shadow:
      0 2px 4px rgba(0, 0, 0, 0.35),
      0 10px 28px rgba(0, 0, 0, 0.66);
  }

  body[data-page="home"] .mobile-mission-subtitle {
    display: inline-block;
  }

  body[data-page="home"] .mobile-mission-subtitle .line-part {
    display: inline-block;
  }

  body[data-page="home"] .mobile-mission-subtitle .sep-part {
    display: inline-block;
    margin: 0 6px;
    opacity: 0.85;
  }

  body[data-page="home"] .mobile-mission-summary h2 {
    margin: 0;
    color: #fffdf8;
    font-family: var(--font-display);
    font-size: clamp(2.08rem, 8vw, 2.72rem);
    font-weight: 950;
    line-height: 1.14;
  }

  body[data-page="home"] .mobile-mission-summary > span:not(.feature-open-hint) {
    color: rgba(255, 253, 248, 0.94);
    font-size: 1.08rem;
    font-weight: 750;
    line-height: 1.58;
  }

  body[data-page="home"] .mobile-harvest-title {
    display: none;
    margin-bottom: 4px;
    padding: 7px 16px;
    border: 0;
    background: rgba(138, 89, 24, 0.76);
    color: #fff7e6;
    font-size: 0.98rem;
    letter-spacing: 0;
  }

  body[data-page="home"] .harvest-summary-verse,
  body[data-page="home"] .scripture-card .harvest-summary-verse {
    display: none;
  }

  body[data-page="home"] .harvest-full-verse,
  body[data-page="home"] .scripture-card .harvest-full-verse {
    display: block;
  }

  body[data-page="home"] .scripture-card .mobile-harvest-verse {
    max-width: 10.5em;
    color: #fffdf8;
    font-size: clamp(2.25rem, 8.5vw, 2.9rem);
    font-weight: 950;
    line-height: 1.18;
    text-shadow:
      0 2px 4px rgba(0, 0, 0, 0.35),
      0 10px 28px rgba(0, 0, 0, 0.72);
  }

  body[data-page="home"] .scripture-card .mobile-harvest-verse span {
    display: block;
    -webkit-text-stroke: 0;
  }

  body[data-page="home"] .mobile-harvest-reference {
    margin-top: 4px;
    color: #fffdf8;
    font-size: 1.1rem;
    font-weight: 750;
  }

  body[data-page="home"] .feature-open-hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 46px;
    margin-top: 10px;
    padding: 10px 18px;
    border: 1.5px solid rgba(255, 253, 248, 0.92);
    border-radius: 999px;
    color: #fffdf8;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.38);
  }

  body[data-page="home"] .mission-vision-copy-wrap .feature-open-hint {
    display: inline-flex;
  }

  body[data-page="home"] .feature-open-hint span {
    margin-left: 9px;
    font-size: 1.5rem;
    line-height: 0.75;
  }

  body[data-page="home"] .feature-carousel-indicators {
    bottom: 34px;
  }

  body[data-page="home"] .feature-carousel-dot {
    width: 9px;
    height: 9px;
    background: rgba(255, 255, 255, 0.56);
  }

  body[data-page="home"] .feature-carousel-dot.active {
    width: 30px;
    background: #f4b942;
  }

  body[data-page="home"] #hero {
    display: none;
  }

  body[data-page="home"] .quick-nav {
    order: 1;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 22px 16px 28px;
    border-radius: 20px 20px 0 0;
    background:
      radial-gradient(circle at 18% 4%, rgba(236, 222, 198, 0.55), transparent 42%),
      #fffdf8;
    overflow: visible;
  }

  body[data-page="home"] .quick-nav::before,
  body[data-page="home"] .quick-nav-title,
  body[data-page="home"] .quick-nav-title::before {
    display: none;
  }

  body[data-page="home"] .quick-nav-card {
    max-width: none;
  }

  body[data-page="home"] .quick-nav nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  body[data-page="home"] #quick-nav-list > .quick-nav-card-link {
    min-height: 126px;
    padding: 14px 6px 12px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow:
      0 12px 24px rgba(50, 42, 32, 0.09),
      inset 0 1px 0 rgba(255, 255, 255, 0.78);
  }

  body[data-page="home"] .quick-nav-icon {
    width: 50px;
    height: 50px;
    margin: 0 0 9px;
    border-radius: 50%;
    background: #eef0e5;
    color: #41674d;
  }

  body[data-page="home"] .quick-nav-icon svg {
    width: 27px;
    height: 27px;
  }

  body[data-page="home"] .quick-nav-card-copy {
    gap: 5px;
    justify-items: center;
  }

  body[data-page="home"] .quick-nav-card-copy strong {
    font-size: 0.92rem;
    line-height: 1.15;
    word-break: keep-all;
  }

  body[data-page="home"] .quick-nav-card-copy span {
    max-width: 7em;
    color: rgba(29, 42, 36, 0.72);
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.35;
  }

  body[data-page="home"] .quick-nav-arrow {
    display: none;
  }

  body[data-page="home"] #meetings {
    order: 2;
    padding: 20px 16px 32px;
    background: #fffdf8;
  }

  body[data-page="home"] #meetings::before,
  body[data-page="home"] #meetings::after {
    content: none;
  }

  body[data-page="home"] .meetings-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: none;
    margin-bottom: 14px;
    padding-left: 0;
  }

  body[data-page="home"] .meetings-section-header::before {
    content: none;
  }

  body[data-page="home"] .meetings-heading-copy h2 {
    color: #0f3a2d;
    font-size: 1.45rem;
    line-height: 1.15;
  }

  body[data-page="home"] .meetings-header-more-link {
    display: inline-flex;
    align-items: center;
    color: #8a3f18;
    font-size: 0.94rem;
    font-weight: 800;
  }

  body[data-page="home"] #meetings .schedule-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: none;
  }

  body[data-page="home"] .meeting-card {
    position: relative;
    display: grid;
    grid-template-columns: 34% minmax(0, 1fr) 18px;
    align-items: center;
    min-height: 126px;
    padding: 12px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 24px rgba(50, 42, 32, 0.08);
  }

  body[data-page="home"] .meeting-card-media {
    width: 100%;
    height: 100%;
    min-height: 102px;
    overflow: hidden;
    border-radius: 10px;
  }

  body[data-page="home"] .meeting-card-badge {
    display: none;
  }

  body[data-page="home"] .meeting-card-content {
    padding: 0 10px 0 14px;
  }

  body[data-page="home"] .meeting-card-copy {
    gap: 5px;
  }

  body[data-page="home"] .meeting-card h3 {
    font-size: 1.05rem;
    line-height: 1.28;
  }

  body[data-page="home"] .meeting-time-badge,
  body[data-page="home"] .meeting-place,
  body[data-page="home"] .meeting-description {
    color: rgba(29, 42, 36, 0.78);
    font-size: 0.78rem;
    font-weight: 650;
    line-height: 1.35;
  }

  body[data-page="home"] .meeting-time-badge {
    color: #416c49;
    font-size: 0.82rem;
  }

  body[data-page="home"] .meeting-description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body[data-page="home"] .meeting-card-arrow {
    justify-self: end;
    color: #8a3f18;
    font-size: 1.45rem;
    line-height: 1;
  }

  body[data-page="home"] .meetings-more-wrap {
    display: none;
  }

  body[data-page="meetings-page"] .meetings-page-main {
    padding: 18px 0 34px;
  }

  body[data-page="meetings-page"] .meetings-page-hero {
    gap: 10px;
    padding: 28px 20px;
    border-radius: 24px;
  }

  body[data-page="meetings-page"] .meetings-page-hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  body[data-page="meetings-page"] .meetings-page-hero > p:not(.section-label) {
    font-size: 1rem;
    line-height: 1.75;
  }

  body[data-page="meetings-page"] .meetings-page-section {
    margin-top: 16px;
  }

  body[data-page="meetings-page"] .meetings-page-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body[data-page="meetings-page"] .meeting-page-card {
    grid-template-columns: 34% minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
    border-radius: 18px;
  }

  body[data-page="meetings-page"] .meeting-page-card-media {
    min-height: 128px;
    border-radius: 14px;
  }

  body[data-page="meetings-page"] .meeting-page-card-media span {
    left: 8px;
    bottom: 8px;
    padding: 5px 8px;
    font-size: 0.72rem;
  }

  body[data-page="meetings-page"] .meeting-page-card-body {
    gap: 6px;
  }

  body[data-page="meetings-page"] .meeting-page-time,
  body[data-page="meetings-page"] .meeting-page-place,
  body[data-page="meetings-page"] .meeting-page-description {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  body[data-page="meetings-page"] .meeting-page-time small {
    font-size: 0.76rem;
  }

  body[data-page="meetings-page"] .meeting-page-card h2 {
    font-size: 1.05rem;
    line-height: 1.24;
  }

  body[data-page="meetings-page"] .meeting-page-description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
}

@media (max-width: 430px) {
  body[data-page="home"] #hero-feature-switcher,
  body[data-page="home"] .feature-switcher {
    min-height: 720px;
    height: min(84vh, 760px);
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 0;
    border-radius: 0 0 32px 32px;
  }

  body[data-page="home"] .site-header:not(.admin-header),
  body[data-page="home"] .full-bleed-header,
  body[data-page="home"] .full-bleed-header.is-compact {
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 20px 24px;
  }

  body[data-page="home"] .site-header .brand img,
  body[data-page="home"] .full-bleed-header.is-compact .brand img {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }

  body[data-page="home"] .site-header .brand-copy strong,
  body[data-page="home"] .full-bleed-header.is-compact .brand-copy strong {
    font-size: 1.36rem;
  }

  body[data-page="home"] .site-header .brand-copy span,
  body[data-page="home"] .full-bleed-header.is-compact .brand-copy span {
    font-size: 0.82rem;
  }

  body[data-page="home"] .site-header .header-actions {
    gap: 13px;
    margin-top: 24px;
    padding-top: 0;
  }

  body[data-page="home"] .site-header .header-nav-item + .header-nav-item,
  body[data-page="home"] .site-header .lang-toggle {
    padding-left: 13px;
  }

  body[data-page="home"] .site-header .header-nav-link,
  body[data-page="home"] .site-header .lang-toggle {
    font-size: 0.96rem;
  }

  body[data-page="home"] .scripture-hidden-copy,
  body[data-page="home"] .mission-vision-copy-wrap {
    left: 26px;
    right: 20px;
    bottom: 82px;
  }

  body[data-page="home"] .scripture-card .mobile-harvest-verse {
    font-size: clamp(2.02rem, 8.9vw, 2.34rem);
  }

  body[data-page="home"] .quick-nav {
    padding-inline: 12px;
  }

  body[data-page="home"] .quick-nav nav {
    gap: 6px;
  }

  body[data-page="home"] #quick-nav-list > .quick-nav-card-link {
    min-height: 120px;
    padding-inline: 4px;
  }

  body[data-page="home"] .quick-nav-icon {
    width: 46px;
    height: 46px;
  }

  body[data-page="home"] .quick-nav-card-copy strong {
    font-size: 0.84rem;
  }

  body[data-page="home"] .quick-nav-card-copy span {
    font-size: 0.68rem;
  }

  body[data-page="home"] #meetings {
    padding-inline: 12px;
  }

  body[data-page="home"] .meeting-card {
    grid-template-columns: 33% minmax(0, 1fr) 16px;
    padding: 10px;
  }

  body[data-page="home"] .meeting-card h3 {
    font-size: 0.98rem;
  }
}

@media (max-width: 768px) {
  body[data-page="pastor-page"] .pastor-page-main {
    padding: 16px 0 30px;
  }

  body[data-page="pastor-page"] .pastor-profile {
    gap: 0;
    padding: 18px;
    border-radius: 26px;
    background:
      radial-gradient(circle at 14% 4%, rgba(215, 184, 121, 0.18), transparent 34%),
      radial-gradient(circle at 92% 76%, rgba(48, 95, 78, 0.22), transparent 32%),
      linear-gradient(160deg, #183149 0%, #10293a 48%, #0d2b22 100%);
    box-shadow: 0 18px 40px rgba(15, 32, 44, 0.22);
  }

  body[data-page="pastor-page"] .pastor-profile::before {
    height: 250px;
    opacity: 0.22;
  }

  body[data-page="pastor-page"] .pastor-profile::after {
    display: none;
  }

  body[data-page="pastor-page"] .pastor-profile-overline {
    display: none;
  }

  body[data-page="pastor-page"] .pastor-profile-photo-wrap {
    min-height: 0;
    padding-top: 0;
  }

  body[data-page="pastor-page"] .pastor-photo-note {
    position: relative;
    left: auto;
    bottom: auto;
    display: flex;
    align-items: center;
    width: 80%;
    min-height: 78px;
    margin: -22px 0 0 20px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 16px 30px rgba(4, 12, 22, 0.22);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  body[data-page="pastor-page"] .pastor-profile-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-width: 8px;
    border-radius: 30px;
    box-shadow: 0 16px 28px rgba(29, 42, 36, 0.14);
  }

  body[data-page="pastor-page"] .pastor-profile-photo img {
    object-position: center 24%;
  }

  body[data-page="pastor-page"] .pastor-photo-note::before {
    content: "✦ 以真理牧養，以愛陪伴";
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.45;
    white-space: nowrap;
  }

  body[data-page="pastor-page"] .pastor-photo-note-mark,
  body[data-page="pastor-page"] .pastor-photo-note strong,
  body[data-page="pastor-page"] .pastor-photo-note span:last-child {
    display: none;
  }

  body[data-page="pastor-page"] .pastor-profile-content {
    gap: 0;
    margin-top: 32px;
  }

  body[data-page="pastor-page"] .pastor-verse-row {
    display: block;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 2.25rem;
  }

  body[data-page="pastor-page"] .pastor-verse-row p {
    margin: 0;
    line-height: 2.25rem;
  }

  body[data-page="pastor-page"] .pastor-verse-quote,
  body[data-page="pastor-page"] .pastor-verse-reference {
    display: block;
  }

  body[data-page="pastor-page"] .pastor-verse-reference {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
    font-weight: 650;
  }

  body[data-page="pastor-page"] .pastor-cross,
  body[data-page="pastor-page"] .pastor-name-en,
  body[data-page="pastor-page"] .pastor-philosophy,
  body[data-page="pastor-page"] .pastor-philosophy::before {
    display: none;
  }

  body[data-page="pastor-page"] .pastor-profile-inner {
    gap: 0;
    margin-top: 40px;
    padding: 0 4px;
  }

  body[data-page="pastor-page"] .pastor-eyebrow {
    margin: 0 0 10px;
    color: #f6c965;
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.2em;
  }

  body[data-page="pastor-page"] .pastor-eyebrow::before {
    display: none;
  }

  body[data-page="pastor-page"] .pastor-profile-heading h1,
  body[data-page="pastor-page"] .pastor-profile-heading h1::first-letter {
    color: #fff;
  }

  body[data-page="pastor-page"] .pastor-profile-heading h1 {
    font-size: clamp(3rem, 13vw, 3.55rem);
    font-weight: 800;
    line-height: 1.02;
  }

  body[data-page="pastor-page"] .pastor-intro {
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.78);
  }

  body[data-page="pastor-page"] .pastor-info-grid,
  body[data-page="pastor-page"] .pastor-voice {
    margin-top: 24px;
  }

  body[data-page="pastor-page"] .pastor-info-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body[data-page="pastor-page"] .pastor-info-card {
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: start;
    min-height: 0;
    padding: 16px;
    border-radius: 20px;
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 253, 248, 0.08);
    box-shadow: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  body[data-page="pastor-page"] .pastor-info-card h2 {
    color: #f6c965;
  }

  body[data-page="pastor-page"] .pastor-info-card p,
  body[data-page="pastor-page"] .pastor-voice p {
    color: rgba(255, 255, 255, 0.76);
  }

  body[data-page="pastor-page"] .pastor-voice h2 {
    color: #fff;
  }

  body[data-page="pastor-page"] .pastor-prayer-bar {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px;
    border-radius: 24px;
  }

  body[data-page="pastor-page"] .pastor-prayer-link {
    width: 100%;
    min-height: 46px;
    padding: 0 18px;
    white-space: normal;
  }
}

@media (max-width: 768px) {
  body[data-page="home"] .site-header:not(.admin-header),
  body[data-page="home"] .full-bleed-header,
  body[data-page="home"] .full-bleed-header.is-compact,
  body[data-page="home"] .full-bleed-header.is-hidden {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px 12px;
    width: 100%;
    min-height: 126px;
    margin: 0;
    padding: 16px 18px 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #fffdf8;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body[data-page="home"] .full-bleed-header.is-compact {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(28, 25, 20, 0.8);
    box-shadow: 0 10px 28px rgba(11, 16, 12, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  body[data-page="home"] .site-header .brand {
    order: 1;
    flex: 1 1 100%;
    min-width: 0;
    gap: 10px;
    color: #fffdf8;
  }

  body[data-page="home"] .site-header .brand img,
  body[data-page="home"] .full-bleed-header.is-compact .brand img {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 2px;
    object-fit: cover;
  }

  body[data-page="home"] .site-header .brand-copy {
    flex: 1 1 auto;
    min-width: 0;
    gap: 2px;
  }

  body[data-page="home"] .site-header .brand-copy strong,
  body[data-page="home"] .full-bleed-header.is-compact .brand-copy strong,
  body[data-page="home"] .site-header .brand-copy span,
  body[data-page="home"] .full-bleed-header.is-compact .brand-copy span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    letter-spacing: 0;
    text-overflow: ellipsis;
    text-shadow: 0 2px 7px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
  }

  body[data-page="home"] .site-header .brand-copy strong,
  body[data-page="home"] .full-bleed-header.is-compact .brand-copy strong {
    color: #fffdf8;
    font-size: clamp(1.28rem, 6vw, 1.74rem);
    font-weight: 900;
    line-height: 1.08;
  }

  body[data-page="home"] .site-header .brand-copy span,
  body[data-page="home"] .full-bleed-header.is-compact .brand-copy span {
    color: rgba(255, 253, 248, 0.9);
    font-size: clamp(0.82rem, 3.45vw, 1rem);
    font-weight: 750;
    line-height: 1.18;
  }

  body[data-page="home"] .site-header .header-actions {
    order: 2;
    flex: 1 1 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 6px 0 0;
    padding: 0;
    border: 0;
  }

  body[data-page="home"] .site-header .header-nav-item {
    position: relative;
    display: inline-flex !important;
    align-items: center;
  }

  body[data-page="home"] .site-header .header-nav-item + .header-nav-item,
  body[data-page="home"] .site-header .lang-toggle {
    border-left: 1px solid rgba(255, 253, 248, 0.36);
    padding-left: 16px;
  }

  body[data-page="home"] .mobile-menu-button {
    display: none !important;
  }

  body[data-page="home"] .site-header .header-nav-link,
  body[data-page="home"] .site-header .lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #fffdf8;
    font-size: clamp(0.92rem, 4.2vw, 1.08rem);
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 0 2px 7px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
  }

  body[data-page="home"] .site-header:not(.admin-header) .lang-toggle {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body[data-page="home"] .site-header .header-nav-link:hover,
  body[data-page="home"] .site-header .header-nav-link:focus-visible,
  body[data-page="home"] .site-header .lang-toggle:hover,
  body[data-page="home"] .site-header .lang-toggle:focus-visible {
    background: transparent;
    color: #f6d59a;
  }

  body[data-page="home"] .site-header .header-nav-submenu {
    top: calc(100% + 10px);
    left: 50%;
    right: auto;
    z-index: 130;
    transform: translateX(-50%) translateY(-8px) scale(0.98);
  }

  body[data-page="home"] .site-header .header-nav-item.is-open .header-nav-submenu {
    transform: translateX(-50%) translateY(0) scale(1);
  }

  body[data-page="home"] .feature-switcher::before {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.26) 36%, rgba(0, 0, 0, 0.06) 62%, transparent 78%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.32) 0%, transparent 58%);
  }

  body[data-page="home"] .feature-switcher::after {
    height: 58%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 52%, transparent 100%);
  }
}
