/* ============================================
   성안교회 반응형 테마 - 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;
}
/* ---- 교회안내 바로가기 (메인 모바일) ---- */
.sg-church-nav__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sg-church-nav__item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    color: var(--color-text);
    text-decoration: none;
    transition: box-shadow .2s, transform .2s;
    border: 1px solid #eef0f4;
}
.sg-church-nav__item:hover {
    box-shadow: 0 6px 24px rgba(26,60,110,.13);
    transform: translateY(-2px);
    color: var(--color-primary);
}
.sg-church-nav__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}
.sg-church-nav__label {
    flex: 1;
    font-size: 1rem;
    font-weight: 700;
    color: inherit;
}
.sg-church-nav__arrow {
    flex-shrink: 0;
    color: #bbbec8;
    font-size: .9rem;
    transition: color .2s, transform .2s;
}
.sg-church-nav__item:hover .sg-church-nav__arrow {
    color: var(--color-primary);
    transform: translateX(3px);
}

/* PC에서는 2열 가로 배치 */
@media (min-width: 769px) {
    .sg-church-nav { display: none; }
}

/* 부서안내 메인 카드 그리드 */
/* 부서안내 — 공통 카드 스타일 */
.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; }
}
