/* ============================================
   ZAKAR KOREA — 공용 스타일 (전 페이지)
   팔레트: 화이트/블랙 (Wix 원본), Questrial + Pretendard
   ============================================ */
:root {
    --bg: #ffffff;
    --text: #000000;
    --text-soft: #404040;
    --accent: #ffd1ea;
    --line: rgba(0, 0, 0, 0.08);
    --font-latin: 'Questrial', sans-serif;
    --font-body: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui,
        'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease, opacity 0.2s ease;
}

img {
    max-width: 100%;
    display: block;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    z-index: 1000;
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    font-family: var(--font-latin);
    font-size: 1.6rem;
    letter-spacing: 2px;
    white-space: nowrap;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 0.92rem;
    color: var(--text-soft);
    padding: 10px 0;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--text);
}

.nav-item {
    position: relative;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    min-width: 250px;
    z-index: 1001;
}

.nav-item:hover .dropdown {
    display: flex;
    flex-direction: column;
}

.dropdown a {
    padding: 10px 22px;
    font-size: 0.88rem;
    color: var(--text-soft);
    white-space: nowrap;
}

.dropdown a:hover {
    color: var(--text);
    background: rgba(0, 0, 0, 0.04);
}

.login-link {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.9rem;
    color: var(--text-soft);
    white-space: nowrap;
}

.login-link:hover {
    color: var(--text);
}

/* ---------- 페이지 히어로 ---------- */
.page-hero {
    text-align: center;
    padding: 90px 24px 60px;
    background-size: cover;
    background-position: center;
}

.page-hero h1 {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: 3px;
    word-break: keep-all;
    line-height: 1.4;
}

.page-hero .hero-sub {
    margin-top: 18px;
    font-size: 1.05rem;
    color: var(--text-soft);
    word-break: keep-all;
}

.page-hero .hero-en {
    font-family: var(--font-latin);
    letter-spacing: 2px;
    margin-top: 10px;
    color: var(--text-soft);
}

.page-hero .hero-verse {
    margin-top: 26px;
    font-size: 1.02rem;
    color: var(--text-soft);
    font-style: italic;
    word-break: keep-all;
}

/* ---------- 본문 공통 ---------- */
.content {
    max-width: 860px;
    margin: 0 auto;
    padding: 50px 24px 110px;
}

.content-wide {
    max-width: 1140px;
    margin: 0 auto;
    padding: 50px 24px 110px;
}

.section {
    margin-bottom: 70px;
}

.section h2 {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 24px;
    word-break: keep-all;
    line-height: 1.45;
}

.section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 30px 0 12px;
    word-break: keep-all;
}

.section p {
    font-size: 1.02rem;
    line-height: 1.9;
    color: var(--text-soft);
    margin-bottom: 16px;
    word-break: keep-all;
}

.section ul {
    list-style: none;
    margin-bottom: 16px;
}

.section li {
    font-size: 1.02rem;
    line-height: 1.9;
    color: var(--text-soft);
    word-break: keep-all;
}

.center {
    text-align: center;
}

.footnote {
    margin-top: 60px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    font-size: 0.92rem;
    color: var(--text-soft);
    line-height: 1.8;
    word-break: keep-all;
}

/* ---------- 버튼 ---------- */
.btn {
    display: inline-block;
    background: #000000;
    color: #ffffff;
    font-size: 0.98rem;
    letter-spacing: 1px;
    padding: 14px 42px;
    margin: 6px 8px 6px 0;
    transition: opacity 0.25s ease;
}

.btn:hover {
    opacity: 0.75;
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--text);
    border: 1px solid var(--text);
    font-size: 0.98rem;
    letter-spacing: 1px;
    padding: 13px 42px;
    margin: 6px 8px 6px 0;
    transition: all 0.25s ease;
}

.btn-outline:hover {
    background: #000;
    color: #fff;
}

/* ---------- 이벤트(공지) 페이지 ---------- */
.event-page {
    max-width: 760px;
    margin: 0 auto;
    padding: 70px 24px 110px;
    text-align: center;
}

.event-page .poster {
    margin: 0 auto 50px;
    max-width: 560px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
}

.event-page h1 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 20px;
    word-break: keep-all;
}

.event-page .verse {
    font-size: 1.02rem;
    color: var(--text-soft);
    font-style: italic;
    margin-bottom: 34px;
    word-break: keep-all;
}

.event-page .details {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--text-soft);
    margin-bottom: 40px;
    word-break: keep-all;
}

.event-page .actions {
    margin-bottom: 60px;
}

.event-info {
    border-top: 1px solid var(--line);
    padding-top: 36px;
    font-size: 0.95rem;
    color: var(--text-soft);
    line-height: 1.9;
    text-align: center;
    word-break: keep-all;
}

.event-info .brand {
    font-family: var(--font-latin);
    font-size: 1.3rem;
    letter-spacing: 3px;
    color: var(--text);
    margin-bottom: 6px;
}

/* ---------- 카드 (F/P/A/P 등) ---------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    margin: 50px 0;
}

.info-card {
    border: 1px solid var(--line);
    padding: 38px 28px;
    text-align: center;
}

.info-card .initial {
    font-family: var(--font-latin);
    font-size: 2.6rem;
    line-height: 1;
    margin-bottom: 14px;
}

.info-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.info-card p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-soft);
    margin-bottom: 18px;
    word-break: keep-all;
}

.info-card a.more {
    font-size: 0.9rem;
    text-decoration: underline;
}

/* ---------- 갤러리 ---------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 50px;
}

.gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* ---------- 일정 리스트 ---------- */
.schedule {
    border-top: 1px solid var(--line);
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 4px;
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
}

.schedule-item .what {
    font-size: 1.02rem;
    font-weight: 600;
    word-break: keep-all;
}

.schedule-item .where {
    font-size: 0.95rem;
    color: var(--text-soft);
    white-space: nowrap;
}

/* ---------- 태그(방법들) ---------- */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0;
}

.tags span {
    border: 1px solid var(--text);
    padding: 8px 20px;
    font-size: 0.95rem;
}

/* ---------- 조문(UDHR) ---------- */
.article h3 {
    margin: 34px 0 10px;
    font-size: 1.1rem;
}

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--line);
    padding: 46px 24px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-soft);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 1.9rem;
    }

    .login-link {
        display: none;
    }

    .event-page h1 {
        font-size: 1.5rem;
    }
}
