/* New Life Bethany Church identity and responsive presentation layer. */

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

/* Canonical logo, original webfonts, and full legacy subpage system. */
body:not(.admin-body) {
  font-family: "Nanum Gothic", sans-serif;
}

.legacy-home,
.site-footer {
  font-family: "Pretendard", sans-serif;
}

.site-nav,
.legacy-local-menu,
.legacy-mobile-primary-tabs,
.legacy-mobile-secondary-tabs,
.legacy-subhero-copy {
  font-family: "NanumSquareNeo", sans-serif;
}

.church-leaf-logo {
  width: 56px;
  height: 41px;
  max-width: none;
  display: block;
  object-fit: contain;
}

.brand .brand-mark,
.admin-topbar-brand .brand-mark,
.login-brand .brand-mark {
  width: 56px;
  height: 41px;
  flex: 0 0 56px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-copy .brand-denomination,
.is-home .brand-copy .brand-denomination {
  margin: 0;
  color: #11545e;
  font-family: "S-CoreDream", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -1.5px;
}

.brand-copy strong,
.is-home .brand-copy strong {
  color: #11545e;
  font-family: "S-CoreDream", sans-serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -2px;
}

.footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand-lockup > div {
  display: grid;
}

.footer-brand-lockup small,
.footer-brand-lockup strong,
.footer-brand-lockup p {
  margin: 0;
}

.footer-brand-lockup small {
  color: #d5a921;
  font-size: 12px;
  font-weight: 600;
}

.footer-brand-lockup strong {
  color: #fff;
  font-family: "S-CoreDream", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -1.4px;
}

.footer-brand-lockup p {
  color: #aaa;
  font-size: 10px;
}

.site-layout[data-layout="legacy-subpage"] {
  width: 100%;
  max-width: none;
  padding: 0;
  display: block;
}

.site-layout[data-layout="legacy-subpage"] > .site-sidebar {
  display: none !important;
}

.site-layout[data-layout="legacy-subpage"] .site-content,
.legacy-subpage {
  width: 100%;
}

.legacy-subpage {
  --legacy-canvas: 1500px;
  color: #333;
  overflow-x: clip;
  background: #fff;
}

.legacy-subhero {
  height: 299px;
  position: relative;
  z-index: 1;
  overflow: visible;
  background: #fff;
}

.legacy-subhero-stage {
  min-height: 299px;
}

.legacy-subhero-green {
  width: 1060px;
  height: 331px;
  position: absolute;
  z-index: 1;
  left: -383px;
  top: -100px;
  overflow: hidden;
  border-radius: 0 115px 0 0;
  background: #617c18;
}

.legacy-subhero-green img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 45%;
  opacity: .8;
}

.legacy-subhero-image {
  width: 1800px;
  height: 299px;
  position: absolute;
  z-index: 2;
  left: 400px;
  top: 0;
  overflow: hidden;
  border-radius: 30px 0 0 30px;
  background: #324237;
}

.legacy-subhero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 50%;
}

.legacy-subhero-image span {
  position: absolute;
  inset: 0;
  background: rgba(20, 42, 34, .34);
}

.legacy-subhero-copy {
  width: 820px;
  position: absolute;
  z-index: 3;
  left: 635px;
  top: 91px;
  display: grid;
  justify-items: center;
  color: #fff;
  text-align: center;
  text-shadow: 0 0 3px #000;
}

.legacy-subhero-copy p,
.legacy-subhero-copy strong,
.legacy-subhero-copy small {
  margin: 0;
}

.legacy-subhero-mobile-break {
  display: none;
}

.legacy-subhero-copy p {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -.5px;
}

.legacy-subhero-copy strong {
  margin-top: 7px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -2px;
}

.legacy-subhero-copy small {
  margin-top: 8px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.5;
}

.legacy-mobile-primary-tabs,
.legacy-mobile-secondary-tabs {
  display: none;
}

.legacy-subpage-content {
  background: #fff;
}

.legacy-subcontent-stage {
  min-height: 640px;
  padding: 60px 0 100px 150px;
  display: grid;
  grid-template-columns: 300px 900px;
  column-gap: 110px;
  align-items: start;
}

.legacy-local-menu {
  width: 300px;
  padding: 10px;
  border-radius: 3px;
  background: #fff;
}

.legacy-local-menu h2 {
  height: 60px;
  margin: 0 0 10px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 3px;
  background: #8aae0e;
  font-size: 20px;
  font-weight: 700;
}

.legacy-local-menu nav {
  display: grid;
  gap: 3px;
}

.legacy-local-menu a {
  min-height: 47px;
  padding: 0 30px 0 15px;
  position: relative;
  display: flex;
  align-items: center;
  color: #333;
  border: 1px solid #d2d2d2;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
}

.legacy-local-menu a::before {
  width: 3px;
  position: absolute;
  inset: -1px auto -1px -1px;
  background: #8aae0e;
  content: "";
  opacity: 0;
}

.legacy-local-menu a:hover,
.legacy-local-menu a:focus-visible,
.legacy-local-menu a.is-active {
  color: #8aae0e;
}

.legacy-local-menu a:hover::before,
.legacy-local-menu a:focus-visible::before,
.legacy-local-menu a.is-active::before {
  opacity: 1;
}

.legacy-subpage-main {
  width: 900px;
  min-width: 0;
  font-family: "NotoSansKrRegular", sans-serif;
}

.legacy-original-desktop {
  width: var(--legacy-canvas-width);
  height: var(--legacy-canvas-height);
  margin-inline: auto;
  position: relative;
}

.legacy-original-canvas {
  width: var(--legacy-canvas-width);
  height: var(--legacy-canvas-height);
  position: relative;
}

.legacy-original-canvas .awcBaseLayer {
  position: relative;
  float: none;
  overflow: hidden;
}

.legacy-original-canvas .defaultDiv {
  position: relative;
  float: left;
}

.legacy-original-mobile {
  display: none;
}

.legacy-history-source {
  overflow: visible !important;
}

.mdHistoryWrap {
  width: 800px;
  margin: 0 auto;
  color: #666;
  font-family: "Nanum Gothic", sans-serif;
}

.mdCategoryBox {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #999;
}

.mdCategoryBox a {
  color: #8aae0e;
  font-weight: 700;
}

.mdCategoryBox p,
.mdYearTxt,
.mdDate p {
  margin: 0;
}

.mdHistoryTit {
  margin: 25px 0 35px;
  color: #333;
  font-family: "Nanum Myeongjo", serif;
  font-size: 42px;
  font-weight: 700;
  text-align: center;
}

.mdYearWrap {
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 200px 28px 1fr;
  align-items: stretch;
}

.mdYearBox {
  min-height: 100%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #8aae0e;
}

.mdBG02 {
  color: #555;
  background: #e9e9e9;
}

.mdYearTxt {
  font-family: "Nanum Myeongjo", serif;
  font-size: 30px;
  font-weight: 700;
}

.mdConBox {
  padding: 14px 0 14px 25px;
  border-left: 2px solid #8aae0e;
}

.mdDayText {
  min-height: 36px;
  margin-bottom: 7px;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: start;
  font-size: 14px;
  line-height: 1.55;
}

.mdDate {
  color: #8aae0e;
  font-weight: 700;
}

.mdBullet {
  margin-right: 7px;
  font-size: 8px;
}

@media (min-width: 1400px) {
  .is-home .brand .brand-mark {
    width: 56px;
    height: 41px;
    flex: 0 0 56px;
  }

  .is-home .site-navbar .site-nav > .nav-item > .nav-link {
    font-family: "NanumSquareNeo", sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.5px;
  }

  .is-home .footer-brand-lockup {
    width: 250px;
    height: 64px;
    position: absolute;
    left: 95px;
    top: 54px;
  }

  .is-home .footer-brand-lockup p {
    display: none;
  }
}

@media (max-width: 1399px) {
  .brand-copy .brand-denomination,
  .is-home .brand-copy .brand-denomination {
    font-size: 12px;
    letter-spacing: -1px;
  }

  .brand-copy strong,
  .is-home .brand-copy strong {
    font-size: 20px;
    letter-spacing: -1.5px;
  }

  .is-home .brand .brand-mark {
    width: 51px;
    height: 37px;
    flex-basis: 51px;
  }

  .is-home .brand .church-leaf-logo {
    width: 51px;
    height: 37px;
  }

  .legacy-subhero {
    height: 274px;
    overflow: hidden;
  }

  .legacy-subhero-stage {
    min-height: 274px;
    padding: 0;
  }

  .legacy-subhero-green {
    width: 70%;
    height: 250px;
    left: -25%;
    top: -18px;
    border-radius: 0 80px 0 0;
  }

  .legacy-subhero-image {
    width: calc(100% - 20px);
    height: 224px;
    left: 10px;
    top: 50px;
    border-radius: 18px 0 0 18px;
  }

  .legacy-subhero-image img {
    object-position: 55% center;
  }

  .legacy-subhero-copy {
    width: calc(100% - 42px);
    left: 21px;
    top: 105px;
  }

  .legacy-subhero-copy p {
    font-size: 12px;
  }

  .legacy-subhero-copy strong {
    margin-top: 8px;
    font-size: clamp(17px, 5vw, 21px);
    letter-spacing: -1px;
  }

  .legacy-subhero-mobile-break {
    display: inline;
  }

  .legacy-subhero-copy small {
    margin-top: 8px;
    font-size: 12px;
  }

  .legacy-mobile-primary-tabs,
  .legacy-mobile-secondary-tabs {
    width: 100%;
    height: 39px;
    padding-inline: 15px;
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    border-bottom: 1px solid #e5e5e5;
    background: #fff;
  }

  .legacy-mobile-primary-tabs::-webkit-scrollbar,
  .legacy-mobile-secondary-tabs::-webkit-scrollbar {
    display: none;
  }

  .legacy-mobile-primary-tabs a,
  .legacy-mobile-secondary-tabs a {
    padding: 0 15px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    color: #555;
    white-space: nowrap;
  }

  .legacy-mobile-primary-tabs a {
    font-size: 15px;
    font-weight: 500;
  }

  .legacy-mobile-secondary-tabs a {
    font-size: 13px;
    font-weight: 500;
  }

  .legacy-mobile-primary-tabs a.is-active,
  .legacy-mobile-secondary-tabs a.is-active {
    color: #8aae0e;
    font-weight: 700;
  }

  .legacy-subcontent-stage {
    width: 100%;
    min-height: 0;
    padding: 20px 15px 72px;
    display: block;
  }

  .legacy-local-menu,
  .legacy-original-desktop {
    display: none;
  }

  .legacy-subpage-main {
    width: min(100%, 800px);
    margin-inline: auto;
  }

  .legacy-original-mobile {
    width: 100%;
    display: grid;
    gap: 18px;
    overflow-x: auto;
  }

  .legacy-original-mobile .legacy-flow-p {
    width: 100%;
    height: auto;
    margin: 0;
    font-family: "NotoSansKrRegular", sans-serif;
    font-size: clamp(15px, 4.2vw, 17px) !important;
    line-height: 1.75 !important;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .legacy-original-mobile .legacy-flow-p[style*="font-weight:bold"],
  .legacy-original-mobile .legacy-flow-p[style*="font-weight: bold"] {
    font-size: clamp(18px, 5.2vw, 22px) !important;
    line-height: 1.5 !important;
  }

  .legacy-original-mobile .legacy-flow-img {
    width: 100%;
    height: auto;
    max-height: none;
    margin: 0;
    display: block;
    object-fit: contain;
  }

  .legacy-original-mobile .legacy-flow-iframe,
  .legacy-original-mobile .legacy-flow-video {
    width: 100%;
    min-height: 220px;
    border: 0;
  }

  .legacy-original-mobile .legacy-flow-table {
    width: 600px !important;
    min-width: 600px;
    height: auto !important;
    font-family: "NanumBarunGothic", sans-serif;
    font-size: 12px;
  }

  .legacy-original-mobile .legacy-flow-table td,
  .legacy-original-mobile .legacy-flow-table th {
    min-width: 38px;
    padding: 5px 3px !important;
    font-size: 11px !important;
  }

  .legacy-original-mobile .mdHistoryWrap {
    width: 100%;
  }

  .legacy-original-mobile .mdCategoryBox {
    padding: 0 8px 8px;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .legacy-original-mobile .mdHistoryTit {
    margin: 16px 0 24px;
    font-size: 30px;
  }

  .legacy-original-mobile .mdYearWrap {
    display: block;
  }

  .legacy-original-mobile .mdYearBox {
    min-height: 64px;
  }

  .legacy-original-mobile .mdConBox {
    padding: 20px 0 8px 14px;
  }

  .legacy-original-mobile .mdDayText {
    grid-template-columns: minmax(105px, 32%) 1fr;
    gap: 10px;
    font-size: 13px;
  }

  .footer-brand-lockup {
    justify-content: center;
  }
}

[tabindex="-1"]:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.site-layout[data-layout="home"] {
  grid-template-columns: minmax(0, 1fr);
}

.site-layout[data-layout="home"] .site-sidebar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.site-layout[data-layout="home"] .sidebar-card {
  height: 100%;
}

.page-shell {
  min-width: 0;
}

.brand-leaf .icon {
  width: 1.35rem;
  height: 1.35rem;
}

.brand {
  min-height: 2.75rem;
}

.brand-copy .brand-denomination {
  order: 0;
  margin: 0 0 .08rem;
  color: var(--church-gold-text);
  font-size: .59rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.brand-copy strong {
  order: 1;
}

.brand-copy .brand-tagline {
  order: 2;
  margin-top: .12rem;
  font-size: .61rem;
  letter-spacing: .08em;
}

.header-message p {
  display: grid;
  gap: .15rem;
  text-align: right;
}

.header-message p strong {
  color: var(--church-green);
  font-size: .9rem;
  font-weight: 700;
}

.header-message p small {
  color: var(--church-gold-text);
  font-family: var(--church-font);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.site-nav > .nav-item > .nav-link {
  min-height: 3.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
}

.site-navbar :focus-visible {
  outline: 2px solid #efd39f !important;
  outline-offset: -3px !important;
  box-shadow: none !important;
}

.site-nav .nav-dropdown > .dropdown-toggle::after {
  position: static;
  width: 0;
  height: 0;
  margin-left: .5rem;
  display: inline-block;
  border-top: .3em solid currentColor;
  border-right: .28em solid transparent;
  border-bottom: 0;
  border-left: .28em solid transparent;
  background: transparent;
  transform: none;
  transition: transform .18s ease;
}

.site-nav .nav-dropdown > .dropdown-toggle.show::after {
  transform: rotate(180deg);
}

.nav-dropdown .dropdown-menu {
  min-width: 12.5rem;
  margin-top: 0;
  padding: .55rem;
  border: 1px solid rgba(25, 56, 47, .1);
  border-radius: .85rem;
  box-shadow: 0 18px 42px rgba(15, 39, 31, .17);
}

.nav-dropdown .dropdown-item {
  min-height: 2.75rem;
  padding: .67rem .8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  color: #35423e;
  border-radius: .55rem;
  font-size: .87rem;
  font-weight: 700;
}

.nav-dropdown .dropdown-item:hover,
.nav-dropdown .dropdown-item:focus,
.nav-dropdown .dropdown-item.active {
  color: var(--church-green);
  background: var(--church-cream);
}

.nav-dropdown .dropdown-item[aria-current="page"] {
  box-shadow: inset 3px 0 var(--church-gold);
}

.hero-copy .hero-scripture {
  margin: .55rem 0 0;
  color: #efd6a8;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.hero-title-default > span,
.hero-title-default > em,
.hero-title-mobile > span,
.hero-title-mobile > em {
  display: block;
}

.hero-title-mobile {
  display: none;
}

.hero-leaf {
  position: absolute;
  z-index: 2;
  right: 5.1rem;
  top: 50%;
  width: 10rem;
  height: 10rem;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .88);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  box-shadow: 0 0 0 1.5rem rgba(255, 255, 255, .025);
  transform: translateY(-50%);
  backdrop-filter: blur(6px);
}

.hero-leaf .icon {
  width: 4.2rem;
  height: 4.2rem;
  filter: drop-shadow(0 .7rem 1rem rgba(0, 0, 0, .18));
}

.home-identity {
  margin: 1rem 0 4.2rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, .9fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  border-radius: 1.5rem;
  background: #f5f1e7;
}

.home-identity h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 350;
  line-height: 1.35;
  letter-spacing: -.055em;
}

.home-identity h2 em {
  color: var(--church-green);
  font-family: Georgia, "Batang", serif;
  font-style: normal;
  font-weight: 700;
}

.home-identity-copy > p {
  max-width: 39rem;
  margin: 1.25rem 0 1.35rem;
  color: var(--church-muted);
}

.vision-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #d9d1c1;
}

.vision-list li {
  min-height: 4rem;
  padding: .85rem .2rem;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: .75rem;
  align-items: center;
  border-bottom: 1px solid #d9d1c1;
}

.vision-list span {
  color: var(--church-gold-text);
  font-family: Georgia, serif;
  font-size: .75rem;
}

.vision-list strong {
  font-size: .92rem;
  line-height: 1.55;
}

.sermon-feature-art {
  position: relative;
}

.sermon-feature-art small {
  position: absolute;
  left: 1.3rem;
  bottom: 1.1rem;
  color: rgba(255, 255, 255, .55);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.youtube-inline-link {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  color: var(--church-green);
  font-size: .82rem;
  font-weight: 800;
}

.about-local-nav {
  position: sticky;
  z-index: 20;
  top: .75rem;
  margin: 0 0 4rem;
  padding: .55rem;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  border: 1px solid var(--church-line);
  border-radius: .9rem;
  background: rgba(255, 253, 249, .94);
  box-shadow: 0 10px 30px rgba(25, 56, 47, .08);
  backdrop-filter: blur(12px);
}

.about-local-nav a {
  min-height: 2.75rem;
  padding: .6rem .85rem;
  display: inline-flex;
  align-items: center;
  color: var(--church-muted);
  border-radius: .55rem;
  font-size: .82rem;
  font-weight: 800;
}

.about-local-nav a:hover,
.about-local-nav a:focus-visible {
  color: #fff;
  background: var(--church-green);
}

.page-shell-standard .scroll-anchor {
  scroll-margin-top: 6rem;
}

.promise-section {
  padding-top: .25rem;
}

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

.promise-card {
  min-height: 15.5rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--church-line);
  border-radius: 1.1rem;
  background: #fff;
}

.promise-card > span {
  color: var(--church-gold-text);
  font: 700 .75rem Georgia, serif;
}

.promise-card blockquote {
  margin: 1.25rem 0;
  color: var(--church-green);
  font-family: Georgia, "Batang", serif;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.65;
}

.promise-card cite {
  color: var(--church-muted);
  font-size: .75rem;
  font-style: normal;
  font-weight: 800;
}

.promise-card-primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(145deg, var(--church-green), #356d59);
  box-shadow: var(--church-shadow);
}

.promise-card-primary > span,
.promise-card-primary cite {
  color: #ebcf9e;
}

.promise-card-primary blockquote {
  color: #fff;
}

.church-identity-panel {
  position: relative;
  margin-top: 1rem;
  padding: clamp(2rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .85fr);
  gap: clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  color: #fff;
  border-radius: 1.35rem;
  background: #1c3d33;
}

.church-identity-panel > div,
.church-identity-panel > ul {
  position: relative;
  z-index: 1;
}

.church-identity-panel .section-eyebrow {
  color: #e7c88f;
}

.church-identity-panel h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  font-weight: 350;
  line-height: 1.4;
  letter-spacing: -.055em;
}

.church-identity-panel h2 em {
  color: #f1d7a7;
  font-family: Georgia, "Batang", serif;
  font-style: normal;
  font-weight: 700;
}

.church-identity-panel p {
  max-width: 38rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, .7);
}

.identity-values {
  align-self: center;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .8rem;
  list-style: none;
}

.identity-values li {
  padding: .8rem 0;
  display: grid;
  grid-template-columns: 1.65rem minmax(0, 1fr);
  gap: .7rem;
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
  font-size: .9rem;
}

.identity-values .icon {
  margin-top: .25rem;
  color: #e9cd9a;
}

.identity-leaf {
  position: absolute;
  right: -4rem;
  bottom: -5rem;
  color: rgba(255, 255, 255, .035);
}

.identity-leaf .icon {
  width: 20rem;
  height: 20rem;
}

.pastor-section {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: minmax(16rem, .75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.pastor-photo-wrap {
  position: relative;
  min-width: 0;
  padding: 1.2rem 1.2rem 0;
  border-radius: 1.3rem;
  background: linear-gradient(150deg, #e9dfce, #c9d9d0);
}

.pastor-photo {
  width: 100%;
  max-height: 35rem;
  display: block;
  object-fit: contain;
  object-position: center bottom;
}

.pastor-photo-caption {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  padding: .65rem .8rem;
  color: #fff;
  border-radius: .55rem;
  background: rgba(25, 56, 47, .9);
  font-size: .78rem;
  backdrop-filter: blur(6px);
}

.pastor-photo-caption strong {
  margin-left: .25rem;
  color: #efd6a9;
}

.pastor-copy h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -.06em;
}

.pastor-message {
  margin-top: 1.4rem;
  color: #4d5955;
  line-height: 1.85;
}

.pastor-message p {
  margin: 0 0 .75rem;
}

.pastor-profile {
  margin-top: 1.25rem;
  border-top: 1px solid var(--church-line);
  border-bottom: 1px solid var(--church-line);
}

.pastor-profile summary {
  min-height: 3.25rem;
  display: flex;
  align-items: center;
  color: var(--church-green);
  cursor: pointer;
  font-size: .86rem;
  font-weight: 800;
}

.pastor-profile ul {
  margin: 0 0 1.2rem;
  padding-left: 1.15rem;
  color: var(--church-muted);
  font-size: .78rem;
}

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

.bethany-staff-card {
  padding: 0;
  overflow: hidden;
  text-align: left;
  background: #fff;
}

.staff-photo-frame {
  position: relative;
  aspect-ratio: 4 / 3.35;
  overflow: hidden;
  background: linear-gradient(145deg, #e9e1d3, #cfddd5);
}

.staff-photo-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center top;
}

.staff-card-copy {
  padding: 1.35rem;
}

.staff-card-copy .staff-ministry {
  margin: 0 0 .4rem;
  color: var(--church-gold-text);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .05em;
}

.staff-card-copy h3 {
  font-size: 1.08rem;
}

.staff-card-copy h3 small {
  margin-left: .22rem;
  color: var(--church-muted);
  font-size: .74rem;
}

.staff-card-copy > p:last-child {
  min-height: 2.9rem;
  margin-top: .55rem;
  line-height: 1.55;
}

.faith-section {
  padding: clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(15rem, .7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 5vw, 4rem);
  border-radius: 1.4rem;
  background: #f5f1e7;
}

.faith-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 2.65rem);
  font-weight: 850;
  letter-spacing: -.055em;
}

.faith-heading p {
  margin: 1rem 0 0;
  color: var(--church-muted);
}

.faith-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #d9d1c1;
}

.faith-list li {
  padding: 1rem 0;
  display: grid;
  grid-template-columns: 2.3rem minmax(0, 1fr);
  gap: .8rem;
  border-bottom: 1px solid #d9d1c1;
}

.faith-list span {
  color: var(--church-gold-text);
  font: 700 .7rem Georgia, serif;
}

.faith-list p {
  margin: 0;
  color: #46514d;
  font-size: .87rem;
  line-height: 1.75;
}

.worship-heading > p {
  margin: 0;
  color: var(--church-muted);
  font-size: .82rem;
}

.worship-table-wrap {
  overflow: hidden;
  border: 1px solid var(--church-line);
  border-radius: 1rem;
}

.worship-table {
  width: 100%;
  border-collapse: collapse;
}

.worship-table th,
.worship-table td {
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--church-line);
}

.worship-table thead th {
  color: #fff;
  background: var(--church-green);
  font-size: .75rem;
  letter-spacing: .06em;
}

.worship-table tbody th {
  color: var(--church-green);
  font-size: .9rem;
}

.worship-table tbody td {
  color: var(--church-muted);
  font-size: .86rem;
}

.worship-table tbody tr:last-child > * {
  border-bottom: 0;
}

.worship-table tbody tr:nth-child(even) {
  background: #faf9f5;
}

.worship-note {
  margin: .85rem 0 0;
  color: var(--church-muted);
  font-size: .78rem;
}

.worship-note::before {
  content: "·";
  margin-right: .35rem;
  color: var(--church-gold-text);
  font-weight: 900;
}

.next-generation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.next-generation-grid article {
  min-width: 0;
  padding: 1.5rem;
  border-top: 3px solid var(--church-green);
  border-radius: 0 0 1rem 1rem;
  background: #f8f6f0;
}

.ministry-number {
  color: var(--church-gold-text);
  font: 700 .72rem Georgia, serif;
}

.next-generation-grid h3 {
  margin: .65rem 0 .8rem;
  color: var(--church-green);
  font-size: 1.25rem;
  font-weight: 850;
}

.next-generation-grid dl {
  margin: 0;
}

.next-generation-grid dl div {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: .3rem;
  font-size: .76rem;
}

.next-generation-grid dt {
  color: var(--church-muted);
  font-weight: 500;
}

.next-generation-grid dd {
  margin: 0;
  color: #3d4945;
  font-weight: 800;
}

.next-generation-grid article > p {
  margin: .8rem 0 0;
  color: var(--church-muted);
  font-size: .78rem;
  line-height: 1.65;
}

.ministry-area-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ministry-area-grid article {
  min-width: 0;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  border: 1px solid var(--church-line);
  border-radius: 1rem;
  background: #fff;
}

.ministry-area-grid article > span {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--church-green);
}

.ministry-area-grid h3 {
  margin: 0 0 .35rem;
  font-size: 1.02rem;
  font-weight: 850;
}

.ministry-area-grid p {
  margin: 0;
  color: var(--church-muted);
  font-size: .82rem;
}

.history-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--church-line);
}

.history-timeline li {
  min-height: 4.1rem;
  display: grid;
  grid-template-columns: 7rem 1.2rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  border-bottom: 1px solid var(--church-line);
}

.history-timeline time {
  color: var(--church-gold-text);
  font: 700 .8rem Georgia, serif;
}

.history-timeline li > span {
  width: .65rem;
  height: .65rem;
  border: 2px solid var(--church-green);
  border-radius: 50%;
  box-shadow: 0 0 0 .35rem #e7eee9;
}

.history-timeline p {
  margin: 0;
  font-size: .9rem;
  font-weight: 700;
}

.bethany-location-panel .location-art {
  grid-template-columns: auto auto;
  gap: 1.25rem;
}

.bethany-location-panel .location-art strong {
  position: relative;
  z-index: 2;
  color: var(--church-green);
  font: 800 1.1rem/1.35 Georgia, serif;
  letter-spacing: .08em;
}

.location-denomination {
  color: var(--church-gold-text);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.location-copy h3 {
  margin: .3rem 0 .8rem;
}

.location-detail {
  display: block !important;
  margin: .85rem 0 0;
  color: #46514d;
  font-size: .83rem;
}

.location-detail small {
  color: var(--church-muted);
  font-size: .72rem;
}

.location-phone a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  font-weight: 800;
}

.location-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.sidebar-more {
  margin-top: .8rem;
}

.sidebar-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.footer-brand > div {
  min-width: 0;
  display: grid;
}

.footer-info a,
.footer-links a,
.sidebar-contact > a:not(.btn) {
  min-height: 2.75rem;
  display: flex;
  align-items: center;
}

.footer-links a {
  min-width: 2.75rem;
}

.footer-brand small {
  color: var(--church-gold-soft);
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom p:last-child {
  color: rgba(255, 255, 255, .52);
  text-align: right;
}

.footer-bottom p span {
  color: var(--church-gold-soft);
}

@media (max-width: 1199.98px) {
  .site-nav > .nav-item > .nav-link {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
  }

  .next-generation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .site-navbar .navbar-collapse {
    padding: .35rem 0 .85rem;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav > .nav-item > .nav-link {
    width: 100%;
    min-height: 3rem;
    justify-content: space-between;
    padding: .75rem 1rem !important;
    text-align: left;
  }

  .site-nav > .nav-item > a.nav-link {
    justify-content: flex-start;
  }

  .site-nav .nav-link::after {
    display: none;
  }

  .site-nav .nav-dropdown > .dropdown-toggle::after {
    display: inline-block;
  }

  .nav-dropdown .dropdown-menu {
    position: static !important;
    width: 100%;
    margin: 0 0 .35rem;
    padding: .35rem;
    border: 0;
    background: rgba(255, 255, 255, .075);
    box-shadow: none;
    transform: none !important;
  }

  .nav-dropdown .dropdown-item {
    min-height: 2.75rem;
    padding-left: 1.35rem;
    color: rgba(255, 255, 255, .8);
  }

  .nav-dropdown .dropdown-item:hover,
  .nav-dropdown .dropdown-item:focus,
  .nav-dropdown .dropdown-item.active {
    color: #fff;
    background: rgba(255, 255, 255, .1);
  }

  .nav-dropdown .dropdown-item[aria-current="page"] {
    box-shadow: inset 3px 0 var(--church-gold);
  }

  .site-layout[data-layout="home"] .site-sidebar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-identity,
  .church-identity-panel,
  .faith-section {
    grid-template-columns: 1fr;
  }

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

  .promise-card-primary {
    grid-column: 1 / -1;
  }

  .pastor-section {
    grid-template-columns: minmax(14rem, .75fr) minmax(0, 1.25fr);
    gap: 2rem;
  }
}

@media (max-width: 767.98px) {
  .container-xxl {
    --bs-gutter-x: 1.5rem;
  }

  .site-layout[data-layout="home"] .site-sidebar,
  .site-sidebar {
    grid-template-columns: 1fr;
  }

  .site-sidebar .sidebar-card:not(.sidebar-welcome) {
    display: block;
  }

  .site-nav > .nav-item > .nav-link,
  .nav-dropdown .dropdown-item,
  .navbar-toggler,
  .btn,
  .text-link {
    min-height: 2.75rem;
  }

  .hero-copy {
    padding: 3.25rem 1.5rem 4rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.15rem, 10vw, 3rem);
    line-height: 1.22;
  }

  .hero-copy > p:not(.hero-scripture) {
    font-size: .93rem;
  }

  .hero-leaf {
    right: -1.5rem;
    top: 28%;
    width: 8rem;
    height: 8rem;
    opacity: .35;
  }

  .hero-leaf .icon {
    width: 3.4rem;
    height: 3.4rem;
  }

  .home-identity {
    margin-bottom: 3.2rem;
    padding: 2rem 1.35rem;
    gap: 1.6rem;
  }

  .home-identity h2,
  .church-identity-panel h2,
  .pastor-copy h2 {
    font-size: clamp(1.7rem, 8vw, 2.3rem);
  }

  .about-local-nav {
    position: static;
    margin-bottom: 3rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-shell-standard .scroll-anchor {
    scroll-margin-top: 1.5rem;
  }

  .about-local-nav a {
    padding: .55rem .35rem;
    justify-content: center;
    text-align: center;
    font-size: .75rem;
  }

  .promise-grid,
  .bethany-staff-grid,
  .pastor-section {
    grid-template-columns: 1fr;
  }

  .promise-card,
  .promise-card-primary {
    min-height: 12.5rem;
    grid-column: auto;
  }

  .church-identity-panel,
  .faith-section {
    padding: 2rem 1.35rem;
  }

  .pastor-section {
    margin-top: 4rem;
  }

  .pastor-photo-wrap {
    max-width: 26rem;
    margin: 0 auto;
  }

  .pastor-copy {
    padding: 0 .15rem;
  }

  .bethany-staff-grid.staff-grid {
    grid-template-columns: 1fr;
  }

  .bethany-staff-card {
    display: grid;
    grid-template-columns: minmax(8.5rem, .8fr) minmax(0, 1.2fr);
    align-items: stretch;
  }

  .staff-photo-frame {
    height: 100%;
    min-height: 12rem;
    aspect-ratio: auto;
  }

  .staff-card-copy {
    align-self: center;
    padding: 1.2rem;
  }

  .staff-card-copy > p:last-child {
    min-height: 0;
  }

  .section-heading.worship-heading {
    align-items: start;
    flex-direction: column;
  }

  .next-generation-grid,
  .ministry-area-grid {
    grid-template-columns: 1fr;
  }

  .next-generation-grid article {
    padding: 1.35rem;
  }

  .bethany-location-panel .location-art {
    grid-template-columns: auto auto;
  }

  .bethany-location-panel .location-copy {
    padding: 1.6rem;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-bottom p:last-child {
    text-align: left;
  }

  .section-heading {
    flex-wrap: wrap;
  }

  .footer-links a {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    font-size: .88rem;
  }

  .pagination {
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }

  .pagination .page-link {
    min-width: 2.5rem;
    height: 2.75rem;
  }
}

@media (max-width: 575.98px) {
  .header-inner {
    gap: .75rem;
  }

  .brand {
    gap: .65rem;
  }

  .brand-copy .brand-denomination,
  .brand-copy .brand-tagline {
    letter-spacing: .04em;
  }

  .about-local-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .worship-table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
  }

  .worship-table,
  .worship-table tbody {
    display: block;
  }

  .worship-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .worship-table tbody {
    display: grid;
    gap: .75rem;
  }

  .worship-table tbody tr {
    padding: 1rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: .55rem 1rem;
    border: 1px solid var(--church-line);
    border-radius: .85rem;
    background: #fff;
  }

  .worship-table tbody th,
  .worship-table tbody td {
    padding: 0;
    display: block;
    border: 0;
  }

  .worship-table tbody th {
    grid-column: 1 / -1;
    padding-bottom: .55rem;
    border-bottom: 1px solid var(--church-line);
    font-size: .95rem;
  }

  .worship-table tbody td {
    font-size: .8rem;
  }

  .worship-table tbody td::before {
    display: block;
    color: var(--church-gold-text);
    font-size: .64rem;
    font-weight: 900;
  }

  .worship-table tbody td:first-of-type::before {
    content: "시간";
  }

  .worship-table tbody td:nth-of-type(2)::before {
    content: "장소";
  }

  .history-timeline li {
    padding: .9rem 0;
    grid-template-columns: 6.2rem .8rem minmax(0, 1fr);
    gap: .55rem;
  }

  .history-timeline time,
  .history-timeline p {
    font-size: .78rem;
  }

  .location-actions {
    flex-direction: column;
  }

  .location-actions .btn {
    width: 100%;
  }
}

@media (max-width: 399.98px) {
  .container-xxl {
    --bs-gutter-x: 1.1rem;
  }

  .brand-copy strong {
    font-size: .94rem;
  }

  .brand-copy .brand-denomination {
    font-size: .58rem;
  }

  .brand-copy .brand-tagline {
    display: none;
  }

  .hero-copy {
    padding-right: 1.15rem;
    padding-left: 1.15rem;
  }

  .hero-title-default {
    display: none;
  }

  .hero-title-mobile {
    display: block;
  }

  .quick-links {
    margin-right: .35rem;
    margin-left: .35rem;
  }

  .bethany-staff-card {
    grid-template-columns: 1fr;
  }

  .staff-photo-frame {
    min-height: 14rem;
    aspect-ratio: 4 / 3;
  }

  .church-identity-panel,
  .faith-section,
  .home-identity {
    padding-right: 1.1rem;
    padding-left: 1.1rem;
  }

  .ministry-area-grid article {
    grid-template-columns: 2.6rem minmax(0, 1fr);
    padding: 1.15rem;
  }

  .ministry-area-grid article > span {
    width: 2.6rem;
    height: 2.6rem;
  }

  .bethany-location-panel .location-art {
    grid-template-columns: 1fr;
    gap: .65rem;
    text-align: center;
  }

  .bethany-location-panel .location-art strong {
    font-size: .9rem;
  }

  .error-actions {
    width: 100%;
    flex-direction: column;
  }

  .error-actions .btn {
    width: 100%;
  }
}

/* Original-site inspired responsive presentation (2026-08-24). */
:root {
  --bethany-teal: #11545e;
  --bethany-deep: #174b3f;
  --bethany-lime: #84b400;
  --bethany-lime-dark: #678f00;
  --bethany-sage: #dfe4da;
  --bethany-soft: #f4f6ef;
}

.site-header {
  border-bottom: 0;
  background: #fff;
}

.header-inner {
  min-height: 9.25rem;
  padding-top: 1.6rem;
  padding-bottom: 1.35rem;
}

.brand {
  gap: .8rem;
}

.brand .brand-mark {
  width: 3.25rem;
  height: 2.75rem;
  color: var(--bethany-lime-dark);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-leaf .icon {
  width: 3rem;
  height: 3rem;
}

.brand-copy .brand-denomination {
  margin-bottom: .08rem;
  color: #476761;
  font-size: .73rem;
  letter-spacing: .035em;
}

.brand-copy strong {
  color: var(--bethany-teal);
  font-size: clamp(1.25rem, 2vw, 1.62rem);
  font-weight: 850;
  letter-spacing: -.055em;
}

.brand-copy .brand-tagline {
  display: none;
}

.header-message {
  gap: 1rem;
}

.header-message p strong {
  color: #38443f;
  font-size: .88rem;
}

.header-message p small {
  color: var(--bethany-lime-dark);
}

.header-message-line {
  width: 3.2rem;
  background: var(--bethany-lime);
}

.header-actions {
  display: none;
  align-items: center;
  gap: .45rem;
}

.header-action-link {
  width: 3rem;
  height: 3rem;
  padding: 0;
  display: grid;
  place-items: center;
  color: #1f2623;
  border: 0;
  border-radius: 50%;
  background: transparent;
  transition: color .18s ease, background .18s ease;
}

.header-action-link:hover,
.header-action-link:focus-visible {
  color: var(--bethany-teal);
  background: #f2f5eb;
}

.header-action-link .icon {
  width: 1.45rem;
  height: 1.45rem;
}

.site-navbar {
  min-height: 4.8rem;
  color: #262d2a;
  border-top: 1px solid #f3f3ef;
  border-bottom: 1px solid #ebeee8;
  background: #fff;
  box-shadow: 0 12px 30px rgba(20, 51, 42, .035);
}

.is-home .site-masthead {
  position: relative;
  z-index: 100;
}

.is-home .header-inner {
  width: 100%;
  max-width: none;
  padding-right: 2.2rem;
  padding-left: 2.2rem;
}

.is-home .header-message {
  display: none !important;
}

.is-home .header-actions {
  display: flex;
}

.is-home .site-navbar {
  position: absolute;
  right: 0;
  top: 100%;
  width: 51.36%;
  min-height: 4.75rem;
  border: 0;
  background: #fff;
  box-shadow: none;
}

.is-home .site-navbar .container-xxl {
  width: 100%;
  max-width: none;
  min-height: inherit;
  padding-right: 0;
  padding-left: 0;
}

.is-home .site-navbar .navbar-collapse {
  width: 100%;
}

.is-home .home-nav-item {
  display: none;
}

.site-navbar .container-xxl {
  justify-content: flex-end;
}

.site-navbar .navbar-collapse {
  flex-grow: 0;
}

.site-nav.mx-auto {
  margin-right: 0 !important;
  margin-left: auto !important;
}

.site-navbar .site-nav > .nav-item > .nav-link {
  min-height: 4.75rem;
  padding: 0 1.35rem !important;
  color: #2d3431;
  font-size: 1rem;
  font-weight: 750;
}

.site-navbar .site-nav > .nav-item > .nav-link:hover,
.site-navbar .site-nav > .nav-item > .nav-link:focus,
.site-navbar .site-nav > .nav-item > .nav-link.active {
  color: var(--bethany-teal);
}

.site-nav .nav-link::after {
  height: 3px;
  background: var(--bethany-lime);
}

.site-navbar :focus-visible {
  outline-color: var(--bethany-lime) !important;
}

.nav-dropdown .dropdown-menu {
  border-color: rgba(17, 84, 94, .1);
  border-radius: .25rem;
  box-shadow: 0 22px 50px rgba(17, 48, 41, .13);
}

.nav-dropdown .dropdown-item {
  border-radius: .2rem;
}

.nav-dropdown .dropdown-item:hover,
.nav-dropdown .dropdown-item:focus,
.nav-dropdown .dropdown-item.active {
  color: var(--bethany-teal);
  background: #f2f5eb;
}

.site-layout[data-layout="home"] {
  width: 100%;
  max-width: none;
  padding: 0;
  display: block;
}

.site-layout[data-layout="home"] .site-sidebar {
  display: none !important;
}

.site-layout[data-layout="home"] .site-content,
.page-shell-home {
  width: 100%;
}

.legacy-home {
  --legacy-max: 90rem;
  color: #242b28;
  background: #fff;
}

.legacy-section-inner {
  width: min(calc(100% - 3rem), var(--legacy-max));
  margin-right: auto;
  margin-left: auto;
}

.legacy-home-hero {
  min-height: 53.5rem;
  padding: 1.25rem 0 4.75rem;
  overflow: hidden;
  background: #fff;
}

.is-home .legacy-home-hero {
  padding-top: 0;
}

.legacy-hero-stage {
  position: relative;
  width: min(100%, 96rem);
  min-height: 47.5rem;
  margin: 0 auto;
}

.legacy-hero-panel {
  position: absolute;
  left: 0;
  top: 0;
  width: 61%;
  height: 43.5rem;
  border-radius: 0 1.8rem 1.8rem 0;
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 255, 255, .14), transparent 28%),
    linear-gradient(135deg, #55770e 0%, #7ba414 58%, #5c8210 100%);
  transform: translateX(-20%);
}

.legacy-hero-image {
  position: absolute;
  left: 18%;
  right: 0;
  top: 4.75rem;
  height: 42.5rem;
  overflow: hidden;
  border-radius: 1.45rem 0 0 1.45rem;
  background: #2c3a32;
  box-shadow: 0 22px 50px rgba(31, 55, 40, .13);
}

.legacy-hero-image > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 48% center;
}

.legacy-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(21, 34, 27, .72) 0%, rgba(26, 43, 32, .45) 42%, rgba(25, 41, 31, .08) 78%);
}

.legacy-hero-copy {
  position: absolute;
  z-index: 2;
  left: clamp(2.25rem, 10%, 8.5rem);
  top: 50%;
  width: min(42rem, 62%);
  color: #fff;
  transform: translateY(-45%);
  text-shadow: 0 2px 20px rgba(0, 0, 0, .28);
}

.legacy-hero-kicker {
  display: block;
  margin-bottom: 3.4rem;
  color: #d8ec99;
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .18em;
}

.legacy-hero-prelude {
  max-width: 33rem;
  margin: 0 0 .8rem;
  font-size: clamp(1.15rem, 2vw, 1.9rem);
  font-weight: 350;
  line-height: 1.45;
  letter-spacing: -.035em;
}

.legacy-hero-copy h1 {
  max-width: 44rem;
  margin: 0;
  font-size: clamp(2.55rem, 5vw, 4.7rem);
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: -.07em;
}

.legacy-hero-copy h1 span,
.legacy-hero-copy h1 strong {
  display: block;
}

.legacy-hero-copy h1 strong {
  font-weight: 900;
}

.legacy-hero-reference {
  margin: 1rem 0 0;
  color: #eef4df;
  font-size: .95rem;
  font-weight: 750;
}

.legacy-hero-actions {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.legacy-hero-actions .btn {
  min-height: 3.2rem;
  padding: .82rem 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: .15rem;
  font-size: .85rem;
  font-weight: 800;
  text-shadow: none;
}

.legacy-btn-light {
  color: #20342d;
  border-color: #fff;
  background: #fff;
}

.legacy-btn-light:hover,
.legacy-btn-light:focus {
  color: #fff;
  border-color: var(--bethany-lime);
  background: var(--bethany-lime-dark);
}

.legacy-btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .04);
}

.legacy-btn-outline:hover,
.legacy-btn-outline:focus {
  color: #25352f;
  border-color: #fff;
  background: #fff;
}

.legacy-quick-tabs {
  padding: 5.75rem 0 0;
  background: linear-gradient(
    to bottom,
    #fff 0 16.3rem,
    var(--bethany-sage) 16.3rem 100%
  );
}

.legacy-welcome-band {
  padding: 7.25rem 0 0;
  background: var(--bethany-sage);
}

.legacy-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, .74fr)) minmax(22rem, 1.45fr);
  gap: 1.25rem;
  align-items: stretch;
}

.legacy-service-card {
  min-height: 22.5rem;
  padding: 2rem 1.85rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #303733;
  border: 1px solid rgba(116, 151, 19, .28);
  border-radius: .25rem;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.legacy-service-card:hover,
.legacy-service-card:focus-visible {
  color: #303733;
  border-color: var(--bethany-lime);
  box-shadow: 0 18px 35px rgba(36, 61, 40, .1);
  transform: translateY(-4px);
}

.legacy-service-icon {
  width: 4.45rem;
  height: 4.45rem;
  margin-bottom: 1.2rem;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--bethany-lime);
}

.legacy-service-icon .icon {
  width: 2rem;
  height: 2rem;
}

.legacy-service-en {
  color: var(--bethany-lime-dark);
  font-size: .9rem;
  font-weight: 900;
}

.legacy-service-rule {
  width: 100%;
  height: 1px;
  margin: 1.5rem 0 1.2rem;
  background: #d8dfc5;
}

.legacy-service-card > strong {
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: -.04em;
}

.legacy-service-card > p {
  margin: 1rem 0 0;
  color: #66706b;
  font-size: .83rem;
  line-height: 1.8;
}

.legacy-facility-card {
  position: relative;
  min-height: 22.5rem;
  overflow: hidden;
  color: #fff;
  border-radius: 1.4rem 0 1.4rem 1.4rem;
  background: #53675f;
}

.legacy-facility-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 45%, rgba(8, 28, 22, .72));
}

.legacy-facility-card > img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: transform .45s ease;
}

.legacy-facility-card:hover > img {
  transform: scale(1.035);
}

.legacy-facility-card > span {
  position: absolute;
  z-index: 2;
  left: 2rem;
  right: 2rem;
  bottom: 1.8rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: .25rem 1rem;
}

.legacy-facility-card small {
  grid-column: 1 / -1;
  color: #dff0b4;
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .15em;
}

.legacy-facility-card strong {
  font-size: 1.35rem;
  font-weight: 850;
}

.legacy-welcome-message {
  position: relative;
  margin-top: 0;
  padding: 2rem 1rem 0;
  text-align: center;
}

.legacy-welcome-leaf {
  position: absolute;
  left: 50%;
  top: -1.5rem;
  color: rgba(132, 180, 0, .12);
  transform: translateX(-50%);
}

.legacy-welcome-leaf .icon {
  width: 8.5rem;
  height: 8.5rem;
}

.legacy-welcome-message h2 {
  position: relative;
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -.065em;
}

.legacy-welcome-message h2 em {
  color: var(--bethany-lime-dark);
  font-style: normal;
  font-weight: 900;
}

.legacy-welcome-message p {
  position: relative;
  margin: 1rem 0 0;
  color: #454d49;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 750;
}

.legacy-shortcuts-stage {
  --legacy-shortcut-row: 19.5rem;
  margin-top: 5.75rem;
  padding-bottom: 7.5rem;
  background: linear-gradient(
    to bottom,
    transparent 0 var(--legacy-shortcut-row),
    #fff var(--legacy-shortcut-row) 100%
  );
}

.legacy-link-mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: var(--legacy-shortcut-row);
  gap: 0;
  overflow: hidden;
  border-radius: 1.05rem;
}

.legacy-mosaic-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  color: #fff;
  background: #405149;
  isolation: isolate;
}

.legacy-mosaic-wide {
  grid-column: span 2;
}

.legacy-mosaic-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: rgba(20, 48, 35, .03);
  transition: background .25s ease;
}

.legacy-mosaic-card > img {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -2;
  inset: 0;
  display: block;
  object-fit: cover;
  object-position: left top;
  transition: transform .5s ease;
}

.legacy-mosaic-card:hover > img,
.legacy-mosaic-card:focus-visible > img {
  transform: scale(1.025);
}

.legacy-mosaic-card:hover::after,
.legacy-mosaic-card:focus-visible::after {
  background: rgba(60, 105, 28, .18);
}

.legacy-mosaic-card:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -7px;
}

.legacy-mosaic-card > span {
  position: absolute;
  inset: 0;
  padding: 1.85rem 2.4rem;
  display: flex;
  align-items: start;
}

.legacy-mosaic-card strong {
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  font-weight: 800;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .32);
}

.legacy-faith-section {
  position: relative;
  min-height: 48rem;
  padding: 7rem 0;
  overflow: hidden;
  color: #fff;
  background: #4e7318;
}

.legacy-faith-background,
.legacy-faith-overlay {
  position: absolute;
  inset: 0;
}

.legacy-faith-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.legacy-faith-overlay {
  background: linear-gradient(105deg, rgba(54, 87, 10, .9), rgba(72, 112, 18, .78));
}

.legacy-faith-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, .95fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.legacy-sermon-poster {
  position: relative;
  min-height: 33rem;
  overflow: hidden;
  color: #443d31;
  border-radius: 1.2rem;
  background: #f6f0df;
  box-shadow: 0 24px 50px rgba(28, 49, 19, .2);
}

.legacy-sermon-poster::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(247, 241, 224, .97) 0%, rgba(247, 241, 224, .82) 48%, rgba(247, 241, 224, .14));
}

.legacy-sermon-poster > img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.legacy-sermon-poster > div {
  position: relative;
  z-index: 2;
  width: 72%;
  padding: clamp(2rem, 5vw, 4rem);
}

.legacy-sermon-poster > div > span {
  color: #645a46;
  font-size: 1.05rem;
  font-weight: 850;
}

.legacy-sermon-poster h2 {
  margin: 1rem 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 850;
  line-height: 1.3;
  letter-spacing: -.06em;
}

.legacy-sermon-poster p,
.legacy-sermon-poster time {
  display: block;
  color: #6c6252;
  font-size: 1rem;
}

.legacy-sermon-poster a,
.legacy-church-statement > a {
  min-height: 2.75rem;
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  font-weight: 850;
}

.legacy-sermon-poster a {
  color: #355c32;
}

.legacy-church-statement > span {
  color: #dceda9;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .2em;
}

.legacy-church-statement h2 {
  margin: .9rem 0 1.7rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 450;
  line-height: 1.35;
  letter-spacing: -.06em;
}

.legacy-church-statement h2 strong {
  font-weight: 900;
}

.legacy-church-statement > p {
  margin: 0 0 1.1rem;
  color: rgba(255, 255, 255, .88);
  font-size: .93rem;
  line-height: 1.85;
}

.legacy-church-statement ul {
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: .6rem;
  list-style: none;
}

.legacy-church-statement li {
  position: relative;
  padding-left: 1.1rem;
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
}

.legacy-church-statement li::before {
  position: absolute;
  left: 0;
  top: .65em;
  width: .34rem;
  height: .34rem;
  content: "";
  border-radius: 50%;
  background: #d8e990;
}

.legacy-church-statement > a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .55);
}

.legacy-home-lower {
  padding-top: 7rem;
  padding-bottom: 7.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, .9fr);
  gap: clamp(3rem, 6vw, 6rem);
}

.legacy-home-lower .home-section {
  margin: 0;
}

.legacy-home-lower .section-heading h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.legacy-home-lower .section-heading .text-link {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}

.legacy-home-lower .empty-state {
  min-height: 20rem;
  padding: 3.5rem 1.5rem;
  display: grid;
  align-content: center;
}

.legacy-home-lower .event-preview-grid {
  grid-template-columns: 1fr;
}

.site-footer {
  background: #103f46;
}

.footer-bottom {
  border-top-color: rgba(255, 255, 255, .12);
}

@media (min-width: 992px) {
  .is-home .site-navbar .navbar-collapse {
    min-height: 4.75rem;
    display: flex;
    align-items: stretch;
  }

  .is-home .site-nav.mx-auto {
    width: 100%;
    min-height: 4.75rem;
    margin-right: 0 !important;
    margin-left: 0 !important;
    justify-content: space-evenly;
    gap: 0;
  }

  .is-home .site-navbar .site-nav > .nav-item > .nav-link {
    min-height: 4.75rem;
    padding-right: .55rem !important;
    padding-left: .55rem !important;
    font-size: 1rem;
    font-weight: 650;
  }

  .is-home .site-nav .nav-link::after,
  .is-home .site-nav .nav-dropdown > .dropdown-toggle::after {
    display: none;
  }
}

@media (max-width: 1199.98px) {
  .site-navbar .site-nav > .nav-item > .nav-link {
    padding-right: .9rem !important;
    padding-left: .9rem !important;
    font-size: .92rem;
  }

  .legacy-home-hero {
    min-height: 48rem;
  }

  .legacy-hero-stage {
    min-height: 42rem;
  }

  .legacy-hero-panel {
    height: 39rem;
  }

  .legacy-hero-image {
    left: 15%;
    height: 38rem;
  }

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

  .legacy-facility-card {
    min-height: 27rem;
    grid-column: 1 / -1;
  }
}

@media (max-width: 991.98px) {
  .header-inner {
    min-height: 6.4rem;
  }

  .site-navbar {
    min-height: 4rem;
  }

  .is-home .site-navbar {
    right: 1rem;
    top: calc(100% + .6rem);
    width: min(24rem, calc(100% - 2rem));
    min-height: 0;
    border: 0;
    background: transparent;
  }

  .site-navbar .container-xxl {
    justify-content: flex-start;
  }

  .site-navbar .navbar-toggler {
    min-height: 2.9rem;
    margin: .52rem 0;
    color: var(--bethany-teal);
    border-color: rgba(17, 84, 94, .35);
  }

  .is-home .site-navbar .navbar-toggler {
    display: none;
  }

  .site-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 .2rem rgba(132, 180, 0, .18);
  }

  .site-navbar .navbar-collapse {
    width: 100%;
    flex-grow: 1;
    padding: .45rem 0 1rem;
    border-top: 1px solid #edf0ea;
    background: #fff;
  }

  .is-home .site-navbar .navbar-collapse {
    padding: .55rem;
    overflow: visible;
    border: 1px solid #e7ebe5;
    border-radius: .75rem;
    background: #fff;
    box-shadow: 0 18px 45px rgba(21, 47, 38, .16);
  }

  .is-home .nav-dropdown .dropdown-item {
    color: #35423e;
    background: transparent;
  }

  .is-home .nav-dropdown .dropdown-item:hover,
  .is-home .nav-dropdown .dropdown-item:focus,
  .is-home .nav-dropdown .dropdown-item.active {
    color: var(--bethany-teal);
    background: #f2f5eb;
  }

  .site-nav.mx-auto {
    width: 100%;
  }

  .site-navbar .site-nav > .nav-item > .nav-link {
    min-height: 3.35rem;
    padding: .7rem .8rem !important;
    justify-content: space-between;
    color: #26322e;
    font-size: .92rem;
  }

  .site-nav .nav-link::after {
    display: none;
  }

  .nav-dropdown .dropdown-menu {
    margin: 0 0 .45rem;
    border-left-color: var(--bethany-lime);
    border-radius: 0;
    box-shadow: none;
  }

  .legacy-home-hero {
    min-height: 45rem;
    padding-top: 1rem;
  }

  .legacy-hero-stage {
    min-height: 39.5rem;
  }

  .legacy-hero-panel {
    width: 72%;
    height: 36rem;
  }

  .legacy-hero-image {
    left: 7%;
    right: 0;
    top: 3.2rem;
    height: 35rem;
  }

  .legacy-hero-copy {
    left: 3.2rem;
    width: 70%;
  }

  .legacy-hero-kicker {
    margin-bottom: 2.2rem;
  }

  .legacy-link-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legacy-mosaic-wide {
    grid-column: span 2;
  }

  .legacy-faith-grid,
  .legacy-home-lower {
    grid-template-columns: 1fr;
  }

  .legacy-church-statement {
    max-width: 43rem;
  }
}

@media (max-width: 767.98px) {
  .header-inner {
    min-height: 5.5rem;
    padding-top: .9rem;
    padding-bottom: .9rem;
  }

  .is-home .header-inner {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .brand .brand-mark {
    width: 2.65rem;
    height: 2.35rem;
  }

  .brand-leaf .icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .brand-copy .brand-denomination {
    font-size: .64rem;
  }

  .legacy-section-inner {
    width: min(calc(100% - 2rem), var(--legacy-max));
  }

  .legacy-home-hero {
    min-height: 43.5rem;
    padding: .8rem 0 3.5rem;
  }

  .legacy-hero-stage {
    min-height: 39rem;
  }

  .legacy-hero-panel {
    width: 88%;
    height: 35rem;
    border-radius: 0 1.3rem 1.3rem 0;
    transform: translateX(-23%);
  }

  .legacy-hero-image {
    left: 1rem;
    right: 0;
    top: 2.35rem;
    height: 35rem;
    border-radius: 1rem 0 0 1rem;
  }

  .legacy-hero-image > img {
    object-position: 42% center;
  }

  .legacy-hero-shade {
    background: linear-gradient(90deg, rgba(19, 34, 26, .82), rgba(23, 40, 30, .42) 78%, rgba(22, 36, 28, .15));
  }

  .legacy-hero-copy {
    left: 1.6rem;
    width: calc(100% - 3rem);
    transform: translateY(-47%);
  }

  .legacy-hero-kicker {
    margin-bottom: 2rem;
    font-size: .65rem;
  }

  .legacy-hero-prelude {
    font-size: 1rem;
  }

  .legacy-hero-copy h1 {
    max-width: 32rem;
    font-size: clamp(2.2rem, 9vw, 3.3rem);
    line-height: 1.2;
  }

  .legacy-welcome-band,
  .legacy-faith-section {
    padding-top: 4.5rem;
  }

  .legacy-quick-tabs {
    padding-top: 4rem;
    background: linear-gradient(
      to bottom,
      #fff 0 11rem,
      var(--bethany-sage) 11rem 100%
    );
  }

  .legacy-faith-section {
    padding-bottom: 4.5rem;
  }

  .legacy-shortcuts-stage {
    --legacy-shortcut-row: 15.5rem;
    margin-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .legacy-service-grid {
    grid-template-columns: 1fr;
  }

  .legacy-service-card {
    min-height: 0;
  }

  .legacy-facility-card {
    min-height: 22rem;
    grid-column: auto;
  }

  .legacy-mosaic-card > span {
    padding: 1.35rem;
  }

  .legacy-faith-grid {
    gap: 3.5rem;
  }

  .legacy-sermon-poster {
    min-height: 29rem;
  }

  .legacy-sermon-poster > div {
    width: 82%;
    padding: 2.3rem;
  }

  .legacy-home-lower {
    padding-top: 4.5rem;
    padding-bottom: 5rem;
  }
}

@media (max-width: 575.98px) {
  .is-home .brand {
    gap: .45rem;
  }

  .is-home .brand .brand-mark {
    width: 2.2rem;
    height: 2rem;
  }

  .is-home .brand-leaf .icon {
    width: 2.05rem;
    height: 2.05rem;
  }

  .is-home .brand-copy strong {
    font-size: 1rem;
  }

  .is-home .brand-copy .brand-denomination {
    font-size: .58rem;
  }

  .is-home .header-actions {
    gap: .1rem;
  }

  .is-home .header-action-link {
    width: 2.75rem;
    height: 2.75rem;
  }

  .legacy-home-hero {
    min-height: 41rem;
  }

  .legacy-hero-stage {
    min-height: 36.8rem;
  }

  .legacy-hero-panel,
  .legacy-hero-image {
    height: 33.5rem;
  }

  .legacy-hero-copy {
    top: 48%;
  }

  .legacy-hero-copy h1 span {
    max-width: 13rem;
  }

  .legacy-hero-actions {
    width: 100%;
    margin-top: 1.65rem;
    flex-direction: column;
  }

  .legacy-hero-actions .btn {
    width: 100%;
  }

  .legacy-service-card {
    padding: 1.6rem;
  }

  .legacy-service-icon {
    width: 3.8rem;
    height: 3.8rem;
  }

  .legacy-facility-card {
    min-height: 18rem;
  }

  .legacy-welcome-message {
    padding-right: 0;
    padding-left: 0;
  }

  .legacy-welcome-message h2 {
    line-height: 1.4;
  }

  .legacy-shortcuts-stage {
    --legacy-shortcut-row: 15rem;
  }

  .legacy-link-mosaic {
    grid-template-columns: 1fr;
  }

  .legacy-mosaic-wide {
    grid-column: auto;
  }

  .legacy-faith-section {
    min-height: 0;
  }

  .legacy-sermon-poster {
    min-height: 27rem;
  }

  .legacy-sermon-poster > div {
    width: 92%;
    padding: 1.8rem;
  }

  .legacy-church-statement h2 {
    font-size: 2rem;
  }
}

@media (max-width: 359.98px) {
  .brand-copy strong {
    font-size: .9rem;
  }

  .legacy-hero-copy h1 {
    font-size: 2rem;
  }

  .legacy-hero-prelude,
  .legacy-hero-reference {
    font-size: .82rem;
  }

  .legacy-mosaic-card strong {
    font-size: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .legacy-service-card,
  .legacy-facility-card > img,
  .legacy-mosaic-card > img {
    transition: none;
  }
}

/* Pixel-aligned reconstruction of the legacy home canvas. */
.legacy-home {
  --legacy-canvas: 1500px;
  width: 100%;
  overflow-x: clip;
  overflow-y: visible;
  color: #1f211f;
  background: #fff;
}

.legacy-fixed-stage {
  position: relative;
  width: var(--legacy-canvas);
  height: 100%;
  margin-inline: auto;
}

.legacy-image-slider {
  position: relative;
  isolation: isolate;
}

.legacy-slide {
  position: absolute;
  z-index: 0;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.legacy-slide.is-active {
  z-index: 1;
  opacity: 1;
}

.footer-original-logo,
.footer-sitemap {
  display: none;
}

.footer-brand-current {
  display: flex;
  align-items: center;
  gap: .85rem;
}

.legacy-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media (min-width: 1400px) {
  .legacy-fixed-stage {
    left: 50%;
    margin-right: 0;
    margin-left: calc(var(--legacy-canvas) / -2);
  }

  .is-home .site-masthead {
    height: 250px;
    z-index: auto;
  }

  .is-home .site-header,
  .is-home .header-inner {
    height: 250px;
    min-height: 250px;
  }

  .is-home .header-inner {
    width: 100%;
    max-width: none;
    padding: 0;
    position: relative;
    z-index: 10;
  }

  .is-home .brand {
    width: 235px;
    height: 71px;
    position: absolute;
    left: max(35px, calc(50% - 680px));
    top: 50px;
  }

  .is-home .brand .brand-mark {
    width: 48px;
    height: 43px;
    flex: 0 0 48px;
  }

  .is-home .brand-leaf .icon {
    width: 45px;
    height: 45px;
  }

  .is-home .brand-copy .brand-denomination {
    font-size: 12px;
  }

  .is-home .brand-copy strong {
    font-size: 26px;
  }

  .is-home .header-actions {
    width: 108px;
    position: absolute;
    right: max(24px, calc(50% - 727px));
    top: 51px;
    gap: 6px;
  }

  .is-home .header-action-link {
    width: 48px;
    height: 48px;
  }

  .is-home .header-action-link .icon {
    width: 24px;
    height: 24px;
  }

  .is-home .site-navbar {
    width: 760px;
    height: 60px;
    min-height: 60px;
    position: absolute;
    z-index: 20;
    top: 190px;
    right: auto;
    left: calc(50% - 13px);
    /* The original menu layer begins 13px before the green panel seam, but
       that leading strip is transparent so the 25px corner stays visible. */
    background: linear-gradient(90deg, transparent 0 13px, #fff 13px 100%);
  }

  .is-home .site-navbar .container-xxl,
  .is-home .site-navbar .navbar-collapse,
  .is-home .site-navbar .site-nav {
    height: 60px;
    min-height: 60px;
  }

  .is-home .site-navbar .site-nav > .nav-item > .nav-link {
    min-height: 60px;
    font-size: 17px;
    font-weight: 600;
  }

  .legacy-home-hero {
    height: 850px;
    min-height: 850px;
    padding: 0;
    position: relative;
    overflow: visible;
    background: #fff;
  }

  .legacy-hero-stage {
    min-height: 850px;
  }

  .legacy-hero-panel {
    width: 1133px;
    height: 850px;
    position: absolute;
    z-index: 1;
    left: -383px;
    top: -76px;
    overflow: hidden;
    border-radius: 20px 25px 25px 20px;
    background: #617c18;
    transform: none;
  }

  .legacy-hero-panel img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  .legacy-hero-image {
    width: 1800px;
    height: 850px;
    position: absolute;
    z-index: 2;
    left: 300px;
    right: auto;
    top: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #283b30;
    box-shadow: none;
  }

  .legacy-hero-shade {
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(90deg, rgba(18, 25, 20, .48), rgba(22, 31, 24, .18) 58%, rgba(22, 31, 24, .06));
  }

  .legacy-hero-copy {
    width: 666px;
    position: absolute;
    z-index: 3;
    left: 161px;
    top: 395px;
    color: #fff;
    transform: none;
    text-shadow: 0 0 3px #000;
  }

  .legacy-hero-prelude {
    margin: 0 0 22px;
    font-size: 34px;
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: -2px;
  }

  .legacy-hero-copy h1 {
    margin: 0;
    font-size: 54px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -2px;
  }

  .legacy-hero-reference {
    margin: 20px 0 0;
    color: #fff;
    font-size: 28px;
    font-weight: 800;
  }

  .legacy-intro-section {
    height: 1741px;
    position: relative;
    background: linear-gradient(to bottom, #fff 0 361px, #dee2d8 361px 1275px, #fff 1275px 100%);
  }

  .legacy-service-grid {
    width: 806px;
    height: 350px;
    position: absolute;
    z-index: 3;
    left: 20px;
    top: 199px;
    display: grid;
    grid-template-columns: repeat(3, 250px);
    gap: 28px;
  }

  .legacy-service-card {
    width: 250px;
    min-height: 350px;
    height: 350px;
    padding: 46px 25px 26px;
    display: block;
    color: #222;
    border: 1px solid #cfd5a0;
    border-radius: 5px;
    background: #fff;
    box-shadow: none;
  }

  .legacy-service-card:hover,
  .legacy-service-card:focus-visible {
    color: #222;
    border-color: #8aae0e;
    box-shadow: 0 12px 24px rgba(54, 71, 32, .1);
    transform: translateY(-2px);
  }

  .legacy-service-card > img {
    width: 68px;
    height: 68px;
    margin: 0 0 14px;
    padding: 15px;
    display: block;
    object-fit: contain;
    border-radius: 50%;
    background: #8aae0e;
  }

  .legacy-service-card:nth-child(2) > img {
    width: 68px;
    height: 68px;
    margin-top: 0;
    margin-bottom: 14px;
  }

  .legacy-service-card:nth-child(3) > img {
    width: 68px;
    height: 68px;
    margin-top: 0;
    margin-bottom: 14px;
  }

  .legacy-service-en {
    display: block;
    color: #8aae0e;
    font-size: 14px;
    font-weight: 900;
  }

  .legacy-service-rule {
    width: 200px;
    height: 1px;
    margin: 18px 0 17px;
    display: block;
    background: #d3d9ad;
  }

  .legacy-service-card > strong {
    display: block;
    font-size: 16px;
    font-weight: 850;
  }

  .legacy-service-card > p {
    margin: 14px 0 0;
    color: #555;
    font-size: 12px;
    line-height: 1.72;
  }

  .legacy-facility-slider {
    width: 620px;
    height: 420px;
    position: absolute;
    z-index: 4;
    left: 855px;
    top: 168px;
    overflow: hidden;
    border-radius: 15px;
    background: #e7e9e2;
  }

  .legacy-welcome-message {
    width: 951px;
    height: 117px;
    position: absolute;
    z-index: 2;
    left: 274px;
    top: 702px;
    margin: 0;
    padding: 0;
    text-align: center;
  }

  .legacy-welcome-message h2 {
    margin: 0;
    font-size: 42px;
    font-weight: 900;
    line-height: 1.45;
    letter-spacing: -2px;
  }

  .legacy-welcome-message h2 em {
    color: #8aae0e;
  }

  .legacy-welcome-message p {
    margin: 4px 0 0;
    color: #222;
    font-size: 30px;
    font-weight: 800;
  }

  .legacy-link-mosaic {
    width: 1460px;
    height: 700px;
    position: absolute;
    z-index: 3;
    left: 20px;
    top: 925px;
    display: grid;
    grid-template-columns: repeat(4, 365px);
    grid-template-rows: repeat(2, 350px);
    grid-template-areas: "bulletin bulletin school sacrament" "bus directions faith faith";
    gap: 0;
    overflow: hidden;
    border-radius: 15px;
  }

  .legacy-mosaic-bulletin { grid-area: bulletin; }
  .legacy-mosaic-school { grid-area: school; }
  .legacy-mosaic-sacrament { grid-area: sacrament; }
  .legacy-mosaic-bus { grid-area: bus; }
  .legacy-mosaic-directions { grid-area: directions; }
  .legacy-mosaic-faith { grid-area: faith; }

  .legacy-mosaic-card {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: #445249;
  }

  .legacy-mosaic-card::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    background: rgba(12, 26, 18, .1);
  }

  .legacy-mosaic-card > img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    display: block;
    object-fit: cover;
  }

  .legacy-mosaic-card > strong {
    position: absolute;
    z-index: 2;
    left: 40px;
    top: 30px;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .4);
  }

  .legacy-faith-section {
    height: 720px;
    min-height: 720px;
    padding: 0;
    position: relative;
    overflow: hidden;
    color: #fff;
    background-image: linear-gradient(rgba(60, 83, 13, .75), rgba(60, 83, 13, .75)), url("../images/original-home/faith-bg.jpg?v=20260824.6");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 3000px 720px;
  }

  .legacy-faith-sermon {
    width: 746px;
    height: 457px;
    position: absolute;
    left: 50px;
    top: 67px;
    display: block;
    color: #fff;
  }

  .legacy-faith-sermon img {
    width: 730px;
    height: 400px;
    display: block;
    object-fit: cover;
    border-radius: 15px;
  }

  .legacy-faith-sermon time {
    position: absolute;
    right: 0;
    bottom: 0;
    color: #fff;
    font-size: 28px;
    font-weight: 800;
  }

  .legacy-church-statement {
    width: 510px;
    position: absolute;
    left: 891px;
    top: 57px;
  }

  .legacy-church-statement > p {
    margin: 0 0 22px;
    color: #fff;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.8;
  }

  .legacy-church-statement .legacy-statement-points {
    display: grid;
    gap: 2px;
  }

  .legacy-statement-points span {
    display: block;
  }

  .legacy-tagline-section {
    height: 437px;
    position: relative;
    display: block;
    background: #fff;
  }

  .legacy-tagline-section h2 {
    width: 553px;
    height: 200px;
    position: absolute;
    left: 50%;
    top: 124px;
    margin: 0;
    color: #111;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: -2px;
    text-align: center;
    transform: translateX(-50%);
  }

  .legacy-tagline-section h2 em {
    color: #8aae0e;
    font-style: normal;
  }

  .legacy-feature-section {
    height: 809px;
    position: relative;
    background: #fff;
  }

  .legacy-feature-grid {
    width: 1400px;
    height: 688px;
    position: absolute;
    left: 48px;
    top: 0;
    display: grid;
    grid-template-columns: 330px 265px 330px 400px;
    grid-template-rows: 330px 330px;
    gap: 28px 25px;
  }

  .legacy-feature-card {
    position: relative;
    overflow: hidden;
    color: #fff;
    border-radius: 10px;
    background: #e6eadf;
  }

  .legacy-feature-card:not(.legacy-feature-youtube) > img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
  }

  .legacy-feature-sermon {
    grid-column: 1 / span 2;
    grid-row: 1;
  }

  .legacy-feature-sermon::after,
  .legacy-feature-pastor::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(21, 26, 23, .62), rgba(21, 26, 23, .08));
  }

  .legacy-feature-sermon span {
    position: absolute;
    z-index: 2;
    left: 62px;
    top: 45px;
    display: grid;
    gap: 22px;
  }

  .legacy-feature-sermon small {
    font-size: 22px;
    font-weight: 800;
  }

  .legacy-feature-sermon strong {
    max-width: 500px;
    font-size: 30px;
    font-weight: 850;
  }

  .legacy-feature-sermon em {
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.45;
  }

  .legacy-feature-youtube {
    grid-column: 3;
    grid-row: 1;
    padding: 80px 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    color: #111;
    background: #dde6d4;
    text-align: center;
  }

  .legacy-feature-youtube img {
    width: 91px;
    height: 65px;
    object-fit: contain;
  }

  .legacy-feature-youtube strong {
    font-size: 20px;
    font-weight: 850;
    line-height: 1.35;
  }

  .legacy-feature-pastor {
    grid-column: 4;
    grid-row: 1 / span 2;
  }

  .legacy-feature-pastor::after {
    background: linear-gradient(180deg, rgba(20, 34, 18, .02) 45%, rgba(26, 48, 13, .72));
  }

  .legacy-feature-pastor img {
    object-position: 62% center;
  }

  .legacy-feature-pastor span {
    position: absolute;
    z-index: 2;
    left: 78px;
    bottom: 53px;
    display: grid;
    gap: 26px;
  }

  .legacy-feature-pastor strong {
    font-size: 30px;
    line-height: 1.3;
  }

  .legacy-feature-pastor em {
    min-width: 180px;
    min-height: 58px;
    padding: 14px 24px;
    color: #fff;
    border: 3px solid #fff;
    border-radius: 99px;
    font-size: 18px;
    font-style: normal;
    font-weight: 800;
    text-align: center;
  }

  .legacy-feature-worship {
    grid-column: 1;
    grid-row: 2;
    padding: 53px 20px 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    background: #8aae0e;
    text-align: center;
  }

  .legacy-feature-worship strong {
    font-size: 19px;
    line-height: 1.3;
  }

  .legacy-feature-worship b {
    font-size: 39px;
  }

  .legacy-feature-worship img {
    width: 89px;
    height: 82px;
    position: static !important;
    object-fit: contain !important;
  }

  .legacy-feature-forest {
    grid-column: 2 / span 2;
    grid-row: 2;
  }

  .legacy-ministry-section {
    height: 1000px;
    position: relative;
    overflow: hidden;
    color: #fff;
    background: #242824 url("../images/original-home/ministry-bg.jpg?v=20260824.6") center / 2000px 1000px no-repeat;
  }

  .legacy-ministry-section::before {
    position: absolute;
    inset: 0;
    content: "";
    background: rgba(8, 11, 9, .67);
  }

  .legacy-ministry-section h2 {
    width: 557px;
    position: absolute;
    z-index: 2;
    left: 494px;
    top: 492px;
    margin: 0;
    font-size: 28px;
    font-weight: 850;
    text-align: center;
  }

  .legacy-ministry-grid {
    position: absolute;
    inset: 0;
  }

  .legacy-ministry-card {
    position: absolute;
    z-index: 2;
    overflow: hidden;
    color: #fff;
    border-radius: 10px;
    background: #354038;
  }

  .legacy-ministry-card::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, rgba(0, 0, 0, .03), rgba(0, 0, 0, .55));
  }

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

  .legacy-ministry-card strong {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    top: 92px;
    font-size: 26px;
    font-weight: 800;
    text-align: center;
  }

  .legacy-ministry-team strong,
  .legacy-ministry-mission strong {
    top: auto;
    bottom: 26px;
  }

  .legacy-ministry-facility { width: 340px; height: 430px; left: 50px; top: 407px; }
  .legacy-ministry-team { width: 294px; height: 230px; left: 435px; top: 606px; }
  .legacy-ministry-mission { width: 294px; height: 230px; left: 770px; top: 606px; }
  .legacy-ministry-gallery { width: 340px; height: 430px; left: 1110px; top: 407px; border-radius: 20px; }

  .legacy-news-section {
    height: 824px;
    position: relative;
    background: #fff;
  }

  .legacy-news-grid {
    display: grid;
    grid-template-columns: 905px 450px;
    gap: 35px;
  }

  .legacy-bulletin-panel,
  .legacy-notice-panel {
    position: relative;
    padding-top: 104px;
  }

  .legacy-bulletin-panel { margin-left: 61px; }
  .legacy-notice-panel { margin-right: 54px; }

  .legacy-news-section header {
    height: 110px;
    display: flex;
    align-items: start;
    justify-content: space-between;
  }

  .legacy-news-section h2 {
    margin: 0;
    color: #111;
    font-size: 44px;
    font-weight: 900;
    letter-spacing: -2px;
  }

  .legacy-news-section h2 em {
    color: #8aae0e;
    font-style: normal;
  }

  .legacy-bulletin-panel header > a {
    min-width: 123px;
    min-height: 55px;
    margin-right: 0;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 999px;
    background: #8aae0e;
    font-size: 16px;
    font-weight: 850;
  }

  .legacy-bulletin-body {
    width: 905px;
    height: 500px;
    display: grid;
    grid-template-columns: 650px 220px;
    gap: 35px;
  }

  .legacy-bulletin-preview {
    width: 650px;
    height: 500px;
    overflow: hidden;
    background: #fff;
  }

  .legacy-bulletin-preview img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
  }

  .legacy-bulletin-list {
    padding-top: 4px;
    display: grid;
    align-content: start;
    gap: 22px;
  }

  .legacy-bulletin-list a {
    color: #9d9d9d;
    font-size: 17px;
    font-weight: 750;
  }

  .legacy-notice-list {
    display: grid;
    gap: 8px;
  }

  .legacy-notice-list a {
    min-height: 98px;
    padding: 17px 16px 12px;
    display: grid;
    color: #222;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
  }

  .legacy-notice-list strong {
    overflow: hidden;
    font-size: 17px;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .legacy-notice-list span,
  .legacy-notice-list time {
    overflow: hidden;
    color: #6d6d6d;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .legacy-gallery-section {
    height: 800px;
    position: relative;
    overflow: hidden;
    background: #627c1c url("../images/original-home/gallery-bg.jpg?v=20260824.6") center / 2527px 800px no-repeat;
  }

  .legacy-gallery-grid {
    width: 1288px;
    height: 600px;
    position: absolute;
    left: 116px;
    top: 103px;
    display: grid;
    grid-template-columns: 850px 210px 210px;
    grid-template-rows: repeat(3, 196px);
    gap: 6px;
    overflow: hidden;
  }

  .legacy-gallery-grid img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  .legacy-gallery-main {
    grid-column: 1;
    grid-row: 1 / span 3;
  }

  .legacy-footer-spacer {
    height: 132px;
    background: #fff;
  }

  .is-home .site-footer {
    height: 430px;
    overflow: hidden;
    background: #2a2a2a;
  }

  .is-home .site-footer .footer-grid {
    width: 1500px;
    max-width: 1500px;
    min-height: 371px;
    padding: 0;
    position: relative;
    display: block;
  }

  .is-home .footer-original-logo {
    width: 250px;
    height: 64px;
    position: absolute;
    left: 95px;
    top: 54px;
    display: block;
    object-fit: contain;
  }

  .is-home .footer-brand-current,
  .is-home .footer-links {
    display: none;
  }

  .is-home .footer-info {
    width: 340px;
    position: absolute;
    left: 95px;
    top: 165px;
    display: grid;
    gap: 18px;
    color: #bbb;
  }

  .is-home .footer-info a,
  .is-home .footer-info span {
    color: #bbb;
    font-size: 13px;
  }

  .is-home .footer-sitemap {
    width: 790px;
    position: absolute;
    left: 414px;
    top: 69px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 25px;
  }

  .is-home .footer-sitemap > div {
    display: grid;
    align-content: start;
    gap: 10px;
  }

  .is-home .footer-sitemap strong {
    margin-bottom: 5px;
    color: #d5a921;
    font-size: 16px;
  }

  .is-home .footer-sitemap a {
    color: #ddd;
    font-size: 12px;
  }

  .is-home .site-footer .footer-bottom {
    width: 100%;
    max-width: none;
    min-height: 59px;
    padding: 15px max(35px, calc(50% - 680px));
    color: #aaa;
    border: 0;
    background: #fff;
  }

  .is-home .site-footer .footer-bottom p:last-child {
    display: none;
  }
}

@media (max-width: 1399px) {
  .legacy-fixed-stage {
    width: 100%;
    height: auto;
    padding-inline: 16px;
  }

  .is-home .site-masthead,
  .is-home .site-header,
  .is-home .header-inner {
    min-height: 104px;
    height: 104px;
  }

  .is-home .header-inner {
    padding: 16px 20px;
  }

  .is-home .site-navbar {
    right: 16px;
    top: calc(100% - 4px);
    width: min(380px, calc(100% - 32px));
    min-height: 0;
    z-index: 50;
  }

  .is-home .site-navbar .navbar-collapse:not(.show) {
    display: none !important;
  }

  .is-home .site-navbar .navbar-collapse.show {
    display: block !important;
  }

  .legacy-home-hero {
    height: 560px;
    min-height: 560px;
    padding: 0;
    position: relative;
    overflow: hidden;
  }

  .legacy-hero-stage {
    min-height: 560px;
    padding: 0;
  }

  .legacy-hero-panel {
    width: 62%;
    height: 500px;
    position: absolute;
    left: -12%;
    top: 0;
    overflow: hidden;
    border-radius: 0 20px 20px 0;
    transform: none;
  }

  .legacy-hero-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .legacy-hero-image {
    width: calc(100% - 22%);
    height: 500px;
    position: absolute;
    left: 22%;
    right: auto;
    top: 38px;
    overflow: hidden;
    border-radius: 12px 0 0 12px;
  }

  .legacy-hero-shade {
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(90deg, rgba(18, 28, 22, .58), rgba(18, 28, 22, .12));
  }

  .legacy-hero-copy {
    width: min(580px, 70%);
    position: absolute;
    z-index: 3;
    left: 8%;
    top: 48%;
    color: #fff;
    transform: translateY(-38%);
    text-shadow: 0 0 3px #000;
  }

  .legacy-hero-prelude {
    margin-bottom: 16px;
    font-size: clamp(20px, 3.4vw, 31px);
  }

  .legacy-hero-copy h1 {
    font-size: clamp(31px, 5.4vw, 48px);
    line-height: 1.35;
  }

  .legacy-hero-reference {
    font-size: 22px;
  }

  .legacy-intro-section {
    padding: 90px 16px 100px;
    background: linear-gradient(to bottom, #fff 0 240px, #dee2d8 240px 78%, #fff 78% 100%);
  }

  .legacy-intro-section .legacy-fixed-stage {
    padding: 0;
    display: grid;
    gap: 54px;
  }

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

  .legacy-service-card {
    min-height: 270px;
    padding: 24px 18px;
    color: #222;
    border: 1px solid #cfd5a0;
    border-radius: 5px;
    background: #fff;
  }

  .legacy-service-card > img {
    width: 58px;
    height: 58px;
    margin-bottom: 14px;
    padding: 13px;
    object-fit: contain;
    border-radius: 50%;
    background: #8aae0e;
  }

  .legacy-service-en {
    display: block;
    color: #8aae0e;
    font-size: 13px;
    font-weight: 900;
  }

  .legacy-service-rule {
    width: 100%;
    height: 1px;
    margin: 16px 0;
    display: block;
    background: #d3d9ad;
  }

  .legacy-service-card > strong { font-size: 15px; }
  .legacy-service-card > p { margin-top: 12px; font-size: 11px; line-height: 1.65; }

  .legacy-facility-slider {
    width: min(620px, 86%);
    aspect-ratio: 31 / 21;
    justify-self: end;
    overflow: hidden;
    border-radius: 15px;
    background: #e7e9e2;
  }

  .legacy-welcome-message {
    margin: 20px auto 0;
    padding: 0;
    text-align: center;
  }

  .legacy-welcome-message h2 {
    font-size: clamp(27px, 5vw, 40px);
    line-height: 1.45;
  }

  .legacy-welcome-message p {
    margin-top: 8px;
    font-size: clamp(18px, 3.4vw, 27px);
  }

  .legacy-link-mosaic {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 240px;
    grid-template-areas: "bulletin bulletin school sacrament" "bus directions faith faith";
    gap: 0;
    overflow: hidden;
    border-radius: 15px;
  }

  .legacy-mosaic-bulletin { grid-area: bulletin; }
  .legacy-mosaic-school { grid-area: school; }
  .legacy-mosaic-sacrament { grid-area: sacrament; }
  .legacy-mosaic-bus { grid-area: bus; }
  .legacy-mosaic-directions { grid-area: directions; }
  .legacy-mosaic-faith { grid-area: faith; }

  .legacy-mosaic-card { position: relative; overflow: hidden; color: #fff; }
  .legacy-mosaic-card img { width: 100%; height: 100%; display: block; object-fit: cover; }
  .legacy-mosaic-card strong { position: absolute; left: 24px; top: 22px; color: #fff; font-size: 19px; text-shadow: 0 1px 6px #000; }

  .legacy-faith-section {
    min-height: 0;
    padding: 70px 16px;
    color: #fff;
    background: linear-gradient(rgba(60, 83, 13, .78), rgba(60, 83, 13, .78)), url("../images/original-home/faith-bg.jpg?v=20260824.6") center / cover no-repeat;
  }

  .legacy-faith-section .legacy-fixed-stage {
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
    gap: 42px;
    align-items: center;
  }

  .legacy-faith-sermon { color: #fff; }
  .legacy-faith-sermon img { width: 100%; border-radius: 15px; }
  .legacy-faith-sermon time { margin-top: 12px; display: block; color: #fff; font-size: 22px; font-weight: 850; text-align: right; }
  .legacy-church-statement > p { color: #fff; font-size: 13px; line-height: 1.75; }
  .legacy-statement-points { display: grid; }

  .legacy-tagline-section {
    padding: 95px 20px;
    background: #fff;
    text-align: center;
  }

  .legacy-tagline-section h2 { margin: 0; font-size: clamp(30px, 5vw, 42px); line-height: 1.5; }
  .legacy-tagline-section em { color: #8aae0e; font-style: normal; }

  .legacy-feature-section { padding: 0 16px 90px; background: #fff; }
  .legacy-feature-section .legacy-fixed-stage { padding: 0; }
  .legacy-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 280px; gap: 18px; }
  .legacy-feature-card { position: relative; overflow: hidden; color: #fff; border-radius: 10px; }
  .legacy-feature-card > img { width: 100%; height: 100%; display: block; object-fit: cover; }
  .legacy-feature-card span { position: absolute; z-index: 2; left: 28px; bottom: 28px; }
  .legacy-feature-sermon { grid-column: 1; }
  .legacy-feature-sermon span { top: 28px; bottom: auto; display: grid; gap: 12px; }
  .legacy-feature-sermon small { font-size: 17px; }
  .legacy-feature-sermon strong { font-size: 24px; }
  .legacy-feature-sermon em { font-size: 13px; font-style: normal; }
  .legacy-feature-youtube { padding: 50px 20px; display: flex; flex-direction: column; align-items: center; gap: 22px; color: #111; background: #dde6d4; text-align: center; }
  .legacy-feature-youtube img { width: 80px; height: auto; object-fit: contain; }
  .legacy-feature-pastor { grid-row: span 2; }
  .legacy-feature-pastor::after { position: absolute; inset: 0; content: ""; background: linear-gradient(transparent, rgba(20, 40, 12, .72)); }
  .legacy-feature-pastor span { display: grid; gap: 18px; font-size: 21px; }
  .legacy-feature-pastor em { padding: 10px 18px; border: 2px solid #fff; border-radius: 99px; font-size: 14px; font-style: normal; text-align: center; }
  .legacy-feature-worship { padding: 45px 20px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; background: #8aae0e; text-align: center; }
  .legacy-feature-worship b { font-size: 30px; }
  .legacy-feature-worship img { width: 80px; height: auto; object-fit: contain; }

  .legacy-ministry-section { padding: 90px 16px; color: #fff; background: linear-gradient(rgba(8, 11, 9, .65), rgba(8, 11, 9, .65)), url("../images/original-home/ministry-bg.jpg?v=20260824.6") center / cover no-repeat; }
  .legacy-ministry-section .legacy-fixed-stage { padding: 0; }
  .legacy-ministry-section h2 { margin: 0 0 54px; font-size: 25px; text-align: center; }
  .legacy-ministry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .legacy-ministry-card { min-height: 280px; position: relative; overflow: hidden; color: #fff; border-radius: 12px; }
  .legacy-ministry-card img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
  .legacy-ministry-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
  .legacy-ministry-card strong { position: absolute; z-index: 2; left: 24px; bottom: 24px; font-size: 21px; }

  .legacy-news-section { padding: 80px 16px; background: #fff; }
  .legacy-news-grid { padding: 0; display: grid; grid-template-columns: 1fr; gap: 72px; }
  .legacy-news-section header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
  .legacy-news-section h2 { margin: 0; font-size: 34px; }
  .legacy-news-section h2 em { color: #8aae0e; font-style: normal; }
  .legacy-bulletin-panel header > a { padding: 12px 20px; color: #fff; border-radius: 99px; background: #8aae0e; }
  .legacy-bulletin-body { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(160px, .5fr); gap: 24px; }
  .legacy-bulletin-preview img { width: 100%; max-height: 440px; object-fit: contain; }
  .legacy-bulletin-list { display: grid; align-content: start; gap: 16px; }
  .legacy-bulletin-list a { color: #777; }
  .legacy-notice-list { margin-top: 28px; display: grid; gap: 10px; }
  .legacy-notice-list a { padding: 17px; display: grid; color: #222; border: 1px solid #ddd; border-radius: 10px; }
  .legacy-notice-list span, .legacy-notice-list time { color: #777; font-size: 12px; }

  .legacy-gallery-section { padding: 70px 16px; background: #617c1b url("../images/original-home/gallery-bg.jpg?v=20260824.6") center / cover no-repeat; }
  .legacy-gallery-section .legacy-fixed-stage { padding: 0; }
  .legacy-gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(3, 150px); gap: 6px; }
  .legacy-gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
  .legacy-gallery-main { grid-column: 1; grid-row: 1 / span 3; }
  .legacy-footer-spacer { display: none; }
}

@media (max-width: 700px) {
  .legacy-home-hero { height: 470px; min-height: 470px; }
  .legacy-hero-stage { min-height: 470px; }
  .legacy-hero-panel { width: 72%; height: 420px; left: -24%; }
  .legacy-hero-image { width: calc(100% - 74px); height: 400px; left: 74px; top: 28px; }
  .legacy-hero-copy { left: 24px; width: calc(100% - 48px); }
  .legacy-hero-prelude { font-size: 18px; }
  .legacy-hero-copy h1 { font-size: clamp(21px, 5.8vw, 26px); line-height: 1.45; }
  .legacy-hero-reference { font-size: 17px; }

  .legacy-intro-section { padding: 62px 10px 72px; background: linear-gradient(to bottom, #fff 0 170px, #dee2d8 170px 76%, #fff 76% 100%); }
  .legacy-intro-section .legacy-fixed-stage { gap: 36px; }
  .legacy-service-grid { gap: 7px; }
  .legacy-service-card { min-width: 0; min-height: 150px; padding: 14px 9px; }
  .legacy-service-card > img { width: 36px; height: 36px; padding: 8px; margin-bottom: 8px; }
  .legacy-service-en { font-size: 9px; }
  .legacy-service-rule { margin: 9px 0; }
  .legacy-service-card > strong { font-size: 11px; line-height: 1.3; }
  .legacy-service-card > p { display: none; }
  .legacy-facility-slider { width: calc(100% - 30px); justify-self: center; }
  .legacy-welcome-message { margin-top: 22px; }
  .legacy-welcome-message h2 { font-size: 20px; letter-spacing: -1px; }
  .legacy-welcome-message p { font-size: 15px; }
  .legacy-link-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; grid-template-areas: "bulletin bulletin" "school sacrament" "bus directions" "faith faith"; }
  .legacy-mosaic-card strong { left: 16px; top: 15px; font-size: 15px; }

  .legacy-faith-section { padding: 58px 16px; }
  .legacy-faith-section .legacy-fixed-stage { grid-template-columns: 1fr; gap: 42px; }
  .legacy-church-statement > p { font-size: 12px; }
  .legacy-tagline-section { padding: 72px 16px; }
  .legacy-tagline-section h2 { font-size: 27px; }

  .legacy-feature-section { padding-inline: 10px; }
  .legacy-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 10px; }
  .legacy-feature-sermon { grid-column: span 2; }
  .legacy-feature-pastor { grid-row: span 2; }
  .legacy-feature-forest { grid-column: span 2; }
  .legacy-feature-youtube strong { font-size: 14px; }
  .legacy-feature-sermon strong { font-size: 21px; }
  .legacy-feature-sermon span { left: 20px; top: 20px; }
  .legacy-feature-worship { padding: 30px 10px; }

  .legacy-ministry-section { padding: 70px 10px; }
  .legacy-ministry-grid { gap: 10px; }
  .legacy-ministry-card { min-height: 220px; }
  .legacy-ministry-card strong { left: 14px; bottom: 14px; font-size: 16px; }

  .legacy-news-section { padding: 65px 14px; }
  .legacy-bulletin-body { grid-template-columns: 1fr; }
  .legacy-bulletin-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legacy-news-section h2 { font-size: 23px; }

  .legacy-gallery-section { padding: 45px 10px; }
  .legacy-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 240px repeat(3, 120px); }
  .legacy-gallery-main { grid-column: 1 / -1; grid-row: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .legacy-slide {
    transition: none;
  }
}

/* Keep the user-supplied leaf bitmap authoritative after legacy home rules. */
.brand .brand-mark,
.admin-topbar-brand .brand-mark,
.login-brand .brand-mark {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand .church-leaf-logo,
.admin-topbar-brand .church-leaf-logo,
.login-brand .church-leaf-logo {
  display: block;
  object-fit: contain;
}

@media (min-width: 1400px) {
  .is-home .brand .brand-mark {
    width: 56px;
    height: 41px;
    flex: 0 0 56px;
  }

  .is-home .brand .church-leaf-logo {
    width: 56px;
    height: 41px;
  }

  .is-home .brand-copy .brand-denomination {
    color: #11545e;
    font-family: "S-CoreDream", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: -1.5px;
  }

  .is-home .brand-copy strong {
    color: #11545e;
    font-family: "S-CoreDream", sans-serif;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: -2px;
  }
}

@media (max-width: 1399px) {
  .is-home .brand .brand-mark,
  .is-home .brand .church-leaf-logo {
    width: 51px;
    height: 37px;
  }

  .is-home .brand .brand-mark {
    flex-basis: 51px;
  }
}

/* Dynamic boards inside the captured legacy subpage frame. */
.legacy-board {
  width: 100%;
  color: #666;
  font-family: "NotoSansKrRegular", sans-serif;
}

.legacy-board-heading {
  margin: 0 0 32px;
  padding: 0 0 18px;
  border-bottom: 2px solid #8aae0e;
}

.legacy-board-heading h2 {
  margin: 0;
  color: #333;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1px;
}

.legacy-board .content-search {
  margin: 0 0 28px;
  padding: 9px 10px;
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  background: #f8f8f8;
}

.legacy-board .content-search .btn-primary,
.legacy-board .pagination .active > .page-link {
  border-color: #8aae0e;
  background: #8aae0e;
}

.legacy-board .search-result {
  margin: -10px 0 18px;
  color: #777;
  font-size: 14px;
}

.legacy-board .notice-list {
  border-top-color: #8aae0e;
}

.legacy-board .notice-list-item {
  border-bottom-color: #d9d9d9;
}

.legacy-board .notice-title-row h3,
.legacy-board .sermon-card-body h3,
.legacy-board .bulletin-card-body h3,
.legacy-board .event-card-body h3 {
  margin: 0;
  color: #333;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.4px;
}

.legacy-board .notice-main > p,
.legacy-board .item-meta,
.legacy-board .sermon-scripture,
.legacy-board .event-meta,
.legacy-board .event-card-body > p {
  color: #828282;
}

.legacy-board .sermon-card,
.legacy-board .bulletin-card,
.legacy-board .event-card,
.legacy-board-detail {
  border-color: #d9d9d9;
  border-radius: 3px;
  box-shadow: none;
}

.legacy-board .sermon-card:hover,
.legacy-board .bulletin-card:hover,
.legacy-board .event-card:hover {
  transform: none;
  box-shadow: none;
}

.legacy-board .sermon-preacher,
.legacy-board .thumbnail-label,
.legacy-board .event-date {
  color: #fff;
  background: #8aae0e;
}

.legacy-board .sermon-preacher {
  color: #8aae0e;
  background: transparent;
}

.legacy-board .bulletin-paper {
  justify-content: center;
  color: #8aae0e;
  transform: none;
}

.legacy-board .bulletin-paper .icon {
  width: 42px;
  height: 42px;
}

.legacy-board .empty-state {
  border-color: #d9d9d9;
  border-radius: 3px;
  background: #fafafa;
}

.legacy-board .empty-state h3 {
  margin: 0;
  color: #555;
  font-size: 17px;
}

.legacy-board-detail {
  border-top: 2px solid #8aae0e;
}

.legacy-board-detail .article-header h2,
.legacy-board-detail .sermon-detail-header h2,
.legacy-board-detail .event-detail-header h2 {
  margin: 0 0 16px;
  color: #333;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1px;
}

.legacy-board-detail .article-meta,
.legacy-board-detail .sermon-detail-meta {
  color: #828282;
}

.legacy-board-detail .attachment-box,
.legacy-board-detail .event-info-panel {
  border-radius: 3px;
  background: #f8f8f8;
}

.legacy-subpage-main > .detail-actions .btn {
  border-color: #8aae0e;
  color: #718d0b;
  border-radius: 3px;
}

@media (max-width: 700px) {
  .legacy-board-heading {
    margin-bottom: 22px;
  }

  .legacy-board-heading h2,
  .legacy-board-detail .article-header h2,
  .legacy-board-detail .sermon-detail-header h2,
  .legacy-board-detail .event-detail-header h2 {
    font-size: 22px;
  }

  .legacy-board .content-search {
    flex-wrap: wrap;
  }

  .legacy-board .content-search .search-icon {
    display: none;
  }

  .legacy-board .content-search .form-control {
    min-width: calc(100% - 78px);
  }

  .legacy-board .sermon-grid,
  .legacy-board .bulletin-grid,
  .legacy-board .event-list-grid {
    grid-template-columns: 1fr;
  }

  .legacy-board .notice-list-item {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding-inline: 4px;
  }

  .legacy-board .notice-index {
    display: none;
  }

  .legacy-board-detail .article-header,
  .legacy-board-detail .sermon-detail-header,
  .legacy-board-detail .event-detail-header,
  .legacy-board-detail .article-body,
  .legacy-board-detail .sermon-description,
  .legacy-board-detail .event-detail-body {
    padding-inline: 18px;
  }

  .legacy-board-detail .event-info-panel {
    margin-inline: 18px;
  }

  .legacy-board-detail .event-info-panel > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* Original Bethany Story photo board: 3 columns desktop, 2 columns mobile. */
.legacy-photo-board {
  width: 900px;
  color: #333;
  font-family: "Nanum Gothic", sans-serif;
}

.legacy-photo-board-header {
  min-height: 52px;
  margin-bottom: 25px;
  padding: 0 2px 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid #d9d9d9;
}

.legacy-photo-board-header h2,
.legacy-photo-board-header span,
.legacy-photo-card h3 {
  margin: 0;
}

.legacy-photo-board-header h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -1px;
}

.legacy-photo-board-header span {
  color: #777;
  font-size: 13px;
  font-weight: 400;
}

.legacy-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 42px;
}

.legacy-photo-card {
  min-width: 0;
}

.legacy-photo-thumbnail {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid #e1e1e1;
  background: #f4f4f4;
}

.legacy-photo-thumbnail img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.legacy-photo-card h3 {
  min-height: 46px;
  padding: 12px 2px 7px;
  color: #333;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -.35px;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.legacy-photo-meta {
  padding: 8px 2px 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 10px;
  color: #777;
  border-top: 1px solid #ededed;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.legacy-photo-meta span:nth-child(2) {
  text-align: right;
}

.legacy-photo-meta time {
  grid-column: 1 / -1;
}

@media (max-width: 1399px) {
  .legacy-photo-board {
    width: 100%;
  }

  .legacy-photo-board-header {
    min-height: 44px;
    margin-bottom: 18px;
  }

  .legacy-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 30px;
  }

  .legacy-photo-card h3 {
    min-height: 50px;
    padding-top: 10px;
    font-size: 14px;
  }

  .legacy-photo-meta {
    grid-template-columns: 1fr;
    gap: 2px;
    font-size: 12px;
  }

  .legacy-photo-meta span:nth-child(2),
  .legacy-photo-meta time {
    grid-column: auto;
    text-align: left;
  }
}

@media (max-width: 420px) {
  .legacy-photo-grid {
    column-gap: 9px;
    row-gap: 26px;
  }

  .legacy-photo-card h3 {
    min-height: 48px;
    padding-inline: 0;
    font-size: 13px;
    letter-spacing: -.45px;
  }

  .legacy-photo-meta {
    padding-inline: 0;
    font-size: 11px;
  }
}
