/* ===== website4 Theme (default.css 이후 로드) ===== */
:root {
  --color-primary: #1a3a5c;
  --color-primary-dark: #0f2640;
  --color-accent: #e87722;
  --color-accent-light: #ffa860;
  --color-text: #2c2c2c;
  --color-text-light: #666;
  --color-bg: #ffffff;
  --color-bg-gray: #f7f6f3;
  --color-bg-dark: #1a3a5c;
  --color-cta-yellow: #ffd200;
  --font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  --font-sans: var(--font-family);
  --font-serif: var(--font-family);
  --font-logo: var(--font-family);
  --header-height: 64px;
  --transition: 0.3s ease;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --radius: 12px;
}

html {
  scroll-behavior: smooth;
}

body.website4-theme {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

body.website4-theme h1,
body.website4-theme h2,
body.website4-theme h3,
body.website4-theme h4,
body.website4-theme h5,
body.website4-theme h6,
body.website4-theme input,
body.website4-theme button,
body.website4-theme textarea,
body.website4-theme select {
  font-family: var(--font-sans);
}

body.website4-theme .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  border-color: var(--color-accent);
}

.btn--primary:hover {
  background: var(--color-accent-light);
  border-color: var(--color-accent-light);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

.btn--secondary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn--secondary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.link-arrow {
  color: var(--color-primary);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.link-arrow:hover {
  color: var(--color-accent);
}

/* ===== Header ===== */
.header {
  position: relative;
  z-index: 1000;
  height: var(--header-height);
  background: #fff;
  border-bottom: 1px solid #eee;
  overflow: visible;
}

.header__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 clamp(20px, 4vw, 64px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: visible;
}

.header__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(20px, 3vw, 48px);
  margin-left: auto;
  flex: 1;
  overflow: visible;
}

.nav {
  overflow: visible;
}

.nav__footer {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2.5vw, 40px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__item {
  position: relative;
}

.nav__item--has-sub::before {
  content: '';
  position: absolute;
  left: -6px;
  right: -6px;
  top: 100%;
  height: 18px;
}

.nav__item--has-sub > .nav__link::after {
  content: '▾';
  margin-left: 3px;
  font-size: 0.75em;
  opacity: 0.7;
  flex-shrink: 0;
}

.nav__sub {
  display: none;
  position: absolute;
  top: 100%;
  right: -6px;
  min-width: 168px;
  margin: 0;
  padding: 8px 0 0;
  list-style: none;
  z-index: 1100;
  background: transparent;
  border: none;
  box-shadow: none;
}

.nav__sub > li {
  background: #fff;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
}

.nav__sub > li:first-child {
  border-top: 1px solid #eee;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  overflow: hidden;
}

.nav__sub > li:last-child {
  border-bottom: 1px solid #eee;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.nav__sub > li + li {
  border-top: 1px solid #eee;
}

.nav__item--has-sub:hover .nav__sub,
.nav__item--has-sub:focus-within .nav__sub {
  display: block;
}

.nav__sublink {
  display: block;
  padding: 11px 20px;
  font-size: 0.9rem;
  color: #222;
  white-space: nowrap;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.nav__sublink:hover {
  background: var(--color-bg-gray);
  color: var(--color-primary);
}

.logo {
  font-family: var(--font-logo);
  font-size: 1.35rem;
  font-weight: 700;
  color: #111;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.logo--footer {
  font-family: var(--font-serif);
  text-transform: none;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  display: inline-block;
  margin-bottom: 12px;
}

.nav__link {
  color: #222;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav__accordion {
  width: auto;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 3px;
}

.nav__chevron {
  display: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-right: 4px;
}

.nav__link:hover {
  color: var(--color-primary);
}

.header__icons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header__icon {
  width: 36px;
  height: 36px;
  border: 1.5px solid #ccc;
  border-radius: 50%;
  background: transparent;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
  padding: 0;
  text-decoration: none;
}

.header__icon svg {
  width: 16px;
  height: 16px;
}

.header__icon:hover {
  border-color: #111;
  color: #111;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #111;
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: calc(100vh - var(--header-height));
  min-height: 520px;
  overflow: hidden;
  background: #0a1628;
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  background: #111;
}

.hero__video-poster {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #111 url('https://img.youtube.com/vi/hrax7X-BnXk/maxresdefault.jpg') center / cover no-repeat;
  opacity: 1;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.hero__video-wrap.is-ready .hero__video-poster {
  opacity: 0;
}

.hero__video-wrap.is-ready.is-paused .hero__video-poster {
  opacity: 1;
  transition: none;
}

.hero__video-wrap.is-paused .hero__video iframe,
.hero__video-wrap.is-paused .hero__video > div,
.hero__video-wrap.is-paused .hero__video #heroVideo {
  opacity: 0 !important;
  visibility: hidden !important;
}

.hero__video {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero__video-shield {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: auto;
}

.hero__video #heroVideo,
.hero__video iframe,
.hero__video video,
.hero__video > div {
  pointer-events: none !important;
}

.hero__video iframe,
.hero__video video,
.hero__video > div {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  min-width: 100%;
  height: 100vh;
  min-height: 56.25vw;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

.hero__video-wrap.is-shorts .hero__video iframe,
.hero__video-wrap.is-shorts .hero__video video,
.hero__video-wrap.is-shorts .hero__video > div {
  width: 100vw;
  min-width: 100%;
  height: 177.78vw;
  min-height: 100%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.35) 45%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(24px, 6vw, 80px);
  max-width: 900px;
  color: #fff;
  opacity: 1;
  visibility: visible;
}

.hero__line {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
}

.hero__title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.25;
  margin-top: 8px;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero__video-toggle {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 6;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.hero__video-toggle:hover {
  transform: scale(1.05);
  background: #fff;
}

.hero__video-toggle svg {
  width: 18px;
  height: 18px;
}

.hero__video-toggle .icon-play {
  display: none;
  margin-left: 2px;
}

.hero__video-toggle.is-paused .icon-pause {
  display: none;
}

.hero__video-toggle.is-paused .icon-play {
  display: block;
}

/* ===== Quick Links (All Souls CTA style) ===== */
.quick-links {
  background: var(--color-cta-yellow);
  padding: 88px 0;
  text-align: center;
}

.quick-links__inner {
  max-width: 900px;
  margin: 0 auto;
}

.quick-links__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #000;
  margin: 0 0 20px;
}

.quick-links__desc {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.65;
  color: #000;
  margin: 0 0 40px;
}

.quick-links__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.quick-links__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  padding: 14px 28px;
  border: 2px solid #000;
  background: transparent;
  color: #000;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.quick-links__btn:hover {
  background: #000;
  color: var(--color-cta-yellow);
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}

.section--gray {
  background: var(--color-bg-gray);
}

.section--dark {
  background: var(--color-bg-dark);
  color: #fff;
}

.section__header {
  text-align: center;
  margin-bottom: 60px;
}

.section__header--light .section__title,
.section__header--light .section__desc {
  color: #fff;
}

.section__label {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section__desc {
  font-size: 1.05rem;
  color: var(--color-text-light);
  max-width: 500px;
  margin: 0 auto;
}

.section__footer {
  text-align: center;
  margin-top: 48px;
}

/* ===== About feature (All Souls style) ===== */
.section--about-feature {
  padding: 100px 0;
  background: #fff;
}

.about-feature {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: stretch;
}

.about-feature__media {
  width: 100%;
  min-height: 0;
}

.about-feature__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.about-feature__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #000;
  margin: 0 0 16px;
}

.about-feature__meta {
  font-size: 1rem;
  line-height: 1.6;
  color: #000;
  margin: 0 0 8px;
}

.about-feature__location {
  margin: 0 0 24px;
  font-size: 1rem;
  line-height: 1.6;
}

.about-feature__location a {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-feature__location a:hover {
  color: var(--color-primary);
}

.about-feature__desc {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
  margin: 0 0 32px;
  max-width: 52ch;
}

#worship .about-feature {
  grid-template-columns: 1fr 1fr;
}

#worship .about-feature__desc {
  max-width: none;
}

.about-feature__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 2px solid #000;
  border-radius: 4px;
  background: transparent;
  color: #000;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.about-feature__btn:hover {
  background: #000;
  color: #fff;
}

.about-feature--reverse .about-feature__body {
  grid-column: 1;
  grid-row: 1;
}

.about-feature--reverse .about-feature__media {
  grid-column: 2;
  grid-row: 1;
}

.section--about-feature.section--gray {
  background: var(--color-bg-gray);
}

.story-feature__heading {
  margin-bottom: 40px;
}

.story-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 48px);
}

.story-feature__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.story-feature__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 24px;
  margin-bottom: 16px;
}

.story-feature__media .about-feature__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-feature__title {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #000;
  margin: 0 0 8px;
}

.story-feature__excerpt {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.story-feature__empty {
  margin: 0 0 32px;
  color: var(--color-text-light);
}

.story-feature__footer {
  margin-top: 40px;
}

.sermon-feature__heading {
  margin-bottom: 40px;
}

.sermon-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
}

.sermon-feature__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.sermon-feature__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 24px;
}

.sermon-feature__media .about-feature__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sermon-feature__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  padding-left: 4px;
  pointer-events: none;
}

.sermon-feature__link:hover .sermon-feature__play {
  background: var(--color-cta-yellow);
  border-color: var(--color-cta-yellow);
  color: #000;
}

.sermon-feature__empty {
  margin: 0 0 32px;
  color: var(--color-text-light);
}

.sermon-modal[hidden] {
  display: none !important;
}

.sermon-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.sermon-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.sermon-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  background: #111;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.sermon-modal__close {
  position: absolute;
  top: 8px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.sermon-modal__title {
  margin: 0;
  padding: 20px 56px 12px 20px;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.4;
}

.sermon-modal__frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.sermon-modal__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.sermon-feature__body {
  padding-top: 24px;
}

.sermon-feature__body .about-feature__meta {
  margin-bottom: 12px;
}

.sermon-feature__body .about-feature__title {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  margin-bottom: 0;
}

.sermon-feature__footer {
  margin-top: 48px;
  text-align: center;
}

/* ===== Ministry banner (All Souls Giving style) ===== */
.section--ministry-banner {
  background: #0a0c17;
  padding: 100px 0;
  color: #fff;
}

.ministry-banner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.ministry-banner__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 24px;
}

.ministry-banner__desc {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 auto 40px;
}

.ministry-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 2px solid #fff;
  border-radius: 4px;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.ministry-banner__btn:hover {
  background: #fff;
  color: #0a0c17;
}

/* ===== Shortcut tiles (homepage) ===== */
.section--shortcuts {
  padding: 80px 0;
}

.shortcut-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.shortcut-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  aspect-ratio: 1 / 1;
  padding: 24px;
  border: 2px solid #000;
  border-radius: 4px;
  background: #fff;
  text-decoration: none;
  color: #000;
  text-align: center;
  transition: background var(--transition), color var(--transition);
}

.shortcut-tile:hover {
  background: #000;
  color: #fff;
}

.shortcut-tile:hover .shortcut-tile__handle {
  color: rgba(255, 255, 255, 0.75);
}

.shortcut-tile__label {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.shortcut-tile__handle {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.4;
}

/* Legacy about styles (unused on homepage) */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image__placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--color-primary) 0%, #2a5a8a 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.1rem;
}

.about-content h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.about-content p {
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.about-list {
  margin: 28px 0 32px;
}

.about-list li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.about-list li strong {
  color: var(--color-primary);
  margin-right: 8px;
}

/* ===== Sermons ===== */
.sermon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.sermon-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.sermon-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.sermon-card__thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sermon-card__play {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  padding-left: 4px;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}

.sermon-card:hover .sermon-card__play {
  background: var(--color-cta-yellow);
  border-color: var(--color-cta-yellow);
  color: #000;
  transform: scale(1.1);
}

.sermon-card__body {
  padding: 24px;
}

.sermon-card__series {
  font-size: 0.8rem;
  color: var(--color-accent);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.sermon-card__title {
  font-size: 1.15rem;
  color: var(--color-primary);
  margin: 8px 0;
  line-height: 1.4;
}

.sermon-card__meta {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* ===== Worship ===== */
.worship-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.worship-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
}

.worship-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow);
}

.worship-card--featured {
  grid-row: span 2;
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.worship-card--featured:hover {
  border-color: var(--color-accent);
}

.worship-card--featured .worship-card__badge {
  background: var(--color-accent);
  color: var(--color-primary-dark);
}

.worship-card--featured .link-arrow {
  color: var(--color-accent);
}

.worship-card--featured p {
  color: rgba(255, 255, 255, 0.85);
}

.worship-card__badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--color-bg-gray);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.worship-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.worship-card__time {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.worship-card p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 16px;
  line-height: 1.6;
}

/* ===== Ministry ===== */
.ministry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ministry-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
}

.ministry-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
}

.ministry-card__icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.ministry-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.ministry-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* ===== Media ===== */
.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.media-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid #eee;
  transition: all var(--transition);
}

.media-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.media-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.media-card__icon svg {
  width: 28px;
  height: 28px;
}

.media-card--youtube .media-card__icon {
  background: #ff0000;
  color: #fff;
}

.media-card--instagram .media-card__icon {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
}

.media-card--podcast .media-card__icon {
  background: var(--color-primary);
  color: #fff;
}

.media-card--newsletter .media-card__icon {
  background: var(--color-accent);
  color: var(--color-primary-dark);
}

.media-card__body h3 {
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.media-card__body p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 6px;
}

.media-card__handle {
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 500;
}

/* ===== CTA ===== */
.cta {
  background: var(--color-cta-yellow);
  padding: 80px 0;
  text-align: center;
}

.cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #000;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.cta p {
  color: #000;
  margin-bottom: 0;
  font-size: 1.05rem;
  line-height: 1.65;
}

/* ===== Footer ===== */
.footer {
  background: #fff;
  color: var(--color-text-light);
  padding: 64px 0 0;
  border-top: 1px solid #eee;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid #eee;
}

.footer__brand p {
  font-size: 0.9rem;
  margin-top: 8px;
  line-height: 1.6;
  color: var(--color-text-light);
}

.footer__col h4 {
  color: var(--color-primary);
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.footer__col li {
  font-size: 0.9rem;
  padding: 4px 0;
  line-height: 1.6;
  color: var(--color-text-light);
}

.footer__col a {
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__col a:hover {
  color: var(--color-primary);
}

.footer__bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .about-feature {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 560px;
    margin: 0 auto;
  }

  #worship .about-feature {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .about-feature--reverse .about-feature__body,
  .about-feature--reverse .about-feature__media {
    grid-column: auto;
    grid-row: auto;
  }

  .about-feature--reverse .about-feature__media {
    order: -1;
  }

  .about-feature--reverse .about-feature__body {
    order: 1;
  }

  .about-feature__image {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .about-feature__desc {
    max-width: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .worship-grid {
    grid-template-columns: 1fr;
  }

  .worship-card--featured {
    grid-row: auto;
  }

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .header__right {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .header__icons {
    display: none;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    padding: 0;
    transform: translateX(100%);
    opacity: 1;
    visibility: hidden;
    transition: transform var(--transition), visibility var(--transition);
    box-shadow: none;
    border-bottom: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 999;
  }

  .nav.open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    justify-content: flex-start;
  }

  .nav__footer {
    display: block;
    padding: 16px 20px 28px;
    border-top: 1px solid #e8e8e8;
    background: #fafafa;
  }

  .nav__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
  }

  .nav__user {
    margin: 0 4px 0 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #666;
  }

  .nav__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 0;
    padding: 8px 14px;
    border: 2px solid #111;
    background: #fff;
    color: #111;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
  }

  .nav__action:hover,
  .nav__action:focus {
    background: #111;
    color: #fff;
    text-decoration: none;
  }

  .nav__item {
    border-bottom: 1px solid #e8e8e8;
  }

  .nav__item--has-sub::before {
    display: none;
  }

  .nav__item--has-sub:hover .nav__sub,
  .nav__item--has-sub:focus-within .nav__sub {
    display: none;
  }

  .nav__item--has-sub.nav__item--open .nav__sub {
    display: block;
  }

  .nav__item--has-sub > .nav__link::after {
    display: none;
  }

  .nav__chevron {
    display: inline-block;
  }

  .nav__link,
  .nav__accordion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 20px;
    border-bottom: none;
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    white-space: normal;
  }

  .nav__item--open > .nav__accordion,
  .nav__item--open > .nav__link {
    background: #111;
    color: #fff;
  }

  .nav__item--open .nav__chevron {
    transform: rotate(-135deg);
  }

  .nav__sub {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    background: #fff;
  }

  .nav__sub > li {
    border: none;
    background: #fff;
  }

  .nav__sub > li:first-child,
  .nav__sub > li:last-child {
    border-radius: 0;
    box-shadow: none;
    border: none;
  }

  .nav__sub > li + li {
    border-top: none;
  }

  .nav__sublink {
    display: block;
    padding: 16px 20px 16px 36px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    font-weight: 400;
    color: #222;
    background: #fff;
  }

  .nav__sublink:hover {
    background: #f7f7f7;
    color: #111;
  }

  .nav__sub > li:last-child .nav__sublink {
    border-bottom: none;
  }

  .quick-links {
    padding: 64px 0;
  }

  .quick-links__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .quick-links__btn {
    width: 100%;
    min-width: 0;
  }

  .story-feature-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 560px;
    margin: 0 auto;
  }

  .sermon-feature-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 560px;
    margin: 0 auto;
  }

  .shortcut-tiles {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .media-grid {
    grid-template-columns: 1fr;
  }

  .ministry-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    min-height: 460px;
  }

  .hero__content {
    padding: 0 24px;
  }

  .hero__video-toggle {
    right: 16px;
    bottom: 16px;
  }
}

/* ===== 그누보드 서브페이지 ===== */
body.website4-theme #hd_login_msg {
  display: none;
}

body.website4-theme.nav-open {
  overflow: hidden;
}

body.website4-theme.sermon-modal-open {
  overflow: hidden;
}

#website4_sub {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

#website4_sub #container {
  width: auto;
  float: none;
  margin: 0;
  padding: 0;
}

#website4_sub #container_title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--color-primary);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-accent);
}

#website4_sub #container_title span {
  display: block;
}

#website4_sub.website4_sub--no-title {
  padding-top: 56px;
}

/* ===== Page hero (All Souls style) ===== */
.page-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #1a1a1a;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: var(--hero-pos-x, 25%) var(--hero-pos-y, 65%);
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.45) 42%,
    rgba(0, 0, 0, 0.15) 100%
  );
}

.page-hero__shape {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(42vw, 320px);
  height: 100%;
  color: #e87722;
  pointer-events: none;
  z-index: 1;
}

.page-hero__shape svg {
  width: 100%;
  height: 100%;
  display: block;
}

.page-hero--orange .page-hero__shape {
  color: #e87722;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 48px 0 56px;
  color: #fff;
}

.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  max-width: 720px;
}

.page-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.5;
  margin: 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.92);
}

.page-intro {
  margin-bottom: 48px;
  max-width: 760px;
}

.page-intro__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-primary);
  margin: 0 0 16px;
  line-height: 1.3;
}

.page-intro__text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin: 0;
}

body.website4-theme .footer ul,
body.website4-theme .about-list,
body.website4-theme .nav__list,
body.website4-theme .footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.website4-theme .footer__col a {
  color: var(--color-text);
}

body.website4-theme .footer__col a:hover {
  color: var(--color-primary);
}

body.website4-theme .section h2,
body.website4-theme .section h3,
body.website4-theme .hero__title {
  margin-top: 0;
}

body.website4-theme .hero__content,
body.website4-theme .hero__line,
body.website4-theme .hero__title {
  color: #fff;
}

body.website4-theme .media-card,
body.website4-theme .logo {
  text-decoration: none;
}

/* ===== Page sections (reusable) ===== */
.page-sections {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.page-section {
  border-top: 1px solid #eee;
  padding: 32px 0;
}

.page-section:last-child {
  border-bottom: 1px solid #eee;
}

.page-section__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 20px;
}

.page-section__body p {
  margin: 0 0 12px;
  line-height: 1.75;
  color: var(--color-text);
}

.page-section__body p:last-child {
  margin-bottom: 0;
}

.page-section__highlight {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 12px !important;
}

.page-section__group {
  margin-bottom: 20px;
}

.page-section__group:last-of-type {
  margin-bottom: 16px;
}

.page-section__group h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--color-primary);
}

.page-section__list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.page-section__list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
  line-height: 1.6;
  color: var(--color-text);
}

.page-section__list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.page-section__meta {
  margin-top: 16px !important;
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.page-section__meta a {
  color: var(--color-primary);
  text-decoration: none;
}

.page-section__meta a:hover {
  text-decoration: underline;
}

.page-section__subtitle-en {
  font-family: var(--font-sans);
  font-size: 0.85em;
  font-weight: 500;
  color: var(--color-text-light);
}

.page-confession p {
  margin: 0 0 16px;
  line-height: 1.9;
  color: var(--color-text);
}

.page-confession__amen {
  margin-top: 24px !important;
  font-weight: 700;
  color: var(--color-primary);
}

.page-scripture {
  margin: 32px 0 0;
  padding: 24px 28px;
  background: var(--color-bg-gray);
  border-radius: var(--radius);
}

.page-scripture__label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 12px !important;
}

.page-scripture p {
  margin: 0 0 12px;
  line-height: 1.85;
  font-style: normal;
  color: var(--color-text);
}

.page-scripture cite {
  display: block;
  font-size: 0.95rem;
  font-style: normal;
  color: var(--color-text-light);
}

.page-section__list--plain li::before {
  content: none;
}

.page-section__list--plain li {
  padding-left: 0;
  margin-bottom: 12px;
  line-height: 1.75;
}

.page-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-timeline__item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px 24px;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}

.page-timeline__item:first-child {
  padding-top: 0;
}

.page-timeline__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.page-timeline__date {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.5;
}

.page-timeline__text {
  margin: 0;
  line-height: 1.75;
  color: var(--color-text);
}

.page-map {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #eee;
  background: var(--color-bg-gray);
}

.page-map__canvas {
  width: 100%;
  height: 100%;
  min-height: 320px;
}

.page-map__fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 320px;
  padding: 32px 24px;
  text-align: center;
  color: var(--color-text-light);
}

.page-map__fallback p {
  margin: 0;
  line-height: 1.6;
}

/* ===== Staff list (reusable) ===== */
.page-staff-list {
  display: flex;
  flex-direction: column;
}

.page-staff-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid #eee;
  align-items: start;
}

.page-staff-card:last-child {
  border-bottom: 1px solid #eee;
}

.page-staff-card__photo {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-gray);
  border: 1px solid #eee;
}

.page-staff-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.page-staff-card__role {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 0 6px;
  letter-spacing: 0.02em;
}

.page-staff-card__name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 16px;
  line-height: 1.3;
}

.page-staff-card__bio {
  margin: 0 0 14px;
  line-height: 1.8;
  color: var(--color-text);
}

.page-staff-card__meta {
  margin: 0 0 14px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-text-light);
}

.page-staff-card__meta strong {
  color: var(--color-primary);
  font-weight: 700;
}

.page-staff-card__quote {
  margin: 16px 0 0;
  padding: 16px 20px;
  background: var(--color-bg-gray);
  border-radius: var(--radius);
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--color-text);
  font-style: normal;
}

/* ===== Shortcut links page ===== */
.page-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-link-card {
  display: flex;
  align-items: stretch;
  gap: 24px;
  border: 1px solid #eee;
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.page-link-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.page-link-card__main {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  min-width: 0;
  padding: 24px;
  text-decoration: none;
  color: inherit;
}

.page-link-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.page-link-card__icon svg {
  width: 26px;
  height: 26px;
}

.page-link-card--youtube .page-link-card__icon {
  background: #ff0000;
}

.page-link-card--instagram .page-link-card__icon {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.page-link-card--instagram.page-link-card--blue .page-link-card__icon {
  background: linear-gradient(135deg, #4facfe 0%, #6a5acd 100%);
}

.page-link-card--instagram.page-link-card--orange .page-link-card__icon {
  background: linear-gradient(135deg, #f7971e 0%, #e85d4c 55%, #d63384 100%);
}

.page-link-card--website .page-link-card__icon {
  background: var(--color-primary);
}

.page-link-card__body {
  flex: 1;
  min-width: 0;
}

.page-link-card__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-primary);
  margin: 0 0 6px;
}

.page-link-card__desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--color-text-light);
  margin: 0 0 8px;
}

.page-link-card__handle {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-accent);
}

.page-link-card__arrow {
  flex-shrink: 0;
  font-size: 1.25rem;
  color: var(--color-text-light);
  margin-right: 8px;
}

.page-link-card__qr-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px 16px 0;
  flex-shrink: 0;
}

.page-link-card__qr {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 280px;
  }

  .page-hero__shape {
    width: min(55vw, 220px);
    opacity: 0.85;
  }

  .page-hero__content {
    padding: 36px 0 44px;
  }

  .page-intro {
    margin-bottom: 36px;
  }

  .page-section {
    padding: 24px 0;
  }

  .page-section__title {
    font-size: 1.2rem;
  }

  .page-timeline__item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .page-map {
    aspect-ratio: 4 / 3;
  }

  .page-staff-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 0;
  }

  .page-staff-card__photo {
    max-width: 240px;
  }

  .page-staff-card__name {
    font-size: 1.2rem;
  }

  .page-link-card {
    flex-direction: column;
  }

  .page-link-card__main {
    padding: 20px;
  }

  .page-link-card__arrow {
    display: none;
  }

  .page-link-card__qr-wrap {
    padding: 0 20px 20px;
    border-top: 1px solid #f0f0f0;
    margin-top: -4px;
    padding-top: 16px;
  }

  .page-link-card__qr {
    width: 140px;
    height: 140px;
  }
}

/* ===== 맨 위로 버튼 ===== */
.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid #000;
  background: #fff;
  color: #000;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover,
.scroll-top:focus {
  background: #000;
  color: #fff;
  outline: none;
}

@media (max-width: 768px) {
  .scroll-top {
    right: 16px;
    bottom: 20px;
    width: 44px;
    height: 44px;
  }
}
