@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700&family=Noto+Serif+KR:wght@400;500;600;700&display=swap");
:root {
  --primary: #242424;
  --paper: #fff;
  --ink: #242424;
  --muted: #666;
  --line: #d9d9d6;
  --accent: #9b3634;
  --serif: "Noto Serif KR", Georgia, serif;
  --sans:
    "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Malgun Gothic",
    sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 35px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
a,
button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1.55;
  word-break: keep-all;
  white-space: pre-line;
}
h1 {
  font-size: clamp(2.7rem, 5.2vw, 5rem);
}
h2 {
  font-size: clamp(2rem, 3.3vw, 3rem);
}
h3 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  word-break: keep-all;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(1220px, calc(100% - 96px));
  margin-inline: auto;
}
.eyebrow {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.header {
  position: relative;
  z-index: 10;
  background: var(--paper);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  height: 112px;
  border-bottom: 2px solid var(--ink);
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.065em;
}
.brand-symbol {
  height: 30px;
  width: 20px;
  flex-shrink: 0;
}
.brand-logo {
  max-width: 50px;
  max-height: 45px;
  object-fit: contain;
}
.navigation {
  display: flex;
  align-items: center;
  gap: 35px;
  font-size: 0.875rem;
}
.navigation a:hover,
.text-link:hover {
  color: var(--accent);
}
.navigation .nav-visit {
  font-weight: 600;
}
.menu-toggle {
  display: none;
}
.hero {
  padding-top: 35px;
  padding-bottom: 72px;
}
.cover-topline {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  margin-bottom: 64px;
}
.cover-reference {
  font-size: 0.8125rem;
  color: var(--muted);
}
.cover-main {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(230px, 0.7fr);
  gap: 62px;
  align-items: end;
}
.hero-copy {
  min-width: 0;
}
.hero h1 {
  font-size: clamp(3rem, 5.5vw, 5.3rem);
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: -0.075em;
}
.hero-context {
  padding-bottom: 10px;
}
.hero-description {
  font-size: 1rem;
  color: #4e4e4e;
  white-space: pre-line;
  line-height: 2;
  word-break: keep-all;
}
.hero-welcome {
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 19px;
  word-break: keep-all;
}
.hero-actions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 15px;
  margin-top: 26px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 10px 21px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.6;
  border: 1px solid transparent;
  border-radius: 0;
}
.button-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.button-primary:hover {
  background: #464646;
  border-color: #464646;
}
.button-outline {
  border-color: var(--ink);
  background: transparent;
}
.button-outline:hover {
  background: #f2f2f0;
}
.text-link {
  display: inline-block;
  font-size: 0.875rem;
  border-bottom: 1px solid #999;
  padding: 2px 0;
}
.hero-visual {
  margin-top: 50px;
}
.art-frame {
  overflow: hidden;
}
.art-frame img {
  width: 100%;
  max-height: 640px;
  object-fit: cover;
  aspect-ratio: 1.9;
}
.art-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  font-size: 0.8125rem;
  color: var(--muted);
}
.welcome-strip {
  margin-top: 0;
  background: transparent;
}
.welcome-strip .container {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  padding-block: 25px;
}
.welcome-strip p {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: -0.045em;
  line-height: 1.9;
  word-break: keep-all;
}
.welcome-strip p span {
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--muted);
  margin-left: 32px;
  letter-spacing: -0.025em;
}
.welcome-strip.has-image .container {
  padding-block: 25px;
}
.welcome-strip.has-image img {
  width: 150px;
  height: 110px;
  object-fit: cover;
}
.welcome-strip.has-image p {
  flex: 1;
}
.section {
  padding-block: 90px;
}
.about {
  display: grid;
  grid-template-columns: 0.85fr 1.45fr;
  gap: 100px;
}
.section-heading .eyebrow,
.section-top .eyebrow,
.visit .eyebrow {
  margin-bottom: 27px;
}
.history-note {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 26px;
  max-width: 28ch;
  word-break: keep-all;
}
.about-content {
  padding-top: 3px;
}
.lead {
  font-size: 1.0625rem;
  line-height: 2.1;
  color: #4e4e4e;
  word-break: keep-all;
}
.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  border-top: 1px solid var(--line);
  margin-top: 38px;
  padding-top: 29px;
}
.value h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}
.value p {
  font-size: 1rem;
  line-height: 1.95;
  color: #656565;
  word-break: keep-all;
}
.value-reference {
  display: block;
  font-size: 0.8125rem;
  color: #777;
  margin-top: 15px;
}
.worship-section {
  background: #f6f6f3;
  border-block: 1px solid var(--line);
}
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 50px;
  margin-bottom: 37px;
}
.section-description {
  font-size: 1rem;
  color: var(--muted);
  line-height: 2;
  white-space: pre-line;
  max-width: 400px;
  padding-bottom: 5px;
}
.worship-list {
  border-top: 1px solid var(--ink);
}
.worship-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  min-height: 100px;
}
.service-time {
  font-size: 1rem;
}
.service-location {
  font-size: 0.875rem;
  color: var(--muted);
  text-align: right;
}
.schedule-note {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 20px;
}
.visit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.visit-copy > p:last-child {
  font-size: 1rem;
  color: var(--muted);
  line-height: 2;
  max-width: 430px;
  margin-top: 25px;
  word-break: keep-all;
}
.visit-details {
  padding-top: 0;
  border-top: 1px solid var(--ink);
  align-self: start;
  margin-top: 45px;
}
.visit-detail {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}
.visit-detail > span {
  font-size: 0.8125rem;
  color: var(--muted);
  padding-top: 3px;
}
.visit-detail strong {
  font-weight: 500;
}
.visit-detail p {
  word-break: keep-all;
}
.visit-details > .button {
  margin-top: 24px;
}
.contact-link {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.footer {
  background: var(--paper);
  color: var(--ink);
}
.footer-inner {
  border-top: 2px solid var(--ink);
  padding-block: 32px 45px;
  display: flex;
  justify-content: space-between;
  gap: 35px;
  align-items: flex-start;
}
.footer-brand {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.045em;
}
.footer-inner > div > p {
  font-size: 0.8125rem;
  color: #777;
  margin-top: 10px;
}
.footer-meta {
  text-align: right;
}
.footer-meta nav {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  font-size: 0.875rem;
  margin-bottom: 17px;
}
.footer-meta nav > a {
  border-bottom: 1px solid #aaa;
}
.copyright {
  font-size: 0.75rem;
  color: #777;
}
.history-page {
  padding-block: 70px 100px;
  max-width: 1000px;
}
.history-heading {
  max-width: 770px;
}
.history-heading h2 {
  margin-block: 27px;
}
.history-heading > .lead {
  margin-top: 25px;
  max-width: 60ch;
}
.timeline {
  margin-top: 70px;
}
.timeline-event {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  border-top: 1px solid var(--ink);
  padding-block: 34px;
}
.timeline-date {
  font-size: 0.875rem;
  color: var(--muted);
  padding-top: 7px;
}
.timeline-event h2 {
  font-family: var(--sans);
  font-size: 1.375rem;
  letter-spacing: -0.04em;
  line-height: 1.8;
}
.timeline-event div > p {
  margin-top: 16px;
  line-height: 2.1;
  color: var(--muted);
  word-break: keep-all;
}
.text-section {
  max-width: 900px;
}
.text-section .lead,
.image-section > .lead {
  margin-top: 25px;
}
.prose {
  white-space: pre-line;
}
.text-section > .button,
.image-section > .button {
  margin-top: 30px;
}
.image-section figure {
  margin: 30px 0 0;
}
.image-section figure:not(:has(img)) {
  display: none;
}
.image-section figure img {
  width: 100%;
  max-height: 750px;
  object-fit: contain;
}
.image-section figcaption {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 15px;
}
.cards-section > .lead {
  margin-top: 25px;
  max-width: 700px;
}
.content-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 35px;
  margin-top: 42px;
}
.content-card {
  border-top: 1px solid var(--ink);
  padding-top: 18px;
}
.content-card > img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-bottom: 20px;
}
.content-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.7;
  font-weight: 500;
}
.content-card p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 2;
  white-space: pre-line;
  margin-top: 16px;
}
.content-card .text-link {
  margin-top: 18px;
}
.not-found {
  min-height: 65vh;
}
.not-found h1 {
  margin-block: 25px;
}
.not-found p {
  margin-bottom: 25px;
}
.api-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid var(--line);
  padding: 24px 0;
  margin-bottom: 25px;
  color: #6e3835;
  font-size: 0.875rem;
}
.api-status button {
  border: 0;
  background: none;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 5px;
  white-space: nowrap;
}
.api-status button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.nav-group {
  position: relative;
}
.nav-group summary {
  list-style: none;
  cursor: pointer;
}
.nav-group summary::-webkit-details-marker {
  display: none;
}
.nav-group summary::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1px solid;
  border-bottom: 1px solid;
  transform: rotate(45deg);
  margin-left: 9px;
  vertical-align: 3px;
}
.submenu {
  position: absolute;
  z-index: 12;
  top: calc(100% + 14px);
  left: -18px;
  min-width: 180px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 10px;
}
.submenu > a {
  display: block;
  white-space: nowrap;
  padding: 8px 12px;
}
.footer-meta .submenu {
  top: auto;
  bottom: calc(100% + 14px);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  padding: 12px 20px;
  background: var(--ink);
  color: #fff;
  z-index: 99;
}
.skip-link:focus {
  top: 12px;
}
.is-preview .preview-selected {
  outline: 2px solid #a6443e;
  outline-offset: -3px;
}
.is-preview [data-section-id] {
  cursor: pointer;
}
.muted,
.loading {
  color: var(--muted);
  font-size: 0.875rem;
}
.loading {
  padding: 25px 0;
}
.eyebrow:empty,
.cover-reference:empty {
  display: none;
}
@media (min-width: 1600px) {
  .container {
    width: min(1340px, calc(100% - 120px));
  }
  .hero h1 {
    font-size: 5.7rem;
  }
  .cover-topline {
    margin-bottom: 80px;
  }
  .hero {
    padding-bottom: 85px;
  }
  .section {
    padding-block: 110px;
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 64px);
  }
  .cover-main {
    grid-template-columns: 1.7fr 1fr;
    gap: 40px;
  }
  .hero h1 {
    font-size: clamp(2.8rem, 5.5vw, 4rem);
  }
  .cover-topline {
    margin-bottom: 45px;
  }
  .about {
    gap: 55px;
    grid-template-columns: 1fr 1.5fr;
  }
  .values {
    gap: 22px;
  }
  .visit {
    gap: 60px;
  }
  .welcome-strip p span {
    display: block;
    margin-left: 0;
    margin-top: 5px;
  }
  .section {
    padding-block: 70px;
  }
}
@media (max-width: 760px) {
  .container {
    width: calc(100% - 40px);
  }
  .header-inner {
    height: 86px;
    gap: 15px;
  }
  .brand {
    font-size: 1.25rem;
    gap: 10px;
  }
  .brand-symbol {
    width: 17px;
    height: 25px;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 44px;
    height: 44px;
    background: none;
    border: 0;
  }
  .menu-toggle span {
    height: 1.5px;
    width: 24px;
    background: var(--ink);
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4.25px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4.25px) rotate(-45deg);
  }
  .navigation {
    display: none;
    position: absolute;
    top: 86px;
    left: 20px;
    right: 20px;
    padding: 18px 0 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--ink);
    gap: 6px;
  }
  .navigation.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .navigation > a {
    padding: 11px 3px;
    font-size: 1rem;
  }
  .hero {
    padding-top: 22px;
    padding-bottom: 43px;
  }
  .cover-topline {
    margin-bottom: 35px;
    align-items: flex-start;
    gap: 20px;
  }
  .cover-reference {
    font-size: 0.75rem;
    text-align: right;
    max-width: 180px;
  }
  .cover-topline .eyebrow {
    font-size: 0.8125rem;
    white-space: nowrap;
  }
  .cover-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero h1 {
    font-size: clamp(2.25rem, 7.5vw, 3.2rem);
    line-height: 1.7;
    letter-spacing: -0.08em;
  }
  .hero-context {
    display: block;
    padding: 0;
  }
  .hero-description {
    font-size: 1rem;
    line-height: 2;
  }
  .hero-welcome {
    font-size: 0.875rem;
    margin-top: 12px;
  }
  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 22px;
    margin-top: 23px;
    flex-wrap: wrap;
  }
  .button {
    padding: 11px 18px;
    font-size: 0.875rem;
  }
  .hero-visual {
    margin-top: 30px;
  }
  .art-frame img {
    aspect-ratio: 4/3;
    max-height: none;
  }
  .art-caption {
    font-size: 0.75rem;
    gap: 15px;
  }
  .welcome-strip .container {
    padding-block: 20px;
    gap: 20px;
    align-items: flex-start;
  }
  .welcome-strip p {
    font-size: 1.125rem;
    line-height: 2;
  }
  .welcome-strip p span {
    display: block;
    font-size: 0.875rem;
    margin-left: 0;
    margin-top: 1px;
  }
  .welcome-strip.has-image .container {
    flex-wrap: wrap;
  }
  .welcome-strip.has-image img {
    width: 100%;
    height: 180px;
  }
  .section {
    padding-block: 52px;
  }
  h2 {
    font-size: 2rem;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .section-heading .eyebrow,
  .section-top .eyebrow,
  .visit .eyebrow {
    margin-bottom: 18px;
  }
  .history-note {
    margin-top: 18px;
    max-width: none;
  }
  .lead {
    font-size: 1rem;
    line-height: 2.1;
  }
  .values {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 28px;
    padding-top: 24px;
  }
  .value {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }
  .value:last-child {
    border: 0;
    padding-bottom: 0;
  }
  .value h3 {
    font-size: 1.0625rem;
    margin-bottom: 8px;
  }
  .value p {
    font-size: 1rem;
    max-width: none;
  }
  .value-reference {
    font-size: 0.8125rem;
    margin-top: 9px;
  }
  .section-top {
    display: block;
    margin-bottom: 26px;
  }
  .section-description {
    margin-top: 23px;
    font-size: 1rem;
  }
  .worship-row {
    grid-template-columns: 1fr 1fr;
    gap: 7px 15px;
    padding-block: 22px;
  }
  .worship-row h3 {
    font-size: 1rem;
  }
  .service-time {
    font-size: 1rem;
    text-align: right;
  }
  .service-location {
    grid-column: 1/-1;
    text-align: left;
    font-size: 0.875rem;
  }
  .schedule-note {
    font-size: 0.8125rem;
  }
  .visit {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .visit-copy > p:last-child {
    margin-top: 23px;
  }
  .visit-details {
    margin-top: 0;
  }
  .visit-detail {
    grid-template-columns: 75px 1fr;
    gap: 15px;
    font-size: 0.9375rem;
  }
  .visit-detail > span {
    font-size: 0.8125rem;
  }
  .footer-inner {
    flex-direction: column;
    gap: 27px;
    padding-block: 27px 35px;
  }
  .footer-meta {
    text-align: left;
    width: 100%;
  }
  .footer-meta nav {
    justify-content: flex-start;
    margin-bottom: 15px;
  }
  .footer-inner > div > p {
    font-size: 0.8125rem;
  }
  .history-page {
    padding-block: 40px 65px;
  }
  .history-heading h2 {
    font-size: 2.4rem;
    line-height: 1.7;
    margin-block: 22px;
  }
  .timeline {
    margin-top: 40px;
  }
  .timeline-event {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 28px;
  }
  .timeline-event h2 {
    font-size: 1.25rem;
  }
  .timeline-event div > p {
    font-size: 1rem;
    margin-top: 12px;
  }
  .timeline-date {
    padding-top: 0;
  }
  .content-cards {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
  }
  .content-card h3 {
    font-size: 1.5rem;
  }
  .api-status {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .api-status button {
    padding: 0;
  }
  .submenu {
    position: static;
    margin-top: 9px;
  }
  .nav-group summary {
    padding: 11px 3px;
    font-size: 1rem;
  }
  .footer-meta .nav-group summary {
    padding: 0;
    font-size: 0.8755rem;
  }
  .not-found h1 {
    font-size: 2.25rem;
  }
}
@media (max-width: 360px) {
  .container {
    width: calc(100% - 32px);
  }
  .cover-topline {
    gap: 12px;
  }
  .cover-reference {
    font-size: 0.6875rem;
    max-width: 155px;
  }
  .hero h1 {
    font-size: 2.05rem;
  }
  .hero-actions {
    gap: 16px;
  }
  .hero-actions .text-link {
    font-size: 0.8125rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
.timeline-event div > p {
  overflow-wrap: anywhere;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 44px;
  border-radius: 3px;
}
.social-link svg {
  width: 22px;
  height: 22px;
}
.social-link:hover {
  background: #f1f1ef;
}
.social-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.footer-meta .social-links {
  justify-content: flex-end;
  margin-bottom: 12px;
}
@media (max-width: 1000px) and (min-width: 761px) {
  .header-actions {
    gap: 12px;
  }
  .navigation {
    gap: 18px;
  }
}
@media (max-width: 760px) {
  .header-actions {
    gap: 4px;
  }
  .header-inner {
    gap: 8px;
  }
  .social-links {
    gap: 0;
  }
  .social-link {
    width: 36px;
  }
  .footer-meta .social-links {
    justify-content: flex-start;
  }
}
@media (max-width: 360px) {
  .brand {
    font-size: 1.1rem;
    gap: 7px;
  }
  .menu-toggle {
    width: 36px;
  }
  .header-actions {
    gap: 0;
  }
}

/* Shared chrome and page layout */
#header-social:empty {
  display: none;
}
.navigation a[aria-current="page"],
.navigation .nav-group.is-active > summary {
  text-decoration: underline;
  text-underline-offset: 8px;
}
.footer-meta nav {
  flex-wrap: wrap;
  row-gap: 12px;
}
.footer-inner > div {
  min-width: 0;
}
.church-facts {
  font-size: 0.8125rem;
  color: #777;
  line-height: 1.9;
  margin-top: 14px;
}
.denomination-line {
  display: flex;
  align-items: center;
  gap: 9px;
}
.denomination-logo {
  flex-shrink: 0;
  width: 23px;
  height: 33px;
  object-fit: contain;
  filter: none;
  opacity: 1;
}
.footer-pastor {
  margin-top: 6px;
}
.page-heading {
  padding-block: 32px 45px;
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 0.75rem;
  margin-bottom: 32px;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.page-heading h1 {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.5;
}
.page-content > .section:first-child {
  padding-top: 55px;
}
.page-content > .worship-section:first-child .section {
  padding-top: 55px;
}
.page-content > .history-page:first-child {
  padding-top: 55px;
}
.pastor-section {
  padding-block: 55px 110px;
}
.pastor-overview.has-photo {
  display: grid;
  grid-template-columns: minmax(200px, 320px) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}
.pastor-photo img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  object-position: top left;
}
.pastor-identity {
  max-width: 760px;
}
.pastor-identity h2 {
  margin: 18px 0 28px;
}
.pastor-biography {
  border-top: 1px solid var(--ink);
  margin-top: 70px;
  padding-top: 35px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 60px;
}
.pastor-biography > h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
}
.pastor-milestones article {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 30px;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.pastor-date {
  color: var(--muted);
  font-size: 0.875rem;
}
.pastor-milestones h4 {
  font-size: 1.1rem;
  font-weight: 500;
}
.pastor-milestones article div > p {
  color: var(--muted);
  margin-top: 14px;
  line-height: 2;
}
@media (max-width: 760px) {
  .page-heading {
    padding-block: 25px 30px;
  }
  .breadcrumb {
    margin-bottom: 22px;
  }
  .page-content > .section:first-child,
  .page-content > .history-page:first-child {
    padding-top: 35px;
  }
  .page-content > .worship-section:first-child .section {
    padding-top: 35px;
  }
  .pastor-section {
    padding-block: 35px 70px;
  }
  .pastor-overview.has-photo {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .pastor-photo {
    max-width: 300px;
  }
  .pastor-biography {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 45px;
  }
  .pastor-milestones article {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.section-more {
  margin-top: 30px;
}

/* Events share the site's restrained editorial typography. */
.event-period {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.8;
}
.event-article {
  max-width: 900px;
  padding-block: 50px 90px;
}
.event-article > .event-period {
  margin-block: 18px 28px;
}
.event-article > .lead {
  margin-bottom: 30px;
}
.event-full-image {
  display: block;
  max-width: 100%;
  max-height: 900px;
  object-fit: contain;
  margin: 30px auto;
}
.event-body {
  line-height: 2.1;
  margin: 30px 0 45px;
  overflow-wrap: anywhere;
}
.event-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 35px;
}
.event-card {
  border-top: 1px solid var(--ink);
  padding-top: 20px;
}
.event-card > img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-bottom: 20px;
}
.event-card h2 {
  font-size: 1.6rem;
  margin-block: 12px;
}
.event-card .text-link {
  margin-top: 20px;
}
.event-popup {
  padding: 0;
  border: 1px solid var(--line);
  width: min(440px, calc(100vw - 48px));
  max-height: calc(100dvh - 48px);
  color: var(--ink);
  background: var(--paper);
}
.event-popup::backdrop {
  background: rgb(0 0 0 / 0.38);
}
.event-popup-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 24px;
}
.event-promotion-close {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.6rem;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-shrink: 0;
}
.event-popup-image {
  display: block;
  width: 100%;
  max-height: 48dvh;
  object-fit: contain;
}
.event-popup-copy {
  padding: 24px;
}
.event-popup-copy h2 {
  font-size: 1.75rem;
  overflow-wrap: anywhere;
}
.event-popup-copy p {
  margin-top: 12px;
  line-height: 1.8;
}
.event-popup-copy .text-link {
  margin-top: 20px;
}
.event-promotion-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 16px;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
}
.event-promotion-controls button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  padding: 8px;
}
.event-pager {
  display: flex;
  align-items: center;
  gap: 5px;
}
.event-pager button {
  font-size: 1.4rem;
  padding: 0 10px;
  height: 32px;
}
.event-dock {
  position: fixed;
  z-index: 30;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--paper);
  border-top: 1px solid var(--ink);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -5px 24px rgb(0 0 0 / 0.08);
}
.event-dock > .event-promotion-close {
  position: absolute;
  right: 0;
  top: 0;
}
.event-dock-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 44px 10px 16px;
  min-height: 88px;
}
.event-dock-image {
  width: 72px;
  height: 72px;
  object-fit: cover;
  flex-shrink: 0;
}
.event-dock-link > div {
  min-width: 0;
}
.event-dock-link strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.9375rem;
  line-height: 1.5;
  margin-block: 3px;
}
.event-dock-link .eyebrow {
  font-size: 0.625rem;
}
.event-dock-period {
  display: block;
  font-size: 0.625rem;
  color: var(--muted);
}
.event-dock .event-promotion-controls {
  padding: 0 12px;
}
.has-event-dock {
  padding-bottom: var(--event-dock-height, 150px);
}
@media (max-width: 760px) {
  .event-cards {
    grid-template-columns: 1fr;
  }
  .event-article {
    padding-block: 35px 65px;
  }
}

.event-share-actions {
  margin-block: 25px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}
.event-share-actions button {
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.event-share-feedback {
  font-size: 0.8125rem;
  color: var(--muted);
}
.event-share-actions textarea {
  width: 100%;
  min-height: 90px;
  padding: 12px;
}
