.help-container {
    display: flex;
    gap: 0;
    min-height: 640px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.help-sidebar {
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    border-right: 1px solid #e5e7eb;
    background: #f8fafc;
    overflow-y: auto;
    padding: 20px 16px;
}

.help-sidebar-group + .help-sidebar-group {
    border-top: 1px solid #e5e7eb;
}

.help-category-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
    padding: 11px 14px;
}

.help-category-toggle:hover,
.help-category-toggle:focus {
    background: #eef2ff;
    color: #334155;
    outline: none;
}

.help-category-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

.help-category-arrow {
    color: #94a3b8;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.help-sidebar-group.is-open .help-category-arrow {
    transform: rotate(180deg);
}

.help-video-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
}

.help-sidebar-group.is-open .help-video-list {
    display: block;
}

.help-video-list li + li {
    margin-top: 6px;
}

.help-video-item {
    width: 100%;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #1f2937;
    text-align: left;
    cursor: pointer;
    padding: 10px 10px;
    transition: all 0.2s ease;
}

.help-video-item:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
}

.help-video-item.active {
    background: #e0e7ff;
    border-color: #818cf8;
    box-shadow: inset 0 0 0 1px #6366f1;
}

.help-video-item-title {
    display: block;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
}
.help-video-item-title:hover  {
    color:#000;
}

.help-video-item:hover .help-video-item-title{
    color:#000;
}
.help-video-item-meta {
    display: block;
    margin-top: 2px;
    color: #6b7280;
    font-size: 12px;
}

.help-content {
    flex: 1;
    padding: 26px 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.help-video-player {
    width: 100%;
}

.help-video-player video {
    width: 100%;
    max-width: 900px;
    border-radius: 12px;
    background: #000;
    border: 1px solid #d1d5db;
    display: block;
}

.help-video-info h3 {
    margin: 0 0 8px 0;
    font-size: 24px;
    color: #111827;
}

.help-video-info p {
    margin: 0;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.5;
}

.help-news-panel {
    max-width: 900px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    padding: 22px 24px;
}

.help-news-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.help-news-type {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.help-news-date {
    color: #64748b;
    font-size: 13px;
}

.help-news-panel h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: #0f172a;
}

.help-news-summary {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #334155;
    font-weight: 600;
}

.help-news-details {
    margin: 0;
    color: #475569;
    line-height: 1.55;
}

#cosmic-help-meta {
    margin-top: 10px;
    font-size: 13px;
    color: #6b7280;
}

.help-meta-sep {
    margin: 0 7px;
}

@media (max-width: 1100px) {
    .help-container {
        min-height: 0;
    }

    .help-content {
        padding: 20px;
    }
}

@media (max-width: 900px) {
    .help-container {
        flex-direction: column;
    }

    .help-sidebar {
        width: 100%;
        min-width: 0;
        max-width: none;
        border-right: 0;
        border-bottom: 1px solid #e5e7eb;
        max-height: 280px;
    }

    .help-video-player video {
        max-width: 100%;
    }
}
