/* =================================================================== 
 *  Hesed Main Stylesheet
 *  Template Ver. 1.0.0
 *  06-26-2019
 *  ------------------------------------------------------------------
 *
 *  TOC:
 *  # custom block grid STACK breakpoints
 *  # base style overrides
 *    ## links
 *  # typography & general theme styles
 *    ## lists
 *    ## responsive video container
 *    ## floated image
 *    ## tables
 *    ## spacing 
 *  # preloader
 *  # forms
 *    ## style placeholder text
 *    ## change autocomplete styles in Chrome
 *  # buttons
 *  # additional components
 *    ## additional typo styles
 *    ## skillbars
 *    ## alert box
 *    ## pagination
 *  # common and reusable styles
 *    ## events list
 *    ## block list
 *  # site header
 *    ## header logo
 *    ## main navigation
 *    ## mobile menu toggle
 *  # hero
 *    ## hero left bar
 *    ## hero content
 *    ## hero content buttons
 *    ## hero social
 *    ## hero scroll
 *    ## hero animations
 *  # about
 *    ## about content
 *    ## schedule of services
 *  # connect
 *  # events
 *  # current series
 *    ## series image
 *    ## series content
 *    ## series buttons
 *    ## series subscribe
 *  # social
 *  # footer
 *    ## footer logo
 *    ## footer list
 *    ## copyright
 *    ## go to top
 *  # page styles and page components
 *    ## page header
 *    ## page content
 *    ## about page
 *    ## event page
 *
 * =================================================================== */
/* main.css 최상단 */
@import url("https://fonts.googleapis.com/css2?family=Nanum+Myeongjo:wght@400;700;800&family=Noto+Sans+KR:wght@400;500;700&family=Gothic+A1:wght@400;700&family=Gowun+Dodum&family=Hahmlet:wght@400;700;900&family=Noto+Serif+KR:wght@400;700;900&family=Orbit&family=Song+Myung&display=swap");

/* ===================================================================
 * # custom block grid STACK breakpoints
 *
 * ------------------------------------------------------------------- */
@media screen and (max-width: 1000px) {
  .block-1000-full > .column {
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media screen and (max-width: 900px) {
  .block-900-full > .column {
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ===================================================================
 * # base style overrides
 *
 * ------------------------------------------------------------------- */
html {
  font-size: 10px;
}

@media screen and (max-width: 400px) {
  html {
    font-size: 9.5px;
  }
}

html,
body {
  height: 100%;
}

body {
  background: #ffffff;
  font-family: "Noto Sans KR", sans-serif;
  font-optical-sizing: auto;
  font-size: 2rem;
  font-style: normal;
  font-weight: normal;
  line-height: 1.8;
  color: #000000;
  margin: 0;
  padding: 0;
  position: relative;
  overflow-x: hidden;
}

/* ------------------------------------------------------------------- 
 * ## links
 * ------------------------------------------------------------------- */
a {
  color: #4a90e2;
  transition: all 0.3s ease-in-out;
}

a:hover,
a:focus,
a:active {
  color: #ffffff;
}

a:hover,
a:active {
  outline: 0;
}

/* ===================================================================
 * # typography & general theme styles
 * 
 * ------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: "Noto Sans KR", "Montserrat", sans-serif;
  font-weight: 700;
  font-style: normal;
  color: #000000;
  font-variant-ligatures: common-ligatures;
  text-rendering: optimizeLegibility;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4 {
  margin-top: 6rem;
  margin-bottom: 1.6rem;
}

@media screen and (max-width: 600px) {
  h1,
  .h1,
  h2,
  .h2,
  h3,
  .h3,
  h4,
  .h4 {
    margin-top: 5.6rem;
  }
}

h5,
.h5,
h6,
.h6 {
  margin-top: 4.8rem;
  margin-bottom: 1.2rem;
}

@media screen and (max-width: 600px) {
  h5,
  .h5,
  h6,
  .h6 {
    margin-top: 4.4rem;
    margin-bottom: 0.8rem;
  }
}

h1,
.h1 {
  font-size: 3.6rem;
  line-height: 1.222;
}

@media screen and (max-width: 600px) {
  h1,
  .h1 {
    font-size: 3.3rem;
  }
}

h2,
.h2 {
  font-size: 3.2rem;
  line-height: 1.25;
}

h3,
.h3 {
  font-size: 2.4rem;
  line-height: 1.167;
}

h4,
.h4 {
  font-size: 2.1rem;
  line-height: 1.333;
}

h5,
.h5 {
  font-size: 1.8rem;
  line-height: 1.333;
}

h6,
.h6 {
  font-size: 2.1rem;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.3rem;
}

p img {
  margin: 0;
}

p.lead {
  font-family: "Nanum Myeongjo", serif;
  font-weight: 400;
  font-size: 2.5rem;
  line-height: 1.857;
  margin-bottom: 3.6rem;
  color: #000000;
  word-break: keep-all;
}

@media screen and (max-width: 1200px) {
  p.lead {
    font-size: 2.6rem;
  }
}

@media screen and (max-width: 600px) {
  p.lead {
    font-size: 2.2rem;
  }
}

em,
i,
strong,
b {
  font-size: inherit;
  line-height: inherit;
}

em,
i {
  font-family: "Lora", serif;
  font-style: italic;
}

strong,
b {
  font-family: "Noto Sans KR", sans-serif;
  font-weight: 700;
}

mark {
  background: #fff099;
  color: #000000;
}

hr {
  border: solid #e0e0e0;
  border-width: 1px 0 0;
  clear: both;
  margin: 8rem 0 9.6rem;
  height: 0;
}

/* ------------------------------------------------------------------- 
 * ## lists
 * ------------------------------------------------------------------- */
ol {
  list-style: decimal;
}

ul {
  list-style: disc;
}

li {
  display: list-item;
}

ol,
ul {
  margin-left: 1.6rem;
}

ul li {
  padding-left: 0.4rem;
}

ul ul,
ul ol,
ol ol,
ol ul {
  margin: 0.8rem 0 0.8rem 1.6rem;
}

ul.disc li {
  display: list-item;
  list-style: none;
  padding: 0 0 0 0.8rem;
  position: relative;
}

ul.disc li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3b0d11;
  position: absolute;
  left: -16px;
  top: 11px;
  vertical-align: middle;
}

dt {
  margin: 0;
  color: #3b0d11;
}

dd {
  margin: 0 0 0 2rem;
}

/* ------------------------------------------------------------------- 
 * ## tables
 * ------------------------------------------------------------------- */
table {
  border-width: 0;
  width: 100%;
  max-width: 100%;
  font-family: "Lora", serif;
  border-collapse: collapse;
}

th,
td {
  padding: 1.5rem 3.2rem;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

th {
  color: #000000;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

th:first-child,
td:first-child {
  padding-left: 0;
}

th:last-child,
td:last-child {
  padding-right: 0;
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ------------------------------------------------------------------- 
 * ## spacing
 * ------------------------------------------------------------------- */
button,
.btn {
  margin-bottom: 1.6rem;
}

fieldset {
  margin-bottom: 1.6rem;
}

input,
textarea,
select,
pre,
blockquote,
figure,
table,
p,
ul,
ol,
dl,
form,
.video-container,
.ss-custom-select {
  margin-bottom: 3.2rem;
}

/* ===================================================================
 * # preloader
 *
 * ------------------------------------------------------------------- */
/* Preloader 전체 영역 */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #f7fbff; /* 배경색 */
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 로딩 애니메이션 (점 3개) */
#loader {
  display: flex;
  gap: 10px;
}

#loader div {
  width: 10px;
  height: 10px;
  background-color: #124bb4; /* 색상 원하는 대로 */
  border-radius: 50%;
  animation: bounce 0.6s infinite ease-in-out;
}

#loader div:nth-child(2) {
  animation-delay: 0.2s;
}

#loader div:nth-child(3) {
  animation-delay: 0.4s;
}

/* 점 튀는 애니메이션 */
@keyframes bounce {
  0%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
}

/* ===================================================================
 * # buttons
 *
 * ------------------------------------------------------------------- */
.btn,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  font-family: "Noto Sans KR", "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.6rem;
  height: 6rem;
  line-height: 5.6rem;
  padding: 0 3.2rem;
  margin: 0 0.4rem 1.6rem 0;
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #272727;
  border: 0.2rem solid #272727;
}

.btn:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.btn:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  background-color: #000000;
  border-color: #000000;
  color: #ffffff;
  outline: 0;
}

/* button primary
 * ------------------------------------------------- */
.btn.btn--primary,
button.btn--primary,
input[type="submit"].btn--primary,
input[type="reset"].btn--primary,
input[type="button"].btn--primary {
  background: #7ba1db;
  border-color: #7ba1db;
  color: #ffffff;
  font-size: 2rem;
}

.btn.btn--primary:hover,
button.btn--primary:hover,
input[type="submit"].btn--primary:hover,
input[type="reset"].btn--primary:hover,
input[type="button"].btn--primary:hover,
.btn.btn--primary:focus,
button.btn--primary:focus,
input[type="submit"].btn--primary:focus,
input[type="reset"].btn--primary:focus,
input[type="button"].btn--primary:focus {
  background: #000000;
  border-color: #000000;
}

/* button modifiers
 * ------------------------------------------------- */
.btn.h-full-width,
button.h-full-width {
  width: 100%;
  margin-right: 0;
}

.btn--small,
button.btn--small {
  height: 5.6rem !important;
  line-height: 5.2rem !important;
}

.btn--medium,
button.btn--medium {
  height: 6.4rem !important;
  line-height: 6rem !important;
}

.btn--large,
button.btn--large {
  height: 6.8rem !important;
  line-height: 6.4rem !important;
}

.btn--stroke,
button.btn--stroke {
  background: transparent !important;
  border: 0.2rem solid #000000;
  color: #000000;
}

.btn--stroke:hover,
button.btn--stroke:hover {
  background: #000000 !important;
  border: 0.2rem solid #000000;
  color: #ffffff;
}

.btn--pill,
button.btn--pill {
  padding-left: 3.2rem !important;
  padding-right: 3.2rem !important;
  border-radius: 1000px !important;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/* ===================================================================
 * # common and reusable styles
 *
 * ------------------------------------------------------------------- */
.wide {
  max-width: 1400px;
}

.wider {
  max-width: 1600px;
}

.narrow {
  max-width: 930px;
}

.subhead {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.3rem;
  color: #fb8b23;
  margin-top: 0;
  margin-bottom: 0.4rem;
  margin-left: 4px;
}

.display-1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 3.6rem;
  line-height: 1.222;
  margin-top: 0;
  margin-bottom: 2.8rem;
}

/* ------------------------------------------------------------------- 
 * ## events list
 * ------------------------------------------------------------------- */

:root {
  --evt-gap: 16px; /* 카드 사이 간격(줄임) */
  --evt-peek: 8%; /* 모바일에서 양옆 살짝 보이는 폭(캘린더엔 비적용) */
}

/* 공통 */
.evt-wrap {
  font-family: "Nanum Myeongjo", serif;
}
.evt-title {
  margin: 24px 0 12px;
  font-weight: 800;
}

/* = 캘린더(8·7월 가로 2열 / 모바일 1열) = */
.evt-cal-grid {
  display: grid;
  gap: var(--evt-gap);
  grid-template-columns: repeat(2, minmax(280px, 1fr));
}
.evt-cal-grid .gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease;
}
.evt-cal-grid .gallery-item img {
  width: 100%;
  display: block;
}
.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  text-align: center;
  padding: 10px 0;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.evt-cal-grid .gallery-item:hover {
  transform: scale(1.02);
}
.evt-cal-grid .gallery-item:hover .gallery-caption {
  opacity: 1;
}

/* = 주요 일정(3열 × N줄 / 모바일 1열) = */
.evt-list {
  display: grid;
  gap: var(--evt-gap);
  grid-template-columns: repeat(3, minmax(300px, 1fr)); /* 이미지 더 크게 */
}
.evt-tile {
  display: flex;
  flex-direction: column;
}
.evt-thumb {
  /* 이미지를 크게 보기(새 탭) */
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease;
}
.evt-thumb img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  display: block;
}
.evt-thumb .gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  text-align: center;
  padding: 10px 0;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.evt-card {
  /* 하단 박스(행사명/일정) */
  margin: 10px 4px 6px;
  padding: 14px 22px 16px 28px; /* ← 왼쪽 여백 강화 */
  background: #fff;
  color: #222;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  transition: background-color 0.25s ease, color 0.25s ease,
    transform 0.25s ease, box-shadow 0.25s ease;
}
.evt-name {
  font-weight: 800;
}
.evt-when {
  margin-top: 6px;
  color: #7a7a7a;
  font-size: 1.5rem;
}

/* 호버: 이미지 살짝 확대 + 박스 색 반전(#173460 / 흰 글씨) */
@media (hover: hover) {
  .evt-tile:hover .evt-thumb {
    transform: scale(1.02);
  }
  .evt-tile:hover .evt-thumb .gallery-caption {
    opacity: 1;
  }
  .evt-tile:hover .evt-card {
    background: #173460;
    color: #fff;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.16);
  }
  .evt-tile:hover .evt-when {
    color: #fff;
  }
}

/* 반응형: 모바일 1열 */
@media (max-width: 767px) {
  .evt-cal-grid {
    grid-template-columns: 1fr;
  }
  .evt-list {
    grid-template-columns: 1fr;
  }
}

.events-list .column:nth-child(2n + 1) {
  padding-right: 2.4vw;
}

.events-list .column:nth-child(2n + 2) {
  padding-left: 2.4vw;
}

.events-list__item {
  margin-bottom: 4rem;
}

.events-list__item-title a {
  color: #000000;
  border-bottom: 1px solid transparent;
}

.events-list__item-title a:hover,
.events-list__item-title a:focus {
  color: #3b0d11;
  border-bottom: 1px solid #3b0d11;
}

.events-list__meta {
  list-style: none;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.667;
  text-transform: uppercase;
  letter-spacing: 0.25rem;
  color: #000000;
  margin-left: 0;
  border-top: 1px solid #e0e0e0;
}

.events-list__meta li {
  padding-top: 2rem;
  padding-bottom: 2rem;
  padding-right: 2rem;
  padding-left: 4.8rem;
  border-bottom: 1px solid #e0e0e0;
  position: relative;
}

.events-list__meta li::before {
  content: "";
  display: block;
  height: 2.1rem;
  width: 2.1rem;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  position: absolute;
  top: 1.8rem;
  left: 0.8rem;
}

.events-list__meta .events-list__meta-date::before {
  background-image: url(../images/icons/icon-calendar.svg);
}

.events-list__meta .events-list__meta-quote::before {
  background-image: url(../images/icons/icon-quote.svg);
}

.events-list__meta .events-list__meta-location::before {
  background-image: url(../images/icons/icon-location.svg);
  height: 2.6rem;
  width: 2.6rem;
}

/* ------------------------------------------------------------------- 
 * ## block list
 * ------------------------------------------------------------------- */
.block-list {
  margin-top: 6.4rem;
  counter-reset: ctr;
}

.block-list h1,
.block-list h2,
.block-list h3,
.block-list h4,
.block-list h5,
.block-list h6 {
  margin-top: 0;
}

.block-list__item {
  margin-bottom: 3.2rem;
}

.block-list__title-with-num {
  padding-left: 6.2rem;
  margin-bottom: 3.2rem;
  position: relative;
}

.block-list__title-with-num::before {
  content: counter(ctr);
  counter-increment: ctr;
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  color: #ffffff;
  background-color: #3b0d11;
  height: 4.8rem;
  width: 4.8rem;
  line-height: 4.8rem;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: -1rem;
}

/* ------------------------------------------------------------------- 
 * responsive:
 * common and reusable styles
 * ------------------------------------------------------------------- */
@media screen and (max-width: 1200px) {
  .display-1 {
    font-size: 3.2rem;
  }
}

@media screen and (max-width: 1000px) {
  .events-list .column:nth-child(2n + 1) {
    padding-right: 2.2vw;
  }

  .events-list .column:nth-child(2n + 2) {
    padding-left: 2.2vw;
  }
}

@media screen and (max-width: 900px) {
  .events-list .column:nth-child(2n + 1) {
    padding-right: 16px;
  }

  .events-list .column:nth-child(2n + 2) {
    padding-left: 16px;
  }
}

@media screen and (max-width: 600px) {
  .events-list .column:nth-child(2n + 1) {
    padding-right: 10px;
  }

  .events-list .column:nth-child(2n + 2) {
    padding-left: 10px;
  }
}

@media screen and (max-width: 400px) {
  .events-list .column:nth-child(2n + 1) {
    padding-right: 0;
  }

  .events-list .column:nth-child(2n + 2) {
    padding-left: 0;
  }
}

/* ===================================================================
 * # site header
 *
 * ------------------------------------------------------------------- */
.s-header {
  z-index: 100;
  background-color: white;
  height: 9rem;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* -------------------------------------------------------------------
 * ## header logo
 * ------------------------------------------------------------------- */
.header-logo {
  z-index: 102;
  display: inline-block;
  margin: 0;
  padding: 0;
  transition: all 0.3s;
  -webkit-transform: translate3d(0, -50%, 0);
  transform: translate3d(0, -50%, 0);
  position: absolute;
  left: 11rem;
  top: 50%;
}

.header-logo::before {
  content: "";
  display: block;
  background-color: rgba(255, 255, 255, 0.5);
  height: 1px;
  width: 9rem;
  position: absolute;
  top: 50%;
  left: -11rem;
}

.header-logo a {
  display: block;
  padding: 0;
  outline: 0;
  border: none;
}

.header-logo img {
  width: 260px;
  height: 60px;
}

/* -------------------------------------------------------------------
 * ## main navigation
 * ------------------------------------------------------------------- */
.header-nav-wrap {
  z-index: 101;
  position: absolute;
  right: 4.4rem;
  top: 2rem;
}

.header-nav {
  list-style: none;
  font-family: "Iropke Batang", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 4.8rem;
  text-transform: uppercase;
  letter-spacing: 0.35rem;
}

.header-nav a {
  color: black;
}

.header-nav a:hover,
.header-nav a:focus {
  color: #7ba1db;
}

.header-nav li {
  display: inline-block;
  margin: 0 1.2rem;
}

/* ------------------------------------------------------------------- 
 * ## mobile menu toggle
 * ------------------------------------------------------------------- */
.header-menu-toggle {
  z-index: 102;
  display: none;
  height: 4.2rem;
  width: 4.2rem;
  line-height: 4.2rem;
  font-family: "Lora", serif;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s;
  position: absolute;
  right: 32px;
  top: 1rem;
}

.header-menu-toggle:hover,
.header-menu-toggle:focus {
  color: #0e0e0e;
}

.header-menu-toggle span {
  display: block;
  width: 2.4rem;
  height: 2px;
  background-color: #000000;
  transition: all 0.5s;
  font: 0/0 a;
  text-shadow: none;
  color: transparent;
  margin-top: -1px;
  position: absolute;
  top: 50%;
  left: 0.9rem;
  right: auto;
  bottom: auto;
}

.header-menu-toggle span::before,
.header-menu-toggle span::after {
  content: "";
  width: 100%;
  height: 100%;
  background-color: inherit;
  transition: all 0.5s;
  position: absolute;
  left: 0;
}

.header-menu-toggle span::before {
  top: -8px;
}

.header-menu-toggle span::after {
  bottom: -8px;
}

.header-menu-toggle.is-clicked span {
  background-color: rgba(255, 255, 255, 0);
  transition: all 0.1s;
}

.header-menu-toggle.is-clicked span::before,
.header-menu-toggle.is-clicked span::after {
  background-color: rgb(0, 0, 0);
}

.header-menu-toggle.is-clicked span::before {
  top: 0;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
}

.header-menu-toggle.is-clicked span::after {
  bottom: 0;
  -webkit-transform: rotate(225deg);
  transform: rotate(225deg);
}

/* ------------------------------------------------------------------- 
 * responsive:
 * header
 * ------------------------------------------------------------------- */
@media screen and (max-width: 1400px) {
  .header-logo {
    left: 9.8rem;
  }

  .header-logo::before {
    width: 7.8rem;
    left: -9.8rem;
  }
}

@media screen and (max-width: 1200px) {
  .header-nav li {
    margin: 0 0.6rem;
  }
}

@media screen and (max-width: 1000px) {
  .header-logo {
    left: 8.8rem;
  }

  .header-logo::before {
    width: 6.8rem;
    left: -8.8rem;
  }
}

@media screen and (max-width: 800px) {
  .header-nav-wrap {
    display: none;
    height: auto;
    width: 100%;
    background-color: rgb(255, 255, 255);
    padding: 14rem 4.4rem 6.4rem;
    position: absolute;
    top: -2.8rem;
    left: 0;
  }

  .header-nav-wrap .header-nav {
    display: block;
    height: auto;
    font-size: 10px;
    margin: 0 0 4rem 0;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .header-nav-wrap .header-nav li {
    display: block;
    margin: 0;
    padding: 0;
    font-size: medium;
    border-bottom: 1px solid rgb(255, 255, 255);
  }

  .header-nav-wrap .header-nav li a {
    padding: 18px 0;
    line-height: 20px;
    display: block;
  }

  .header-menu-toggle {
    display: block;
    top: 1.8rem;
  }
}

@media screen and (max-width: 600px) {
  .header-logo {
    left: 4.8rem;
  }

  .header-logo::before {
    width: 3.6rem;
    left: -4.8rem;
  }
}

/* -------------------------------------------------------------------
 * make sure menu is visible on larger screens
 * ------------------------------------------------------------------- */
@media only screen and (min-width: 801px) {
  .header-nav-wrap {
    display: block !important;
  }
}

/* ===================================================================
 * # hero
 *
 * ------------------------------------------------------------------- */
.s-hero {
  width: 100%;
  height: 100vh;
  min-height: 82rem;
  overflow: hidden;
  background-color: transparent;
  position: relative;
}

.s-hero::before {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(199, 193, 193, 0.397);
  opacity: 0.5;
}

.no-js .s-hero {
  background: #000000;
}

/* -------------------------------------------------------------------
 * ## hero left bar
 * ------------------------------------------------------------------- */
.hero-left-bar {
  height: 100%;
  width: 8rem;
  background-color: #000000;
  opacity: 0.9;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
}

/* -------------------------------------------------------------------
 * ## hero content
 * ------------------------------------------------------------------- */
.hero-content {
  height: 100%;
  max-width: 1400px;
  padding-top: 20vh;
  padding-bottom: 18vh;
  -webkit-align-items: flex-end;
  -ms-flex-align: end;
  align-items: center;
  position: relative;
}

.hero-content__text {
  position: relative;
}

.hero-content h1 {
  font-weight: 700;
  font-size: 7.6rem;
  line-height: 1.263;
  letter-spacing: 0;
  color: #ffffff;
  margin-top: 0;
  margin-right: 350px;
  padding-top: 3.2rem;
  position: relative;
  text-shadow: 2px 2px 5px rgba(105, 105, 105, 0.6);
}

.hero-content h1::before {
  display: block;
  content: "";
  height: 2px;
  width: 10rem;
  background-color: #ffffff;
  position: absolute;
  top: 0;
  left: 0.8rem;
}

.hero-content h1 span {
  display: block;
}

/* -------------------------------------------------------------------
 * ## hero content buttons
 * ------------------------------------------------------------------- */
.hero-content__buttons {
  position: absolute;
  right: 10rem;
  bottom: 3.2rem;
}

.hero-content__buttons .btn {
  display: block;
  border-color: #ffffff;
  background-color: rgba(138, 139, 139, 0.726);
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: 600;
  width: 30rem;
  margin-right: 0;
}

.hero-content__buttons .btn:hover,
.hero-content__buttons .btn:focus {
  background-color: #ffffff !important;
  color: #000000;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.8); /* 반짝이는 느낌 */
  transform: scale(1.03); /* 살짝 커지게 */
  transition: all 0.3s ease;
}

/* ------------------------------------------------------------------- 
 * ## hero social
 * ------------------------------------------------------------------- */
.hero-social {
  list-style: none;
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 4.8rem;
  text-transform: uppercase;
  letter-spacing: 0.4rem;
  color: #ffffff;
  margin: 0;
  position: absolute;
  bottom: 4.8rem;
  left: 0px;
  -webkit-transform: rotate(-90deg) translate3d(0, 6.2rem, 0);
  transform: rotate(-90deg) translate3d(0, 6.2rem, 0);
  -webkit-transform-origin: left bottom;
  transform-origin: left bottom;
}

.hero-social a {
  color: rgba(255, 255, 255, 0.589);
  transition: all 0.5s;
}

.hero-social a:hover {
  color: #173460;
}

.hero-social__title {
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: none;
  letter-spacing: 0;
  padding-right: 4rem;
  margin-right: 0.8rem;
  position: relative;
}

.hero-social__title::after {
  display: block;
  content: "";
  width: 2.4rem;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  position: absolute;
  right: 0;
  top: 50%;
}

.hero-social li {
  display: inline-block;
  margin-right: 1.2rem;
  position: relative;
}

.hero-social li a {
  display: block;
}

.hero-social li:last-child {
  margin-right: 0;
}

/* ------------------------------------------------------------------- 
 * ## hero scroll
 * ------------------------------------------------------------------- */
.hero-scroll {
  position: absolute;
  right: 6rem;
  bottom: 0;
  -webkit-transform: rotate(-90deg) translate3d(100%, 50%, 0);
  transform: rotate(-90deg) translate3d(100%, 50%, 0);
  -webkit-transform-origin: right bottom;
  transform-origin: right bottom;
}

.hero-scroll .scroll-link {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4rem;
  text-align: left;
  color: #ffffff;
  padding-left: 9rem;
  position: relative;
}

.hero-scroll .scroll-link:hover,
.hero-scroll .scroll-link:focus {
  color: #173460;
}

.hero-scroll::before {
  display: block;
  content: "";
  background-color: rgba(255, 255, 255, 0.1);
  width: 74px;
  height: 1px;
  position: absolute;
  left: 0;
  top: calc(50% + 2px);
}

/* animate .hero-content
 * ------------------------------------------------------------------- */
html.ss-preload .hero-content {
  opacity: 0;
}

html.ss-loaded .hero-content {
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
}

html.no-csstransitions .hero-content {
  opacity: 1;
}

/* ------------------------------------------------------------------- 
 * ## hero animations
 * ------------------------------------------------------------------- */

/* fade in */
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

/* fade out */
@-webkit-keyframes fadeOut {
  from {
    opacity: 1;
    visibility: visible;
  }

  to {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    visibility: visible;
  }

  to {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
}

/* ------------------------------------------------------------------- 
 * responsive:
 * hero
 * ------------------------------------------------------------------- */
@media screen and (max-width: 1700px) {
  .hero-content h1 {
    margin-left: 4rem;
  }
}

@media screen and (max-width: 1600px) {
  .hero-content {
    max-width: 1200px;
  }
}

@media screen and (max-width: 1400px) {
  .hero-left-bar {
    width: 6.8rem;
  }

  .hero-content {
    max-width: 1100px;
  }

  .hero-content h1 {
    font-size: 6.4rem;
  }

  .hero-social {
    -webkit-transform: rotate(-90deg) translate3d(0, 5.8rem, 0);
    transform: rotate(-90deg) translate3d(0, 5.8rem, 0);
  }
}

@media screen and (max-width: 1300px) {
  .hero-content {
    max-width: 1000px;
  }

  .hero-content h1 {
    font-size: 6rem;
  }
}

@media screen and (max-width: 1200px) {
  .hero-content {
    max-width: 760px;
  }

  .hero-content h1 {
    font-size: 7.2rem;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 4.8rem;
  }

  .hero-content__buttons {
    position: static;
  }

  .hero-content__buttons .btn {
    display: inline-block;
    width: auto;
    margin-right: 1.2rem;
  }
}

@media screen and (max-width: 1000px) {
  .hero-content {
    max-width: 580px;
  }

  .hero-content h1 {
    font-size: 6.2rem;
  }
}

@media screen and (max-width: 800px) {
  .hero-content {
    max-width: 480px;
    width: 70%;
    padding-top: 22vh;
    padding-bottom: 10vh;
    text-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .hero-content h1 {
    font-size: 5.4rem;
  }

  .hero-content h1 br {
    display: none;
  }

  .hero-content h1::before {
    left: 50%;
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
  }

  .hero-content__buttons .btn {
    display: block;
    margin-right: 0;
  }
}

@media screen and (max-width: 700px) {
  .hero-content h1 {
    font-size: 4.8rem;
  }

  .hero-left-bar {
    opacity: 0.7;
  }
}

@media screen and (max-width: 600px) {
  .hero-content {
    width: 80%;
    padding-top: 20vh;
  }

  .hero-content h1 {
    font-size: 4.4rem;
  }

  .hero-left-bar,
  .hero-social {
    display: none;
  }

  .hero-scroll {
    -webkit-transform: none;
    transform: none;
    right: auto;
    left: 0;
    bottom: 6.4rem;
  }
}

@media screen and (max-width: 500px) {
  .hero-content {
    width: 86%;
  }
}

/* ===================================================================
 * # about
 *
 * ------------------------------------------------------------------- */
.s-about {
  padding-top: 12rem;
  padding-bottom: 12rem;
  background-color: #173460;
}

.s-about .subhead {
  color: rgb(255, 255, 255);
  font-size: 2.7rem;
  margin-bottom: 4rem;
}

.s-about .lead {
  color: #ffffff;
  margin-bottom: 4rem;
}

.s-about .btn--about {
  display: block;
  width: 100%;
  margin-right: 0;
  background-color: #7ba1db;
  border-color: #7ba1db;
}

/* ------------------------------------------------------------------- 
 * ## about content
 * ------------------------------------------------------------------- */
.about-content .column:first-child {
  padding-right: 2.4vw;
}

.about-content .column:last-child {
  padding-left: 2.4vw;
}

/* ------------------------------------------------------------------- 
 * ## schedule of services
 * ------------------------------------------------------------------- */
.about-sched {
  list-style: none;
  margin: 0;
  font-size: 2.1rem;
  border-top: 1px solid #d9d9d981;
}

.about-sched h4 {
  line-height: 1.333;
  margin-top: 0;
  font-size: 2.2rem;
  text-transform: uppercase;
  letter-spacing: 0.4rem;
  color: #ffffff;
}

.about-sched li {
  border-bottom: 1px solid #d9d9d981;
  color: #ffffff;
  padding-top: 3rem;
  padding-left: 0;
}

/* ------------------------------------------------------------------- 
 * responsive:
 * about
 * ------------------------------------------------------------------- */
@media screen and (max-width: 1200px) {
  .about-content {
    max-width: 900px;
  }

  .about-content .column:first-child {
    padding-right: 16px;
  }

  .about-content .column:last-child {
    padding-left: 16px;
  }

  .about-content .column:first-child {
    margin-bottom: 6.4rem;
  }
}

@media screen and (max-width: 600px) {
  .about-content .column:first-child {
    padding-right: 10px;
  }

  .about-content .column:last-child {
    padding-left: 10px;
  }
}

@media screen and (max-width: 400px) {
  .about-content .column:first-child {
    padding-right: 0;
  }

  .about-content .column:last-child {
    padding-left: 0;
  }
}

/* ===================================================================
 * # connect
 *
 * ------------------------------------------------------------------- */

.s-connect {
  padding-top: 10rem;
  padding-bottom: 0;
  background-color: #ffffff;
}

.connect-content {
  padding-bottom: 9rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.connect-content .column {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: column nowrap;
  -ms-flex-flow: column nowrap;
  flex-flow: column nowrap;
}

.connect-content .column:first-child {
  padding-right: 2.4vw;
}

.connect-content .column:last-child {
  padding-left: 2.4vw;
}

.connect-content .btn {
  margin-top: auto;
  margin-right: 0;
}

.youtube-link img {
  width: 100%;
  height: auto;
  border-radius: 12px; /* 모서리 둥글게 */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.youtube-link:hover img {
  transform: scale(1.05); /* 5% 확대 */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* 그림자 추가 */
}

/* ------------------------------------------------------------------- 
 * responsive:
 * connect
 * ------------------------------------------------------------------- */
@media screen and (max-width: 1000px) {
  .connect-content .column:first-child {
    padding-right: 2.2vw;
  }

  .connect-content .column:last-child {
    padding-left: 2.2vw;
  }
}

@media screen and (max-width: 900px) {
  .connect-content .column {
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .connect-content .column:first-child {
    padding-right: 16px;
  }

  .connect-content .column:last-child {
    padding-left: 16px;
  }

  .connect-content .column:first-child {
    margin-bottom: 6.4rem;
  }
}

@media screen and (max-width: 600px) {
  .connect-content .column:first-child {
    padding-right: 10px;
  }

  .connect-content .column:last-child {
    padding-left: 10px;
  }
}

@media screen and (max-width: 400px) {
  .connect-content .column:first-child {
    padding-right: 0;
  }

  .connect-content .column:last-child {
    padding-left: 0;
  }
}

/* ===================================================================
 * # events 
 *
 * ------------------------------------------------------------------- */
.s-events {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: #ffffff;
}

.s-events .subhead {
  color: #000000;
}

.events-header {
  margin-bottom: 2.4rem;
}

:root {
  --gap: 20px; /* 카드 간격(데스크톱/태블릿) */
  --peek: 8%; /* 모바일에서 양옆 ‘살짝’ 보이는 폭 */
  --arrow-out: 72px; /* 화살표를 포스터 밖으로 얼마나 뺄지(px) */
}

/* ===== 컨테이너 ===== */
.carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: visible; /* 화살표가 밖으로 나가도 보이게 */
  font-family: "Nanum Myeongjo", serif;
}

/* ===== 트랙 ===== */
.track {
  display: flex;
  overflow-x: auto;
  gap: var(--gap);
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 10px 0;
}
.track::-webkit-scrollbar {
  display: none;
} /* WebKit */
.track {
  scrollbar-width: none;
} /* Firefox */

/* ===== 카드 ===== */
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  scroll-snap-align: start; /* 데스크톱/태블릿 */
  flex: 0 0 calc((100% - 3 * var(--gap)) / 4); /* 기본: 데스크톱 4장 */
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}

/* 카드 전체를 링크로 */
.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card img {
  width: 100%;
  aspect-ratio: 2 / 3; /* 세로형 포스터 */
  object-fit: cover;
  display: block;
}

/* ===== 캡션 박스 ===== */
.caption {
  margin: 0;
  padding: 14px; /* ← 왼쪽 여백 강화 */
  background: #fff;
  text-align: center;
  font-family: "Noto Sans KR", sans-serif;
  transition: background-color 0.25s ease, color 0.25s ease,
    transform 0.25s ease;
}
.cap-title {
  font-weight: 800;
}
.cap-meta {
  margin-top: 6px;
  color: #7a7a7a;
  font-size: 1.5rem;
}

/* 호버 효과: 카드 약간 확대 + 캡션 색상 반전 */
@media (hover: hover) {
  .card:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
  }
  .card:hover .caption {
    background: #173460;
    color: #fff;
  }
  .card:hover .cap-meta {
    color: #fff;
  }
}
.card-link:focus-visible {
  outline: 2px solid #173460;
  outline-offset: 4px;
}

/* ===== 태블릿: 2장 ===== */
@media (min-width: 768px) and (max-width: 1023px) {
  .card {
    flex: 0 0 calc((100% - var(--gap)) / 2);
  }
  :root {
    --arrow-out: 56px;
  } /* 화면 좁아지면 화살표 덜 빼기 */
}

/* ===== 모바일: 1장 + 중앙 스냅 + 양옆 ‘살짝’ 보이기 ===== */
@media (max-width: 767px) {
  .track {
    padding: 10px var(--peek); /* 처음/끝도 중앙 정렬 유지 + peek 확보 */
    gap: 0; /* 실제로 이웃 카드가 보이도록 간격 0 */
  }
  .card {
    flex: 0 0 calc(100% - 2 * var(--peek));
    scroll-snap-align: center; /* 중앙에 딱! */
    margin-right: 12px; /* 카드 간 미세 간격 */
  }
  .card:last-child {
    margin-right: 0;
  }
  .arrow {
    display: none !important;
  } /* 모바일은 화살표 숨기고 스와이프만 */
}

/* ===== 화살표: 배경 없이 아이콘만 + 그림자, 더 바깥으로 ===== */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent !important; /* 검은 배경 완전 제거 */
  color: #666;
  font-size: 50px;
  line-height: 1;
  padding: 8px;
  cursor: pointer;
  z-index: 10;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25)); /* 아이콘에만 그림자 */
  user-select: none;
}
.arrow.left {
  left: calc(-1 * var(--arrow-out));
}
.arrow.right {
  right: calc(-1 * var(--arrow-out));
}
.arrow:hover {
  color: #333;
}
.arrow:active {
  color: #111;
}

/* 모션 민감 사용자 배려 */
@media (prefers-reduced-motion: reduce) {
  .track {
    scroll-behavior: auto;
  }
  .card,
  .caption {
    transition: none;
  }
}
/* ===================================================================
 * # current series 
 *
 * ------------------------------------------------------------------- */
.s-series {
  padding: 8rem 2rem;
  min-height: 80rem;
  background-color: #f5f5f5;
  background-size: 760px 380px;
  position: relative;
}

.s-series::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ------------------------------------------------------------------- 
 * ## series image 
 * ------------------------------------------------------------------- */
.series-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.series-item {
  background-color: #e0e0e0; /* 이미지 박스 회색 배경 */
  border-radius: 8px;
  overflow: hidden;
}

.series-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* ------------------------------------------------------------------- 
 * responsive:
 * series
 * ------------------------------------------------------------------- */

@media screen and (max-width: 1024px) {
  .series-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .series-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 1rem;
  }
}

/* ===================================================================
 * # social  
 *
 * ------------------------------------------------------------------- */
.s-social {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: #7ba1db;
}

.social-content {
  max-width: 1000px;
}

.social-list {
  list-style: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 5.6rem;
  text-transform: uppercase;
  letter-spacing: 0.4rem;
  text-align: center;
  margin: 0;
}

.social-list li {
  display: inline-block;
  margin-right: 2.4rem;
  margin-left: 2.4rem;
}

.social-list a {
  color: #ffffff;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: row nowrap;
  -ms-flex-flow: row nowrap;
  flex-flow: row nowrap;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

.social-list__icon {
  display: block;
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 50%;
  border: 1px solid #ffffff;
  margin-right: 2rem;
  position: relative;
}

.social-list__icon::before {
  content: "";
  display: block;
  height: 2rem;
  width: 2rem;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  -webkit-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
  position: absolute;
  top: 50%;
  left: 50%;
}

.social-list__icon--youtube::before {
  background-image: url(../images/icons/podcast/icon-youtube.svg);
}

.social-list__icon--instagram::before {
  background-image: url(../images/icons/social/icon-instagram.svg);
}

.social-list__icon--naver::before {
  background-image: url(../images/icons/social/icon-naver.svg);
}

.social-list__icon--email::before {
  background-image: url(../images/icons/social/icon-email.svg);
}

/* ------------------------------------------------------------------- 
 * responsive:
 * social
 * ------------------------------------------------------------------- */
@media screen and (max-width: 1200px) {
  .social-list li {
    margin-right: 1.2rem;
    margin-left: 1.2rem;
  }
}

@media screen and (max-width: 1000px) {
  .social-list__text {
    display: none;
  }

  .social-list__icon {
    width: 5.6rem;
    height: 5.6rem;
    margin-right: 0;
  }

  .social-list__icon::before {
    height: 2.4rem;
    width: 2.4rem;
  }
}

@media screen and (max-width: 600px) {
  .social-list__icon {
    width: 4.8rem;
    height: 4.8rem;
  }

  .social-list__icon::before {
    height: 2rem;
    width: 2rem;
  }
}

@media screen and (max-width: 400px) {
  .social-list li {
    margin-right: 0.8rem;
    margin-left: 0.8rem;
  }

  .social-list__icon {
    width: 4.4rem;
    height: 4.4rem;
  }

  .social-list__icon::before {
    height: 1.6rem;
    width: 1.6rem;
  }
}

/* ===================================================================
 * # footer 
 *
 * ------------------------------------------------------------------- */
.s-footer {
  padding-top: 8rem;
  padding-bottom: 8rem;
  background-color: #173460;
  font-family: "Noto Sans KR", "Open Sans", sans-serif;
  font-size: 1.7rem;
  line-height: 1.882;
  color: rgba(255, 255, 255, 0.5);
}

.s-footer a {
  color: #ffffff;
}

.s-footer h4 {
  margin-top: 1.6rem;
  margin-bottom: 2.4rem;
  color: #ffffff;
}

.s-footer .btn--footer {
  border-color: #7ba1db;
  background-color: #7ba1db;
  padding: 0 4rem;
}

.s-footer .btn--footer:hover,
.s-footer .btn--footer:focus {
  border-color: #000000;
  background-color: #000000;
}

.s-footer .row .column:first-child {
  margin-right: auto;
}

.auto-break {
  word-break: keep-all; /* 한글, 영어 모두 단어 단위 줄바꿈 */
  white-space: normal; /* 기본 줄바꿈 허용 */
  line-height: 1.8; /* 줄 간격 */
}

/* -------------------------------------------------------------------
 * ## footer logo 
 * ------------------------------------------------------------------- */
.footer-logo {
  margin-bottom: 2.8rem;
}

.footer-logo a {
  display: block;
}

.footer-logo img {
  width: 180px;
  height: 45px;
}

/* -------------------------------------------------------------------
 * ## footer list 
 * ------------------------------------------------------------------- */
.footer-list {
  list-style: none;
  margin-left: 0;
}

.footer-list a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-list a:hover,
.footer-list a:focus {
  color: #ffffff;
}

.footer-list li {
  padding-left: 0;
}

/* ------------------------------------------------------------------- 
 * ## copyright 
 * ------------------------------------------------------------------- */
.ss-copyright {
  margin-top: 4.8rem;
  padding-right: 80px;
  color: rgba(255, 255, 255, 0.3);
}

.ss-copyright span {
  font-size: 15px;
  display: inline-block;
}

.ss-copyright span::after {
  content: "|";
  display: inline-block;
  padding: 0 1rem 0 1.2rem;
  color: rgba(255, 255, 255, 0.1);
}

.ss-copyright span:last-child::after {
  display: none;
}

/* ------------------------------------------------------------------- 
 * ## go to top 
 * ------------------------------------------------------------------- */
.ss-go-top {
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  -webkit-transform: translate3d(0, 200%, 0);
  transform: translate3d(0, 200%, 0);
  transition: all 0.8s;
  position: fixed;
  bottom: 4rem;
  right: 4.8rem;
}

.ss-go-top a {
  display: block;
  background-color: #173460;
  text-decoration: none;
  margin: 0;
  padding: 0;
  border: 1px solid #7ba1db;
  height: 60px;
  width: 58px;
  line-height: 60px;
  text-transform: uppercase;
  text-align: center;
  color: black;
  transition: all 0.3s;
  position: relative;
}

.ss-go-top svg {
  height: 12px;
  width: 12px;
  -webkit-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
  position: absolute;
  top: 50%;
  left: 50%;
}

.ss-go-top svg path {
  fill: #ffffff;
}

.ss-go-top a:hover {
  background-color: #7ba1db;
  color: #ffffff;
}

.ss-go-top.link-is-visible {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

/* ------------------------------------------------------------------- 
 * responsive:
 * footer
 * ------------------------------------------------------------------- */
@media screen and (max-width: 1400px) {
  .ss-go-top {
    bottom: 3.6rem;
    right: 3.2rem;
  }
}

@media screen and (max-width: 800px) {
  .ss-copyright span {
    display: block;
  }

  .ss-copyright span::after {
    display: none;
  }

  .ss-go-top {
    bottom: 0;
    right: 0;
  }
}

@media screen and (max-width: 400px) {
  .btn--footer {
    display: block;
    margin-right: 0;
  }

  .footer-logo img {
    width: 116px;
    height: 30px;
  }
}

/* ===================================================================
 * # page styles and page components 
 *
 * ------------------------------------------------------------------- */

/* ------------------------------------------------------------------- 
 * ## page header 
 * ------------------------------------------------------------------- */
.page-header {
  min-height: 24rem;
  padding-top: 24rem;
  padding-bottom: 8rem;
  text-align: center;
  background-color: #121212;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

.page-header::before {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: lab(98.89% -0.12 -1.67 / 0.541);
  opacity: 0.7;
}

.page-header .gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: lch(98.89% 1.68 265.87 / 0.541);
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.6) 90%
  );
  opacity: 0.5;
}

.page-header h1 {
  font-size: 6.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin-top: 0;
}

.page-header--about {
  background-image: url(../images/header-bgs/header-bg.jpg);
}

.page-header__content {
  position: relative;
}

/* ------------------------------------------------------------------- 
 * ## about page 
 * ------------------------------------------------------------------- */
/* about 공통 left header */
/*----------------------------------------------- */
.section.leaders {
  display: flex;
  gap: 60px;
  padding: 80px;
  align-items: flex-start;
  flex-wrap: wrap;
  overflow-x: hidden;
}

.leaders-header {
  flex: 0 0 220px;
  max-width: 220px;
  padding: 0px 10px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: left;
  width: 240px;
  margin: 0 auto;
}

.leaders-header h2 {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  padding-left: 12px;
  margin-bottom: 20px;
}

.leaders-header h2 a {
  color: #4a90e2;
  font-size: 30px;
  font-weight: 800;
  text-decoration: none;
  margin-top: 0px;
  margin-bottom: 20px;
  display: inline-block;
}

.leaders-header ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.leaders-header ul li {
  margin-bottom: 12px;
}

.leaders-header ul li a {
  display: block;
  padding: 8px 12px;
  margin-bottom: 8px;
  border-radius: 8px;
  color: #555;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.leaders-header ul li a:hover {
  background-color: #eaf1f8;
  color: #173460;
  transform: translateX(5px);
  font-weight: 600;
}

.leaders-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.church-menu {
  display: none; /* 기본적으로 안보이게 */
}

@media (max-width: 768px) {
  .section.leaders {
    padding: 30px;
    margin: 10px auto;
  }

  .leaders-header h2 {
    font-size: 24px;
  }
}

/* about 공통 left header - 모바일*/
/*----------------------------------------------- */

@media (max-width: 1024px) {
  .church-menu {
    display: block;
    background-color: #7ba1db;
    padding: 0; /* ✅ 여백 제거 */
    margin: 0 auto;
    max-width: none; /* ✅ 배경 이미지랑 가로 길이 일치 */
  }

  .church-menu ul {
    display: flex;
    flex-wrap: nowrap; /* ✅ 한줄 */
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .church-menu ul li {
    flex: 1; /* ✅ 넓이 균등 분배 */
    text-align: center;
  }

  .church-menu ul li a {
    display: block;
    padding: 12px 0; /* ✅ 위아래 적당히 */
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
  }

  .church-menu ul li:last-child a {
    border-right: none; /* 마지막 구분선 없애기 */
  }

  .church-menu ul li a.active {
    font-weight: 700; /* 글씨 두껍게 */
    color: #173460; /* 메인 컬러 */
  }

  .church-menu ul li a:hover {
    background-color: #eaf1f8;
    color: #7ba1db;
  }

  .leaders-header {
    display: none;
  }
}

/* ------------------------------------------------------------------- 
 * ## goal (about) page 
 * ------------------------------------------------------------------- */

#goal h3 {
  font-size: 24px;
  font-weight: bold;
  color: #173460;
  margin-bottom: 10px;
}

#goal p {
  font-size: 18px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 16px;
}

#goal p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  #goal h3 {
    font-size: 20px;
  }

  #goal p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  #goal p {
    font-size: 14px;
  }
}

/* ------------------------------------------------------------------- 
 * ## greeting page 
 * ------------------------------------------------------------------- */

#greeting {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.greeting-img {
  flex: none;
  width: 600px;
  max-width: 100%;
}

.greeting-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.greeting-text {
  flex: 1 1 0;
  min-width: 200px;
  max-width: 100%;
  flex-shrink: 1;
}

.greeting-text p {
  font-size: 18px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 16px;
  word-break: break-word;
  white-space: normal;
}

.greeting-text p strong {
  font-weight: bold;
  line-height: 1.8;
  font-size: 18px;
}

.bible-verse {
  text-align: center;
  font-weight: bold;
  font-weight: 500;
  font-size: 20px;
  margin: 24px 0;
}

.pastor-signature {
  margin-top: 30px;
  text-align: right;
  font-size: 18px;
  color: #173460 !important;
  font-family: "Noto Sans KR", sans-serif;
  font-weight: bold;
}

@media (max-width: 768px) {
  #greeting {
    flex-direction: column;
  }

  .greeting-img {
    max-width: 100%;
  }

  .greeting-text p {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .greeting-text p {
    font-size: 16px;
  }
}

@media (min-width: 1025px) and (max-width: 1400px) {
  .section.leaders {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px; /* ✅ 중앙 정렬 */
    margin: 0 auto;
    padding: 40px 20px; /* ✅ 양옆 공간 확보 */
    box-sizing: border-box; /* ✅ 패딩 포함 */
  }

  .leaders-header {
    flex: 0 0 200px; /* ✅ 고정 너비 */
    max-width: 200px;
  }

  .leaders-content {
    flex: 1;
    display: flex;
    flex-wrap: nowrap; /* ✅ 가로로 고정 */
    gap: 30px;
  }

  .greeting-img {
    flex: 1 1 260px; /* ✅ 이미지 고정 */
    max-width: 280px;
  }

  .greeting-text {
    flex: 1; /* ✅ 나머지 글은 알아서 꽉 채움 */
    min-width: 0;
  }

  .greeting-text p {
    font-size: 17px !important; /* 글자만 작아짐 */
  }
}
/* ------------------------------------------------------------------- 
 * ## history page 
 * ------------------------------------------------------------------- */

#history {
  text-align: center;
}

#history img {
  width: 100%;
  max-width: 900px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  #history img {
    max-width: 100%;
  }
}

/* ------------------------------------------------------------------- 
 * ## leaders page 
 * ------------------------------------------------------------------- */

.leader-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* ✅ 두 개씩 가로 배치 */
  gap: 20px 30px;
}

.leader-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  max-width: 500px;
  gap: 20px;
}

.leader-img {
  width: 200px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #f9f9f9;
}

.leader-title {
  text-align: left;
  font-size: 16px;
  color: #333;
  line-height: 1.4;
}

.leader-title strong {
  font-weight: 700;
  display: block;
  font-size: 25px;
  margin-bottom: 4px;
}

.leader-subtitle {
  font-size: 20px;
  font-weight: bold;
  color: #444;
  margin-bottom: 10px;
}

.divider {
  width: 100%;
  height: 2px;
  background-color: #ddd;
  margin: 20px 0;
}

@media (max-width: 768px) {
  .leader-card {
    flex-direction: column;
    align-items: center;
  }

  .leader-row {
    grid-template-columns: repeat(2, 1fr); /* ✅ 모바일에서는 한 줄에 하나 */
    gap: 50px;
  }

  .leaders-header ul li {
    margin-bottom: 8px;
  }

  .leaders-header h2 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .leader-title {
    font-size: 14px;
  }

  .leader-title strong {
    font-size: 22px;
  }
}

/* ------------------------------------------------------------------- 
 * ## map page 
 * ------------------------------------------------------------------- */

/* 공통 섹션 스타일 */
.location-box {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 40px; /* 주소와 버튼 사이 간격 */
  margin-bottom: 0;
  flex-wrap: wrap;
}

.map-buttons-inline {
  display: flex;
  gap: 15px; /* 버튼 간격 */
}

.map-section {
  background-color: #f8f8f8;
  padding: 40px;
  border-radius: 12px;
  margin-bottom: 40px;
}

.map-section h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #173460;
}

.map-section p {
  font-size: 18px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 10px;
}

.map-section img {
  width: 100%;
  border-radius: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* 지도 버튼 */
.map-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #173460;
  border-radius: 20px;
  padding: 12px 20px;
  text-decoration: none;
  color: #fff;
  width: 130px;
  font-weight: 600;
  font-size: 15px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.map-btn:hover {
  background-color: #4a90e2;
  transform: translateY(-2px);
}

/* 자차 / 버스 안내 */
.map-info {
  margin-top: 30px;
}

.map-info h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333;
}

.map-info ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.map-info ul li {
  font-size: 16px;
  color: #444;
  margin-bottom: 6px;
}

/* 반응형 */
@media (max-width: 768px) {
  .location-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .map-buttons-inline {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
/* ------------------------------------------------------------------- 
 * ## departments page 
 * ------------------------------------------------------------------- */
/* 총 부서 정리
 * ----------------------------------------------- */
.departments-home {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.departments-home h2 {
  font-size: 28px;
  margin-bottom: 20px;
  border-bottom: 2px dashed #ccc;
  padding-bottom: 10px;
  color: #333;
}

.department-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* ✅ 한 줄에 4개 고정 */
  gap: 20px;
  margin-bottom: 0;
}

.department-item img {
  width: 100%;
  aspect-ratio: 4 / 3; /* ⭐ 적당한 가로세로 비율 */
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.department-item img:hover {
  transform: scale(1.03);
}

.team-name {
  margin-top: 10px;
  font-weight: bold;
  text-align: center;
  font-size: 16px;
}

.team-name small {
  font-size: 13px;
  color: #777;
}

@media (max-width: 1024px) {
  .department-grid {
    grid-template-columns: repeat(2, 1fr); /* ✅ 태블릿: 2개 */
  }
}

@media (max-width: 600px) {
  .department-grid {
    grid-template-columns: repeat(2, 1fr); /* ✅ 모바일: 1개 */
  }
}

/* ------------------------------------------------------------------- 
 * ## departments page 
 * ------------------------------------------------------------------- */
/* 교회 학교 페이지
 * ----------------------------------------------- */

.department-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: "Noto Sans KR", sans-serif;
}

.department-hero img {
  width: 100%;
  border-radius: 12px;
}

.divider {
  border: none;
  border-top: 1px dashed #ddd;
  margin: 0;
}

.department-intro-box {
  background-color: #f2f7f8;
  padding: 50px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.department-intro-box h2,
.department-staff-box h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.department-description {
  font-size: 21px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 0px;
}

.department-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 0;
  margin-bottom: 50px;
}

.feature-block {
  margin-bottom: 0;
}
.feature-column {
  flex: 1;
}

.feature-title {
  background-color: #173460; /* 배너 배경색 */
  color: #fff;
  display: inline-block;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 22px;
  position: relative;
  margin-bottom: 10px;
}

.feature-title::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  border: 10px solid transparent;
}
.feature-list {
  padding-left: 20px;
}

.feature-list li {
  margin-bottom: 5px;
  color: #444;
  font-size: 20px;
}

.feature-row {
  display: flex;
  gap: 20px;
}

.feature-column {
  flex: 1;
}

.feature-text,
.feature-list {
  margin-top: 5px;
  color: #444;
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .feature-row {
    flex-direction: column;
  }

  .department-description,
  .feature-title,
  .feature-text,
  .feature-list li {
    font-size: 18px;
  }
}

.department-sns {
  text-align: left;
  margin-top: 30px;
}

.department-sns img {
  width: 60px; /* 크기 조절 */
  height: 60px; /* 정사각형 */
  object-fit: contain; /* 이미지 비율 유지 */
  transition: transform 0.2s ease;
}

.department-sns img:hover {
  transform: scale(1.1); /* 마우스 오버 시 살짝 확대 */
}

.staff-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden; /* 모서리 둥글게 유지 */
}

.staff-table th,
.staff-table td {
  padding: 14px;
  font-size: 15px;
  color: #333;
}

.staff-table th {
  background-color: #173460; /* ✅ 왼쪽 직책 배경 */
  color: #fff;
  font-weight: 600;
  width: 250px; /* ✅ 너비 고정 (조절 가능) */
  text-align: center;
}

.staff-table td {
  background-color: #f2f7f8; /* ✅ 오른쪽 셀 배경 (연한 베이지) */
  text-align: center;
  font-family: "Noto Sans KR", sans-serif;
}

.department-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.department-gallery img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.divider-text-box {
  display: flex;
  align-items: center;
  gap: 12px; /* 글자와 선 사이 간격 */
  margin: 0;
}

.divider-text-box span {
  font-weight: bold;
  font-size: 25px;
  color: #444;
  white-space: nowrap; /* 줄바꿈 방지 */
}

.divider-text-box::after {
  content: "";
  flex: 1;
  border-top: 3px dashed #ccc;
}

@media (max-width: 768px) {
  .staff-table th {
    width: 150px;
  }
}

/* ------------------------------------------------------------------- */
/* * ## 사진 hover 효과
 * ----------------------------------------------- */

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
}

.gallery-item img {
  width: 100%;
  display: block;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6); /* ✅ 검은 배경 전체 */
  color: #fff;
  display: flex; /* ✅ 가운데 정렬 핵심 */
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 10px;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

/*----------------------------------------------------------------- 
 * ## event page 
 * ------------------------------------------------------------------- */
/* event content
 * ----------------------------------------------- */

.page-content .calendar-section {
  max-width: 1000px;
  margin: 45px auto;
  margin-top: 15px;
  padding: 20px;
  box-sizing: border-box;
  font-family: "Noto Sans KR", sans-serif !important;
}

.page-content .calendar-section > h2 {
  font-size: 24px !important;
  color: #173460 !important;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 제목 스타일 */
.calendar-title {
  font-size: 2.4rem;
  font-weight: bold;
  color: #173460;
  margin-top: 40px;
  margin-bottom: 20px;
}

/* 이미지 스타일 */
.calendar-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* 구분선 스타일 */
.calendar-divider {
  border: none;
  border-top: 2px dashed #ccc;
  margin: 40px 0;
}

/* 반응형 */
@media (max-width: 600px) {
  .event-content {
    margin-top: 1rem; /* 모바일에서 절반으로 줄임 */
  }

  .page-content .calendar-section {
    margin: 30px auto;
    padding: 15px;
  }

  .calendar-section {
    padding: 15px; /* 모바일에서 여백 조금 줄임 */
    margin: 30px auto; /* 위아래 여백 줄임 */
  }

  .calendar-title {
    font-size: 2rem;
  }
}

/*----------------------------------------------------------------- 
 * ## worship page 
 * ------------------------------------------------------------------- */

.worship-section {
  max-width: 1000px;
  margin: 60px auto;
  margin-top: 20px;
  padding: 20px;
  font-family: "Noto Sans KR", sans-serif;
}

.worship-section h2 {
  font-size: 24px;
  color: #173460;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.worship-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.worship-table thead tr {
  background-color: #7ba1db;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
}

.worship-table th,
.worship-table td {
  padding: 14px;
  text-align: center;
  font-size: 15px;
  white-space: nowrap;
}

.worship-table th:first-child,
.worship-table td:first-child {
  font-weight: bold;
}

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

.worship-table tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

.worship-table tbody tr:hover {
  background-color: #f1f5f9;
}

.worship-table th {
  color: #fff; /* ✅ 글자색: 흰색 */
  font-family: "Noto Sans KR", sans-serif;
  font-size: 17px;
  padding: 14px;
  text-align: center;
}

.worship-table td {
  color: #333; /* ✅ 글자색: 진회색 */
  font-family: "Noto Sans KR", sans-serif;
  font-size: 17px;
  padding: 14px;
  text-align: center;
}

@media (max-width: 768px) {
  .worship-table th,
  .worship-table td {
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .worship-table td {
    white-space: normal; /* 줄바꿈 허용 */
  }

  /* 괄호를 앞에 두고 줄바꿈 */
  .worship-table td br {
    display: inline;
  }

  /* (유치부) 같은 걸 강제 줄바꿈 처리 */
  .worship-table td span.sub {
    display: block; /* 줄바꿈 */
    font-weight: normal; /* 필요 시 스타일 변경 */
  }
}

/* ------------------------------------------------------------------- 
 * responsive:
 * page styles
 * ------------------------------------------------------------------- */
@media screen and (max-width: 800px) {
  .page-header {
    padding-top: 20rem;
  }

  .page-header h1 {
    font-size: 5.5rem;
  }
}

@media screen and (max-width: 600px) {
  .page-header h1 {
    font-size: 4.8rem;
  }
}

@media screen and (max-width: 400px) {
  .page-header h1 {
    font-size: 4.2rem;
  }
}

/* ------------------------------------------------------------------- 
 * 모바일 br 최적화
 * ------------------------------------------------------------------- */

.mobile-hide {
  display: inline;
}

/* 모바일: br 숨기기 */
@media (max-width: 768px) {
  .mobile-hide {
    display: none;
  }
}

@media (max-width: 767px) {
  .card {
    will-change: auto !important;
  } /* 기존 will-change 덮기 */
  .track {
    scroll-snap-type: x proximity !important;
  } /* mandatory → proximity */
}

/* 2) 데스크톱(hover 가능 환경)에서만 will-change 유지 */
@media (hover: hover) {
  .card {
    will-change: transform;
  }
}

/* 3) 텍스트 레이어 안정화(사파리 플리커 방지) */
.caption,
.cap-title,
.cap-meta {
  position: relative;
  z-index: 1;
  -webkit-font-smoothing: antialiased;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/*# sourceMappingURL=main.css.map */
