:root {
    --color-primary: #2c5282;
    --color-text: #1a202c;
    --color-text-light: #4a5568;
    --color-bg: #f7fafc;
    --color-white: #ffffff;
    --radius: 10px;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Pretendard", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
}

body.nav-open {
    overflow: hidden;
    padding-right: var(--scrollbar-width, 0px);
}

.site-header {
    background: var(--color-primary);
    color: #fff;
    padding: 0.75rem 1.25rem;
    position: relative;
    z-index: 1000;
}

.header-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.site-logo-mark {
    height: 2.25rem;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    flex-shrink: 0;
    vertical-align: middle;
}

.site-logo-text {
    line-height: 1.2;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    row-gap: 0.35rem;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.main-nav a:hover {
    text-decoration: underline;
}

.menu-toggle {
    display: none;
    width: 2.4rem;
    height: 2.4rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    background: transparent;
    color: #fff;
    padding: 0.35rem;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.24rem;
    cursor: pointer;
}

.hamburger {
    width: 1.1rem;
    height: 2px;
    background: #fff;
    display: block;
    border-radius: 2px;
}

.nav-overlay {
    display: none;
}

.nav-overlay[hidden] {
    display: none !important;
}

.content {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 1.25rem;
}

.content h1 {
    margin-top: 0;
    color: var(--color-primary);
}

.lead {
    font-size: 1.1rem;
    color: #4a5568;
}

.site-footer {
    margin-top: 3rem;
    padding: 1.5rem 1.25rem;
    text-align: center;
    font-size: 0.9rem;
    color: #718096;
    border-top: 1px solid #e2e8f0;
}

code {
    background: #edf2f7;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
}

.worship-page {
    padding-top: 1.25rem;
}

.page-hero {
    position: relative;
    margin-bottom: 1.5rem;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 240px;
    background-size: cover;
    background-position: center;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.page-hero-text {
    position: relative;
    z-index: 1;
    color: #fff;
    text-align: center;
    padding: 3.5rem 1rem;
}

.page-hero-title {
    margin: 0 0 0.5rem;
    font-size: 2rem;
    font-weight: 700;
}

.page-hero-lead {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.worship-intro {
    margin: 0 0 1rem;
    color: var(--color-text-light);
    font-size: 1rem;
}

.worship-sns {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: rgba(44, 82, 130, 0.06);
    border-radius: var(--radius);
    border: 1px solid rgba(44, 82, 130, 0.12);
}

.worship-sns-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.worship-sns-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 2.75rem;
    height: 2.75rem;
    padding: 0 1rem;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}

.worship-sns-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.worship-sns-btn .worship-sns-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.worship-sns-btn-text {
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
}

.worship-sns-youtube {
    background: #ff0000;
}

.worship-sns-youtube:hover {
    background: #cc0000;
    color: #fff;
}

.worship-sns-insta {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.worship-schedule {
    margin-bottom: 1.5rem;
    overflow-x: auto;
    min-width: 0;
}

.worship-table {
    width: 100%;
    min-width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
    table-layout: auto;
    background: var(--color-white);
}

.worship-table th,
.worship-table td {
    padding: 0.9rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.worship-table th:last-child,
.worship-table td:last-child {
    border-right: none;
}

.worship-table thead th {
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
}

.worship-table thead th:first-child {
    border-radius: var(--radius) 0 0 0;
}

.worship-table thead th:last-child {
    border-radius: 0 var(--radius) 0 0;
}

.worship-table tbody tr:hover {
    background: rgba(44, 82, 130, 0.04);
}

.worship-table tbody td {
    vertical-align: top;
}

.worship-name-cell {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.worship-name {
    font-weight: 500;
    color: var(--color-text);
}

.worship-place {
    color: var(--color-text-light);
    white-space: nowrap;
    word-break: keep-all;
}

.worship-time {
    font-weight: 600;
    color: var(--color-primary);
    white-space: nowrap;
}

.worship-dept-sns {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.worship-dept-sns-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    border-radius: 4px;
    text-decoration: none;
    color: #fff;
}

.worship-dept-sns-link .worship-dept-sns-icon {
    width: 0.875rem;
    height: 0.875rem;
}

.worship-dept-insta {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.worship-dept-yt {
    background: #ff0000;
}

.worship-dept-fb {
    background: #1877f2;
}

.contact-subtitle {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
}

.contact-floor-guide {
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-floor-guide .contact-subtitle {
    margin-bottom: 1.25rem;
}

.contact-floor-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-floor-card {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-floor-title {
    margin: 0;
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    background: rgba(44, 82, 130, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-floor-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    background: var(--color-bg);
}

@media (max-width: 768px) {
    .header-inner {
        align-items: center;
        position: relative;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: calc(100% + 0.35rem);
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        flex-direction: column;
        gap: 0;
        margin-top: 0;
        padding: 0.5rem 0;
        border-radius: 0;
        border-top: none;
        background: rgba(17, 24, 39, 0.96);
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
        z-index: 1100;
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        display: block;
        width: 100%;
        padding: 0.75rem 1.25rem;
        text-decoration: none;
    }

    .main-nav a:hover,
    .main-nav a:focus-visible {
        background: rgba(255, 255, 255, 0.12);
        text-decoration: none;
        outline: none;
    }

    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1050;
    }

    .page-hero-title {
        font-size: 1.6rem;
    }

    .page-hero-lead {
        font-size: 1rem;
    }

    .worship-table {
        width: max-content;
        min-width: 100%;
    }

    .worship-table th,
    .worship-table td {
        padding: 0.75rem 0.85rem;
        font-size: 0.95rem;
    }

    .worship-time {
        font-size: 0.95rem;
    }

    .contact-floor-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 400px) {
    .worship-table {
        min-width: min(100%, 360px);
        font-size: 0.875rem;
    }

    .worship-table th,
    .worship-table td {
        padding: 0.5rem 0.55rem;
        font-size: 0.875rem;
    }

    .worship-name-cell {
        min-width: 0;
    }

    .worship-time,
    .worship-sns-btn-text {
        font-size: 0.85rem;
    }
}

.about-page {
    padding-top: 1.25rem;
}

.about-block {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.about-block-inner {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.about-greeting-no-photo {
    display: block;
}

.about-image-wrap {
    flex: 0 0 220px;
}

.about-img-btn {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    line-height: 0;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-subtitle {
    margin: 0 0 0.75rem;
    font-size: 1.2rem;
    color: var(--color-primary);
}

.about-lead {
    margin: 0 0 0.75rem;
    font-weight: 600;
}

.about-body p {
    margin: 0 0 0.75rem;
    color: var(--color-text);
}

.about-sign {
    margin: 0.5rem 0 0;
    color: var(--color-text-light);
}

.about-vision-text {
    margin: 0;
    font-weight: 600;
    color: var(--color-primary);
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
}

.staff-card {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius);
    overflow: hidden;
}

.staff-card-photo {
    aspect-ratio: 1;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.staff-card-photo-btn {
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
}

.staff-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.staff-card-info {
    padding: 1rem;
}

.staff-card-name {
    margin: 0 0 0.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

.staff-card-position,
.staff-card-dept,
.staff-card-contact {
    margin: 0 0 0.25rem;
    font-size: 0.9rem;
}

.staff-card-contact a {
    color: var(--color-text-light);
    text-decoration: none;
}

.staff-empty-about {
    margin: 0;
    color: var(--color-text-light);
}

.about-education-lead {
    margin-bottom: 1.25rem;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
}

.education-card {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius);
    overflow: hidden;
}

.education-card-photo {
    aspect-ratio: 16 / 10;
    background: var(--color-bg);
}

.education-card-photo-btn {
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
}

.education-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.education-card-body {
    padding: 1rem;
}

.education-card-title {
    margin: 0 0 0.5rem;
    color: var(--color-primary);
}

.education-card-desc {
    margin: 0;
    font-size: 0.9rem;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.image-lightbox[hidden] {
    display: none !important;
}

.image-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

.image-lightbox-inner {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-lightbox-close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    width: 2rem;
    height: 2rem;
    border: none;
    background: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
}

.image-lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius);
}

.image-lightbox-caption {
    margin: 0.75rem 0 0;
    color: #fff;
}

@media (max-width: 768px) {
    .about-block-inner {
        flex-direction: column;
    }

    .about-image-wrap {
        max-width: 220px;
    }

    .education-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== 홈(index) ========== */
.index-live-preview-hint {
    margin: 0 0 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    color: var(--color-text-light);
    background: rgba(0, 0, 0, 0.04);
    border-radius: var(--radius);
}

.index-live-preview-hint a {
    color: var(--color-primary);
}

.index-live-wrap {
    margin-top: 1.5rem;
    margin-bottom: 1.75rem;
    display: flex;
    justify-content: center;
}

.index-live-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    background: #fff;
    border: 2px solid #ff0000;
    border-radius: var(--radius);
    text-decoration: none;
    animation: index-live-btn-pulse 2s ease-in-out infinite;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.index-live-btn:hover {
    background: #fff5f5;
    border-color: #cc0000;
    color: #333;
    transform: translateY(-1px);
    animation: none;
    box-shadow: var(--shadow);
}

@keyframes index-live-btn-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.25); }
    50% { box-shadow: 0 0 0 6px rgba(255, 0, 0, 0); }
}

.index-live-btn-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #ff0000;
    flex-shrink: 0;
    animation: index-live-dot-blink 1.2s ease-in-out infinite;
}

@keyframes index-live-dot-blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.9); }
}

.index-live-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
}

.index-live-btn-icon svg {
    width: 100%;
    height: 100%;
}

.index-tables {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    margin-top: 1.75rem;
}

.index-tables .index-block:only-child {
    grid-column: 1 / -1;
}

.index-block {
    min-width: 0;
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.index-block-title {
    margin: 0;
    padding: 0.9rem 1rem;
    font-size: 1.05rem;
    color: var(--color-primary);
    background: rgba(44, 82, 130, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.index-block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.6rem 0.8rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(44, 82, 130, 0.04);
}

.index-block-head .index-block-title {
    padding: 0;
    border: none;
    background: none;
}

.btn {
    display: inline-block;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
}

.index-table-wrap {
    overflow-x: auto;
}

.index-table {
    width: 100%;
    border-collapse: collapse;
}

.index-table th,
.index-table td {
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    vertical-align: top;
}

.index-table th {
    text-align: left;
    color: var(--color-text);
    background: #fff;
}

.index-row-date {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.82rem;
    color: var(--color-text-light);
}

.index-row-title {
    color: var(--color-text);
    text-decoration: none;
}

.index-row-title:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.index-empty {
    color: var(--color-text-light);
    text-align: center;
}

.index-more {
    margin: 0;
    padding: 0.75rem 0.9rem;
    text-align: right;
}

.index-more a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 900px) {
    .index-tables {
        grid-template-columns: 1fr;
    }
}

/* ========== 공지사항 ========== */
.notice-section .notice-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.notice-list-wrap {
    overflow-x: auto;
    width: 100%;
}

.notice-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.notice-table th,
.notice-table td {
    padding: 0.75rem 0.85rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.notice-table thead th {
    background: var(--color-bg);
    font-weight: 600;
    color: var(--color-text);
}

.notice-table tbody tr:hover {
    background: rgba(44, 82, 130, 0.03);
}

.notice-table .col-num {
    width: 5rem;
    min-width: 5rem;
    text-align: center;
    white-space: nowrap;
}

.notice-table .col-title {
    min-width: 12rem;
}

.notice-table .col-title a {
    color: var(--color-text);
    text-decoration: none;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notice-table .col-title a:hover {
    color: var(--color-primary);
    text-decoration: underline;
    white-space: normal;
}

.notice-table .col-author,
.notice-table .col-date {
    width: 5.5rem;
    min-width: 5.5rem;
    color: var(--color-text-light);
    white-space: nowrap;
}

.notice-table .col-hit {
    width: 2.75rem;
    min-width: 2.75rem;
    text-align: center;
    color: var(--color-text-light);
    white-space: nowrap;
}

.notice-empty {
    text-align: center;
    color: var(--color-text-light);
    padding: 2rem !important;
}

.badge-pin {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    background: rgba(44, 82, 130, 0.12);
    border-radius: 4px;
    white-space: nowrap;
}

.btn-secondary {
    background: var(--color-bg);
    color: var(--color-text);
    border: 1px solid rgba(0, 0, 0, 0.14);
}

.btn-secondary:hover {
    background: #e2e8f0;
    color: var(--color-text);
    border-color: rgba(0, 0, 0, 0.18);
}

.btn-danger {
    background: #c53030;
    color: var(--color-white);
}

.btn-danger:hover {
    color: var(--color-white);
    background: #9b2c2c;
}

.notice-paging {
    margin-top: 1.5rem;
}

.paging-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.25rem;
}

.paging-list .paging-btn {
    display: block;
    padding: 0.4rem 0.75rem;
    min-width: 2.25rem;
    text-align: center;
    border-radius: 6px;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    background: var(--color-bg);
}

.paging-list .paging-btn:hover {
    background: #e2e8f0;
    color: var(--color-primary);
}

.paging-list .paging-btn.active {
    background: var(--color-primary);
    color: var(--color-white);
}

.notice-view-head {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.notice-view-title {
    margin: 0 0 0.75rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.4;
}

.notice-view-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.notice-view-body {
    min-height: 8rem;
    margin-bottom: 1.5rem;
    white-space: pre-wrap;
    word-break: break-word;
}

.notice-view-updated {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin: 0 0 1rem;
}

.notice-view-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.site-footer .footer-inner {
    margin-bottom: 0.75rem;
}

.site-footer .footer-address,
.site-footer .footer-phone {
    margin: 0.25rem 0;
}

.site-footer .footer-phone a {
    color: inherit;
    text-decoration: none;
}

.site-footer .footer-phone a:hover {
    text-decoration: underline;
}

.site-footer .footer-copy {
    margin: 0.5rem 0 0;
    font-size: 0.85rem;
}

/* 오시는길 */
.contact-section .page-title {
    margin-bottom: 1rem;
}

.contact-info-block {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow);
}

.contact-info-line {
    margin: 0.35rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: baseline;
}

.contact-info-label {
    font-weight: 600;
    color: var(--color-primary);
    min-width: 2.5rem;
}

.contact-info-line a {
    color: var(--color-primary);
    text-decoration: none;
}

.contact-info-line a:hover {
    text-decoration: underline;
}

.contact-map-api-wrap {
    margin-bottom: 1.25rem;
}

.contact-map-api {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-map-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.contact-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.contact-map-btn:hover {
    border-color: rgba(0, 0, 0, 0.2);
    color: var(--color-text);
}

.contact-map-btn-icon {
    display: inline-flex;
    width: 1.35rem;
    height: 1.35rem;
}

.contact-map-btn-icon svg {
    width: 100%;
    height: 100%;
}

.contact-empty {
    color: var(--color-text-light);
    margin-top: 1rem;
}

/* 로그인 */
.login-page .login-box {
    max-width: 420px;
    margin-top: 1rem;
    padding: 1.5rem;
    background: var(--color-white);
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow);
}

.login-lead {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.login-error,
.form-error {
    color: #c53030;
    font-weight: 600;
    margin: 0 0 1rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-submit {
    margin-top: 0.25rem;
    width: 100%;
    justify-content: center;
}

/* 폼 공통 · 공지 작성 */
.form-label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.95rem;
}

.form-label-check {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.form-label-text {
    font-weight: 600;
    color: var(--color-text);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.55rem 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    font: inherit;
    background: var(--color-white);
}

.form-textarea {
    resize: vertical;
    min-height: 12rem;
}

.notice-form-page .notice-edit-form {
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-top: 1rem;
}

.notice-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* 관리자 목록 */
.admin-page .admin-hint,
.admin-page .admin-meta {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin: 0.35rem 0;
}

.admin-table-wrap {
    margin-top: 1.25rem;
    overflow-x: auto;
    width: 100%;
}

.admin-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 0.92rem;
    background: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.admin-table th,
.admin-table td {
    padding: 0.65rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    vertical-align: middle;
}

.admin-table thead th {
    background: rgba(44, 82, 130, 0.08);
    font-weight: 600;
    color: var(--color-text);
}

.admin-table .col-photo {
    width: 4rem;
}

.admin-staff-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.admin-staff-none {
    color: var(--color-text-light);
}

.admin-table .col-date {
    white-space: nowrap;
    color: var(--color-text-light);
}

.admin-table .col-live {
    white-space: nowrap;
}

.admin-table .col-link {
    white-space: nowrap;
}

.admin-empty {
    text-align: center;
    color: var(--color-text-light);
    padding: 2rem !important;
}

.btn-small {
    padding: 0.35rem 0.65rem;
    font-size: 0.85rem;
}

.inline-form {
    display: inline;
    margin: 0;
}

.inline-form .btn-small {
    vertical-align: middle;
}

.staff-admin-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.staff-admin-head .page-title {
    margin: 0;
}

.staff-admin-back {
    margin-top: 1.5rem;
}

.staff-admin-table .col-order {
    width: 4rem;
    text-align: center;
    white-space: nowrap;
}

.staff-admin-table .col-actions {
    white-space: nowrap;
}

.staff-admin-table .col-actions .btn-small {
    margin-right: 0.35rem;
}

.staff-form-page .staff-edit-form {
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-top: 1rem;
}

.staff-form-preview {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.form-hint {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin: 0.25rem 0 0;
}

.required-mark {
    color: #c53030;
}

.form-input-file {
    padding: 0.4rem 0;
}

.form-input-narrow {
    max-width: 8rem;
}
.youtube-admin-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.youtube-admin-head .page-title {
    margin: 0;
}

.admin-table-youtube .col-actions {
    white-space: nowrap;
}

.youtube-form-page .youtube-edit-form {
    max-width: 640px;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-top: 1rem;
}
