/* Shared reading layout for the live, community, and Google login guides. */
.board-nav-bar[aria-label="이용 가이드"] .board-nav-inner {
    max-width: 1000px;
    margin-inline: auto;
}

.board-nav-bar[aria-label="이용 가이드"] .board-nav-item {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 550;
}

.guide-layout {
    --guide-ink: #17263c;
    --guide-support: #526379;
    --guide-line: #dde5ee;
    --guide-blue: #1d4ed8;
    color: var(--guide-ink);
}

.guide-layout .guide-hero {
    background: #fff;
    padding: 52px 24px 36px;
    text-align: left;
    border-bottom: 1px solid var(--guide-line);
}

.guide-layout .guide-hero::before { content: none; }
.guide-layout .hero-inner { max-width: 752px; }

.guide-layout .hero-title {
    color: var(--guide-ink);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 750;
    letter-spacing: -0.03em;
    line-height: 1.4;
    margin-bottom: 16px;
    text-wrap: balance;
    word-break: keep-all;
}

.guide-layout .hero-desc {
    color: var(--guide-support);
    font-size: 17px;
    line-height: 1.8;
    word-break: keep-all;
}

.guide-layout .guide-toc { padding-block: 28px; }
.guide-layout .section-inner { max-width: 800px; }
.guide-layout .toc-title { margin-bottom: 16px; font-size: 19px; }
.guide-layout .toc-grid { gap: 0 24px; }

.guide-layout .toc-card {
    min-height: 92px;
    border: 0;
    border-bottom: 1px solid var(--guide-line);
    border-radius: 0;
    background: #fff;
    padding: 16px 4px;
    gap: 14px;
    transition: background-color 160ms ease-out;
}

.guide-layout .toc-card:hover { background: #f5f8ff; box-shadow: none; transform: none; }
.guide-layout .toc-card-icon { width: 40px; height: 40px; border-radius: 8px; }
.guide-layout .toc-card-body h3 { font-size: 16px; line-height: 1.5; }
.guide-layout .toc-card-body p { color: var(--guide-support); font-size: 14px; line-height: 1.6; }
.guide-layout .toc-card-arrow { color: var(--guide-support); }
.guide-layout .section-subtitle { color: var(--guide-support); font-size: 15px; line-height: 1.7; }
.guide-layout .section-title { letter-spacing: -0.025em; line-height: 1.45; word-break: keep-all; }

.guide-layout .guide-section,
.guide-layout .guide-faq,
.guide-layout .guide-help-cta {
    opacity: 1;
    transform: none;
    transition: none;
}

.guide-layout .faq-question {
    width: 100%;
    min-height: 64px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.guide-layout .faq-q-text { font-size: 16px; line-height: 1.65; }
.guide-layout .faq-question:focus-visible { outline-color: var(--guide-blue); outline-offset: -4px; }
.guide-layout .faq-answer { font-size: 15px; line-height: 1.9; }
.guide-layout .faq-answer[hidden] { display: none; }
.guide-layout .step-tip,
.guide-layout .step-warning,
.guide-layout .step-success { border-inline: 0; border-radius: 8px; }
.guide-layout .cta-btn { min-height: 48px; font-size: 16px; border-radius: 8px; }
.guide-layout .cta-phone-text { user-select: text; }

@media (max-width: 768px) {
    .board-nav-bar[aria-label="이용 가이드"] .board-nav-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4px;
        padding: 8px 12px;
        overflow: visible;
    }
    .board-nav-bar[aria-label="이용 가이드"] .board-nav-item {
        margin: 0;
        min-height: 44px;
        padding: 10px 8px;
        border: 0;
        border-radius: 8px;
        background: transparent;
        box-shadow: none;
        font-size: 14px;
    }
    .board-nav-bar[aria-label="이용 가이드"] .board-nav-item.active {
        background: #eaf1ff;
        color: var(--brand-primary-hover, #1d4ed8);
        font-weight: 700;
    }
    .guide-layout .guide-hero { padding: 28px 20px; }
    .guide-layout .hero-title { font-size: 28px; margin-bottom: 12px; }
    .guide-layout .hero-desc { font-size: 16px; }
    .guide-layout .section-inner { padding-inline: 20px; }
    .guide-layout .toc-grid { grid-template-columns: 1fr; }
    .guide-layout .toc-card { min-height: 78px; }
    .guide-layout .guide-section,
    .guide-layout .guide-faq,
    .guide-layout .guide-help-cta { padding-block: 36px; }
    .guide-layout .section-header { margin-bottom: 24px; }
    .guide-layout .section-title { font-size: 23px; }
    .guide-layout .section-subtitle { font-size: 14px; }
    .guide-layout .cta-actions { gap: 12px; }
    .guide-layout .cta-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .guide-layout *, .guide-layout *::before, .guide-layout *::after { scroll-behavior: auto; transition: none; }
}
