﻿.guide-wrap {
    max-width: 980px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
}

.guide-card {
    background: #fff;
    border: 1px solid var(--ship-border);
    border-radius: 0.9rem;
    box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.04);
}

.guide-title {
    color: var(--ship-primary);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.guide-meta {
    color: var(--ship-muted);
    font-size: 0.92rem;
}

.toc a {
    text-decoration: none;
}

    .toc a:hover {
        text-decoration: underline;
    }

.guide-section h2 {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.guide-section p,
.guide-section li {
    color: #495057;
    line-height: 1.7;
    font-size: 0.96rem;
}

.guide-tabs {
    overflow-x: auto;
    border: 1px solid #ced4da;
    border-radius: 0.35rem;
    background: #fff;
}

    .guide-tabs .nav {
        min-width: max-content;
        flex-wrap: nowrap;
    }

    .guide-tabs .nav-link {
        border: 0;
        border-right: 1px solid #ced4da;
        border-radius: 0;
        color: #495057;
        font-size: 0.92rem;
        padding: 0.75rem 1.1rem;
        white-space: nowrap;
    }

    .guide-tabs .nav-item:last-child .nav-link {
        border-right: 0;
    }

    .guide-tabs .nav-link.active {
        background: #4a5568;
        color: #fff;
        font-weight: 700;
    }

.step-list li {
    margin-bottom: 0.25rem;
}

@media (max-width: 576px) {
    .guide-wrap {
        padding: 1rem 0.6rem 1.5rem;
    }

    .guide-card {
        border-radius: 0.7rem;
    }

    .guide-title {
        font-size: 1.3rem;
    }

    .guide-meta {
        font-size: 0.84rem;
        line-height: 1.5;
    }

    .toc {
        padding: 0.75rem !important;
    }

    .guide-section h2 {
        font-size: 1rem;
    }

    .guide-section p,
    .guide-section li {
        font-size: 0.9rem;
        line-height: 1.65;
    }
}