/* 믿음의 교회 색상과 반응형 레이아웃 */
:root {
  --brand: #276449;
  --dark: #193d30;
  --paper: #f8f8f2;
  --surface: #eef1e8;
  --ink: #253b32;
  --muted: #65716a;
  --line: #dce1d7;
  --accent: #c3d891;
  --white: #fff;
  --max: 1200px;

  /* 1차버전용 */
  /*
  --primary-color: #9ACD32;
  --primary-dark: #7cb518;
  --primary-muted: #c5e86c;
  --accent-color: #6B8E23;
  --border-color: #dfe8d4;
  */
  --primary-color: #276449;
  --primary-dark: #193d30;
  --primary-light: #b8e063;
  --primary-muted: #65716a;
  --secondary-color: #636e72;
  --accent-color: #c3d891;

  --bg-page: #F9FAF5;
  --bg-white: #ffffff;
  --bg-light: #F0F4EC;
  --bg-gray: #e8eee3;
  --bg-soft-start: #f4f9e8;
  --bg-soft-end: #e8f4d4;

  --text-primary: #2D3436;
  --text-secondary: #636e72;
  --text-light: #95a5a6;
  --border-color: #dce1d7;

  --header-height: 90px;

  /* Typography */
  --font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-size-base: 16px;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-base: 0.3s ease;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  line-height: 1.65;
  word-break: keep-all
}

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

button {
  font: inherit;
  cursor: pointer
}


.hero-photo img,
.community-card img,
.visit-gallery img,
.department-card img,
.course-card img,
.mission-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover
}

a,
button,
summary {
  -webkit-tap-highlight-color: transparent
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 5px
}

a:hover {
  color: var(--brand)
}

.skip {
  position: fixed;
  top: -80px;
  left: 20px;
  background: white;
  padding: 15px;
  z-index: 100
}

.skip:focus {
  top: 10px
}

.sample-bar {
  padding: 8px max(5vw, calc((100vw - 1200px)/2));
  background: var(--dark);
  color: #e7edde;
  display: flex;
  gap: 24px;
  font-size: 9px;
  letter-spacing: 1px
}

.sample-bar a {
  color: white
}

.sample-bar a:first-of-type {
  margin-left: auto
}

.header {
  height: 98px;
  display: flex;
  align-items: center;
  gap: 38px;
  padding: 0 max(5vw, calc((100vw - 1200px)/2));
  background: rgba(248, 248, 242, .97);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line)
}

.brand {
  width: 129px;
  flex-shrink: 0
}

.brand img {
  height: 68px;
  object-fit: contain
}

.desktop-nav {
  margin-left: auto;
  display: flex;
  gap: 29px;
  font-size: 12.6px;
  font-weight: 600;
  white-space: nowrap
}

.header-visit {
  font-size: 10.8px;
  border: 1px solid #acb8aa;
  border-radius: 30px;
  padding: 10px 16px;
  white-space: nowrap
}

.header-visit span {
  margin-left: 14px
}

.menu-toggle {
  display: none
}

.hero {
  max-width: 1440px;
  margin: auto;
  padding: 55px 5vw 0;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 20px
}

.hero-copy {
  padding: 42px 0 35px;
  position: relative;
  z-index: 1
}

.eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--brand);
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px
}

.eyebrow>span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand)
}

h1,
h2,
h3,
p {
  margin-top: 0
}

h1 {
  font-size: clamp(37.8px, 3.78vw, 59.4px);
  line-height: 1.35;
  letter-spacing: -3px;
  font-weight: 500;
  margin-bottom: 25px
}

h1 em {
  font-style: normal;
  font-family: Georgia, 'Batang', serif;
  color: var(--brand);
  position: relative
}

h1 em:after {
  content: '';
  height: 2px;
  background: var(--accent);
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  transform: rotate(-3deg)
}

.hero-description {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 30px
}

.actions {
  display: flex;
  align-items: center;
  gap: 28px
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 14px 22px;
  min-height: 50px;
  border-radius: 5px;
  font-size: 11.7px;
  font-weight: 600
}

.primary {
  background: var(--brand);
  color: white
}

.primary:hover {
  background: var(--dark);
  color: white
}

.text-link {
  font-size: 11.7px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  min-height: 44px
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 48px
}

.hero-note p {
  font-size: 9.9px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0
}

.tiny-cross {
  font-size: 26.1px;
  color: #829878
}

.hero-photo {
  height: 535px;
  border-radius: 160px 6px 6px 6px;
  overflow: hidden;
  position: relative
}

.hero-photo img {
  object-position: 50% 50%
}

.hero-photo:after {
  content: '';
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(transparent, #15291fc9)
}

.photo-label {
  position: absolute;
  bottom: 26px;
  left: 30px;
  right: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  z-index: 1;
  font-size: 11.7px
}

.photo-label span:last-child {
  font-size: 7.2px;
  letter-spacing: 1px
}

.hero-index {
  grid-column: 1/-1;
  font-size: 9px;
  padding: 18px 0;
  letter-spacing: 2px;
  color: var(--brand)
}

.hero-index span {
  letter-spacing: 0;
  color: var(--muted);
  margin-left: 18px
}

.quick-wrap {
  max-width: 1200px;
  margin: 20px auto 0;
  padding: 0
}

.quick {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr)
}

.quick>a {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 24px;
  position: relative
}

.quick>a+a:before {
  content: '';
  height: 40px;
  width: 1px;
  background: var(--line);
  position: absolute;
  left: 0
}

.quick-icon {
  font-size: 27.9px;
  font-family: Arial;
  color: var(--brand);
  width: 34px;
  text-align: center
}

.quick strong {
  font-size: 12.6px;
  display: block
}

.quick small {
  font-size: 9.9px;
  color: var(--muted);
  display: block;
  margin-top: 2px
}

.quick>a>span:last-child {
  margin-left: auto;
  font-size: 16.2px;
  color: var(--muted)
}

.section {
  max-width: var(--max);
  margin: auto;
  padding: 85px 0
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 35px
}

.section-head .eyebrow {
  margin-bottom: 12px
}

h2 {
  font-size: 30.6px;
  font-weight: 500;
  letter-spacing: -1.6px;
  line-height: 1.45;
  margin-bottom: 0
}

.sermon-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 65px
}

.sermon-art {
  background: #224b3b;
  min-height: 335px;
  border-radius: 8px;
  padding: 32px 36px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden
}

.sermon-art:before,
.sermon-art:after {
  content: '';
  position: absolute;
  width: 330px;
  height: 500px;
  border: 1px solid #7a96794a;
  border-radius: 50% 50% 0 0;
  transform: rotate(30deg);
  right: -85px;
  top: 15px;
  pointer-events: none
}

.sermon-art:after {
  right: -125px;
  top: 20px
}

.sermon-art:hover {
  color: white;
  background: #193d30
}

.sermon-art-top,
.sermon-art-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9.9px;
  z-index: 1
}

.sermon-art-top {
  color: #d9e3d2
}

.sermon-art-title {
  font-size: 32.4px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -1px;
  z-index: 1
}

.sermon-art-title em {
  font-style: normal;
  color: #d1e3ac
}

.play-circle {
  border: 1px solid #799486;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 10.8px
}

.sermon-details {
  padding: 2px 0
}

.pill {
  display: inline-block;
  background: #e6edde;
  color: var(--brand);
  font-size: 9px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap
}

.sermon-details h3 {
  font-size: 26.1px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -1px;
  margin: 14px 0 12px
}

.sermon-details>p {
  font-size: 10.8px;
  color: var(--muted);
  margin-bottom: 12px
}

.sermon-details>p span {
  padding: 0 10px
}

.other-sermon {
  display: flex;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 13px 0;
  font-size: 10.8px
}

.other-sermon:first-of-type {
  margin-top: 20px
}

.other-sermon small {
  color: var(--muted);
  white-space: nowrap
}

.other-sermon a {
  flex: 1;
  display: flex;
  justify-content: space-between
}

.worship-band {
  background: var(--surface)
}

.worship-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 65px;
  padding-top: 52px;
  padding-bottom: 52px
}

.worship-inner h2 {
  font-size: 26.1px;
  margin-bottom: 17px
}

.times {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-content: center;
  gap: 20px
}

.times>div {
  border-left: 1px solid #cdd6c6;
  padding-left: 22px
}

.times>div>span {
  font-size: 10.8px
}

.times strong {
  font-family: Georgia, serif;
  font-size: 30.6px;
  display: block;
  font-weight: 400;
  margin-top: 8px
}

.times strong small {
  font-family: Arial;
  font-size: 8.1px;
  margin-left: 7px
}

.times p {
  grid-column: 1/-1;
  font-size: 9.9px;
  color: var(--muted);
  margin: 15px 0 0 23px
}

.section-caption {
  color: var(--muted);
  font-size: 11.7px;
  margin-bottom: 5px
}

.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px
}

.image-wrap {
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  position: relative
}

.image-wrap img {
  transition: transform .35s
}

.community-card:hover img {
  transform: scale(1.03)
}

.image-tag {
  position: absolute;
  left: 20px;
  top: 20px;
  border-radius: 3px;
  background: #fffef0e8;
  color: var(--dark);
  font-size: 7.2px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 7px 10px
}

.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 21px
}

.card-bottom h3 {
  font-size: 20.7px;
  font-weight: 500;
  margin-bottom: 5px
}

.card-bottom p {
  font-size: 10.8px;
  color: var(--muted);
  margin: 0
}

.circle-arrow {
  width: 43px;
  height: 43px;
  border: 1px solid #c7d1c3;
  border-radius: 50%;
  display: grid;
  place-items: center
}

.news-section {
  background: #f0f2eb
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 65px;
  padding-top: 60px;
  padding-bottom: 60px
}

.news-list {
  border-top: 1px solid #acb9a8
}

.news-list>a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 21px 0;
  border-bottom: 1px solid #d6dfd0
}

.news-list strong {
  font-size: 11.7px;
  font-weight: 500
}

.news-list time {
  margin-left: auto;
  color: var(--muted);
  font-size: 9px
}

.neutral {
  background: #e3e7e1;
  color: #526258
}

.event-card {
  padding: 27px 30px;
  border: 1px solid #c9d3c2;
  border-radius: 7px;
  position: relative
}

.event-card .eyebrow {
  font-size: 8.1px
}

.event-date {
  font-size: 46.8px;
  font-family: Georgia;
  line-height: 1.1
}

.event-date span {
  font-family: Arial;
  font-size: 8.1px;
  letter-spacing: 1px;
  margin-left: 10px
}

.event-card h3 {
  font-size: 17.1px;
  margin: 15px 0 5px;
  font-weight: 500
}

.event-card p:not(.eyebrow) {
  font-size: 10.8px;
  color: var(--muted);
  margin-bottom: 10px
}

.visit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  padding-top: 95px;
  padding-bottom: 95px
}

.visit h2 {
  font-size: 32.4px;
  margin-bottom: 23px
}

.visit-copy>p:not(.eyebrow) {
  font-size: 11.7px;
  line-height: 1.9;
  color: var(--muted)
}

.address {
  display: flex;
  gap: 24px;
  font-size: 10.8px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin: 25px 0
}

.address strong {
  font-weight: 600
}

.address span {
  color: var(--muted)
}

.visit-image {
  position: relative;
  border-radius: 6px 100px 6px 6px;
  overflow: hidden;
  min-height: 365px;
  background: var(--dark)
}

.visit-image img {
  object-position: center;
  filter: brightness(.8)
}

.visit-image>div {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 70px 30px 30px;
  background: linear-gradient(transparent, #193d30);
  color: white
}

.visit-image span {
  display: block;
  font-size: 17.1px
}

.visit-image small {
  font-size: 7.2px;
  letter-spacing: 2px;
  display: block;
  margin-top: 9px
}

footer {
  background: var(--dark);
  color: #e6ebdf;
  padding: 40px max(5vw, calc((100vw - 1200px)/2)) 20px
}

.footer-main {
  display: flex;
  align-items: center;
  gap: 35px;
  padding-bottom: 30px
}

.footer-main>div {
  margin-right: auto
}

.footer-main strong {
  font-size: 19.8px;
  font-weight: 500
}

.footer-main p {
  font-size: 9.9px;
  color: #b8c8b7;
  margin: 7px 0 0
}

.footer-main>a {
  font-size: 9.9px
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 8.1px;
  color: #bccbbd;
  border-top: 1px solid #43604b;
  padding-top: 19px
}

footer a:hover {
  color: white
}

dialog {
  border: 0;
  margin: 0 0 0 auto;
  padding: 25px;
  width: min(90vw, 390px);
  height: 100dvh;
  max-height: 100dvh;
  background: var(--paper);
  color: var(--ink)
}

dialog::backdrop {
  background: #10271ccc;
  backdrop-filter: blur(3px)
}

.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between
}

.menu-header button {
  border: 0;
  background: none;
  width: 48px;
  height: 48px;
  font-size: 27px
}

.menu-shortcuts {
  display: flex;
  gap: 10px;
  margin: 25px 0
}

.menu-shortcuts a {
  background: var(--brand);
  color: white;
  padding: 12px;
  flex: 1;
  text-align: center;
  border-radius: 4px;
  font-size: 11.7px
}

dialog nav>a,
dialog summary {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.4px;
  cursor: pointer
}

dialog nav>a span {
  float: right
}

dialog details>a {
  display: block;
  padding: 12px 16px;
  font-size: 12.6px
}

dialog summary {
  list-style: none
}

dialog summary:after {
  content: '+';
  float: right
}

dialog details[open] summary:after {
  content: '−'
}

.menu-footer {
  margin-top: 40px;
  font-size: 9.9px;
  color: var(--muted)
}

@media(min-width:1500px) {
  .hero {
    padding-left: 120px;
    padding-right: 120px
  }
}

@media(max-width:1300px) {

  .section,
  .quick-wrap {
    margin-left: 5vw;
    margin-right: 5vw
  }

  .desktop-nav {
    gap: 20px
  }

  .header {
    gap: 25px
  }

  .hero-photo {
    height: 510px
  }
}

@media(max-width:1000px) {

  .desktop-nav,
  .header-visit {
    display: none
  }

  .header {
    height: 80px
  }

  .brand img {
    height: 60px
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 48px;
    height: 48px;
    background: none;
    border: 1px solid var(--line);
    border-radius: 50%;
    padding: 13px
  }

  .menu-toggle span {
    height: 1px;
    width: 20px;
    background: var(--ink)
  }

  .hero {
    gap: 20px;
    padding-top: 35px
  }

  .hero-copy {
    padding-top: 25px
  }

  h1 {
    font-size: 37.8px
  }

  .hero-photo {
    height: 470px
  }

  .hero-description {
    font-size: 11.7px
  }

  .quick>a {
    gap: 10px;
    padding: 24px 12px
  }

  .quick-icon {
    font-size: 22.5px
  }

  .sermon-grid,
  .worship-inner,
  .news-grid,
  .visit {
    gap: 30px
  }

  .sermon-art-title {
    font-size: 27px
  }

  .times strong {
    font-size: 24.3px
  }

  .news-grid {
    grid-template-columns: 1fr 270px
  }

  .image-wrap {
    height: 250px
  }

  .visit .actions {
    gap: 14px;
    flex-wrap: wrap
  }

  .footer-bottom {
    flex-wrap: wrap
  }
}

@media(max-width:650px) {
  html {
    scroll-padding-top: 88px
  }

  .sample-bar {
    padding: 7px 5vw;
    font-size: 7.2px;
    gap: 12px;
    letter-spacing: .6px
  }

  .sample-bar>span {
    font-size: 7.2px
  }

  .sample-bar>a {
    display: none
  }

  .header {
    height: 73px
  }

  .brand {
    width: 108px
  }

  .brand img {
    height: 56px
  }

  .hero {
    display: flex;
    flex-direction: column;
    padding-top: 28px;
    gap: 0
  }

  .hero-copy {
    padding: 12px 0 28px
  }

  .eyebrow {
    font-size: 8.1px;
    letter-spacing: 1.6px;
    margin-bottom: 16px
  }

  h1 {
    font-size: 38.7px;
    line-height: 1.35;
    letter-spacing: -2px;
    margin-bottom: 20px
  }

  .hero-description {
    font-size: 11.7px
  }

  .hero-note {
    display: none
  }

  .actions {
    gap: 27px
  }

  .hero-photo {
    height: 310px;
    border-radius: 85px 5px 5px 5px
  }

  .photo-label {
    left: 20px;
    right: 20px;
    bottom: 20px;
    font-size: 10.8px
  }

  .photo-label span:last-child {
    font-size: 6.3px
  }

  .hero-index {
    padding: 13px 0 0;
    font-size: 8.1px
  }

  .quick-wrap {
    margin-top: 25px
  }

  .quick {
    grid-template-columns: 1fr 1fr
  }

  .quick>a {
    padding: 20px 10px;
    gap: 12px
  }

  .quick>a:nth-child(3),
  .quick>a:nth-child(4) {
    border-top: 1px solid var(--line)
  }

  .quick>a:nth-child(3):before {
    display: none
  }

  .quick strong {
    font-size: 11.7px
  }

  .quick small {
    font-size: 9px
  }

  .quick-icon {
    font-size: 23.4px;
    width: 27px
  }

  .quick>a>span:last-child {
    font-size: 12.6px
  }

  .section {
    padding-top: 55px;
    padding-bottom: 55px
  }

  .section-head {
    align-items: start;
    margin-bottom: 25px;
    gap: 10px
  }

  h2 {
    font-size: 24.3px;
    letter-spacing: -1px
  }

  .section-head>.text-link {
    font-size: 9.9px;
    gap: 8px;
    white-space: nowrap;
    margin-top: 27px
  }

  .sermon-grid {
    grid-template-columns: 1fr;
    gap: 25px
  }

  .sermon-art {
    min-height: 280px;
    padding: 25px
  }

  .sermon-art-title {
    font-size: 27.9px
  }

  .sermon-details h3 {
    font-size: 22.5px
  }

  .sermon-details h3 br {
    display: none
  }

  .sermon-details>p {
    font-size: 9.9px
  }

  .other-sermon {
    padding: 16px 0
  }

  .worship-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 40px;
    padding-bottom: 40px
  }

  .worship-inner h2 {
    font-size: 24.3px
  }

  .times {
    gap: 8px
  }

  .times>div {
    padding-left: 13px
  }

  .times strong {
    font-size: 25.2px
  }

  .times strong small {
    display: block;
    margin: 0;
    font-size: 7.2px
  }

  .times p {
    font-size: 9px;
    margin-left: 13px
  }

  .community-grid {
    grid-template-columns: 1fr;
    gap: 30px
  }

  .section-caption {
    display: none
  }

  .image-wrap {
    height: 240px
  }

  .card-bottom h3 {
    font-size: 18.9px
  }

  .card-bottom p {
    font-size: 9.9px
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 30px
  }

  .news-list>a {
    gap: 10px;
    padding: 18px 0
  }

  .news-list strong {
    font-size: 10.8px
  }

  .news-list time {
    font-size: 8.1px
  }

  .news-list>a>span:last-child {
    display: none
  }

  .news-list .pill {
    font-size: 8.1px;
    padding: 4px 7px
  }

  .event-card {
    padding: 25px
  }

  .visit {
    grid-template-columns: 1fr;
    gap: 30px
  }

  .visit h2 {
    font-size: 27px
  }

  .visit-image {
    min-height: 260px;
    height: 260px
  }

  .visit-image>div {
    padding: 50px 23px 23px
  }

  .footer-main {
    flex-wrap: wrap;
    gap: 22px
  }

  .footer-main>div {
    width: 100%;
    margin-bottom: 8px
  }

  .footer-bottom {
    font-size: 7.2px
  }

  .footer-bottom>span:nth-child(2) {
    order: 3;
    width: 100%
  }

  .address {
    font-size: 9.9px;
    gap: 20px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  * {
    transition: none !important
  }
}

/* 읽기 쉬운 본문과 조작 가능한 순환 배너 */
body {
  font-size: 16.2px;
  line-height: 1.75
}

.desktop-nav {
  font-size: 16.2px;
  gap: 24px
}

.header {
  gap: 26px
}

.header-visit {
  font-size: 14.4px
}

.hero-description {
  font-size: 18px
}

.button,
.text-link {
  font-size: 16.2px;
  min-height: 52px
}

.hero-note p {
  font-size: 14.4px
}

.hero-note {
  margin-top: 32px
}

.eyebrow,
.sample-bar {
  font-size: 10.8px
}

.quick strong {
  font-size: 18px
}

.quick small {
  font-size: 14.4px
}

.quick>a {
  gap: 16px;
  padding: 28px 18px
}

.sermon-art-top,
.sermon-art-bottom,
.sermon-details>p,
.other-sermon,
.other-sermon small,
.times>div>span,
.times p,
.section-caption,
.card-bottom p,
.event-card p:not(.eyebrow),
.visit-copy>p:not(.eyebrow),
.address {
  font-size: 16.2px
}

.pill,
.news-list time,
.event-card .eyebrow,
.event-date span,
.image-tag,
.footer-main p,
.footer-main>a,
.footer-bottom,
.visit-image small {
  font-size: 12.6px
}

.news-list strong {
  font-size: 16.2px
}

.news-list>a {
  gap: 14px
}

.times strong small {
  font-size: 12.6px
}

.times strong {
  font-size: 36px
}

h2 {
  font-size: 34.2px
}

.card-bottom h3,
.event-card h3 {
  font-size: 23.4px
}

.worship-inner h2 {
  font-size: 30.6px
}

.actions {
  flex-wrap: wrap;
  gap: 18px
}

.footer-bottom {
  flex-wrap: wrap
}

.hero-carousel {
  min-width: 0
}

.hero-photo {
  height: 535px;
  border-radius: 90px 8px 8px 8px
}

.hero-photo:after {
  display: none
}

.hero-slide {
  height: 100%;
  position: relative
}

.hero-slide[hidden] {
  display: none
}

.hero-slide:after {
  content: '';
  position: absolute;
  inset: 30% 0 0;
  background: linear-gradient(transparent, rgba(9, 28, 20, .94));
  pointer-events: none
}

.slide-caption {
  position: absolute;
  bottom: 30px;
  left: 32px;
  right: 24px;
  z-index: 1;
  color: white
}

.slide-caption p {
  font-size: 14.4px;
  margin-bottom: 8px;
  color: #e1edce
}

.slide-caption h2 {
  font-size: 28.8px;
  line-height: 1.45;
  letter-spacing: -1px;
  margin-bottom: 12px
}

.slide-caption a {
  display: inline-block;
  font-size: 15.3px;
  min-height: 48px;
  padding: 8px 0;
  color: white;
  text-decoration: underline;
  text-underline-offset: 6px
}

.slide-caption a:hover {
  color: #e1edce
}

.slide-caption a:focus-visible {
  outline-color: white
}

.motto-slide:after {
  inset: 0;
  background: rgba(9, 28, 20, .65)
}

.motto-slide .slide-caption {
  bottom: 65px
}

.motto-slide h2 {
  font-size: 34.2px
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px
}

.carousel-controls>span {
  margin-right: auto;
  font-size: 14.4px;
  color: var(--muted);
  font-variant-numeric: tabular-nums
}

.carousel-controls button,
.carousel-picks button {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  min-height: 48px;
  min-width: 48px;
  border-radius: 5px;
  padding: 8px 13px;
  font-size: 14.4px
}

.carousel-controls button:hover,
.carousel-picks button:hover {
  background: var(--surface)
}

.carousel-controls #slide-toggle {
  font-size: 13.5px;
  min-width: 138px
}

.carousel-picks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 10px
}

.carousel-picks button {
  padding: 9px 3px;
  font-size: 14.4px
}

.carousel-picks [aria-current=true] {
  background: var(--brand);
  color: white;
  border-color: var(--brand)
}

.carousel-picks [aria-current=true]:hover {
  background: var(--dark)
}

.hero {
  padding-bottom: 24px
}

@media(min-width:1001px) and (max-width:1180px) {
  .header {
    gap: 15px;
    padding-left: 3vw;
    padding-right: 3vw
  }

  .desktop-nav {
    gap: 14px;
    font-size: 15.3px
  }

  .header-visit {
    font-size: 13.5px;
    padding: 10px
  }

  .brand {
    width: 110px
  }

  .hero-description {
    font-size: 16.2px
  }
}

@media(max-width:1000px) {
  .hero-photo {
    height: 490px
  }

  .hero-description {
    font-size: 16.2px
  }

  .slide-caption {
    left: 22px;
    right: 18px
  }

  .slide-caption h2 {
    font-size: 25.2px
  }

  .motto-slide h2 {
    font-size: 28.8px
  }

  .quick {
    grid-template-columns: repeat(2, 1fr)
  }

  .quick>a:nth-child(n+3) {
    border-top: 1px solid var(--line)
  }

  .quick>a:nth-child(3):before {
    display: none
  }

  .quick strong {
    font-size: 16.2px
  }

  .news-grid {
    grid-template-columns: 1fr
  }

  .times strong {
    font-size: 30.6px
  }

  .footer-main {
    flex-wrap: wrap
  }

  .carousel-picks button {
    font-size: 12.6px
  }

  .carousel-controls #slide-toggle {
    min-width: 124px;
    font-size: 12.6px
  }
}

@media(max-width:650px) {
  body {
    font-size: 15.3px
  }

  .hero-description {
    font-size: 16.2px
  }

  .hero-description br {
    display: none
  }

  .button,
  .text-link {
    font-size: 15.3px
  }

  .hero-carousel {
    width: 100%
  }

  .hero-photo {
    height: 355px;
    border-radius: 60px 6px 6px 6px
  }

  .hero-copy {
    padding-bottom: 30px
  }

  .hero {
    padding-bottom: 0
  }

  .slide-caption {
    left: 22px;
    bottom: 20px
  }

  .slide-caption p {
    font-size: 13.5px
  }

  .slide-caption h2 {
    font-size: 24.3px
  }

  .motto-slide h2 {
    font-size: 27px
  }

  .motto-slide .slide-caption {
    bottom: 40px
  }

  .slide-caption>span {
    font-size: 14.4px
  }

  .slide-caption a {
    font-size: 14.4px
  }

  .carousel-controls {
    gap: 6px
  }

  .carousel-controls>span {
    font-size: 12.6px
  }

  .carousel-controls button {
    padding: 8px;
    min-width: 46px
  }

  .carousel-picks button {
    font-size: 12.6px
  }

  .quick>a {
    padding: 18px 8px;
    gap: 8px
  }

  .quick strong {
    font-size: 15.3px
  }

  .quick small {
    font-size: 12.6px
  }

  .quick-icon {
    font-size: 22.5px;
    width: 25px
  }

  .section-head {
    flex-wrap: wrap;
    gap: 10px
  }

  .section-head>.text-link {
    font-size: 14.4px;
    margin-top: 0
  }

  .sermon-art-top,
  .sermon-art-bottom {
    font-size: 12.6px
  }

  .sermon-details>p,
  .other-sermon,
  .other-sermon small,
  .times>div>span,
  .times p,
  .card-bottom p,
  .event-card p:not(.eyebrow),
  .visit-copy>p:not(.eyebrow),
  .address {
    font-size: 14.4px
  }

  .sermon-details h3 {
    font-size: 24.3px
  }

  h2 {
    font-size: 27px
  }

  .worship-inner h2 {
    font-size: 27px
  }

  .times strong {
    font-size: 26.1px
  }

  .times strong small {
    font-size: 11.7px
  }

  .times p {
    margin-left: 0
  }

  .times>div {
    padding-left: 10px
  }

  .news-list>a {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 12px
  }

  .news-list strong {
    font-size: 15.3px
  }

  .news-list time {
    grid-column: 2;
    font-size: 12.6px;
    margin-left: 0
  }

  .news-list .pill {
    font-size: 11.7px
  }

  .card-bottom h3 {
    font-size: 22.5px
  }

  .circle-arrow {
    flex-shrink: 0;
    margin-left: 12px
  }

  .address {
    flex-direction: column;
    gap: 6px
  }

  .footer-main>a,
  .footer-main p,
  .footer-bottom {
    font-size: 12.6px
  }

  .sample-bar {
    font-size: 9px
  }

  .sample-bar>span {
    font-size: 9px
  }

  .eyebrow {
    font-size: 10.8px
  }

  .menu-shortcuts a,
  dialog details>a {
    font-size: 15.3px
  }

  dialog nav>a,
  dialog summary {
    font-size: 16.2px
  }

  .menu-footer {
    font-size: 12.6px
  }
}

/* 메인 문구와 이미지 사이의 빈 공간을 줄인 배치 */
.hero {
  max-width: 1440px;
  padding: 28px 5vw 12px;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: start
}

.hero-copy {
  padding: 18px 0 12px
}

.hero-copy h1 {
  font-size: clamp(37.8px, 3.42vw, 52.2px);
  margin-bottom: 20px
}

.hero-copy .eyebrow {
  margin-bottom: 14px
}

.hero-description {
  margin-bottom: 22px
}

.hero-note {
  margin-top: 24px
}

.hero-photo {
  height: 450px;
  border-radius: 55px 8px 8px 8px
}

.carousel-controls {
  margin-top: 10px
}

.carousel-picks {
  margin-top: 8px
}

.quick-wrap {
  margin-top: 12px
}

.hero-slide:not([hidden]) {
  animation: banner-reveal .55s ease-out
}

@keyframes banner-reveal {
  from {
    opacity: .25
  }

  to {
    opacity: 1
  }
}

@media(min-width:1500px) {
  .hero {
    padding-left: 120px;
    padding-right: 120px
  }
}

@media(min-width:651px) and (max-width:1000px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px
  }

  .hero-copy h1 {
    font-size: 36px
  }

  .hero-photo {
    height: 440px
  }
}

@media(max-width:650px) {
  .hero {
    padding: 18px 5vw 0;
    gap: 0
  }

  .hero-copy {
    padding: 8px 0 20px
  }

  .hero-copy h1 {
    font-size: 36.9px;
    margin-bottom: 16px
  }

  .hero-photo {
    height: 335px;
    border-radius: 40px 6px 6px 6px
  }

  .hero-description {
    margin-bottom: 18px
  }

  .quick-wrap {
    margin-top: 20px
  }
}

@media(prefers-reduced-motion:reduce) {
  .hero-slide:not([hidden]) {
    animation: none
  }
}

/* 최근 소식과 행사 네 줄의 높이와 시작 위치를 맞춘다. */
.news-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start
}

.news-grid>div,
.events {
  min-width: 0
}

.news-sample-note {
  font-size: 12.6px;
  color: var(--muted);
  margin: 0 0 16px;
  min-height: 25px
}

.news-list strong {
  flex: 1;
  min-width: 0
}

.news-list time {
  white-space: nowrap
}

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

.event-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid #d6dfd0;
  font-size: 16.2px
}

.event-list time {
  font-size: 14.4px;
  color: var(--muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums
}

.news-list>a,
.event-list li {
  height: 100px;
  padding: 18px 0
}

.news-grid .section-head {
  min-height: 90px
}

@media(max-width:1000px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 36px
  }

  .news-grid .section-head {
    min-height: 0
  }
}

@media(max-width:650px) {

  .news-list>a,
  .event-list li {
    height: auto;
    min-height: 88px
  }

  .news-list strong {
    overflow-wrap: anywhere
  }

  .event-list li {
    font-size: 15.3px
  }
}

/* 목록 정렬을 유지하면서 행사 영역을 별도 패널로 구분한다. */
.events {
  position: relative;
  isolation: isolate
}

.events:before {
  content: '';
  position: absolute;
  inset: -24px -20px;
  background: #e6edde;
  border: 1px solid #c9d3c2;
  border-radius: 14px;
  z-index: -1
}

.events h2 {
  color: var(--brand)
}

.events .event-list {
  border-top-color: #b7c6ac
}

.events .event-list li {
  border-bottom-color: #cbd6c2
}

@media(max-width:1000px) {
  .news-grid {
    gap: 64px
  }

  .events:before {
    inset: -20px -16px
  }
}

/* 주일 1·2·3부 설교를 동일한 비중의 카드로 보여준다. */
.sermon-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px
}

.sermon-card {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 28px;
  background: var(--dark);
  color: var(--white);
  border: 1px solid var(--brand);
  border-radius: 10px
}

.sermon-card:hover {
  background: var(--brand);
  color: var(--white)
}

.sermon-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14.4px;
  color: #e1edce
}

.sermon-card-meta time {
  font-size: 12.6px;
  white-space: nowrap
}

.sermon-card h3 {
  font-size: 25.2px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -1px;
  margin: 36px 0
}

.sermon-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  font-size: 15.3px
}

.sermon-card .play-circle {
  flex-shrink: 0
}

.sermon-card:focus-visible {
  outline-offset: 5px
}

@media(min-width:701px) and (max-width:1000px) {
  .sermon-cards {
    gap: 16px
  }

  .sermon-card {
    padding: 22px
  }

  .sermon-card-meta {
    align-items: start;
    flex-direction: column;
    gap: 4px
  }

  .sermon-card h3 {
    font-size: 22.5px
  }
}

@media(max-width:700px) {
  .sermon-cards {
    grid-template-columns: 1fr;
    gap: 20px
  }

  .sermon-card {
    min-height: 270px;
    padding: 26px
  }

  .sermon-card h3 {
    font-size: 24.3px;
    margin: 28px 0
  }
}

/* 방문 안내 옆에 믿음갤러리 사진 네 장을 균형 있게 배치한다. */
.visit-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-height: 365px;
  align-self: stretch
}

.visit-gallery img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 10px
}

.visit-gallery img:nth-child(2) {
  border-top-right-radius: 48px
}

@media(max-width:650px) {
  .visit-gallery {
    min-height: 0;
    height: auto;
    grid-template-rows: auto;
    gap: 10px
  }

  .visit-gallery img {
    aspect-ratio: 4/3;
    height: auto
  }

  .visit-gallery img:nth-child(2) {
    border-top-right-radius: 32px
  }
}

.visit-gallery-block {
  display: flex;
  flex-direction: column;
  min-width: 0
}

.visit-gallery-block>.section-head {
  flex: none;
  margin-bottom: 24px;
  gap: 12px;
  align-items: center
}

.visit-gallery-block>.section-head h2 {
  margin-bottom: 0
}

.visit-gallery-block>.section-head .text-link {
  white-space: nowrap
}

.visit-gallery-block>.visit-gallery {
  flex: 1;
  min-height: 0
}

@media(max-width:650px) {
  .visit-gallery-block>.visit-gallery {
    flex: auto
  }
}

.visit-gallery>a {
  display: block;
  min-height: 0;
  overflow: hidden;
  border-radius: 10px
}

.visit-gallery>a img {
  border-radius: 0
}

.visit-gallery>a:nth-child(2) {
  border-top-right-radius: 48px
}

.event-list li>a {
  display: flex;
  gap: 20px;
  align-items: center;
  width: 100%
}

.event-list li>a:hover span {
  text-decoration: underline
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1fr .8fr;
  gap: 36px;
  padding-bottom: 32px
}

.footer-columns h2 {
  font-size: 25.2px;
  color: white;
  margin-bottom: 12px
}

.footer-columns h3 {
  font-size: 16.2px;
  color: white;
  margin: 0 0 18px
}

.footer-columns p,
.footer-columns li,
.footer-account {
  font-size: 14.4px;
  line-height: 1.9;
  color: #dce5db
}

.footer-columns ul {
  list-style: none;
  padding: 0;
  margin: 0
}

.footer-columns a {
  display: inline-block;
  min-height: 30px
}

.footer-columns a:hover {
  text-decoration: underline
}

.footer-account {
  display: flex;
  gap: 20px;
  margin-top: 20px
}

.footer-copyright {
  padding-top: 22px;
  border-top: 1px solid #43604b;
  font-size: 12.6px;
  color: #bccbbd;
  text-align: center
}

@media(max-width:1000px) {
  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px
  }
}

@media(max-width:550px) {
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 28px
  }

  .footer-columns h3 {
    margin-bottom: 10px
  }
}