/* ============================================
   성안교회 반응형 테마 - style.css
   Mobile-first responsive design
   ============================================ */

@font-face {
    font-family: 'JSArirang';
    src: url('fonts/JSArirang.woff') format('woff');
    font-display: swap;
}

:root {
    --color-primary: #111;
    --color-primary-dark: #2563EB;
    --color-primary-light: #60A5FA;
    --color-bg: #FFFFFF;
    --color-bg-alt: #F8FAFC;
    --color-bg-dark: #1E293B;
    --color-text: #1E293B;
    --color-text-light: #64748B;
    --color-text-inverse: #FFFFFF;
    --color-border: #E2E8F0;
    --color-accent: #3B82F6;

    --font-family: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    --font-size-base: 16px;

    --container-max: 1600px;
    --container-padding: 20px;
    --section-padding: 80px;
    --section-padding-mobile: 50px;

    --header-height: 70px;
    --header-height-mobile: 56px;

    --transition: 0.3s ease;
    --shadow: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 8px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: var(--font-size-base); scroll-behavior: smooth; }
body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    -webkit-text-size-adjust: 100%;
    word-break: keep-all;
}
a { color: var(--color-text); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.3; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
hr { display: none; }
#sungan_balloon span {
    display: block;
}
.sg-sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.sound_only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---- Layout ---- */
.sg-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.sg-section {
    padding: var(--section-padding-mobile) 0;
}
.sg-section--dark {
    background: var(--color-bg-dark);
    color: var(--color-text-inverse);
}
.sg-section--alt {
    background: var(--color-bg-alt);
}
.sg-section__title {
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}
.sg-section__title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--color-primary);
    margin: 12px auto 0;
    border-radius: 2px;
}
.sg-section--dark .sg-section__title::after {
    background: var(--color-bg);
}

#wrapper {
    min-width: 0;
    width: 100%;
}
#container {
    min-width: 0;
    width: 100%;
    float: none;
}
#hd_login_msg { display: none; }
#skip_to_container a {
    position: absolute; left: -9999px; top: 0; z-index: 9999;
    padding: 10px 20px; background: var(--color-primary); color: #fff;
}
#skip_to_container a:focus { left: 0; }

/* ---- Grid ---- */
.sg-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}

/* ---- Header ---- */
.sg-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.98);
    height: var(--header-height-mobile);
    transition: all var(--transition);
    border-bottom: 1px solid transparent;
}
.sg-header--sticky {
    box-shadow: var(--shadow);
    border-bottom-color: var(--color-border);
}
.sg-header__inner {
    padding-left: 16px;
    padding-right: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.sg-header__logo a {
    padding-bottom: 6px;
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-text);
}

.sg-header__logo a img {
    height: 40px;
}
.sg-logo-text {
    color: var(--color-primary);
    font-size: 1.35rem;
    letter-spacing: -0.5px;
}
.sg-header__actions {
    display: none;
    align-items: center;
    gap: 8px;
}
.sg-header__btn {
    font-size: 0.85rem;
    color: var(--color-text-light);
    padding: 6px 12px;
    border-radius: var(--radius);
    transition: all var(--transition);
}
.sg-header__btn:hover {
    color: var(--color-primary);
    background: var(--color-bg-alt);
}
.sg-header__btn--admin {
    color: var(--color-primary);
    font-weight: 500;
}

/* Navigation - hidden on mobile */
.sg-nav { display: none; }
.sg-nav__list {
    display: flex;
    align-items: center;
    gap: 4px;
}
.sg-nav__link {
    display: block;
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    border-radius: var(--radius);
    transition: all var(--transition);
}
.sg-nav__link:hover {
    color: var(--color-primary);
}
.sg-nav__item { position: relative; }
.sg-nav__sub {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    z-index: 100;
}
.sg-nav__item:hover > .sg-nav__sub {
    display: block;
}
.sg-nav__sub li a {
    display: block;
    padding: 8px 20px;
    font-size: 0.9rem;
    color: var(--color-text);
    transition: all var(--transition);
}
.sg-nav__sub li a:hover {
    color: var(--color-primary);
    background: var(--color-bg-alt);
}

/* Hamburger */
/* Hamburger — z-index 메뉴 위로 */
.sg-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2100;
    position: relative;
}
.sg-hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--color-text);
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.2s ease, background 0.2s;
    transform-origin: center;
}
.sg-hamburger span:nth-child(1) { margin-bottom: 6px; }
.sg-hamburger span:nth-child(3) { margin-top: 6px; }
.sg-hamburger.is-active span {
    background: #fff;
}
.sg-hamburger.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.sg-hamburger.is-active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.sg-hamburger.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

body.page-home #hd:not(.sg-header--sticky) .sg-hamburger span {
    background: #fff;
}

/* 로고 기본: 일반 로고 표시, 흰 로고 숨김 */
#hd_logo   { display: block; }
#hd_logo_w { display: none; }

/* 홈 + 스크롤 전 (투명 헤더): 흰 로고 */
body.page-home #hd:not(.sg-header--sticky) #hd_logo   { display: none; }
body.page-home #hd:not(.sg-header--sticky) #hd_logo_w { display: block; }

/* Mobile Menu — Dark Theme */
.sg-mobile-menu {
    position: fixed;
    top: 0; right: 0;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    height: 100dvh;
    background: #1a1a1a;
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: -10px 0 40px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
}
.sg-mobile-menu.is-open {
    transform: translateX(0);
}
.sg-mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}
.sg-mobile-menu__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.3px;
}
.sg-mobile-menu__close {
    background: rgba(255,255,255,0.08);
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 6px 10px;
    color: rgba(255,255,255,0.5);
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}
.sg-mobile-menu__close:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}
.sg-mobile-menu__nav {
    position: relative;
    padding-top: 60px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.menu_logo_bg {
    position: absolute;
    bottom: 24px;
    right: 20px;
    width: 100px;
    opacity: 0.06;
    pointer-events: none;
    user-select: none;
}
.sg-mobile-menu__nav > ul {
    padding: 8px 0;
}
.sg-mobile-menu__item {
    position: relative;
}
.sg-mobile-menu__item + .sg-mobile-menu__item {
    border-top: 1px solid rgba(255,255,255,0.06);
}
.sg-mobile-menu__item > a {
    position: relative;
    display: block;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    letter-spacing: -0.2px;
    transition: background 0.15s, color 0.15s;
}
.sg-mobile-menu__item > a:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}
.sg-mobile-menu__item--has-sub > a {
    padding-right: 56px;
}
.sg-mobile-menu__toggle {
    position: absolute;
    top: 0; right: 0;
    width: 56px;
    height: 52px;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255,255,255,0.35);
    font-size: 0.8rem;
    transition: transform 0.3s ease, color 0.2s;
}
.sg-mobile-menu__toggle:hover {
    color: rgba(255,255,255,0.7);
}
.sg-mobile-menu__toggle.is-open {
    transform: rotate(180deg);
    color: #fff;
}
/* 대분류 링크 토글 (링크가 #인 경우) */
.sg-mobile-menu__link-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.sg-mobile-menu__link-toggle:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}
.sg-mobile-menu__arrow {
    position: absolute;
    top: 0;
    right: 0;
    width: 56px;
    height: 59px;
}
.sg-mobile-menu__arrow::before,
.sg-mobile-menu__arrow::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    width: 10px;
    height: 1px;
    background-color: #fff;
    transition-duration: 0.3s;
}
.sg-mobile-menu__arrow::before {
    transform: rotate(45deg);
    left: calc(50% - 7px);
}
.sg-mobile-menu__arrow::after {
    transform: rotate(-45deg);
    left: 50%;
}
.sg-mobile-menu__arrow.is-open::before {
    transform: rotate(-45deg);
}
.sg-mobile-menu__arrow.is-open::after {
    transform: rotate(45deg);
}
.sg-mobile-menu__sub {
    display: none;
    background: rgba(0,0,0,0.25);
    border-top: 1px solid rgba(255,255,255,0.04);
    padding: 4px 0;
}
.sg-mobile-menu__sub li a {
    display: block;
    padding: 12px 24px 12px 40px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    position: relative;
    transition: color 0.15s, padding-left 0.2s;
}
.sg-mobile-menu__sub li a::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    transition: opacity 0.2s, background 0.2s;
}
.sg-mobile-menu__sub li a:hover {
    color: #fff;
    padding-left: 44px;
}
.sg-mobile-menu__sub li a:hover::before {
    background: #fff;
}
.sg-mobile-menu__auth {
    padding: 20px 24px;
    display: flex;
    gap: 10px;
    border-top: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}
.sg-mobile-menu__auth a {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    transition: all 0.2s;
}
.sg-mobile-menu__auth a:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}
.sg-mobile-menu__auth a:first-child {
    background: #fff;
    color: #1a1a1a;
}
.sg-mobile-menu__auth a:first-child:hover {
    background: rgba(255,255,255,0.9);
}

/* Overlay */
.sg-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(3px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.sg-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* Body padding for fixed header */
body { padding-top: var(--header-height-mobile); }

/* ---- Hero ---- */
.sg-hero {
    position: relative;
    width: 100%;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #1E293B 0%, #334155 50%, #1E293B 100%);
    color: #fff;
    overflow: hidden;
}
.sg-hero__bg::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 10;
}
.sg-hero__bg video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
}
.sg-slogan {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    letter-spacing: -0.03em;
    z-index: 11;
}
.sg-slogan h3 {
    color: #fff;
    font-size: 100px;
    font-family: 'JSArirang';
    font-weight: 100;
}
.sg-slogan p {
    color: #fff;
    line-height: 1.4;
    font-size: 30px;
    font-weight: 400;
    white-space: nowrap;
}
.sg-hero__content {
    position: relative;
    z-index: 1;
    padding: 40px var(--container-padding);
}
.sg-hero__title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -1px;
}
.sg-hero__subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 24px;
    line-height: 1.6;
}
.sg-hero__badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(59, 130, 246, 0.9);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ---- Full-width Video ---- */
.sg-video-section {
    padding-bottom: var(--section-padding-mobile);
}
.sg-video-full {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    aspect-ratio: 16 / 9;
}
.sg-video-full__link {
    position: absolute;
    inset: 0;
    margin: 0 var(--container-padding);
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.sg-video-full__link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.sg-video-full__link:hover img { transform: scale(1.02); }
.sg-video-full__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.25);
    transition: background 0.2s;
}
.sg-video-full__link:hover .sg-video-full__play { background: rgba(0,0,0,0.4); }
.sg-video-full__play i {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.95);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    padding-left: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: transform 0.2s;
}
.sg-video-full__link:hover .sg-video-full__play i { transform: scale(1.1); }
.sg-video-full__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 20px 0 4px;
    color: var(--color-text);
}
.sg-video-full__date {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin: 0;
}

@media (min-width: 1024px) {
    .sg-video-full__title { font-size: 1.25rem; }
}

/* ---- 메뉴 준비중 토스트 ---- */
#sg-prep-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.88);
    background: rgba(30, 30, 30, 0.88);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: .95rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 10px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    z-index: 99999;
    transition: opacity .18s ease, transform .18s ease;
}
#sg-prep-toast.is-show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ---- YouTube Card Grid / Swiper ---- */
/* PC: Swiper 비활성 → 4열 그리드 */
@media (min-width: 769px) {
    .sg-yt-swiper { overflow: visible !important; }
    .sg-yt-swiper .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
        transform: none !important;
    }
    .sg-yt-swiper .swiper-slide { width: auto !important; }
}

/* 모바일: Swiper freeMode */
@media (max-width: 768px) {
    .sg-yt-grid {
        margin: 0 -16px;
        padding: 0 16px;
        overflow: hidden;
    }
    .sg-yt-swiper .swiper-wrapper { align-items: stretch; }
    .sg-yt-swiper .swiper-slide { height: auto; }
    .sg-yt-swiper .sg-yt-card { height: 100%; }
}

/* ---- YouTube Card ---- */
.sg-yt-card {
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.2s;
}
.sg-yt-card:hover { transform: translateY(-4px); }
.sg-yt-card__thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.sg-yt-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.sg-yt-card:hover .sg-yt-card__thumb img { transform: scale(1.04); }
.sg-yt-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    color: #fff;
    font-size: 1.8rem;
    opacity: 0;
    transition: opacity 0.2s;
}
.sg-yt-card:hover .sg-yt-card__play { opacity: 1; }
.sg-yt-card__info { padding: 14px 16px; }
.sg-yt-card__label {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}
.sg-yt-card__title {
    font-size: 0.92rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sg-yt-card__date {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

/* ---- Worship Times ---- */
.sg-worship {
    text-align: center;
}
/* ---- 교회안내 바로가기 (메인) ---- */
/* 모바일: 2x2 그리드, PC: 4컬럼 그리드 */
.sg-church-nav__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.sg-church-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 28px 16px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    color: var(--color-text);
    text-decoration: none;
    transition: box-shadow .2s, transform .2s, border-color .2s;
    border: 1px solid #eef0f4;
    text-align: center;
}
.sg-church-nav__item:hover {
    box-shadow: 0 10px 28px rgba(26,60,110,.15);
    transform: translateY(-3px);
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.sg-church-nav__icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    transition: transform .2s, background .2s;
}
.sg-church-nav__icon svg {
    width: 1.2em;
    height: 1.2em;
}
.sg-church-nav__item:hover .sg-church-nav__icon {
    transform: scale(1.08);
}
.sg-church-nav__label {
    font-size: 1rem;
    font-weight: 700;
    color: inherit;
    line-height: 1.3;
}
/* 그리드 카드형에서는 화살표 숨김 (hover transform이 affordance 역할) */
.sg-church-nav__arrow { display: none; }

/* PC: 4컬럼 가로 배치 + 카드 크기 키움 */
@media (min-width: 769px) {
    .sg-church-nav__list {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
    .sg-church-nav__item {
        padding: 44px 20px;
        border-radius: 20px;
        gap: 18px;
    }
    .sg-church-nav__icon {
        width: 80px;
        height: 80px;
        font-size: 1.9rem;
    }
    .sg-church-nav__label {
        font-size: 1.1rem;
    }
}

/* 부서안내 메인 카드 그리드 */
/* 부서안내 — 공통 카드 스타일 */
.sg-dept-grid {
    padding-top: 44px;
}
.sg-dept-card {
    --dc: #1a3c6e;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 52px 16px 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    text-decoration: none;
    color: inherit;
    transition: transform .25s ease, box-shadow .25s ease;
    border-bottom: 3px solid var(--dc);
}
.sg-dept-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,.13);
    color: inherit;
}
.sg-dept-card__icon {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--dc);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 6px 18px color-mix(in srgb, var(--dc) 45%, transparent);
}
.sg-dept-card__name {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.35;
    margin-bottom: 6px;
    display: block;
}
.sg-dept-card__target {
    font-size: .8rem;
    color: #888;
    display: block;
    margin-bottom: 12px;
}
.sg-dept-card__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--dc) 12%, transparent);
    color: var(--dc);
    font-size: .75rem;
    transition: background .2s;
}
.sg-dept-card:hover .sg-dept-card__arrow {
    background: var(--dc);
    color: #fff;
}

/* PC: Swiper 비활성 → grid */
@media (min-width: 769px) {
    .sg-dept-swiper { overflow: visible !important; }
    .sg-dept-swiper .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 24px;
        transform: none !important;
    }
    .sg-dept-swiper .swiper-slide {
        width: auto !important;
    }
}

/* 모바일: Swiper freeMode */
@media (max-width: 768px) {
    .sg-dept-grid {
        padding-top: 0;
        margin: 0 -16px;
        padding-left: 16px;
        padding-right: 16px;
        overflow: hidden;
    }
    .sg-dept-swiper .swiper-wrapper {
        align-items: stretch;
    }
    .sg-dept-swiper .swiper-slide {
        height: auto;
    }
    .sg-dept-card {
        padding-top: 20px;
        height: 100%;
        box-sizing: border-box;
    }
    .sg-dept-card__icon {
        position: static;
        transform: none;
        margin-bottom: 10px;
    }
    .sg-hero {
        min-height: 70vh;
    }
    .sg-slogan h3 {
        font-size: 70px;
    }
    .sg-slogan p {
        font-size: 18px;
    }
}

.sg-worship__card {
    padding: 30px 20px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}
.sg-worship__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.sg-worship__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: var(--color-bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--color-primary);
}
.sg-worship__name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.sg-worship__time {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ---- Worship Grid (Main Page) ---- */
.sg-worship-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    text-align: left;
}
@media (max-width: 768px) {
    .sg-worship-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
.sg-worship-block {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}
.sg-worship-block:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.sg-worship-block__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px 16px;
    border-bottom: 2px solid var(--color-primary);
}
.sg-worship-block__icon {
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
}
.sg-worship-block__title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
}
.sg-worship-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}
.sg-worship-list__item {
    display: flex;
    align-items: center;
    padding: 10px 24px;
    font-size: 0.92rem;
    transition: background var(--transition);
}
.sg-worship-list__item:hover {
    background: var(--color-bg-alt);
}
.sg-worship-list__name {
    font-weight: 600;
    color: var(--color-text);
    min-width: 140px;
    flex-shrink: 0;
}
.sg-worship-list__dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-primary-light);
    margin: 0 12px;
    flex-shrink: 0;
}
.sg-worship-list__time {
    color: var(--color-primary-dark);
    font-weight: 500;
    white-space: nowrap;
}
.sg-worship-list__place {
    margin-left: auto;
    color: var(--color-text-light);
    font-size: 0.85rem;
    white-space: nowrap;
    padding-left: 12px;
}
@media (max-width: 600px) {
    .sg-worship-list__item {
        flex-wrap: wrap;
        padding: 12px 20px;
        gap: 2px;
    }
    .sg-worship-list__name {
        min-width: auto;
        width: 100%;
        font-size: 0.95rem;
    }
    .sg-worship-list__dot {
        display: none;
    }
    .sg-worship-list__time {
        font-size: 0.85rem;
    }
    .sg-worship-list__place {
        margin-left: 0;
        padding-left: 0;
    }
    .sg-worship-list__place::before {
        content: '| ';
        color: var(--color-border);
    }
    .sg-worship-block__header {
        padding: 16px 20px 12px;
    }
}

/* ---- Ministry View ---- */
.mn-view {
    --dept-color: #1a3c6e;
    --dept-light: #EEF2FF;
    max-width: 860px;
    margin: 0 auto;
    padding-bottom: 0;
}

/* 히어로 */
.mn-hero {
    position: relative;
    background: var(--dept-color);
    text-align: center;
    padding: 56px var(--container-padding) 80px;
    margin-bottom: 0;
    overflow: hidden;
}
.mn-hero__bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 30%, rgba(255,255,255,.12) 0%, transparent 60%);
    pointer-events: none;
}
.mn-hero__inner {
    position: relative;
    z-index: 1;
}
.mn-hero__icon {
    display: inline-flex;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    border: 3px solid rgba(255,255,255,.4);
    color: #fff;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 18px;
    backdrop-filter: blur(4px);
}
.mn-hero__title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
    letter-spacing: -.5px;
}
.mn-hero__subtitle {
    color: rgba(255,255,255,.8);
    font-size: 1rem;
    margin: 0;
}
.mn-hero__wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 50px;
    line-height: 0;
}
.mn-hero__wave svg {
    width: 100%;
    height: 100%;
}

/* 정보 카드 그리드 */
.mn-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    padding: 32px var(--container-padding) 28px;
}
.mn-info-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 22px 16px;
    background: var(--dept-light);
    border-radius: 12px;
    border-top: 3px solid var(--dept-color);
}
.mn-info-card__icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--dept-color);
    color: #fff;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 10px;
}
.mn-info-card__label {
    font-size: .78rem;
    font-weight: 700;
    color: var(--dept-color);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 6px;
}
.mn-info-card__value {
    font-size: .95rem;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
}

/* 이미지 */
.mn-view__gallery {
    padding: 0 var(--container-padding);
    margin-bottom: 40px;
}
.mn-view__images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.mn-gallery-swiper-wrap { display: none; }
.mn-view__image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
    aspect-ratio: 16 / 9;
}
.mn-view__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 768px) {
    .mn-gallery-grid { display: none; }
    .mn-gallery-swiper-wrap { display: block; }
    .mn-gallery-swiper { overflow: hidden; padding-bottom: 36px; }
    .mn-gallery-pagination { bottom: 0 !important; }
    .mn-gallery-pagination .swiper-pagination-bullet-active { background: var(--dept-color, #1a3c6e); }
}

/* 본문 */
.mn-view__content {
    padding: 0 var(--container-padding);
    line-height: 1.9;
    color: #444;
    margin-bottom: 32px;
}

/* 부서 콘텐츠 섹션 */
.mn-section { margin-bottom: 48px; }
.mn-section__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--dept-color, #1a3c6e);
}
.mn-section__icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--dept-color, #1a3c6e);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.mn-section__title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
}
.mn-section__sub {
    font-size: .8rem;
    color: #999;
    font-weight: 600;
    letter-spacing: .05em;
}
.mn-info-box {
    background: #f8f9fb;
    border-radius: 14px;
    padding: 28px;
    border: 1px solid #e8eaee;
    margin-bottom: 20px;
}
.mn-info-box p {
    margin: 0 0 8px;
    font-size: .95rem;
    color: #444;
    word-break: keep-all;
}
.mn-info-box p:last-child { margin-bottom: 0; }
.mn-info-box strong { color: var(--dept-color, #1a3c6e); }
.mn-vision-box {
    background: linear-gradient(135deg, var(--dept-color, #1a3c6e) 0%, color-mix(in srgb, var(--dept-color, #1a3c6e) 70%, #000) 100%);
    border-radius: 14px;
    padding: 32px;
    color: #fff;
    margin-bottom: 20px;
}
.mn-vision-box p { margin: 0; line-height: 1.85; word-break: keep-all; font-size: .95rem; }
.mn-activity-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.mn-activity-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    border: 1px solid #e8eaee;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
    transition: transform .2s, box-shadow .2s;
}
.mn-activity-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.mn-activity-card__icon {
    font-size: 1.6rem;
    margin-bottom: 10px;
    display: block;
}
.mn-activity-card__title {
    font-size: 1rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 8px;
}
.mn-activity-card__desc {
    font-size: .87rem;
    color: #666;
    line-height: 1.65;
    margin: 0;
    word-break: keep-all;
}
.mn-sub-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.mn-sub-card {
    background: #f8f9fb;
    border-radius: 14px;
    padding: 24px;
    border: 1px solid #e8eaee;
}
.mn-sub-card__title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--dept-color, #1a3c6e);
    margin: 0 0 12px;
}
.mn-sub-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mn-sub-card__list li {
    font-size: .9rem;
    color: #555;
    padding: 4px 0;
    line-height: 1.6;
}
.mn-sub-card__list li strong { color: #333; }
.mn-schedule-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mn-schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fb;
    border-radius: 10px;
    padding: 14px 20px;
    border-left: 4px solid var(--dept-color, #1a3c6e);
}
.mn-schedule-item__label {
    font-weight: 700;
    color: #333;
    font-size: .95rem;
}
.mn-schedule-item__value {
    color: var(--dept-color, #1a3c6e);
    font-weight: 600;
    font-size: .9rem;
}
.mn-program-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mn-program-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    border-radius: 12px;
    padding: 18px 20px;
    border: 1px solid #e8eaee;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.mn-program-item__num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dept-color, #1a3c6e);
    color: #fff;
    font-size: .8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mn-program-item__body strong {
    display: block;
    font-size: .97rem;
    color: #1a1a1a;
    margin-bottom: 4px;
}
.mn-program-item__body p {
    margin: 0;
    font-size: .87rem;
    color: #666;
    line-height: 1.65;
    word-break: keep-all;
}
@media (max-width: 768px) {
    .mn-schedule-item { flex-direction: column; align-items: flex-start; gap: 4px; }
}
.mn-verse {
    text-align: center;
    padding: 36px 28px;
    background: var(--dept-light, #f8f9fb);
    border-radius: 16px;
    margin-bottom: 40px;
    border-left: 4px solid var(--dept-color, #1a3c6e);
}
.mn-verse__text {
    font-size: 1.08rem;
    font-weight: 600;
    color: #333;
    line-height: 1.8;
    margin: 0 0 10px;
    word-break: keep-all;
    font-style: italic;
}
.mn-verse__ref {
    font-size: .85rem;
    color: var(--dept-color, #1a3c6e);
    font-weight: 700;
    margin: 0;
}
.mn-intro-text {
    font-size: .96rem;
    line-height: 1.9;
    color: #555;
    word-break: keep-all;
    margin: 0 0 40px;
    padding: 0 4px;
}
@media (max-width: 768px) {
    .mn-activity-cards { grid-template-columns: 1fr; }
    .mn-sub-cards { grid-template-columns: 1fr; }
    .mn-section__head { gap: 10px; }
    .mn-info-box { padding: 20px; }
    .mn-vision-box { padding: 24px; }
    .mn-verse { padding: 28px 20px; }
}

/* 링크 */
.mn-view__links {
    text-align: center;
    padding: 0 var(--container-padding);
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.mn-view__cafe-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    background: #03C75A;
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
    font-size: .95rem;
    transition: background var(--transition), transform var(--transition);
    box-shadow: 0 4px 14px rgba(3,199,90,.3);
}
.mn-view__cafe-btn:hover {
    background: #02b351;
    color: #fff;
    transform: translateY(-2px);
}
.mn-view__ig-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
    font-size: .95rem;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 14px rgba(220,39,67,.3);
}
.mn-view__ig-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(220,39,67,.4);
}
.mn-view__yt-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    background: #FF0000;
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
    font-size: .95rem;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 14px rgba(255,0,0,.25);
}
.mn-view__yt-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,0,0,.35);
}
.mn-view__band-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    background: #06CF5E;
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
    font-size: .95rem;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 14px rgba(6,207,94,.25);
}
.mn-view__band-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6,207,94,.35);
}
.mn-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
    margin-top: 20px;
}
.mn-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform var(--transition);
}
.mn-gallery img:hover {
    transform: scale(1.03);
}

/* ---- SAM TV Page ---- */
.samtv-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}
.samtv-hero {
    text-align: center;
    padding: 40px 0 32px;
}
.samtv-hero__title {
    margin: 0 0 8px;
}
.samtv-hero__title img {
    max-width: 240px;
    height: auto;
}
@media (max-width: 600px) {
    .samtv-hero__title img {
        max-width: 180px;
    }
}
.samtv-hero__sub {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin: 0 0 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.samtv-hero__desc {
    font-size: 1.05rem;
    color: var(--color-text);
    margin: 0 0 16px;
    line-height: 1.7;
}
.samtv-sns {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}
.samtv-sns__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 24px;
    border-radius: 10px;
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition);
    min-width: 160px;
}
.samtv-sns__link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.samtv-sns__link i,
.samtv-sns__icon-tt {
    font-size: 1.6rem;
    margin-bottom: 2px;
}
.samtv-sns__icon-tt {
    width: 26px;
    height: 26px;
}
.samtv-sns__link span {
    font-size: 0.9rem;
    font-weight: 600;
}
.samtv-sns__link small {
    font-size: 0.8rem;
    opacity: 0.7;
}
.samtv-sns--yt {
    background: #ff0000;
    color: #fff;
}
.samtv-sns--yt:hover { color: #fff; }
.samtv-sns--ig {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
}
.samtv-sns--ig:hover { color: #fff; }
.samtv-sns--tt {
    background: #010101;
    color: #fff;
}
.samtv-sns--tt:hover { color: #fff; }
@media (max-width: 480px) {
    .samtv-sns {
        flex-direction: column;
        align-items: center;
    }
    .samtv-sns__link {
        width: 100%;
        max-width: 260px;
    }
}
.samtv-hero__contact {
    display: inline-block;
    background: var(--color-bg-alt);
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--color-text-light);
}
.samtv-hero__contact i {
    color: var(--color-primary);
    margin-right: 4px;
}
.samtv-hero__contact a {
    color: var(--color-primary);
    font-weight: 600;
}
.samtv-latest {
    margin-bottom: 32px;
}
.samtv-latest__label {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 12px;
}
.samtv-latest__player {
    display: block;
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 12px;
    background: #000;
}
.samtv-latest__player img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .2s;
}
.samtv-latest__player:hover img {
    opacity: .85;
}
.samtv-latest__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.samtv-latest__play .fa {
    font-size: 4rem;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.samtv-latest__title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 4px;
}
.samtv-latest__date {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin: 0;
}
.samtv-more {
    margin-bottom: 32px;
}
.samtv-more__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.samtv-more__card {
    text-decoration: none;
    color: var(--color-text);
    transition: transform var(--transition);
}
.samtv-more__card:hover {
    transform: translateY(-3px);
    color: var(--color-text);
}
.samtv-more__thumb {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
}
.samtv-more__thumb img {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.samtv-more__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    opacity: 0;
    transition: opacity var(--transition);
}
.samtv-more__card:hover .samtv-more__play {
    opacity: 1;
}
.samtv-more__title {
    font-size: 0.88rem;
    font-weight: 600;
    margin: 0 0 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}
.samtv-more__date {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin: 0;
}
@media (max-width: 480px) {
    .samtv-more__grid {
        grid-template-columns: 1fr;
    }
}
.samtv-cta {
    text-align: center;
    padding-bottom: 40px;
}
.samtv-cta__btn {
    display: inline-block;
    padding: 14px 32px;
    background: #FF0000;
    color: #fff;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    transition: background var(--transition), transform var(--transition);
}
.samtv-cta__btn:hover {
    background: #cc0000;
    color: #fff;
    transform: translateY(-2px);
}
.samtv-cta__btn i {
    margin-right: 6px;
    font-size: 1.2rem;
}

/* ---- Latest Posts Cards ---- */
.sg-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}
.sg-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.sg-card__thumb {
    width: 100%;
    height: 200px;
    background: var(--color-bg-alt);
    overflow: hidden;
}
.sg-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sg-card__body {
    padding: 20px;
}
.sg-card__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sg-card__title a { color: var(--color-text); }
.sg-card__title a:hover { color: var(--color-primary); }
.sg-card__date {
    font-size: 0.8rem;
    color: var(--color-text-light);
}
.sg-card__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 500;
}

/* Section more link */
.sg-section__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 30px;
    padding: 10px 24px;
    border: 2px solid var(--color-primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-primary);
    transition: all var(--transition);
}
.sg-section__more:hover {
    background: var(--color-primary);
    color: #fff;
}
.sg-section--dark .sg-section__more {
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}
.sg-section--dark .sg-section__more:hover {
    background: #fff;
    color: var(--color-primary);
}

/* ---- Location ---- */
.sg-location__wrap {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr;
}
.sg-location__map--full {
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
}
#kakaoMap {
    width: 100%;
    height: 400px;
}
.sg-location__info--row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
}
.sg-location__info--row span {
    font-size: 0.92rem;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}
.sg-location__info--row i {
    color: var(--color-primary);
    width: 16px;
    text-align: center;
}

/* ---- Footer ---- */
.sg-footer {
    background: var(--color-bg-dark);
    color: rgba(255,255,255,0.7);
}
.sg-footer__main {
    padding: 40px var(--container-padding);
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr;
}
.sg-footer__logo {
    height: 40px;
    margin-bottom: 16px;
}
.sg-footer__logo img {
    height: 100%;
    display: block;
}
.sg-footer__info address p {
    margin: 0 0 6px;
    font-size: 0.9rem;
}
.sg-footer__links {
    display: flex;
    gap: 16px;
}
.sg-footer__links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    transition: color var(--transition);
}
.sg-footer__links a:hover {
    color: #fff;
}
.sg-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
}
.sg-footer__bottom p {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* Back to top */
.sg-back-to-top {
    position: fixed;
    right: 20px;
    bottom: 78px;
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    cursor: pointer;
    font-size: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .3s, visibility .3s, transform .3s, background .2s;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sg-back-to-top::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2.5px solid #fff;
    border-right: 2.5px solid #fff;
    transform: rotate(-45deg);
    margin-top: 3px;
}
.sg-back-to-top i { display: none; }
.sg-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.sg-back-to-top:hover {
    background: rgba(0,0,0,0.7);
    transform: translateY(-3px);
}
.sg-back-to-top:active {
    transform: translateY(0) scale(0.95);
}
.kakao_plus_btn {
    position: fixed;
    bottom: 24px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 500;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
    background: #FEE500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s, box-shadow .2s;
}
.kakao_plus_btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.kakao_plus_btn:active {
    transform: translateY(0) scale(0.95);
}
.kakao_plus_btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.copyright {
    text-transform: uppercase;
}

/* Page title for subpages */
/* Breadcrumb */
.sg-breadcrumb {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 14px 20px;
}
.sg-breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.8rem;
    color: var(--color-text-light);
}
.sg-breadcrumb li {
    display: flex;
    align-items: center;
}
.sg-breadcrumb li + li::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-top: 1.5px solid var(--color-text-light);
    border-right: 1.5px solid var(--color-text-light);
    transform: rotate(45deg);
    margin: 0 8px;
    opacity: 0.5;
}
.sg-breadcrumb li:last-child {
    color: var(--color-text);
    font-weight: 600;
}
.sg-breadcrumb a {
    color: var(--color-text-light);
    transition: color 0.15s;
}
.sg-breadcrumb a:hover {
    color: var(--color-text);
}
/* 자체 히어로가 있는 페이지에서는 breadcrumb 숨김 */
body.hide-page-title .sg-breadcrumb { display: none; }

/* Gnuboard5 structure overrides */
#hd, #wrapper, #ft,
#hd_wrapper, #container_wr, #ft_wr {
    min-width: 0;
    width: 100%;
    max-width: none;
}
#container {
    float: none;
    width: 100%;
    min-height: auto;
    padding: 0;
}

/* Popup layer */
.new_win { max-width: 90%; margin: auto; }

/* ---- Tablet (768px+) ---- */
@media (min-width: 768px) {
    .sg-grid--2 { grid-template-columns: repeat(2, 1fr); }
    .sg-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .sg-grid--4 { grid-template-columns: repeat(2, 1fr); }

    .sg-hero { min-height: 65vh; }
    .sg-hero__title { font-size: 2.8rem; }
    .sg-hero__subtitle { font-size: 1.2rem; }

    .sg-worship .sg-grid { grid-template-columns: repeat(3, 1fr); }


    .sg-footer__main { grid-template-columns: 2fr 1fr; }
}

/* ---- Desktop (1024px+) ---- */
@media (min-width: 1024px) {
    :root {
        --container-padding: 40px;
    }

    body { padding-top: var(--header-height); }

    .sg-section { padding: var(--section-padding) 0; }

    .sg-header {
        height: var(--header-height);
    }

    /* Show desktop nav, hide hamburger */
    .sg-nav { display: block; }
    .sg-hamburger { display: none; }
    .sg-header__actions { display: flex; }

    .sg-grid--3 { grid-template-columns: repeat(3, 1fr); }
    .sg-grid--4 { grid-template-columns: repeat(4, 1fr); }

    .sg-hero { min-height: 70vh; }
    .sg-hero__title { font-size: 3.2rem; }
    .sg-hero__subtitle { font-size: 1.3rem; }
}

/* ---- Large Desktop (1280px+) ---- */
@media (min-width: 1280px) {
    .sg-hero { min-height: 75vh; }
    .sg-hero__title { font-size: 3.5rem; }
}

/* Body scroll lock when mobile menu is open */
html.sg-no-scroll {
    overflow: hidden;
}

/* ---- Staff Profile ---- */
.staff-view {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 30px var(--container-padding);
}
.staff-view__links {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.staff-view__blog-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    background: #03C75A;
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
    font-size: .95rem;
    transition: background var(--transition), transform var(--transition);
    box-shadow: 0 4px 14px rgba(3,199,90,.3);
}
.staff-view__blog-btn:hover {
    background: #02b351;
    color: #fff;
    transform: translateY(-2px);
}
.staff-view__ig-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
    font-size: .95rem;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 14px rgba(220,39,67,.3);
}
.staff-view__ig-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(220,39,67,.4);
}
.staff-profile {
    display: flex;
    gap: 30px;
    align-items: stretch;
    margin-bottom: 40px;
}
.staff-photo {
    flex-shrink: 0;
    max-width: 800px;
}
.staff-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    display: block;
}
.staff-info {
    flex: 1;
}
.staff-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 8px;
}
.staff-position {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin: 0 0 16px;
}
.staff-bio {
    line-height: 1.8;
    color: var(--color-text);
}
.staff-section {
    margin-bottom: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}
.staff-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 20px;
}
.staff-section img {
    border-radius: var(--radius);
}
.staff-section p {
    margin: 8px 0 0;
    font-size: 0.9rem;
}

/* Staff List (카테고리 목록) */
.staff-list {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 30px var(--container-padding);
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}
.staff-card {
    text-align: center;
    text-decoration: none;
    color: var(--color-text);
    transition: transform var(--transition);
}
.staff-card:hover {
    transform: translateY(-4px);
}
.staff-card__photo img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: var(--radius);
}
.staff-card__info {
    padding: 12px 0;
}
.staff-card__info strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
}
.staff-card__info span {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* ── Staff Category Pages (카드 목록) ──────────── */
.sc-wrap {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 40px var(--container-padding);
}
.sc-wrap .ch-intro-title {
    margin-bottom: 20px;
}
.sc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 24px;
}
.sc-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    text-decoration: none;
    color: var(--color-text);
    transition: transform var(--transition), box-shadow var(--transition);
    display: block;
}
.sc-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.sc-card__photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--color-bg-alt);
}
.sc-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.sc-card:hover .sc-card__photo img {
    transform: scale(1.04);
}
.sc-card__no-photo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-border);
    font-size: 3rem;
}
.sc-card__body {
    padding: 14px 12px;
    text-align: center;
    border-top: 1px solid var(--color-border);
}
.sc-card__name {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 5px;
}
.sc-card__pos {
    font-size: 0.82rem;
    color: var(--color-text-light);
    line-height: 1.4;
}
/* 탭 (장로 페이지) */
.sc-tabs {
    display: flex;
    border-bottom: 2px solid var(--color-border);
    margin-bottom: 28px;
    gap: 0;
}
.sc-tabs__btn {
    padding: 10px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    color: var(--color-text-light);
    transition: color var(--transition), border-color var(--transition);
}
.sc-tabs__btn.is-active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}
.sc-tab-panel { display: none; }
.sc-tab-panel.is-active { display: block; }

/* Sermon Grid */
.sermon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}
.sermon-card {
    text-decoration: none;
    color: var(--color-text);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}
.sermon-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.sermon-card__thumb {
    position: relative;
    overflow: hidden;
}
.sermon-card__thumb img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}
.sermon-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    opacity: 0;
    transition: opacity var(--transition);
}
.sermon-card:hover .sermon-card__play {
    opacity: 1;
}
.sermon-card__info {
    padding: 10px 4px;
}
.sermon-card__info strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sermon-card__info span {
    font-size: 0.8rem;
    color: var(--color-text-light);
}
.sermon-paging {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
}
.sermon-paging a {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 2px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    color: var(--color-text-light);
    text-decoration: none;
    transition: all var(--transition);
}
.sermon-paging a:hover {
    background: var(--color-bg-alt);
    color: var(--color-primary);
}
.sermon-paging a.active {
    background: var(--color-primary);
    color: #fff;
}

/* TV Grid */
.tv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 15px;
}
.tv-grid a {
    text-decoration: none;
    color: inherit;
    text-align: center;
}
.tv-grid img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: var(--radius);
    display: block;
}
.tv-grid p {
    font-weight: 500;
    font-size: 0.9rem;
    margin: 8px 0 0;
}

/* Book List */
.book-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 660px;
    margin: 0 auto;
}
.book-list img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    border-radius: var(--radius);
}

/* Church content sections */
.section-header {
    text-align: center;
    margin-bottom: 30px;
}
.section-header h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}
.section-header p {
    color: var(--color-text-light);
}
.section-divider {
    margin: 30px 0 15px;
    font-size: 18px;
    font-weight: bold;
    border-bottom: 2px solid var(--color-text);
    padding-bottom: 8px;
}
.worship-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}
.worship-table th {
    padding: 12px;
    border: 1px solid var(--color-border);
    text-align: center;
    background: var(--color-bg-alt);
}
.worship-table td {
    padding: 10px;
    border: 1px solid var(--color-border);
    text-align: center;
}
.video-embed {
    text-align: center;
    margin-bottom: 40px;
}
.video-embed__inner {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
}
.video-embed__inner iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 767px) {
    .staff-profile {
        flex-direction: column;
    }
    .sermon-grid,
    .tv-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .sc-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
    .sc-tabs__btn {
        padding: 8px 18px;
        font-size: 0.88rem;
    }
}
@media (max-width: 479px) {
    .sc-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* =============================================
   Church Intro Page  (.ch-intro-*)
   ============================================= */
.ch-intro-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}
.ch-intro-header {
    margin-bottom: 32px;
    border-bottom: 2px solid #1a3c6e;
    padding-bottom: 16px;
}
.ch-intro-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
}
.ch-intro-sub {
    margin: 8px 0 0;
    font-size: 0.95rem;
    color: var(--color-text-light);
}
.ch-intro-image {
    margin-bottom: 32px;
}
.ch-intro-image img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}
.ch-intro-video {
    margin-bottom: 40px;
}
.ch-intro-video__inner {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
}
.ch-intro-video__inner iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.ch-intro-content {
    font-size: 1rem;
    line-height: 2.2;
    color: #333;
    letter-spacing: -0.01em;
    word-break: keep-all;
}
.ch-intro-content p,
.ch-intro-content h1, .ch-intro-content h2,
.ch-intro-content h3, .ch-intro-content h4 {
    margin: 0;
    padding: 0;
}
.ch-intro-content h1 { font-size: 1.8rem; font-weight: 800; line-height: 2.8; }
.ch-intro-content h2 { font-size: 1.35rem; font-weight: 700; line-height: 2.6; }
.ch-intro-content h3 { font-size: 1.15rem; font-weight: 700; line-height: 2.5; }
.ch-intro-content h4 { font-size: 1.05rem; font-weight: 600; line-height: 2.4; }
.ch-intro-content hr {
    display: block !important;
    border: none;
    height: 0;
    margin: 2em 0;
    text-align: center;
    overflow: visible;
}
.ch-intro-content hr::before {
    content: '***';
    display: inline-block;
    font-size: 1.2rem;
    letter-spacing: 0.3em;
    color: #ccc;
}
.ch-intro-content blockquote {
    border-left: 3px solid #ddd;
    padding-left: 14px;
    margin: 1em 0;
    color: #555;
    font-style: italic;
}
.ch-intro-content ul {
    list-style: disc !important;
    padding-left: 1.5em !important;
    margin: 0.5em 0 1em;
}
.ch-intro-content ol {
    list-style: decimal !important;
    padding-left: 1.5em !important;
    margin: 0.5em 0 1em;
}
.ch-intro-content li {
    list-style: inherit !important;
    margin-bottom: 0.3em;
}
.ch-intro-content img { max-width: 100%; height: auto; border-radius: 4px; margin: 0.5em 0; }
.ch-intro-content a { color: var(--color-primary); text-decoration: underline; }
.ch-intro-content strong, .ch-intro-content b { font-weight: 700; }
.ch-intro-content em, .ch-intro-content i { font-style: italic; }
.ch-intro-content table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.ch-intro-content table td, .ch-intro-content table th { text-align: center; padding: 8px 12px; border: 1px solid #e0e0e0; }
.ch-intro-content table th { background: #f5f5f5; font-weight: 600; }
.ch-intro-empty {
    color: #888;
    text-align: center;
    padding: 60px 0;
}

.worship-category-title {
    margin-bottom: 16px;
}

/* ---- 온라인헌금 안내 ---- */
.offering-wrap {
    max-width: 560px;
    margin: 0 auto;
}
.offering-account {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    text-align: center;
    margin-bottom: 24px;
    box-shadow: 0 8px 30px rgba(0,0,0,.15);
}
.offering-account__bank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 20px;
    background: #FFBC00;
    border-radius: 24px;
}
.offering-account__bank-logo {
    width: 24px;
    height: 24px;
    filter: brightness(0);
}
.offering-account__bank-name {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    color: #000;
}
.offering-account__number {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
}
.offering-account__holder {
    font-size: 0.9rem;
    color: rgba(255,255,255,.6);
    margin-bottom: 20px;
}
.offering-account__copy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: #fff;
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.offering-account__copy:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,255,255,.2);
}
.offering-account__copy:active {
    transform: scale(0.97);
}
.offering-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #FFF8E1;
    border: 1px solid #FFE082;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 24px;
}
.offering-notice__icon {
    color: #F9A825;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 1px;
}
.offering-notice__text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #5D4037;
}
.offering-types {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}
.offering-types__title {
    padding: 16px 20px;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
}
.offering-types__list {
    padding: 4px 0;
}
.offering-type {
    display: flex;
    align-items: center;
    padding: 14px 20px;
}
.offering-type + .offering-type {
    border-top: 1px solid var(--color-border);
}
.offering-type__name {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
}
.offering-type__arrow {
    color: var(--color-text-light);
    margin: 0 16px;
    font-size: 0.85rem;
}
.offering-type__example {
    font-size: 0.95rem;
    color: var(--color-text);
    font-family: 'Noto Sans KR', sans-serif;
}
.offering-type__example em {
    font-style: normal;
    color: #E53935;
    font-weight: 700;
}
.offering-footer {
    text-align: center;
    padding: 16px 0 8px;
    font-size: 0.9rem;
    color: var(--color-text-light);
}
.offering-footer a {
    color: var(--color-text);
    font-weight: 600;
}
@media (max-width: 480px) {
    .offering-account {
        padding: 24px 20px;
    }
    .offering-account__number {
        font-size: 1.4rem;
    }
}

/* =============================================
   Church History Timeline  (.ch-*)
   ============================================= */
.ch-history-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 20px 20px 60px;
}
/* ch-history: 탭/타임라인 전용 스타일 */

/* 탭 네비게이션 */
.ch-tabs-nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--color-border);
}
.ch-tabs-nav::-webkit-scrollbar { display: none; }
.ch-tabs-nav__btn {
    flex-shrink: 0;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    padding: 10px 16px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-text-light);
    cursor: pointer;
    white-space: nowrap;
    transition: color var(--transition), border-color var(--transition);
    letter-spacing: -0.01em;
}
.ch-tabs-nav__btn:hover {
    color: var(--color-primary);
}
.ch-tabs-nav__btn.is-active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

/* 탭 패널 */
.ch-tab-panel { display: none; }
.ch-tab-panel.is-active { display: block; }

/* 타임라인 */
.ch-timeline { position: relative; }

/* 연도 그룹 */
.ch-tl-group {
    display: flex;
    gap: 0;
    margin-bottom: 8px;
}

/* 왼쪽 연도 열 */
.ch-tl-year {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 88px;
    flex-shrink: 0;
    padding-top: 2px;
}
.ch-tl-year__badge {
    background: var(--color-primary);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
    line-height: 1;
    letter-spacing: -0.02em;
}
.ch-tl-year__line {
    flex: 1;
    width: 2px;
    background: var(--color-border);
    margin-top: 8px;
    min-height: 20px;
}

/* 오른쪽 이벤트 열 */
.ch-tl-events {
    flex: 1;
    padding-left: 20px;
    padding-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 개별 이벤트 */
.ch-tl-event {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.ch-tl-event__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-primary);
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--color-primary);
    flex-shrink: 0;
    margin-top: 5px;
}
.ch-tl-event__body {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 12px 16px;
    flex: 1;
    transition: box-shadow var(--transition);
}
.ch-tl-event__body:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.ch-tl-event__date {
    display: block;
    font-size: 0.78rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 3px;
    letter-spacing: 0.01em;
}
.ch-tl-event__title {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
}
.ch-tl-event__desc {
    font-size: 0.87rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
}

/* 반응형 */
@media (max-width: 640px) {
    .ch-tabs-nav__btn {
        padding: 8px 12px;
        font-size: 0.82rem;
    }
    .ch-tl-year {
        width: 64px;
    }
    .ch-tl-year__badge {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
    .ch-tl-events {
        padding-left: 12px;
    }
    .ch-tl-event__body {
        padding: 10px 12px;
    }
}

body.page-home {
    padding-top: 0 !important;
}

body.page-home #hd:not(.sg-header--sticky) {
    background-color: transparent;
}

body.page-home #hd:not(.sg-header--sticky) .sg-nav__link {
    color: #fff;
}

body.page-home #hd:not(.sg-header--sticky) .sg-nav__link:hover {
    color: #fff;
}

body.page-home #hd.sg-header--sticky {
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow);
    border-bottom-color: var(--color-border);
}
/* =============================================
   Video Playlist Page  (.vpl-*)
   ============================================= */
.vpl-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}
.vpl-header {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 32px;
    border-bottom: 2px solid #1a3c6e;
    padding-bottom: 14px;
}
.vpl-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #1a3c6e;
    margin: 0;
}
.vpl-count {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
}
.vpl-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}
.vpl-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    transition: transform .2s, box-shadow .2s;
}
.vpl-card__link:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,.14);
}
.vpl-card__thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}
.vpl-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity .2s;
}
.vpl-card__link:hover .vpl-card__thumb img {
    opacity: .85;
}
.vpl-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .2s;
}
.vpl-card__play .fa {
    font-size: 2.4rem;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.vpl-card__link:hover .vpl-card__play {
    opacity: 1;
}
.vpl-card__info {
    padding: 12px 14px 16px;
    background: #fff;
}
.vpl-card__title {
    font-size: .95rem;
    font-weight: 600;
    color: #222;
    margin: 0 0 6px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.vpl-card__date {
    font-size: .82rem;
    color: #999;
    margin: 0;
}
/* 고정 영상 (온라인 예배) */
.vpl-card--pinned {
    grid-column: 1 / -1;
}
.vpl-card--pinned .vpl-card__link {
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 4px 20px rgba(0,0,0,.12);
    border: 2px solid #333;
}
.vpl-card--pinned .vpl-card__thumb {
    aspect-ratio: 16 / 9;
}
.vpl-card--pinned .vpl-card__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 28px;
}
.vpl-card--pinned .vpl-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    -webkit-line-clamp: 3;
}
.vpl-card--pinned .vpl-card__date {
    font-size: .88rem;
    margin-top: 8px;
}
.vpl-card__pin-badge {
    position: static;
    display: inline-block;
    background: #E8EFF8;
    color: #4B6A9B;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .04em;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}
@media (max-width: 768px) {
    .vpl-card--pinned .vpl-card__link {
        grid-template-columns: 1fr;
    }
    .vpl-card--pinned .vpl-card__info {
        padding: 14px 16px 18px;
    }
    .vpl-card--pinned .vpl-card__title {
        font-size: 1rem;
    }
}
.vpl-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}
.vpl-filter-btn {
    display: inline-flex;
    align-items: center;
    padding: 7px 18px;
    border: 1px solid #d1d1d1;
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    background: #fff;
    transition: background .15s, color .15s, border-color .15s;
}
.vpl-filter-btn:hover,
.vpl-filter-btn.is-active {
    background: #1a3c6e;
    color: #fff;
    border-color: #1a3c6e;
}
.vpl-empty {
    text-align: center;
    color: #888;
    padding: 60px 0;
}
@media (max-width: 600px) {
    .vpl-grid { grid-template-columns: 1fr; }
}

/* ---- 새가족 갤러리 ---- */
.nc-gallery { margin-top: 8px; }
.nc-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.nc-card {
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.07);
    transition: transform 0.2s, box-shadow 0.2s;
}
.nc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.13);
}
.nc-card__thumb {
    aspect-ratio: 4/3;
    overflow: hidden;
}
.nc-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.nc-card:hover .nc-card__thumb img {
    transform: scale(1.05);
}
.nc-card__info {
    padding: 10px 12px 12px;
}
.nc-card__name {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 2px;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nc-card__date {
    font-size: 0.78rem;
    color: var(--color-text-light);
    margin: 0;
}
@media (max-width: 768px) {
    .nc-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
}
@media (max-width: 480px) {
    .nc-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .nc-card__info { padding: 8px 10px 10px; }
    .nc-card__name { font-size: 0.82rem; }
}

/* 페이지네이션 */
.nc-paging {
    margin-top: 32px;
    text-align: center;
}
.nc-paging__nav {
    display: inline-flex;
    gap: 4px;
}
.nc-paging__nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--color-text);
    background: #fff;
    transition: all 0.15s;
}
.nc-paging__nav a:hover {
    background: var(--color-bg-alt);
    border-color: var(--color-text-light);
}
.nc-paging__nav a.is-active {
    background: var(--color-text);
    color: #fff;
    border-color: var(--color-text);
    font-weight: 600;
}

/* 라이트박스 */
.nc-lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.nc-lightbox.is-open {
    display: flex;
}
.nc-lightbox__backdrop {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.88);
    backdrop-filter: blur(6px);
}
.nc-lightbox__content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    animation: ncFadeIn 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
@keyframes ncFadeIn {
    from { opacity: 0; transform: scale(0.93); }
    to   { opacity: 1; transform: scale(1); }
}
.nc-lightbox__close {
    position: fixed;
    top: 20px; right: 20px;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.nc-lightbox__close:hover {
    background: rgba(255,255,255,0.3);
}
.nc-lightbox__img {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 30px 80px rgba(0,0,0,.5);
    display: block;
}
.nc-lightbox__info {
    padding: 16px 20px;
    text-align: center;
}
.nc-lightbox__name {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 4px;
}
.nc-lightbox__date {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin: 0;
}
@media (max-width: 768px) {
    .nc-lightbox__content {
        max-width: 95vw;
        max-height: 85vh;
        flex-direction: column;
    }
    .nc-lightbox__img {
        max-width: 95vw;
        max-height: 75vh;
    }
    .nc-lightbox__close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    .nc-lightbox__info {
        padding: 10px 12px;
    }
    .nc-lightbox__name {
        font-size: 0.95rem;
    }
}

/* ─────────────────────────────────────
   주보 리스트 (notice.php)
───────────────────────────────────── */

/* ─────────────────────────────────────
   시설안내 (facility.php)
───────────────────────────────────── */
.fac-video {
    margin: 0 0 48px;
}
.fac-video__inner {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
}
.fac-video__inner iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.fac-guide {
    margin-bottom: 40px;
}
.fac-guide__title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 24px;
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.fac-guide__title span {
    font-size: .85rem;
    font-weight: 500;
    color: #999;
}
/* 층 탭 */
.fac-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
    margin-bottom: 24px;
}
.fac-tabs::-webkit-scrollbar { display: none; }
.fac-tab {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 12px 20px;
    border: 2px solid #e8eaee;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: all .2s;
    min-width: 64px;
}
.fac-tab:hover {
    border-color: var(--color-primary, #1a3c6e);
    color: var(--color-primary, #1a3c6e);
}
.fac-tab.is-active {
    border-color: var(--color-primary, #1a3c6e);
    background: var(--color-primary, #1a3c6e);
    color: #fff;
}
.fac-tab__label {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1;
}
.fac-tab__name {
    font-size: .72rem;
    opacity: .75;
}
/* 패널 */
.fac-panel { display: none; }
.fac-panel.is-active { display: block; }
/* 공간 카드 그리드 */
.fac-rooms {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.fac-room {
    background: #fff;
    border: 1px solid #e8eaee;
    border-radius: 14px;
    padding: 22px 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    transition: transform .2s, box-shadow .2s;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.fac-room--restroom {
    background: #f8f9fb;
    border-color: #eee;
    opacity: .65;
}
.fac-room--clickable {
    cursor: pointer;
}
.fac-room--clickable:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    border-color: var(--color-primary, #1a3c6e);
}
.fac-room__icon {
    font-size: 1.6rem;
    color: var(--color-primary, #1a3c6e);
    margin-bottom: 4px;
}
.fac-room--restroom .fac-room__icon { color: #aaa; }
.fac-room__name {
    font-size: .95rem;
    font-weight: 700;
    color: #1a1a1a;
}
.fac-room__desc {
    font-size: .78rem;
    color: #888;
}
.fac-room__view {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: .75rem;
    color: #bbb;
}
.fac-room--clickable .fac-room__view { color: var(--color-primary, #1a3c6e); }
/* 층별 안내도 버튼 */
.fac-map {
    text-align: center;
    margin-top: 32px;
}
.fac-map__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: 2px solid var(--color-primary, #1a3c6e);
    border-radius: 50px;
    background: #fff;
    color: var(--color-primary, #1a3c6e);
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
}
.fac-map__btn:hover {
    background: var(--color-primary, #1a3c6e);
    color: #fff;
}
@media (max-width: 1024px) {
    .fac-rooms { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .fac-rooms { grid-template-columns: repeat(2, 1fr); }
    .fac-room { padding: 18px 12px; }
    .fac-room__icon { font-size: 1.35rem; }
    .fac-room__name { font-size: .88rem; }
}
/* 주보 텍스트 리스트 */
.jb-list {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    border-top: 1px solid var(--color-border);
}
.jb-list__item {
    border-bottom: 1px solid var(--color-border);
}
.jb-list__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 4px;
    text-decoration: none;
    color: var(--color-text);
    transition: background 0.15s;
}
.jb-list__link:hover {
    background: #f8fafc;
}
.jb-list__badge {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: 4px;
    padding: 2px 7px;
    line-height: 1.4;
}
.jb-list__title {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.jb-list__date {
    flex-shrink: 0;
    font-size: 0.82rem;
    color: #999;
}
@media (max-width: 480px) {
    .jb-list__link { gap: 9px; padding: 13px 2px; }
    .jb-list__title { font-size: 0.88rem; }
    .jb-list__date { font-size: 0.78rem; }
}

/* 주보 상세 (notice_view.php) */
.jb-view-images {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}
.jb-view-images__item img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid #eee;
}
.jb-view-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
    border-top: 1px solid #e5e5e5;
}
.jb-view-nav__link {
    text-decoration: none;
    color: var(--color-text);
    max-width: 40%;
}
.jb-view-nav__label {
    display: block;
    font-size: 0.78rem;
    color: var(--color-text-light);
    margin-bottom: 2px;
}
.jb-view-nav__title {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.jb-view-nav__link:hover .jb-view-nav__title {
    color: var(--color-primary);
}
.jb-view-nav__next { text-align: right; }
.jb-view-nav__list {
    flex-shrink: 0;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    color: var(--color-text);
    font-size: 0.85rem;
    transition: background 0.2s;
}
.jb-view-nav__list:hover {
    background: #f5f5f5;
}

/* =============================================
   Bus Route Page  (.bus-tbl-*)
   ============================================= */
.bus-route-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* ── Route title (like worship-category-title) ── */
.bus-route-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.bus-route-title__name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
}
.bus-route-title__name .fa {
    margin-right: 6px;
    color: #1a3c6e;
}
.bus-route-title__tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.bus-route-title__tag {
    display: inline-block;
    padding: 3px 10px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--color-text-light);
}

/* ── Table (matches worship-table) ── */
.bus-tbl {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}
.bus-tbl th {
    padding: 12px;
    border: 1px solid var(--color-border);
    text-align: center;
    background: var(--color-bg-alt);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-text);
}
.bus-tbl td {
    padding: 10px 12px;
    border: 1px solid var(--color-border);
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-text);
}

/* ── Column sizing ── */
.bs-col-order { width: 70px; color: var(--color-text-light); }
.bs-col-name  { font-weight: 500; }
.bs-col-time  { width: 100px; font-weight: 600; color: var(--color-primary-dark); font-variant-numeric: tabular-nums; }
.bs-col-note  { width: 180px; color: var(--color-text-light); font-size: 0.85rem; }


/* ── Church (destination) row ── */
.bus-stop--church td {
    background: #eef3ff;
    font-weight: 600;
    color: #1a3c6e;
}

/* ── Mobile ── */
@media (max-width: 600px) {
    .bus-route-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        margin-bottom: 12px;
    }
    .bus-route-title__name {
        font-size: 1.02rem;
    }
    .bus-route-title__tag {
        font-size: 0.72rem;
        padding: 2px 7px;
    }
    .bus-tbl th {
        padding: 8px 10px;
        font-size: 0.8rem;
    }
    .bus-tbl td {
        padding: 8px 10px;
        font-size: 0.83rem;
    }
    .bs-col-order { width: 30px; }
    .bs-col-time  { width: 58px; }
    .bs-col-note  { width: 64px; font-size: 0.75rem; }
}

/* ============================================================
 * mission/englishbook.php
 * ============================================================ */
:root {
    --eb-color: #2E7D6F;
    --eb-light: #E0F2EF;
    --eb-dark:  #1B5E50;
}

/* ── 히어로 ── */
.eb-hero {
    position: relative;
    background: linear-gradient(135deg, #2E7D6F 0%, #4DA89A 50%, #7EC8BD 100%);
    padding: 64px 24px 80px;
    text-align: center;
    overflow: hidden;
}
.eb-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,.10) 0%, transparent 45%);
    pointer-events: none;
}
.eb-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin: 0 auto;
}
.eb-hero__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    border: 2px solid rgba(255,255,255,.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    margin: 0 auto 20px;
}
.eb-hero__title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px;
    letter-spacing: -0.5px;
}
.eb-hero__subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,.8);
    letter-spacing: .1em;
    margin: 0 0 20px;
    text-transform: uppercase;
}
.eb-hero__desc {
    font-size: .95rem;
    color: rgba(255,255,255,.9);
    line-height: 1.75;
    margin: 0;
}
.eb-hero__wave {
    position: absolute;
    bottom: -1px;
    left: 0; right: 0;
    height: 60px;
}
.eb-hero__wave svg {
    width: 100%; height: 100%;
    display: block;
}

/* ── 공식 홈페이지 링크 ── */
.eb-link {
    text-align: center;
    margin: 36px auto 0;
    padding: 0 24px;
}
.eb-link__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--eb-color);
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(46,125,111,.3);
    transition: transform .2s, box-shadow .2s;
}
.eb-link__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(46,125,111,.4);
}
.eb-link__btn i {
    font-size: .85rem;
}

/* ── 소개 영상 ── */
.eb-intro-video {
    max-width: 900px;
    margin: 40px auto 0;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}
.eb-intro-video__frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,.22);
}
.eb-intro-video__frame video {
    width: 100%;
    display: block;
}

/* ── 소개 본문 ── */
.eb-content {
    max-width: 900px;
    margin: 52px auto 64px;
    padding: 0 24px;
}
.eb-content__layout {
    display: flex;
    gap: 48px;
    align-items: center;
    background: linear-gradient(135deg, #F2FAF8 0%, #E0F2EF 100%);
    border-radius: 24px;
    padding: 48px 48px 48px 44px;
    border-left: 5px solid var(--eb-color);
    box-shadow: 0 6px 32px rgba(46,125,111,.08);
}
.eb-content__photo {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.eb-content__photo img {
    width: 180px;
    height: 220px;
    object-fit: cover;
    object-position: top center;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(46,125,111,.2);
    border: 3px solid #fff;
}
.eb-content__photo-name {
    font-size: .82rem;
    font-weight: 600;
    color: var(--eb-color);
    letter-spacing: .02em;
}
.eb-content__inner {
    flex: 1;
    min-width: 0;
}
.eb-content__icon {
    display: block;
    font-size: 1.6rem;
    color: var(--eb-color);
    opacity: .4;
    margin-bottom: 14px;
}
.eb-content__title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--eb-dark);
    line-height: 1.55;
    margin: 0 0 18px;
    word-break: keep-all;
}
.eb-content__text {
    font-size: .96rem;
    line-height: 1.95;
    color: #555;
    word-break: keep-all;
    margin: 0;
}

/* ── 강사 소개 ── */
.eb-instructor {
    max-width: 900px;
    margin: 0 auto 64px;
    padding: 0 24px;
}
.eb-instructor__inner {
    background: #fff;
    border-radius: 24px;
    padding: 40px 44px;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
    border: 1px solid #f0f0f0;
}
.eb-instructor__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}
.eb-instructor__badge {
    background: var(--eb-light);
    color: var(--eb-color);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 5px 13px;
    border-radius: 20px;
    border: 1px solid rgba(46,125,111,.2);
    white-space: nowrap;
}
.eb-instructor__name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
}
.eb-instructor__sub {
    font-size: .85rem;
    font-weight: 500;
    color: #888;
    margin-left: 6px;
}
.eb-instructor__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.eb-instructor__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .95rem;
    color: #444;
    line-height: 1.6;
    word-break: keep-all;
}
.eb-instructor__list li i {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--eb-color);
    font-size: .9rem;
}
.eb-tag {
    flex-shrink: 0;
    font-size: .7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    line-height: 1.4;
}
.eb-tag--prev {
    background: #f0f0f0;
    color: #888;
}

/* ── 프로그램 안내 ── */
.eb-programs {
    max-width: 900px;
    margin: 52px auto;
    padding: 0 24px;
}
.eb-programs__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}
.eb-programs__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--eb-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--eb-color);
    font-size: 1.3rem;
}
.eb-programs__title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
}
.eb-programs__sub {
    font-size: .78rem;
    color: #999;
    letter-spacing: .06em;
}
.eb-programs__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.eb-program-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    border: 1px solid #f0f0f0;
    transition: transform .25s, box-shadow .25s;
}
.eb-program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0,0,0,.12);
}
.eb-program-card__img {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.eb-program-card--weavy .eb-program-card__img { background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%); }
.eb-program-card--special .eb-program-card__img { background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%); }
.eb-program-card--hello .eb-program-card__img { background: linear-gradient(135deg, #FCE7F3 0%, #FBCFE8 100%); }
.eb-program-card__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform .35s;
}
.eb-program-card:hover .eb-program-card__img img {
    transform: scale(1.05);
}
.eb-program-card__body {
    padding: 22px 22px 26px;
}
.eb-program-card__badge {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .05em;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
    color: #fff;
}
.eb-program-card--weavy .eb-program-card__badge { background: #3B82F6; }
.eb-program-card--special .eb-program-card__badge { background: #F59E0B; }
.eb-program-card--hello .eb-program-card__badge { background: #EC4899; }
.eb-program-card__name {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 16px;
}
.eb-program-card__info {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.eb-program-card__info li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .88rem;
    color: #555;
    line-height: 1.5;
}
.eb-program-card__info li i {
    flex-shrink: 0;
    width: 18px;
    text-align: center;
    font-size: .85rem;
}
.eb-program-card--weavy .eb-program-card__info li i { color: #3B82F6; }
.eb-program-card--special .eb-program-card__info li i { color: #F59E0B; }
.eb-program-card--hello .eb-program-card__info li i { color: #EC4899; }
.eb-program-card__label {
    flex-shrink: 0;
    font-size: .75rem;
    font-weight: 700;
    color: #999;
    min-width: 28px;
}

/* ── 영상 그리드 ── */
.eb-videos {
    max-width: 900px;
    margin: 52px auto 30px;
    padding: 0 24px;
}
.eb-videos__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}
.eb-videos__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--eb-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--eb-color);
    font-size: 1.3rem;
}
.eb-videos__title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
}
.eb-videos__sub {
    font-size: .78rem;
    color: #999;
    letter-spacing: .06em;
}
.eb-videos__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.eb-vcard {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}
.eb-vcard__thumb {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #111;
}
.eb-vcard__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.eb-vcard:hover .eb-vcard__thumb img { transform: scale(1.04); }
.eb-vcard__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.35);
    transition: background .2s;
}
.eb-vcard:hover .eb-vcard__play { background: rgba(0,0,0,.5); }
.eb-vcard__play i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--eb-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    color: #fff;
    padding-left: 3px;
    box-shadow: 0 4px 14px rgba(46,125,111,.5);
    transition: transform .2s;
}
.eb-vcard:hover .eb-vcard__play i { transform: scale(1.1); }
.eb-vcard__title {
    font-size: .8rem;
    font-weight: 600;
    color: #444;
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: keep-all;
}

/* ── 반응형 ── */
@media (max-width: 768px) {
    .eb-intro-video { padding: 0 16px; margin-top: 28px; }
    .eb-hero { padding: 52px 20px 72px; }
    .eb-hero__title { font-size: 1.9rem; }
    .eb-videos { padding: 0 16px; margin-top: 36px; }
    .eb-videos__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .eb-vcard__play i { width: 34px; height: 34px; font-size: .85rem; }
    .eb-content { margin: 36px auto 48px; padding: 0 16px; }
    .eb-content__layout {
        flex-direction: column;
        gap: 28px;
        padding: 32px 24px;
        align-items: flex-start;
    }
    .eb-content__photo {
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }
    .eb-content__photo img {
        width: 88px;
        height: 108px;
        border-radius: 12px;
    }
    .eb-content__photo-name { font-size: .85rem; }
    .eb-content__title { font-size: 1.05rem; }
    .eb-content__text { font-size: .92rem; }
    .eb-instructor { padding: 0 16px; }
    .eb-instructor__inner { padding: 28px 22px; }
    .eb-instructor__header { gap: 10px; flex-wrap: wrap; }
    .eb-instructor__name { font-size: 1.1rem; }
    .eb-instructor__sub { display: block; margin-left: 0; }
    .eb-programs { padding: 0 16px; margin: 40px auto; }
    .eb-programs__grid { grid-template-columns: 1fr; gap: 16px; }
    .eb-program-card__img { aspect-ratio: 16 / 9; }
    .eb-program-card__body { padding: 18px 20px 22px; }
}

/* ============================================================
 * mission/happymom.php
 * ============================================================ */
:root {
    --hm-color: #D64D73;
    --hm-light: #FEE7EF;
    --hm-dark:  #B03060;
}

/* ── 히어로 ── */
.hm-hero {
    position: relative;
    background: linear-gradient(135deg, #D64D73 0%, #E8879A 50%, #F4A7BB 100%);
    padding: 64px 24px 80px;
    text-align: center;
    overflow: hidden;
}
.hm-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,.10) 0%, transparent 45%);
    pointer-events: none;
}
.hm-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin: 0 auto;
}
.hm-hero__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    border: 2px solid rgba(255,255,255,.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    margin: 0 auto 20px;
}
.hm-hero__title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px;
    letter-spacing: -0.5px;
}
.hm-hero__subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,.8);
    letter-spacing: .1em;
    margin: 0 0 20px;
    text-transform: uppercase;
}
.hm-hero__desc {
    font-size: .95rem;
    color: rgba(255,255,255,.9);
    line-height: 1.75;
    margin: 0;
}
.hm-hero__wave {
    position: absolute;
    bottom: -1px;
    left: 0; right: 0;
    height: 60px;
}
.hm-hero__wave svg {
    width: 100%; height: 100%;
    display: block;
}

/* ── 소개 영상 ── */
.hm-intro-video {
    max-width: 720px;
    margin: 40px auto 0;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}
.hm-intro-video__frame {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,.22);
}
.hm-intro-video__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ── 정보 카드 ── */
.hm-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 860px;
    margin: 40px auto 0;
    padding: 0 24px;
}
.hm-info-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px 16px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(214,77,115,.1);
    border: 1px solid rgba(214,77,115,.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: transform .2s, box-shadow .2s;
}
.hm-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(214,77,115,.18);
}
.hm-info-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--hm-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hm-color);
    font-size: 1.2rem;
    margin-bottom: 2px;
}
.hm-info-card__label {
    font-size: .78rem;
    font-weight: 600;
    color: var(--hm-color);
    letter-spacing: .04em;
    text-transform: uppercase;
}
.hm-info-card__value {
    font-size: .9rem;
    font-weight: 700;
    color: #2d2d2d;
    line-height: 1.4;
    word-break: keep-all;
}

/* ── 학기 운영 안내 ── */
.hm-semester {
    max-width: 860px;
    margin: 44px auto 0;
    padding: 0 24px;
    text-align: center;
}
.hm-semester__title {
    font-size: 1rem;
    font-weight: 700;
    color: #888;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin: 0 0 20px;
}
.hm-semester__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto 16px;
}
.hm-semester__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 28px 20px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}
.hm-semester__card--spring {
    background: linear-gradient(135deg, #FFF0F5 0%, #FFD6E7 100%);
    border: 1.5px solid #FFADD0;
}
.hm-semester__card--fall {
    background: linear-gradient(135deg, #FFF8EE 0%, #FFE4B8 100%);
    border: 1.5px solid #FFCC80;
}
.hm-semester__season {
    font-size: 2.2rem;
    line-height: 1;
}
.hm-semester__name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #2d2d2d;
}
.hm-semester__card--spring .hm-semester__name { color: #C2185B; }
.hm-semester__card--fall  .hm-semester__name { color: #E65100; }
.hm-semester__period {
    font-size: .88rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
}
.hm-semester__card--spring .hm-semester__period {
    background: rgba(214,77,115,.12);
    color: #D64D73;
}
.hm-semester__card--fall .hm-semester__period {
    background: rgba(230,81,0,.12);
    color: #E65100;
}
.hm-semester__note {
    font-size: .83rem;
    color: #999;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.hm-semester__note i { color: var(--hm-color); }
.hm-semester__note a { color: var(--hm-color); font-weight: 700; text-decoration: none; }
.hm-semester__note a:hover { text-decoration: underline; }

/* ── 소개 본문 ── */
.hm-content {
    max-width: 900px;
    margin: 52px auto 64px;
    padding: 0 24px;
}
.hm-content__layout {
    display: flex;
    gap: 48px;
    align-items: center;
    background: linear-gradient(135deg, #FFF5F8 0%, #FEE7EF 100%);
    border-radius: 24px;
    padding: 48px 48px 48px 44px;
    border-left: 5px solid var(--hm-color);
    box-shadow: 0 6px 32px rgba(214,77,115,.08);
}

/* 프로필 사진 영역 */
.hm-content__photo {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.hm-content__photo img {
    width: 180px;
    height: 220px;
    object-fit: cover;
    object-position: top center;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(214,77,115,.2);
    border: 3px solid #fff;
}
.hm-content__photo-name {
    font-size: .82rem;
    font-weight: 600;
    color: var(--hm-color);
    letter-spacing: .02em;
}

/* 텍스트 영역 */
.hm-content__inner {
    flex: 1;
    min-width: 0;
}
.hm-content__icon {
    display: block;
    font-size: 1.6rem;
    color: var(--hm-color);
    opacity: .4;
    margin-bottom: 14px;
}
.hm-content__title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--hm-dark);
    line-height: 1.55;
    margin: 0 0 18px;
    word-break: keep-all;
}
.hm-content__text {
    font-size: .96rem;
    line-height: 1.95;
    color: #555;
    word-break: keep-all;
    margin: 0;
}

/* ── 강사 소개 ── */
.hm-instructor {
    max-width: 900px;
    margin: 0 auto 64px;
    padding: 0 24px;
}
.hm-instructor__inner {
    background: #fff;
    border-radius: 24px;
    padding: 40px 44px;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
    border: 1px solid #f0f0f0;
}
.hm-instructor__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}
.hm-instructor__badge {
    background: var(--hm-light);
    color: var(--hm-color);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 5px 13px;
    border-radius: 20px;
    border: 1px solid rgba(214,77,115,.2);
    white-space: nowrap;
}
.hm-instructor__name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
}
.hm-instructor__list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hm-instructor__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .95rem;
    color: #444;
    line-height: 1.6;
    word-break: keep-all;
}
.hm-instructor__list li i {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--hm-color);
    font-size: .9rem;
}
.hm-tag {
    flex-shrink: 0;
    font-size: .7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    line-height: 1.4;
}
.hm-tag--prev {
    background: #f0f0f0;
    color: #888;
}

/* 방송 영상 */
.hm-videos {
    margin-bottom: 36px;
}
.hm-videos__title {
    font-size: .85rem;
    font-weight: 700;
    color: #999;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 7px;
}
.hm-videos__title i { color: var(--hm-color); }
.hm-videos__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.hm-video-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}
.hm-video-card__thumb {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #111;
}
.hm-video-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.hm-video-card:hover .hm-video-card__thumb img { transform: scale(1.04); }
.hm-video-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.35);
    transition: background .2s;
}
.hm-video-card:hover .hm-video-card__play { background: rgba(0,0,0,.5); }
.hm-video-card__play i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--hm-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    color: #fff;
    padding-left: 3px;
    box-shadow: 0 4px 14px rgba(214,77,115,.5);
    transition: transform .2s;
}
.hm-video-card:hover .hm-video-card__play i { transform: scale(1.1); }
.hm-video-card__title {
    font-size: .8rem;
    font-weight: 600;
    color: #444;
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: keep-all;
}

/* 저서 */
.hm-books__title {
    font-size: .85rem;
    font-weight: 700;
    color: #999;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 7px;
}
.hm-books__title i { color: var(--hm-color); }
.hm-books__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.hm-books__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.hm-books__item img {
    width: 100%;
    max-width: 160px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
    transition: transform .2s, box-shadow .2s;
}
.hm-books__item img:hover {
    transform: translateY(-4px) rotate(-1deg);
    box-shadow: 0 12px 30px rgba(0,0,0,.2);
}
.hm-books__item p {
    font-size: .82rem;
    font-weight: 600;
    color: #555;
    text-align: center;
    line-height: 1.5;
    margin: 0;
    word-break: keep-all;
}

/* ── 반응형 ── */
@media (max-width: 768px) {
    .hm-intro-video { padding: 0 16px; margin-top: 28px; }
    .hm-hero { padding: 52px 20px 72px; }
    .hm-hero__title { font-size: 1.9rem; }
    .hm-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 16px;
        margin-top: 32px;
    }
    .hm-info-card { padding: 20px 12px 16px; }
    .hm-info-card__value { font-size: .85rem; }
    .hm-semester { padding: 0 16px; margin-top: 36px; }
    .hm-semester__grid { gap: 12px; }
    .hm-semester__card { padding: 22px 14px; }
    .hm-content { margin: 36px auto 48px; padding: 0 16px; }
    .hm-content__layout {
        flex-direction: column;
        gap: 28px;
        padding: 32px 24px;
        align-items: flex-start;
    }
    .hm-content__photo {
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }
    .hm-content__photo img {
        width: 88px;
        height: 108px;
        border-radius: 12px;
    }
    .hm-content__photo-name { font-size: .85rem; }
    .hm-content__title { font-size: 1.05rem; }
    .hm-content__text { font-size: .92rem; }
    .hm-instructor { padding: 0 16px; }
    .hm-instructor__inner { padding: 28px 22px; }
    .hm-instructor__header { gap: 10px; }
    .hm-instructor__name { font-size: 1.1rem; }
    .hm-videos__grid { gap: 10px; }
    .hm-video-card__play i { width: 34px; height: 34px; font-size: .85rem; }
    .hm-books__grid { gap: 14px; }
    .hm-books__item img { border-radius: 6px; }
}
@media (max-width: 400px) {
    .hm-info-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
 * mission/samtv.php
 * ============================================================ */
:root {
    --st-dark:   #111827;
    --st-accent: #EF4444;
    --st-accent-l: #FEE2E2;
    --st-blue:   #3B82F6;
    --st-gray:   #F3F4F6;
}

/* ── 히어로 ── */
.st-hero {
    position: relative;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 50%, #16213e 100%);
    padding: 72px 24px 90px;
    text-align: center;
    overflow: hidden;
}
.st-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(239,68,68,.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 40%, rgba(59,130,246,.1) 0%, transparent 50%);
    pointer-events: none;
}
.st-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}
.st-hero__eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--st-accent);
    background: rgba(239,68,68,.12);
    border: 1px solid rgba(239,68,68,.25);
    border-radius: 20px;
    padding: 5px 16px;
    margin-bottom: 20px;
}
.st-hero__title { margin: 0 0 8px; }
.st-hero__logo {
    max-width: 240px;
    height: auto;
}
.st-hero__desc {
    font-size: .95rem;
    color: rgba(255,255,255,.8);
    line-height: 1.85;
    margin: 16px 0 0;
    word-break: keep-all;
}
.st-hero__btns {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 28px;
}
.st-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform .15s, box-shadow .15s;
}
.st-hero__btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.st-hero__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.st-hero__btn--yt { background: #FF0000; color: #fff; }
.st-hero__btn--ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff; }
.st-hero__btn--tt { background: #fff; color: #000; }
.st-hero__wave {
    position: absolute;
    bottom: -1px;
    left: 0; right: 0;
    height: 60px;
}
.st-hero__wave svg { width: 100%; height: 100%; display: block; }
@media (max-width: 480px) {
    .st-hero__logo { max-width: 180px; }
    .st-hero__desc { font-size: .88rem; }
}

/* ── 공통 레이아웃 ── */
.st-body { background: #f4f6fb; }
.st-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 24px;
}
.st-section--alt {
    background: #fff;
    max-width: 100%;
    padding: 60px 0;
}
.st-section--alt > * {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}
.st-section--alt .st-section__head {
    max-width: 900px;
    margin: 0 auto 32px;
    padding: 0 24px;
}
.st-section__head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 32px;
}
.st-section__num {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--st-dark);
    opacity: .1;
    line-height: 1;
    flex-shrink: 0;
    font-family: 'Georgia', serif;
}
.st-section__title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 4px;
}
.st-section__sub {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .1em;
    color: var(--st-accent);
    text-transform: uppercase;
    margin: 0;
}

/* ── 01 소개 ── */
.st-about {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 16px rgba(0,0,0,.04);
    line-height: 1.85;
    color: #444;
    font-size: .95rem;
    word-break: keep-all;
}
.st-about p { margin: 0 0 12px; }
.st-about p:last-child { margin-bottom: 0; }
.st-about strong { color: var(--st-dark); }

/* ── 02 미션 카드 ── */
.st-intro-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.st-intro-card {
    background: #f9fafb;
    border-radius: 16px;
    padding: 32px 24px 28px;
    text-align: center;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: transform .2s, box-shadow .2s;
}
.st-intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 32px rgba(0,0,0,.08);
}
.st-intro-card__icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--st-accent-l);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--st-accent);
}
.st-intro-card__icon svg { width: 26px; height: 26px; }
.st-intro-card strong { font-size: 1rem; font-weight: 800; color: #1a1a1a; }
.st-intro-card p { font-size: .87rem; color: #666; line-height: 1.65; margin: 0; word-break: keep-all; }

/* ── 03 프로그램 ── */
.st-programs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.st-program {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #fff;
    border-radius: 14px;
    padding: 24px 26px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
    transition: transform .2s, box-shadow .2s;
}
.st-program:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.st-program__icon {
    flex-shrink: 0;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--st-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.st-program__icon svg { width: 22px; height: 22px; }
.st-program__body strong { display: block; font-size: .97rem; font-weight: 800; color: #1a1a1a; margin-bottom: 4px; }
.st-program__body p { font-size: .87rem; color: #666; line-height: 1.6; margin: 0; word-break: keep-all; }

/* ── 04 시설 ── */
.st-facility-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.st-facility-card {
    background: #f9fafb;
    border-radius: 16px;
    padding: 32px 24px 28px;
    text-align: center;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: transform .2s, box-shadow .2s;
}
.st-facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.st-facility-card__icon { font-size: 2.2rem; line-height: 1; }
.st-facility-card strong { font-size: .97rem; font-weight: 800; color: #1a1a1a; }
.st-facility-card p { font-size: .86rem; color: #666; line-height: 1.65; margin: 0; word-break: keep-all; }
.st-contact {
    text-align: center;
    margin-top: 28px;
    padding: 16px 24px;
    background: var(--st-gray);
    border-radius: 10px;
    font-size: .9rem;
    color: #555;
}
.st-contact i { margin-right: 6px; color: var(--st-accent); }
.st-contact a { color: var(--st-accent); font-weight: 600; }

/* ── 05 영상 ── */
.st-section--videos {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 24px;
}
.st-video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.st-video-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}
.st-video-card__thumb {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 10px;
    overflow: hidden;
    background: #111;
}
.st-video-card__thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s, opacity .3s;
}
.st-video-card:hover .st-video-card__thumb img {
    transform: scale(1.05);
    opacity: .85;
}
.st-video-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.25);
    transition: background .2s;
}
.st-video-card:hover .st-video-card__play { background: rgba(0,0,0,.42); }
.st-video-card__play svg {
    width: 36px; height: 36px;
    color: #fff;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
    transition: transform .2s;
}
.st-video-card:hover .st-video-card__play svg { transform: scale(1.15); }
.st-video-card__title {
    font-size: .82rem;
    font-weight: 600;
    color: #222;
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: keep-all;
}
.st-video-card__date { font-size: .75rem; color: #aaa; margin: 0; }

.st-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    background: var(--st-accent);
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(239,68,68,.3);
    transition: transform .15s, box-shadow .15s;
}
.st-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(239,68,68,.4);
}

/* ── 반응형 ── */
@media (max-width: 768px) {
    .st-hero { padding: 56px 20px 80px; }
    .st-section { padding: 48px 16px; }
    .st-section--alt { padding: 48px 0; }
    .st-section--alt .st-section__head,
    .st-section--alt .st-facility-cards,
    .st-section--alt .st-contact { padding-left: 16px; padding-right: 16px; }
    .st-intro-cards { grid-template-columns: 1fr; gap: 14px; }
    .st-intro-card { flex-direction: row; text-align: left; flex-wrap: wrap; padding: 20px; }
    .st-intro-card__icon { flex-shrink: 0; }
    .st-facility-cards { grid-template-columns: 1fr; gap: 14px; }
    .st-facility-card { flex-direction: row; text-align: left; flex-wrap: wrap; padding: 20px; }
    .st-programs { grid-template-columns: 1fr; gap: 12px; }
    .st-section--videos { padding: 48px 16px; }
    .st-video-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .st-about { padding: 24px 20px; }
}

/* ============================================================
 * mission/wepc.php
 * ============================================================ */
:root {
    --wp-blue:    #1B5EAA;
    --wp-blue-d:  #134899;
    --wp-blue-l:  #EBF2FC;
    --wp-gold:    #F0B429;
    --wp-gold-l:  #FFF8E1;
}

/* ── 소개 영상 링크 ── */
.wp-video-links {
    text-align: center;
    padding: 48px 24px 0;
}
.wp-video-links__label {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #aaa;
    margin: 0 0 16px;
}
.wp-video-links__btns {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.wp-video-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    border-radius: 50px;
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform .15s, box-shadow .15s;
}
.wp-video-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.wp-video-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.wp-video-btn--ko {
    background: var(--wp-blue);
    color: #fff;
    box-shadow: 0 4px 14px rgba(27,94,170,.3);
}
.wp-video-btn--en {
    background: var(--wp-gold);
    color: #fff;
    box-shadow: 0 4px 14px rgba(240,180,41,.35);
}

/* ── 히어로 ── */
.wp-hero {
    position: relative;
    background: linear-gradient(135deg, #0D3B7A 0%, #1B5EAA 50%, #2E7DD4 100%);
    padding: 72px 24px 90px;
    text-align: center;
    overflow: hidden;
}
.wp-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 40%, rgba(255,255,255,.08) 0%, transparent 55%),
        radial-gradient(circle at 85% 60%, rgba(240,180,41,.12) 0%, transparent 50%);
    pointer-events: none;
}
.wp-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}
.wp-hero__eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--wp-gold);
    background: rgba(240,180,41,.15);
    border: 1px solid rgba(240,180,41,.3);
    border-radius: 20px;
    padding: 5px 16px;
    margin-bottom: 20px;
}
.wp-hero__title {
    font-size: 3.2rem;
    font-weight: 900;
    color: #fff;
    margin: 0 0 24px;
    letter-spacing: .04em;
    text-shadow: 0 2px 16px rgba(0,0,0,.2);
}
.wp-hero__desc {
    font-size: .97rem;
    color: rgba(255,255,255,.88);
    line-height: 1.85;
    margin: 0;
    word-break: keep-all;
}
.wp-hero__site-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    padding: 14px 32px;
    border-radius: 50px;
    background: rgba(255,255,255,.15);
    border: 2px solid rgba(255,255,255,.5);
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    backdrop-filter: blur(6px);
    transition: background .2s, transform .15s, box-shadow .15s;
}
.wp-hero__site-btn svg:first-child {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.wp-hero__site-btn:hover {
    background: rgba(255,255,255,.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.wp-hero__wave {
    position: absolute;
    bottom: -1px;
    left: 0; right: 0;
    height: 60px;
}
.wp-hero__wave svg { width: 100%; height: 100%; display: block; }

/* ── 공통 레이아웃 ── */
.wp-body {
    background: #f4f8ff;
}
.wp-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 24px;
}
.wp-section--alt {
    background: #fff;
    max-width: 100%;
    padding: 60px 0;
}
.wp-section--alt > * {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}
.wp-section--alt .wp-section__head {
    max-width: 900px;
    margin: 0 auto 32px;
    padding: 0 24px;
}
.wp-section--alt .wp-criteria,
.wp-section--alt .wp-programs {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.wp-section__head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 32px;
}
.wp-section__num {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--wp-blue);
    opacity: .15;
    line-height: 1;
    flex-shrink: 0;
    font-family: 'Georgia', serif;
}
.wp-section__title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 4px;
}
.wp-section__sub {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .1em;
    color: var(--wp-blue);
    text-transform: uppercase;
    margin: 0;
}

/* ── 01 소개 카드 ── */
.wp-intro-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.wp-intro-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px 28px;
    text-align: center;
    border: 1px solid rgba(27,94,170,.1);
    box-shadow: 0 4px 20px rgba(27,94,170,.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: transform .2s, box-shadow .2s;
}
.wp-intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 32px rgba(27,94,170,.13);
}
.wp-intro-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--wp-blue-l);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wp-blue);
}
.wp-intro-card__icon svg { width: 26px; height: 26px; }
.wp-intro-card strong {
    font-size: 1rem;
    font-weight: 800;
    color: #1a1a1a;
}
.wp-intro-card p {
    font-size: .87rem;
    color: #666;
    line-height: 1.65;
    margin: 0;
    word-break: keep-all;
}

/* ── 02 선발 기준 ── */
.wp-criteria {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.wp-criteria__item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--wp-blue-l);
    border-radius: 14px;
    padding: 24px 28px;
    border-left: 4px solid var(--wp-blue);
    transition: background .2s;
}
.wp-criteria__item:hover { background: #ddeafb; }
.wp-criteria__badge {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--wp-blue);
    color: #fff;
    font-size: .85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wp-criteria__text strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: var(--wp-blue-d);
    margin-bottom: 4px;
}
.wp-criteria__text p {
    font-size: .9rem;
    color: #444;
    margin: 0;
    line-height: 1.6;
    word-break: keep-all;
}

/* ── 03 운영 정책 ── */
.wp-policy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.wp-policy-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px 28px;
    text-align: center;
    border: 1px solid #e8eef8;
    box-shadow: 0 4px 16px rgba(27,94,170,.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: transform .2s, box-shadow .2s;
}
.wp-policy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(27,94,170,.12);
}
.wp-policy-card__icon { font-size: 2.2rem; line-height: 1; }
.wp-policy-card strong {
    font-size: .97rem;
    font-weight: 800;
    color: #1a1a1a;
}
.wp-policy-card p {
    font-size: .86rem;
    color: #666;
    line-height: 1.65;
    margin: 0;
    word-break: keep-all;
}

/* ── 04 지원 프로그램 ── */
.wp-programs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.wp-program {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: var(--wp-gold-l);
    border-radius: 14px;
    padding: 24px 26px;
    border: 1px solid rgba(240,180,41,.25);
    transition: background .2s;
}
.wp-program:hover { background: #fff3c4; }
.wp-program__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--wp-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-top: 2px;
}
.wp-program__icon svg { width: 22px; height: 22px; }
.wp-program__body strong {
    display: block;
    font-size: .97rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 6px;
}
.wp-program__body p {
    font-size: .87rem;
    color: #666;
    line-height: 1.65;
    margin: 0;
    word-break: keep-all;
}

/* ── 05 선교현장영상 ── */
.wp-section--mission {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 24px;
}
.wp-mv-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.wp-mv-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}
.wp-mv-card__thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    background: #111;
}
.wp-mv-card__thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s, opacity .3s;
}
.wp-mv-card:hover .wp-mv-card__thumb img {
    transform: scale(1.05);
    opacity: .85;
}
.wp-mv-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.25);
    transition: background .2s;
}
.wp-mv-card:hover .wp-mv-card__play { background: rgba(0,0,0,.42); }
.wp-mv-card__play svg {
    width: 36px; height: 36px;
    color: #fff;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
    transition: transform .2s;
}
.wp-mv-card:hover .wp-mv-card__play svg { transform: scale(1.15); }
.wp-mv-card__title {
    font-size: .82rem;
    font-weight: 600;
    color: #222;
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: keep-all;
}
.wp-mv-card__date {
    font-size: .75rem;
    color: #aaa;
    margin: 0;
}

/* ── 반응형 ── */
@media (max-width: 768px) {
    .wp-hero { padding: 56px 20px 80px; }
    .wp-hero__title { font-size: 2.4rem; }
    .wp-hero__desc { font-size: .9rem; }
    .wp-section { padding: 48px 16px; }
    .wp-section--alt { padding: 48px 0; }
    .wp-section--alt .wp-section__head,
    .wp-section--alt .wp-criteria,
    .wp-section--alt .wp-programs { padding: 0 16px; }
    .wp-intro-cards { grid-template-columns: 1fr; gap: 14px; }
    .wp-intro-card { flex-direction: row; text-align: left; flex-wrap: wrap; padding: 20px; }
    .wp-intro-card__icon { flex-shrink: 0; }
    .wp-policy-grid { grid-template-columns: 1fr; gap: 14px; }
    .wp-policy-card { flex-direction: row; text-align: left; flex-wrap: wrap; padding: 20px; }
    .wp-programs { grid-template-columns: 1fr; gap: 12px; }
    .wp-criteria__item { padding: 18px 20px; gap: 16px; }
    .wp-section--mission { padding: 48px 16px; }
    .wp-mv-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
