@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');
:root {
    --seo-cream: #faf6ee;
    --seo-gold: #c9a961;
    --seo-ink: #1a1510;
    --seo-muted: #5c5348;
    --seo-card: #fffdf8;
    --seo-border: #e8dcc8;
}
body { margin: 0; font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, system-ui, sans-serif; background: var(--seo-cream); color: var(--seo-ink); line-height: 1.75; }
a { color: #1d4ed8; }
.seo-mast { background: linear-gradient(135deg, #1a1510, #3d3224); color: #f4e4b8; padding: 18px 16px; border-bottom: 3px solid var(--seo-gold); }
.seo-mast-inner { max-width: 900px; margin: 0 auto; }
.seo-brand { font-size: 12px; letter-spacing: 0.15em; margin: 0 0 6px; opacity: 0.9; }
.seo-funnel-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 16px;
    align-items: stretch;
}
.seo-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px 11px 11px;
    border-radius: 14px;
    text-decoration: none;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    font-weight: 800;
    font-size: 14px;
    line-height: 1.25;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
    border: 2px solid rgba(255, 255, 255, 0.72);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        0 0 0 1px rgba(0, 0, 0, 0.06);
}
.seo-cta-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.42),
        0 0 28px rgba(255, 193, 7, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
    color: #1a1208;
}
.seo-cta-btn--home {
    background: linear-gradient(148deg, #fff9c4 0%, #ffee58 28%, #ffc107 62%, #ff8f00 100%);
    color: #1a1208;
    flex: 1 1 260px;
    max-width: 100%;
}
.seo-cta-btn--play {
    background: linear-gradient(148deg, #fffde7 0%, #ffd740 30%, #ffb300 70%, #ff8f00 100%);
    color: #1a1208;
    flex: 1 1 220px;
    max-width: 100%;
}
.seo-cta-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 18%;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
    flex-shrink: 0;
}
.seo-cta-heart-fallback {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(201, 169, 97, 0.2);
    border: 2px solid #fff;
}
.seo-cta-heart-fallback.is-visible { display: inline-flex; }
.seo-cta-finger {
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
    animation: seoCtaFinger 1.5s ease-in-out infinite;
}
.seo-cta-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}
.seo-cta-text strong { font-size: 0.95rem; letter-spacing: -0.02em; }
.seo-cta-text small {
    font-size: 0.78rem;
    font-weight: 700;
    opacity: 0.9;
    line-height: 1.35;
    word-break: keep-all;
}
.seo-cta-play-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(145deg, #2d2a26, #1a1208);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.seo-cta-play-icon::after {
    content: '';
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 11px solid #ffc107;
    margin-left: 3px;
}
@keyframes seoCtaFinger {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-4px) scale(1.08); }
}
@media (max-width: 520px) {
    .seo-funnel-cta { flex-direction: column; }
    .seo-cta-btn { width: 100%; }
}
.seo-site-url { display: none; }
.seo-public-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    justify-content: center;
    margin: 16px auto;
    max-width: 920px;
    padding: 14px 16px;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}
.seo-public-nav a {
    color: #1d4ed8;
    text-decoration: none;
    padding: 4px 0;
}
.seo-mast .seo-public-nav a,
.site-mast .seo-public-nav a { color: #e8d9b0; }
.seo-public-nav a:hover { text-decoration: underline; }
.seo-policy-foot {
    margin: 28px auto 16px;
    max-width: 920px;
    padding: 0 16px 16px;
    text-align: center;
    font-size: 13px;
    color: #64748b;
    line-height: 1.65;
    border-top: 1px solid #e2e8f0;
}
.seo-policy-legal { padding-top: 14px; }
.seo-policy-legal strong { color: #475569; }
.seo-policy-links { margin: 12px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 18px; font-weight: 600; }
.seo-policy-links a { color: inherit; }
#siteLegalFooter .seo-public-nav { margin-top: 0; padding-top: 0; }
.site-footer-more-panel .seo-public-nav {
    margin: 0 auto 12px;
    padding: 8px 0 0;
}
.site-footer-legal-block {
    font-size: 12px;
    line-height: 1.65;
    color: var(--text-muted, #64748b);
    margin: 8px 0 12px;
}
.site-footer-legal-block a { color: inherit; }
.site-legal-footer-kakao,
.seo-policy-foot-kakao {
    margin: 8px 0 4px;
    justify-content: center;
    border-top: none;
    padding-top: 0;
}
.site-legal-footer-kakao a.site-kakao-link,
.seo-policy-foot-kakao a.site-kakao-link,
#siteLegalFooter.site-legal-footer .site-legal-footer-links a.site-kakao-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fee500;
    color: #191919 !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.site-legal-footer-kakao a.site-kakao-link:hover,
.seo-policy-foot-kakao a.site-kakao-link:hover,
#siteLegalFooter.site-legal-footer .site-legal-footer-links a.site-kakao-link:hover {
    background: #f5dc00;
    color: #191919 !important;
}
.site-footer-more-wrap {
    margin-top: 4px;
    padding-bottom: 8px;
}
.seo-policy-foot .site-footer-more-wrap {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}
body.theme-dark #siteLegalFooter .seo-public-nav a,
html.theme-dark #siteLegalFooter .seo-public-nav a { color: #93c5fd; }
.lg-footer .seo-public-nav { margin: 12px auto 8px; }
.lg-footer .seo-public-nav a { color: #1d4ed8; }
.seo-top-nav { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 12px; font-size: 14px; }
.seo-top-nav a { color: #e8d9b0; }
.seo-wrap { max-width: 900px; margin: 0 auto; padding: 20px 16px 40px; }
.seo-muted { color: var(--seo-muted); font-size: 14px; }
.seo-page-url { font-size: 12px; word-break: break-all; color: var(--seo-muted); }
.seo-card { background: var(--seo-card); border: 1px solid var(--seo-border); border-radius: 12px; padding: 16px 18px; margin: 16px 0; }
.seo-chapter-nav { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; font-weight: 600; }
.seo-foot { text-align: center; padding: 20px; font-size: 13px; color: var(--seo-muted); border-top: 1px solid var(--seo-border); }
.hymn-index-list, .article-index-list, .xref-seo-list { list-style: none; padding: 0; margin: 0; }
.hymn-index-list li, .article-index-list li { padding: 8px 0; border-bottom: 1px solid var(--seo-border); }
.xref-seo-list li { margin-bottom: 14px; }
.hymn-verse h3 { font-size: 15px; margin: 0 0 6px; color: var(--seo-muted); }
.hymn-verse p { margin: 0 0 4px; }
.seo-verse-quote { margin: 16px 0; padding: 14px 16px; border-left: 4px solid var(--seo-gold); background: #fff; font-size: 1.1rem; }
.seo-yt-embed-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 8px; margin-top: 10px; }
.seo-yt-embed-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.seo-license { font-size: 12px; margin-top: 12px; }
.verse-xref-inline { margin: 6px 0 10px 0; padding: 8px 10px; background: #f8fafc; border-radius: 8px; font-size: 13px; font-family: 'Noto Sans KR', sans-serif; }
.verse-xref-inline ul { margin: 4px 0 0; padding-left: 18px; }
.verse-xref-inline li { margin: 2px 0; }
.seo-article-body img { max-width: 100%; height: auto; }

/* ── SEO 더보기 · 일반 바로가기 (노란 강조 = 사이트 URL만) ── */
.seo-more-wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 4px 16px 0;
}
.seo-more-toggle {
    background: #fffdf8;
    color: #5c5348;
    border: 1px solid var(--seo-border);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 13px;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    cursor: pointer;
}
.seo-more-toggle:hover { border-color: var(--seo-gold); color: var(--seo-ink); }
.seo-more-panel[hidden] { display: none; }
.seo-more-panel { padding: 10px 0 4px; }
.seo-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    max-width: 1080px;
    margin: 0;
    padding: 0;
}
.seo-quick a {
    display: inline-block;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    color: #1d4ed8;
    background: #fff;
    border: 1px solid var(--seo-border);
    border-radius: 8px;
    text-decoration: none;
}
.seo-quick a:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #1e40af;
}

/* ── 성경 구절 SEO (자동읽기 1구절 · Trost형) ── */
.bverse-page { font-family: 'Pretendard', 'Noto Sans KR', sans-serif; }
.bverse-crumb {
    max-width: 1080px; margin: 0 auto; padding: 12px 16px 0;
    font-size: 13px; color: var(--seo-muted);
}
.bverse-crumb a { color: #1d4ed8; text-decoration: none; font-weight: 600; }
.bverse-crumb span { margin: 0 6px; }
.bverse-layout {
    max-width: 1080px; margin: 0 auto; padding: 12px 16px 40px;
    display: grid; grid-template-columns: 1fr 320px; gap: 20px; align-items: start;
}
.bverse-autoread-card {
    position: relative; min-height: 52vh; border-radius: 18px; overflow: hidden;
    border: 1px solid rgba(201, 169, 97, 0.28);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18); background: #13213d;
}
.bverse-autoread-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #1a3a6b 0%, #13213d 45%, #0f1a30 100%);
    transform: scale(1.02);
}
.bverse-autoread-shade {
    position: absolute; inset: 0;
    background:
        radial-gradient(120% 90% at 50% 16%, rgba(255, 247, 197, 0.26) 0%, rgba(255, 247, 197, 0) 65%),
        linear-gradient(180deg, rgba(10, 20, 43, 0.24) 0%, rgba(10, 20, 43, 0.56) 60%, rgba(10, 20, 43, 0.74) 100%);
}
.bverse-autoread-body {
    position: relative; z-index: 1; min-height: 52vh;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; padding: 28px 22px;
}
.bverse-ref {
    margin: 0 0 14px; font-size: 13px; letter-spacing: 0.08em;
    color: rgba(244, 228, 184, 0.85); font-weight: 600;
}
.bverse-text {
    margin: 0; max-width: 720px;
    font-family: 'Noto Serif KR', serif;
    font-size: clamp(1.45rem, 4.2vw, 2.15rem); line-height: 1.65;
    font-weight: 600; color: #fff7e8;
    word-break: keep-all;
}
.bverse-cite {
    margin: 18px 0 0; font-size: 14px; color: rgba(232, 217, 176, 0.88);
}
.bverse-actions {
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
    margin: 18px 0 8px;
}
.bverse-nav-btn {
    display: inline-block; padding: 10px 16px; border-radius: 999px;
    border: 1px solid var(--seo-border); background: #fff;
    text-decoration: none; color: var(--seo-ink); font-weight: 600; font-size: 14px;
}
.bverse-nav-btn--primary {
    background: linear-gradient(135deg, #e8d9b0, var(--seo-gold));
    border-color: #8b6914; color: var(--seo-ink);
}
.bverse-xrefs h2 { margin: 0 0 10px; font-size: 1.05rem; }
.bverse-canonical { margin-top: 16px; }
.bverse-chapter-list h2 { margin: 0 0 12px; font-size: 1rem; }
.bverse-verse-list {
    list-style: none; margin: 0; padding: 0; max-height: 70vh; overflow-y: auto;
}
.bverse-verse-list li { border-bottom: 1px solid var(--seo-border); }
.bverse-verse-list li.is-active { background: rgba(201, 169, 97, 0.15); }
.bverse-verse-list a {
    display: flex; gap: 10px; align-items: flex-start;
    padding: 10px 6px; text-decoration: none; color: var(--seo-ink);
}
.bverse-verse-list a:hover { background: rgba(29, 78, 216, 0.06); }
.bverse-verse-no {
    flex-shrink: 0; font-weight: 700; font-size: 12px; color: var(--seo-muted);
    min-width: 24px;
}
.bverse-verse-snippet {
    font-size: 13px; line-height: 1.45; font-family: 'Noto Serif KR', serif;
}
.bverse-text--he {
    font-family: 'Noto Serif Hebrew', 'David', serif;
    direction: rtl;
    unicode-bidi: plaintext;
}
.bverse-text--gr {
    font-family: 'Gentium Plus', 'Noto Serif', serif;
}
html[dir=rtl] .bverse-crumb,
html[dir=rtl] .bverse-aside { direction: rtl; }
@media (max-width: 900px) {
    .bverse-layout { grid-template-columns: 1fr; }
    .bverse-verse-list { max-height: none; }
}

/* SEO 공개 페이지 — 모바일 터치 스크롤 */
html[data-seo-app-sidebar="1"],
html[data-seo-app-sidebar="1"] body,
body.dd-seo-with-app-sidebar,
body.cm-seo {
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100dvh;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior-y: auto;
}
@media (max-width: 768px) {
    html[data-seo-app-sidebar="1"] body:not(.sb-closed) {
        padding-left: 0 !important;
    }
    .seo-policy-foot,
    .cm-foot,
    body.dd-seo-with-app-sidebar .foot {
        padding-bottom: max(28px, env(safe-area-inset-bottom, 0px));
    }
    .cm-wrap,
    .seo-wrap,
    body.dd-seo-with-app-sidebar main {
        padding-bottom: max(40px, env(safe-area-inset-bottom, 0px));
    }
    .seo-public-nav {
        gap: 10px 12px;
        font-size: 12px;
        padding: 12px 10px;
    }
}

/* 사업주 탭 — 전체 흐린 파랑 단색 (베이지·그라데이션 제거) */
html:has(body.tab-nationprayer-active),
html body.tab-nationprayer-active,
body.tab-nationprayer-active,
body.tab-nationprayer-active .container {
    display: block !important;
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    background: #eef4fc !important;
    background-image: none !important;
}
body.tab-nationprayer-active #siteLegalFooter.site-legal-footer {
    margin-top: 0 !important;
    padding: 20px 16px max(32px, env(safe-area-inset-bottom, 0px)) !important;
    border-top: 1px solid #dbe4f0;
    background: #eef4fc !important;
}
body.tab-nationprayer-active #nationPrayerArea,
body.tab-nationprayer-active .nation-prayer-frame {
    width: 100% !important;
    max-width: none !important;
}
@media (max-width: 768px) {
    body.tab-nationprayer-active #sb-mobile-toggle {
        display: flex !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
    body.tab-nationprayer-active #sb-collapse {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}
@media (min-width: 769px) {
    body.tab-nationprayer-active #sb-mobile-toggle {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}
@media (min-width: 769px) {
    body.tab-nationprayer-active:not(.sb-closed) .container {
        width: 100% !important;
    }
}
