.guides_layout {
    display: flex;
    gap: 32px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 32px;
    padding-top: 80px;
}

.guides_index {
    width: 280px;
    flex-shrink: 0;
    background: rgba(30, 32, 36, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 120px;
}

.guides_index_header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.guides_index_title {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.guides_index_nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.guides_index_section {
    display: flex;
    flex-direction: column;
}

.guides_index_item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: transparent;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.guides_index_item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.guides_index_item.active {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.guides_index_parent {
    margin-bottom: 0;
}

.guides_index_submenu {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-left: 32px;
    margin-top: 4px;
    margin-bottom: 4px;
}

.guides_index_subitem {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    background: transparent;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
}

.guides_index_subitem::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.guides_index_subitem:hover {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
}

.guides_index_subitem:hover::before {
    background: rgba(251, 191, 36, 0.7);
}

.guides_index_subitem.active {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.guides_index_subitem.active::before {
    background: #fbbf24;
}

.guides_index_item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.5);
}

.guides_index_item.active svg {
    color: #fbbf24;
}

.guides_index_item span:first-of-type {
    flex: 1;
}

.guides_index_count {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 10px;
}

.guides_index_footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.guides_index_link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.guides_index_link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.guides_index_link svg {
    width: 16px;
    height: 16px;
}

.guides_main {
    flex: 1;
    min-width: 0;
}

@media (max-width: 1024px) {
    .guides_layout {
        flex-direction: column;
        padding: 24px 20px;
        padding-top: 100px;
    }
    
    .guides_index {
        width: 100%;
        position: static;
    }
    
    .guides_index_nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

@media (max-width: 640px) {
    .guides_layout {
        padding: 20px 16px;
        padding-top: 90px;
    }
    
    .guides_index_nav {
        grid-template-columns: 1fr;
    }
}
