/* ===== Base ===== */

.howto-page {
    max-width: 1200px;

    margin: 0 auto;

    padding: 2.5rem 1.5rem;

    font-family:
        Inter,
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;

    color: #1f2937;
}

/* ===== Navigation ===== */

.howto-nav {
    margin-bottom: 1.5rem;
}

.howto-nav a {
    color: #0284c7;

    text-decoration: none;

    font-weight: 500;
}

.howto-nav a:hover {
    text-decoration: underline;
}

/* ===== Header ===== */

.howto-header h1 {
    font-size: 2rem;

    margin-bottom: 2rem;

    color: #0f172a;
}

/* ===== Layout ===== */

.howto-layout {
    display: grid;

    grid-template-columns: 280px 1fr;

    gap: 2rem;
}

/* ===== Sidebar ===== */

.howto-sidebar {
    border-right: 1px solid #e2e8f0;

    padding-right: 1.5rem;
}

.sidebar-title {
    font-size: 1.1rem;

    margin-bottom: 1rem;

    color: #0f172a;
}

.howto-list {
    list-style: none;

    padding: 0;

    margin: 0;
}

.howto-list li {
    margin-bottom: 0.75rem;
}

.howto-list a {
    text-decoration: none;

    color: #334155;

    font-size: 0.95rem;

    transition: color 0.2s ease;
}

.howto-list a:hover {
    color: #0284c7;
}

/* ===== Content ===== */

.howto-content {
    min-width: 0;
}

.video-wrapper {
    margin-bottom: 2rem;
}

.video-wrapper video {
    width: 100%;

    max-width: 700px;

    border-radius: 12px;

    border: 1px solid #e2e8f0;
}

/* ===== Text content ===== */

.howto-text {
    line-height: 1.7;

    color: #334155;
}

.howto-text h2,
.howto-text h3 {
    color: #0f172a;

    margin-top: 1.5rem;
}

/* ===== Info box ===== */

.info-box {
    padding: 1rem 1.25rem;

    border-radius: 10px;

    background: #f1f5f9;

    border: 1px solid #e2e8f0;

    color: #334155;
}

/* ===== Mobile ===== */

@media (max-width: 768px) {

    .howto-layout {
        grid-template-columns: 1fr;
    }

    .howto-sidebar {
        border-right: none;

        padding-right: 0;

        border-bottom: 1px solid #e2e8f0;

        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }
}